// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Xpactnctrls.pas' rev: 10.00

#ifndef XpactnctrlsHPP
#define XpactnctrlsHPP

#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 <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Actnman.hpp>	// Pascal unit
#include <Actnmenus.hpp>	// Pascal unit
#include <Actnctrls.hpp>	// Pascal unit
#include <Toolwin.hpp>	// Pascal unit
#include <Actncolormaps.hpp>	// Pascal unit
#include <Shadowwnd.hpp>	// Pascal unit

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

namespace Xpactnctrls
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TXPStyleMenuItem;
class PASCALIMPLEMENTATION TXPStyleMenuItem : public Actnmenus::TCustomMenuItem 
{
	typedef Actnmenus::TCustomMenuItem inherited;
	
protected:
	virtual void __fastcall DrawBackground(Types::TRect &PaintRect);
	virtual void __fastcall DrawGlyph(const Types::TPoint &Location);
	virtual void __fastcall DrawSeparator(const int Offset);
	virtual void __fastcall DrawSubMenuGlyph(void);
	virtual void __fastcall DrawText(Types::TRect &Rect, unsigned &Flags, AnsiString Text);
	virtual void __fastcall DrawUnusedEdges(void);
	virtual void __fastcall DrawShadowedText(const Types::TRect &Rect, unsigned Flags, AnsiString Text, Graphics::TColor TextColor, Graphics::TColor ShadowColor);
	virtual void __fastcall CalcLayout(void);
	
public:
	virtual void __fastcall CalcBounds(void);
public:
	#pragma option push -w-inl
	/* TCustomMenuItem.Create */ inline __fastcall virtual TXPStyleMenuItem(Classes::TComponent* AOwner) : Actnmenus::TCustomMenuItem(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomMenuItem.Destroy */ inline __fastcall virtual ~TXPStyleMenuItem(void) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStyleMenuButton;
class PASCALIMPLEMENTATION TXPStyleMenuButton : public Actnmenus::TCustomMenuButton 
{
	typedef Actnmenus::TCustomMenuButton inherited;
	
protected:
	virtual void __fastcall DrawBackground(Types::TRect &PaintRect);
	virtual void __fastcall DrawText(Types::TRect &ARect, unsigned &Flags, AnsiString Text);
public:
	#pragma option push -w-inl
	/* TCustomMenuButton.Create */ inline __fastcall virtual TXPStyleMenuButton(Classes::TComponent* AOwner) : Actnmenus::TCustomMenuButton(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomMenuButton.Destroy */ inline __fastcall virtual ~TXPStyleMenuButton(void) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStylePopupMenu;
class PASCALIMPLEMENTATION TXPStylePopupMenu : public Actnmenus::TCustomActionPopupMenu 
{
	typedef Actnmenus::TCustomActionPopupMenu inherited;
	
private:
	Shadowwnd::TShadowWindow* FBtnShadow;
	
protected:
	virtual TMetaClass* __fastcall GetExpandBtnClass(void);
	virtual void __fastcall NCPaint(HDC DC);
	virtual void __fastcall PositionPopup(Actnman::TCustomActionBar* AnOwner, Actnman::TCustomActionControl* ParentItem);
	DYNAMIC void __fastcall VisibleChanging(void);
	virtual void __fastcall DisplayShadow(void);
	virtual void __fastcall HideShadow(void);
	
public:
	__fastcall virtual TXPStylePopupMenu(Classes::TComponent* AOwner);
	__fastcall virtual ~TXPStylePopupMenu(void);
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TXPStylePopupMenu(HWND ParentWindow) : Actnmenus::TCustomActionPopupMenu(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStyleExpandBtn;
class PASCALIMPLEMENTATION TXPStyleExpandBtn : public Actnmenus::TCustomMenuExpandBtn 
{
	typedef Actnmenus::TCustomMenuExpandBtn inherited;
	
protected:
	virtual void __fastcall DrawBackground(Types::TRect &PaintRect);
	virtual void __fastcall DrawFrame(const Types::TRect &ARect, bool Down);
public:
	#pragma option push -w-inl
	/* TCustomMenuExpandBtn.Create */ inline __fastcall virtual TXPStyleExpandBtn(Classes::TComponent* AOwner) : Actnmenus::TCustomMenuExpandBtn(AOwner) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TCustomUtilityButton.Destroy */ inline __fastcall virtual ~TXPStyleExpandBtn(void) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStyleButton;
class PASCALIMPLEMENTATION TXPStyleButton : public Actnctrls::TCustomButtonControl 
{
	typedef Actnctrls::TCustomButtonControl inherited;
	
protected:
	virtual void __fastcall DrawBackground(Types::TRect &PaintRect);
	virtual void __fastcall DrawFrame(const Types::TRect &ARect, bool Down);
	virtual void __fastcall DrawGlyph(const Types::TPoint &Location);
	virtual void __fastcall DrawText(Types::TRect &ARect, unsigned &Flags, AnsiString Text);
public:
	#pragma option push -w-inl
	/* TCustomButtonControl.Create */ inline __fastcall virtual TXPStyleButton(Classes::TComponent* AOwner) : Actnctrls::TCustomButtonControl(AOwner) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TCustomActionControl.Destroy */ inline __fastcall virtual ~TXPStyleButton(void) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStyleDropDownBtn;
class PASCALIMPLEMENTATION TXPStyleDropDownBtn : public Actnctrls::TCustomDropDownButton 
{
	typedef Actnctrls::TCustomDropDownButton inherited;
	
protected:
	virtual void __fastcall DrawFrame(const Types::TRect &ARect, bool Down);
	virtual void __fastcall DrawBackground(Types::TRect &PaintRect);
	virtual TMetaClass* __fastcall GetPopupClass(void);
	virtual void __fastcall DrawGlyph(const Types::TPoint &Location);
public:
	#pragma option push -w-inl
	/* TCustomButtonControl.Create */ inline __fastcall virtual TXPStyleDropDownBtn(Classes::TComponent* AOwner) : Actnctrls::TCustomDropDownButton(AOwner) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TCustomActionControl.Destroy */ inline __fastcall virtual ~TXPStyleDropDownBtn(void) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStyleCustomizePopup;
class PASCALIMPLEMENTATION TXPStyleCustomizePopup : public Actnmenus::TCustomizeActionToolBar 
{
	typedef Actnmenus::TCustomizeActionToolBar inherited;
	
protected:
	virtual void __fastcall NCPaint(HDC DC);
	virtual TMetaClass* __fastcall GetAddRemoveItemClass(void);
	virtual TMetaClass* __fastcall GetDefaultColorMapClass(void);
	
public:
	__fastcall virtual TXPStyleCustomizePopup(Classes::TComponent* AOwner);
public:
	#pragma option push -w-inl
	/* TCustomizeActionToolBar.Destroy */ inline __fastcall virtual ~TXPStyleCustomizePopup(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TXPStyleCustomizePopup(HWND ParentWindow) : Actnmenus::TCustomizeActionToolBar(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStyleToolScrollBtn;
class PASCALIMPLEMENTATION TXPStyleToolScrollBtn : public Actnctrls::TCustomToolScrollBtn 
{
	typedef Actnctrls::TCustomToolScrollBtn inherited;
	
protected:
	virtual void __fastcall DrawBackground(Types::TRect &PaintRect);
public:
	#pragma option push -w-inl
	/* TCustomToolScrollBtn.Create */ inline __fastcall virtual TXPStyleToolScrollBtn(Classes::TComponent* AOwner) : Actnctrls::TCustomToolScrollBtn(AOwner) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TCustomUtilityButton.Destroy */ inline __fastcall virtual ~TXPStyleToolScrollBtn(void) { }
	#pragma option pop
	
};


class DELPHICLASS TXPStyleAddRemoveItem;
class PASCALIMPLEMENTATION TXPStyleAddRemoveItem : public Actnmenus::TCustomAddRemoveItem 
{
	typedef Actnmenus::TCustomAddRemoveItem inherited;
	
protected:
	virtual void __fastcall DrawBackground(Types::TRect &PaintRect);
	virtual void __fastcall DrawGlyph(const Types::TPoint &Location);
	virtual void __fastcall DrawSeparator(const int Offset);
	virtual void __fastcall DrawText(Types::TRect &Rect, unsigned &Flags, AnsiString Text);
	virtual void __fastcall DrawUnusedEdges(void);
	
public:
	virtual void __fastcall CalcBounds(void);
public:
	#pragma option push -w-inl
	/* TCustomMenuItem.Create */ inline __fastcall virtual TXPStyleAddRemoveItem(Classes::TComponent* AOwner) : Actnmenus::TCustomAddRemoveItem(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomMenuItem.Destroy */ inline __fastcall virtual ~TXPStyleAddRemoveItem(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Xpactnctrls */
using namespace Xpactnctrls;
#pragma pack(pop)
#pragma option pop

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