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

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

#ifndef SrvtoolwindowHPP
#define SrvtoolwindowHPP

#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 <Classes.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Srvtoolbar.hpp>	// Pascal unit

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

namespace Srvtoolwindow
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSRVToolWindow;
class PASCALIMPLEMENTATION TSRVToolWindow : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	Srvtoolbar::TSRVClickButtonEvent FOnSelectEvent;
	Graphics::TPen* FPenFrame;
	int FBorderWidth;
	int FHintHeight;
	Graphics::TFont* FHintFont;
	AnsiString FHintCancel;
	int FSpacer;
	Graphics::TColor FColor;
	Graphics::TColor FColorSelect;
	Graphics::TColor FColorDown;
	Graphics::TColor FColorDisable;
	int FButtonWidth;
	int FButtonHeight;
	int FButtonCol;
	Controls::TImageList* FImageList;
	Srvtoolbar::TSRVButtonCollection* FButtons;
	Srvtoolbar::TSRVClickButtonEvent FOnClickButton;
	Srvtoolbar::TSRVClickButtonEvent FOnEnterButton;
	Classes::TNotifyEvent FOnEnter;
	Classes::TNotifyEvent FOnLeave;
	
protected:
	Srvtoolbar::TSRVAlignText FAlignText;
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	void __fastcall HookOnClose(System::TObject* Sender, Forms::TCloseAction &Action);
	void __fastcall HookClickButton(System::TObject* Sender, Srvtoolbar::TSRVToolButton* ToolButton);
	
public:
	Srvtoolbar::TSRVToolButton* ButtonEvent;
	__fastcall virtual TSRVToolWindow(Classes::TComponent* AOwner);
	__fastcall virtual ~TSRVToolWindow(void);
	void __fastcall Execute(int X, int Y)/* overload */;
	void __fastcall Execute(const Types::TRect &R)/* overload */;
	int __fastcall getWidth(void);
	int __fastcall getHeight(void);
	
__published:
	__property Srvtoolbar::TSRVButtonCollection* Buttons = {read=FButtons, write=FButtons};
	__property Srvtoolbar::TSRVAlignText AlignText = {read=FAlignText, write=FAlignText, default=1};
	__property Graphics::TPen* PenFrame = {read=FPenFrame, write=FPenFrame};
	__property int BorderWidth = {read=FBorderWidth, write=FBorderWidth, default=1};
	__property Graphics::TColor Color = {read=FColor, write=FColor, default=16777215};
	__property Graphics::TColor ColorSelect = {read=FColorSelect, write=FColorSelect, default=14857624};
	__property Graphics::TColor ColorDown = {read=FColorDown, write=FColorDown, default=15651521};
	__property Graphics::TColor ColorDisable = {read=FColorDisable, write=FColorDisable, default=12632256};
	__property AnsiString HintCancel = {read=FHintCancel, write=FHintCancel};
	__property int HintHeight = {read=FHintHeight, write=FHintHeight, default=20};
	__property Graphics::TFont* HintFont = {read=FHintFont, write=FHintFont};
	__property int Spacer = {read=FSpacer, write=FSpacer, default=0};
	__property int ButtonWidth = {read=FButtonWidth, write=FButtonWidth, default=26};
	__property int ButtonHeight = {read=FButtonHeight, write=FButtonHeight, default=26};
	__property int ButtonCol = {read=FButtonCol, write=FButtonCol, default=-1};
	__property Controls::TImageList* ImageList = {read=FImageList, write=FImageList, default=0};
	__property Srvtoolbar::TSRVClickButtonEvent OnSelectEvent = {read=FOnSelectEvent, write=FOnSelectEvent};
	__property Srvtoolbar::TSRVClickButtonEvent OnClickButton = {read=FOnClickButton, write=FOnClickButton};
	__property Srvtoolbar::TSRVClickButtonEvent OnEnterButton = {read=FOnEnterButton, write=FOnEnterButton};
	__property Classes::TNotifyEvent OnEnter = {read=FOnEnter, write=FOnEnter};
	__property Classes::TNotifyEvent OnLeave = {read=FOnLeave, write=FOnLeave};
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall Register(void);

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

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