// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'PSStatusBar.pas' rev: 5.00

#ifndef PSStatusBarHPP
#define PSStatusBarHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp>	// Pascal unit
#include <PSPreview.hpp>	// Pascal unit
#include <Commctrl.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Psstatusbar
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TPanelKind { pnPage, pnScale };
#pragma option pop

typedef Set<TPanelKind, pnPage, pnScale>  TPanels;

class DELPHICLASS TCustomPreviewStatusBar;
class PASCALIMPLEMENTATION TCustomPreviewStatusBar : public Controls::TWinControl 
{
	typedef Controls::TWinControl inherited;
	
private:
	Pspreview::TCustomPreview* FPreview;
	TPanels FPanels;
	int FPagePanelWidth;
	int FScalePanelWidth;
	AnsiString FUserText;
	bool FSizeGrip;
	Classes::TNotifyEvent FOnUpdate;
	void __fastcall SetPreview(const Pspreview::TCustomPreview* Value);
	void __fastcall SetPanels(const TPanels Value);
	void __fastcall SetPagePanelWidth(const int Value);
	void __fastcall SetScalePanelWidth(const int Value);
	void __fastcall SetUserText(const AnsiString Value);
	void __fastcall SetSizeGrip(const bool Value);
	
protected:
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	__property Pspreview::TCustomPreview* Preview = {read=FPreview, write=SetPreview};
	__property TPanels Panels = {read=FPanels, write=SetPanels, nodefault};
	__property int PagePanelWidth = {read=FPagePanelWidth, write=SetPagePanelWidth, nodefault};
	__property int ScalePanelWidth = {read=FScalePanelWidth, write=SetScalePanelWidth, nodefault};
	__property AnsiString UserText = {read=FUserText, write=SetUserText};
	__property bool SizeGrip = {read=FSizeGrip, write=SetSizeGrip, nodefault};
	__property Font ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property Visible ;
	__property Classes::TNotifyEvent OnUpdate = {read=FOnUpdate, write=FOnUpdate};
	
public:
	__fastcall virtual TCustomPreviewStatusBar(Classes::TComponent* AOwner);
	__fastcall virtual ~TCustomPreviewStatusBar(void);
	virtual void __fastcall Update(void);
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TCustomPreviewStatusBar(HWND ParentWindow) : Controls::TWinControl(
		ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TPreviewStatusBar;
class PASCALIMPLEMENTATION TPreviewStatusBar : public TCustomPreviewStatusBar 
{
	typedef TCustomPreviewStatusBar inherited;
	
__published:
	__property Preview ;
	__property Panels ;
	__property PagePanelWidth ;
	__property ScalePanelWidth ;
	__property UserText ;
	__property SizeGrip ;
	__property Font ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property Visible ;
	__property OnUpdate ;
public:
	#pragma option push -w-inl
	/* TCustomPreviewStatusBar.Create */ inline __fastcall virtual TPreviewStatusBar(Classes::TComponent* 
		AOwner) : TCustomPreviewStatusBar(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomPreviewStatusBar.Destroy */ inline __fastcall virtual ~TPreviewStatusBar(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TPreviewStatusBar(HWND ParentWindow) : TCustomPreviewStatusBar(
		ParentWindow) { }
	#pragma option pop
	
};


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

}	/* namespace Psstatusbar */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Psstatusbar;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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