// Borland C++ Builder // Copyright (c) 1995, 2005 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'Rvxptheme.pas' rev: 10.00 #ifndef RvxpthemeHPP #define RvxpthemeHPP #pragma delphiheader begin #pragma option push #pragma option -w- // All warnings off #pragma option -Vx // Zero-length empty class member functions #pragma pack(push,8) #include // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit //-- user supplied ----------------------------------------------------------- namespace Rvxptheme { //-- type declarations ------------------------------------------------------- typedef unsigned HTheme; typedef bool __stdcall (*RV_IsThemeActiveProc)(void); typedef bool __stdcall (*RV_IsAppThemedProc)(void); typedef unsigned __stdcall (*RV_OpenThemeDataProc)(HWND hwnd, WideChar * pszClassList); typedef HRESULT __stdcall (*RV_CloseThemeDataProc)(unsigned Theme); typedef HRESULT __stdcall (*RV_DrawThemeParentBackgroundProc)(HWND hwnd, HDC hdc, Types::PRect Rect); typedef HRESULT __stdcall (*RV_DrawThemeEdgeProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId, const Types::TRect &pDestRect, unsigned uEdge, unsigned uFlags, Types::PRect pContentRect); typedef HRESULT __stdcall (*RV_DrawThemeBackgroundProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId, const Types::TRect &Rect, Types::PRect pClipRect); typedef HRESULT __stdcall (*RV_DrawThemeTextProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId, WideChar * pszText, int iCharCount, unsigned dwTextFlags, unsigned dwTextFlags2, Types::TRect &Rect); typedef bool __stdcall (*RV_IsThemeBackgroundPartiallyTransparentProc)(unsigned hTheme, int iPartId, int iStateId); //-- var, const, procedure --------------------------------------------------- extern PACKAGE RV_IsThemeActiveProc RV_IsThemeActive; extern PACKAGE RV_IsAppThemedProc RV_IsAppThemed; extern PACKAGE RV_OpenThemeDataProc RV_OpenThemeData; extern PACKAGE RV_CloseThemeDataProc RV_CloseThemeData; extern PACKAGE RV_DrawThemeParentBackgroundProc RV_DrawThemeParentBackground; extern PACKAGE RV_DrawThemeEdgeProc RV_DrawThemeEdge; extern PACKAGE RV_DrawThemeBackgroundProc RV_DrawThemeBackground; extern PACKAGE RV_DrawThemeTextProc RV_DrawThemeText; extern PACKAGE RV_IsThemeBackgroundPartiallyTransparentProc RV_IsThemeBackgroundPartiallyTransparent; static const Shortint EP_EDITTEXT = 0x1; static const Shortint ETS_NORMAL = 0x1; static const Shortint ETS_HOT = 0x2; static const Shortint ETS_SELECTED = 0x3; static const Shortint ETS_DISABLED = 0x4; static const Shortint ETS_FOCUSED = 0x5; static const Shortint ETS_READONLY = 0x6; static const Shortint ETS_ASSIST = 0x7; static const Shortint BP_RADIOBUTTON = 0x2; static const Shortint RBS_UNCHECKEDNORMAL = 0x1; static const Shortint RBS_UNCHECKEDHOT = 0x2; static const Shortint RBS_UNCHECKEDPRESSED = 0x3; static const Shortint RBS_UNCHECKEDDISABLED = 0x4; static const Shortint RBS_CHECKEDNORMAL = 0x5; static const Shortint RBS_CHECKEDHOT = 0x6; static const Shortint RBS_CHECKEDPRESSED = 0x7; static const Shortint RBS_CHECKEDDISABLED = 0x8; static const Shortint BP_CHECKBOX = 0x3; static const Shortint CBS_UNCHECKEDNORMAL = 0x1; static const Shortint CBS_UNCHECKEDHOT = 0x2; static const Shortint CBS_UNCHECKEDPRESSED = 0x3; static const Shortint CBS_UNCHECKEDDISABLED = 0x4; static const Shortint CBS_CHECKEDNORMAL = 0x5; static const Shortint CBS_CHECKEDHOT = 0x6; static const Shortint CBS_CHECKEDPRESSED = 0x7; static const Shortint CBS_CHECKEDDISABLED = 0x8; static const Shortint CBS_MIXEDNORMAL = 0x9; static const Shortint CBS_MIXEDHOT = 0xa; static const Shortint CBS_MIXEDPRESSED = 0xb; static const Shortint CBS_MIXEDDISABLED = 0xc; static const Shortint BP_GROUPBOX = 0x4; static const Shortint GBS_NORMAL = 0x1; static const Shortint GBS_DISABLED = 0x2; static const Shortint CP_DROPDOWNBUTTON = 0x1; static const Shortint CBXS_NORMAL = 0x1; static const Shortint CBXS_HOT = 0x2; static const Shortint CBXS_PRESSED = 0x3; static const Shortint CBXS_DISABLED = 0x4; } /* namespace Rvxptheme */ using namespace Rvxptheme; #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // Rvxptheme