// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Rvxptheme.pas' rev: 20.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

//-- 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, System::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, System::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	// RvxpthemeHPP
