// CodeGear C++Builder
// Copyright (c) 1995, 2010 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'RVXPTheme.pas' rev: 22.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 <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Rvxptheme
{
//-- type declarations -------------------------------------------------------
typedef unsigned HTheme;

#pragma option push -b-
enum TThemeSize { TS_MIN, TS_TRUE, TS_DRAW };
#pragma option pop

typedef bool __stdcall (*TRV_IsThemeActiveProc)(void);

typedef bool __stdcall (*TRV_IsAppThemedProc)(void);

typedef unsigned __stdcall (*TRV_OpenThemeDataProc)(HWND hwnd, System::WideChar * pszClassList);

typedef HRESULT __stdcall (*TRV_CloseThemeDataProc)(unsigned Theme);

typedef HRESULT __stdcall (*TRV_DrawThemeParentBackgroundProc)(HWND hwnd, HDC hdc, Types::PRect Rect);

typedef HRESULT __stdcall (*TRV_DrawThemeEdgeProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId, const Types::TRect &pDestRect, unsigned uEdge, unsigned uFlags, Types::PRect pContentRect);

typedef HRESULT __stdcall (*TRV_DrawThemeBackgroundProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId, const Types::TRect &Rect, Types::PRect pClipRect);

typedef HRESULT __stdcall (*TRV_DrawThemeTextProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId, System::WideChar * pszText, int iCharCount, unsigned dwTextFlags, unsigned dwTextFlags2, Types::TRect &Rect);

typedef bool __stdcall (*TRV_IsThemeBackgroundPartiallyTransparentProc)(unsigned hTheme, int iPartId, int iStateId);

typedef HRESULT __stdcall (*TRV_GetThemeRectProc)(unsigned Theme, int iPartId, int iStateId, int iPropId, Types::TRect &pRect);

typedef HRESULT __stdcall (*TRV_GetThemePartSizeProc)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, Types::PRect prc, TThemeSize eSize, tagSIZE &psz);

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TRV_IsThemeActiveProc RV_IsThemeActive;
extern PACKAGE TRV_IsAppThemedProc RV_IsAppThemed;
extern PACKAGE TRV_OpenThemeDataProc RV_OpenThemeData;
extern PACKAGE TRV_CloseThemeDataProc RV_CloseThemeData;
extern PACKAGE TRV_DrawThemeParentBackgroundProc RV_DrawThemeParentBackground;
extern PACKAGE TRV_DrawThemeEdgeProc RV_DrawThemeEdge;
extern PACKAGE TRV_DrawThemeBackgroundProc RV_DrawThemeBackground;
extern PACKAGE TRV_DrawThemeTextProc RV_DrawThemeText;
extern PACKAGE TRV_IsThemeBackgroundPartiallyTransparentProc RV_IsThemeBackgroundPartiallyTransparent;
extern PACKAGE TRV_GetThemeRectProc RV_GetThemeRect;
extern PACKAGE TRV_GetThemePartSizeProc RV_GetThemePartSize;
static const System::ShortInt EP_EDITTEXT = 0x1;
static const System::ShortInt ETS_NORMAL = 0x1;
static const System::ShortInt ETS_HOT = 0x2;
static const System::ShortInt ETS_SELECTED = 0x3;
static const System::ShortInt ETS_DISABLED = 0x4;
static const System::ShortInt ETS_FOCUSED = 0x5;
static const System::ShortInt ETS_READONLY = 0x6;
static const System::ShortInt ETS_ASSIST = 0x7;
static const System::ShortInt BP_RADIOBUTTON = 0x2;
static const System::ShortInt RBS_UNCHECKEDNORMAL = 0x1;
static const System::ShortInt RBS_UNCHECKEDHOT = 0x2;
static const System::ShortInt RBS_UNCHECKEDPRESSED = 0x3;
static const System::ShortInt RBS_UNCHECKEDDISABLED = 0x4;
static const System::ShortInt RBS_CHECKEDNORMAL = 0x5;
static const System::ShortInt RBS_CHECKEDHOT = 0x6;
static const System::ShortInt RBS_CHECKEDPRESSED = 0x7;
static const System::ShortInt RBS_CHECKEDDISABLED = 0x8;
static const System::ShortInt BP_CHECKBOX = 0x3;
static const System::ShortInt CBS_UNCHECKEDNORMAL = 0x1;
static const System::ShortInt CBS_UNCHECKEDHOT = 0x2;
static const System::ShortInt CBS_UNCHECKEDPRESSED = 0x3;
static const System::ShortInt CBS_UNCHECKEDDISABLED = 0x4;
static const System::ShortInt CBS_CHECKEDNORMAL = 0x5;
static const System::ShortInt CBS_CHECKEDHOT = 0x6;
static const System::ShortInt CBS_CHECKEDPRESSED = 0x7;
static const System::ShortInt CBS_CHECKEDDISABLED = 0x8;
static const System::ShortInt CBS_MIXEDNORMAL = 0x9;
static const System::ShortInt CBS_MIXEDHOT = 0xa;
static const System::ShortInt CBS_MIXEDPRESSED = 0xb;
static const System::ShortInt CBS_MIXEDDISABLED = 0xc;
static const System::ShortInt BP_GROUPBOX = 0x4;
static const System::ShortInt GBS_NORMAL = 0x1;
static const System::ShortInt GBS_DISABLED = 0x2;
static const System::ShortInt CP_DROPDOWNBUTTON = 0x1;
static const System::ShortInt CBXS_NORMAL = 0x1;
static const System::ShortInt CBXS_HOT = 0x2;
static const System::ShortInt CBXS_PRESSED = 0x3;
static const System::ShortInt CBXS_DISABLED = 0x4;
static const System::ShortInt SBP_ARROWBTN = 0x1;
static const System::ShortInt SBP_THUMBBTNHORZ = 0x2;
static const System::ShortInt SBP_THUMBBTNVERT = 0x3;
static const System::ShortInt SBP_LOWERTRACKHORZ = 0x4;
static const System::ShortInt SBP_UPPERTRACKHORZ = 0x5;
static const System::ShortInt SBP_LOWERTRACKVERT = 0x6;
static const System::ShortInt SBP_UPPERTRACKVERT = 0x7;
static const System::ShortInt SBP_GRIPPERHORZ = 0x8;
static const System::ShortInt SBP_GRIPPERVERT = 0x9;
static const System::ShortInt SBP_SIZEBOX = 0xa;
static const System::ShortInt ABS_UPNORMAL = 0x1;
static const System::ShortInt ABS_UPHOT = 0x2;
static const System::ShortInt ABS_UPPRESSED = 0x3;
static const System::ShortInt ABS_UPDISABLED = 0x4;
static const System::ShortInt ABS_DOWNNORMAL = 0x5;
static const System::ShortInt ABS_DOWNHOT = 0x6;
static const System::ShortInt ABS_DOWNPRESSED = 0x7;
static const System::ShortInt ABS_DOWNDISABLED = 0x8;
static const System::ShortInt ABS_LEFTNORMAL = 0x9;
static const System::ShortInt ABS_LEFTHOT = 0xa;
static const System::ShortInt ABS_LEFTPRESSED = 0xb;
static const System::ShortInt ABS_LEFTDISABLED = 0xc;
static const System::ShortInt ABS_RIGHTNORMAL = 0xd;
static const System::ShortInt ABS_RIGHTHOT = 0xe;
static const System::ShortInt ABS_RIGHTPRESSED = 0xf;
static const System::ShortInt ABS_RIGHTDISABLED = 0x10;
static const System::ShortInt ABS_UPHOVER = 0x11;
static const System::ShortInt ABS_DOWNHOVER = 0x12;
static const System::ShortInt ABS_LEFTHOVER = 0x13;
static const System::ShortInt ABS_RIGHTHOVER = 0x14;
static const System::ShortInt SCRBS_NORMAL = 0x1;
static const System::ShortInt SCRBS_HOT = 0x2;
static const System::ShortInt SCRBS_PRESSED = 0x3;
static const System::ShortInt SCRBS_DISABLED = 0x4;
static const System::ShortInt SCRBS_HOVER = 0x5;
static const System::Word TMT_DEFAULTPANESIZE = 0x138a;

}	/* namespace Rvxptheme */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace Rvxptheme;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// RvxpthemeHPP
