Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenuxtheme.h
Go to the documentation of this file.
00001 #ifndef _UXTHEME_H 00002 #define _UXTHEME_H 00003 00004 #include <commctrl.h> 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00010 #if (_WIN32_WINNT >= 0x0501) 00011 #define DTBG_CLIPRECT 0x00000001 00012 #define DTBG_DRAWSOLID 0x00000002 00013 #define DTBG_OMITBORDER 0x00000004 00014 #define DTBG_OMITCONTENT 0x00000008 00015 #define DTBG_COMPUTINGREGION 0x00000010 00016 #define DTBG_MIRRORDC 0x00000020 00017 #define DTT_GRAYED 0x00000001 00018 #define ETDT_DISABLE 0x00000001 00019 #define ETDT_ENABLE 0x00000002 00020 #define ETDT_USETABTEXTURE 0x00000004 00021 #define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE) 00022 #define STAP_ALLOW_NONCLIENT 0x00000001 00023 #define STAP_ALLOW_CONTROLS 0x00000002 00024 #define STAP_ALLOW_WEBCONTENT 0x00000004 00025 #define HTTB_BACKGROUNDSEG 0x0000 00026 #define HTTB_FIXEDBORDER 0x0002 00027 #define HTTB_CAPTION 0x0004 00028 #define HTTB_RESIZINGBORDER_LEFT 0x0010 00029 #define HTTB_RESIZINGBORDER_TOP 0x0020 00030 #define HTTB_RESIZINGBORDER_RIGHT 0x0040 00031 #define HTTB_RESIZINGBORDER_BOTTOM 0x0080 00032 #define HTTB_RESIZINGBORDER (HTTB_RESIZINGBORDER_LEFT|HTTB_RESIZINGBORDER_TOP|HTTB_RESIZINGBORDER_RIGHT|HTTB_RESIZINGBORDER_BOTTOM) 00033 #define HTTB_SIZINGTEMPLATE 0x0100 00034 #define HTTB_SYSTEMSIZINGMARGINS 0x0200 00035 00036 #define OTD_FORCE_RECT_SIZING 0x0001 00037 #define OTD_NONCLIENT 0x0002 00038 #define OTD_VALIDBITS (OTD_FORCE_RECT_SIZING | OTD_NONCLIENT) 00039 00040 typedef HANDLE HPAINTBUFFER; 00041 typedef HANDLE HTHEME; 00042 00043 typedef enum _BP_BUFFERFORMAT 00044 { 00045 BPBF_COMPATIBLEBITMAP, 00046 BPBF_DIB, 00047 BPBF_TOPDOWNDIB, 00048 BPBF_TOPDOWNMONODIB 00049 } BP_BUFFERFORMAT; 00050 00051 typedef struct _BP_PAINTPARAMS 00052 { 00053 DWORD cbSize; 00054 DWORD dwFlags; 00055 const RECT *prcExclude; 00056 const BLENDFUNCTION *pBlendFunction; 00057 } BP_PAINTPARAMS, *PBP_PAINTPARAMS; 00058 00059 typedef enum PROPERTYORIGIN { 00060 PO_STATE = 0, 00061 PO_PART = 1, 00062 PO_CLASS = 2, 00063 PO_GLOBAL = 3, 00064 PO_NOTFOUND = 4 00065 } PROPERTYORIGIN; 00066 00067 typedef enum THEMESIZE { 00068 TS_MIN, 00069 TS_TRUE, 00070 TS_DRAW 00071 } THEMESIZE; 00072 00073 typedef struct _DTBGOPTS { 00074 DWORD dwSize; 00075 DWORD dwFlags; 00076 RECT rcClip; 00077 } DTBGOPTS, *PDTBGOPTS; 00078 00079 #define MAX_INTLIST_COUNT 10 00080 00081 typedef struct _INTLIST { 00082 int iValueCount; 00083 int iValues[MAX_INTLIST_COUNT]; 00084 } INTLIST, *PINTLIST; 00085 00086 typedef struct _MARGINS { 00087 int cxLeftWidth; 00088 int cxRightWidth; 00089 int cyTopHeight; 00090 int cyBottomHeight; 00091 } MARGINS, *PMARGINS; 00092 00093 HRESULT WINAPI CloseThemeData(HTHEME); 00094 HRESULT WINAPI DrawThemeBackground(HTHEME,HDC,int,int,const RECT*,const RECT*); 00095 HRESULT WINAPI DrawThemeBackgroundEx(HTHEME,HDC,int,int,const RECT*,const DTBGOPTS*); 00096 HRESULT WINAPI DrawThemeEdge(HTHEME,HDC,int,int,const RECT*,UINT,UINT,RECT*); 00097 HRESULT WINAPI DrawThemeIcon(HTHEME,HDC,int,int,const RECT*,HIMAGELIST,int); 00098 HRESULT WINAPI DrawThemeParentBackground(HWND,HDC,RECT*); 00099 HRESULT WINAPI DrawThemeText(HTHEME,HDC,int,int,LPCWSTR,int,DWORD,DWORD,const RECT*); 00100 HRESULT WINAPI EnableThemeDialogTexture(HWND,DWORD); 00101 HRESULT WINAPI EnableTheming(BOOL); 00102 HRESULT WINAPI GetCurrentThemeName(LPWSTR,int,LPWSTR,int,LPWSTR,int); 00103 DWORD WINAPI GetThemeAppProperties(void); 00104 HRESULT WINAPI GetThemeBackgroundContentRect(HTHEME,HDC,int,int,const RECT*,RECT*); 00105 HRESULT WINAPI GetThemeBackgroundExtent(HTHEME,HDC,int,int,const RECT*,RECT*); 00106 HRESULT WINAPI GetThemeBackgroundRegion(HTHEME,HDC,int,int,const RECT*,HRGN*); 00107 HRESULT WINAPI GetThemeBool(HTHEME,int,int,int,BOOL*); 00108 HRESULT WINAPI GetThemeColor(HTHEME,int,int,int,COLORREF*); 00109 HRESULT WINAPI GetThemeDocumentationProperty(LPCWSTR,LPCWSTR,LPWSTR,int); 00110 HRESULT WINAPI GetThemeEnumValue(HTHEME,int,int,int,int*); 00111 HRESULT WINAPI GetThemeFilename(HTHEME,int,int,int,LPWSTR,int); 00112 HRESULT WINAPI GetThemeFont(HTHEME,HDC,int,int,int,LOGFONTW*); 00113 HRESULT WINAPI GetThemeInt(HTHEME,int,int,int,int*); 00114 HRESULT WINAPI GetThemeIntList(HTHEME,int,int,int,INTLIST*); 00115 HRESULT WINAPI GetThemeMargins(HTHEME,HDC,int,int,int,RECT*,MARGINS*); 00116 HRESULT WINAPI GetThemeMetric(HTHEME,HDC,int,int,int,int*); 00117 HRESULT WINAPI GetThemePartSize(HTHEME,HDC,int,int,RECT*,THEMESIZE,SIZE*); 00118 HRESULT WINAPI GetThemePosition(HTHEME,int,int,int,POINT*); 00119 HRESULT WINAPI GetThemePropertyOrigin(HTHEME,int,int,int,PROPERTYORIGIN*); 00120 HRESULT WINAPI GetThemeRect(HTHEME,int,int,int,RECT*); 00121 HRESULT WINAPI GetThemeString(HTHEME,int,int,int,LPWSTR,int); 00122 BOOL WINAPI GetThemeSysBool(HTHEME,int); 00123 COLORREF WINAPI GetThemeSysColor(HTHEME,int); 00124 HBRUSH WINAPI GetThemeSysColorBrush(HTHEME,int); 00125 HRESULT WINAPI GetThemeSysFont(HTHEME,int,LOGFONTW*); 00126 HRESULT WINAPI GetThemeSysInt(HTHEME,int,int*); 00127 int WINAPI GetThemeSysSize(HTHEME,int); 00128 HRESULT WINAPI GetThemeSysString(HTHEME,int,LPWSTR,int); 00129 HRESULT WINAPI GetThemeTextExtent(HTHEME,HDC,int,int,LPCWSTR,int,DWORD,const RECT*,RECT*); 00130 HRESULT WINAPI GetThemeTextMetrics(HTHEME,HDC,int,int,TEXTMETRICW*); 00131 HTHEME WINAPI GetWindowTheme(HWND); 00132 HRESULT WINAPI HitTestThemeBackground(HTHEME,HDC,int,int,DWORD,const RECT*,HRGN,POINT,WORD*); 00133 BOOL WINAPI IsAppThemed(void); 00134 BOOL WINAPI IsThemeActive(void); 00135 BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int); 00136 BOOL WINAPI IsThemeDialogTextureEnabled(HWND); 00137 BOOL WINAPI IsThemePartDefined(HTHEME,int,int); 00138 HTHEME WINAPI OpenThemeData(HWND,LPCWSTR); 00139 HTHEME WINAPI OpenThemeDataEx(HWND,LPCWSTR,DWORD); 00140 void WINAPI SetThemeAppProperties(DWORD); 00141 HRESULT WINAPI SetWindowTheme(HWND,LPCWSTR,LPCWSTR); 00142 #endif 00143 00144 #ifdef __cplusplus 00145 } 00146 #endif 00147 #endif Generated on Sat May 26 2012 04:31:19 for ReactOS by
1.7.6.1
|