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

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

#ifndef PSLabelHPP
#define PSLabelHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp>	// Pascal unit
#include <PSCommon.hpp>	// Pascal unit
#include <PSPreview.hpp>	// Pascal unit
#include <StdCtrls.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 Pslabel
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TMode { lmPage, lmScale };
#pragma option pop

class DELPHICLASS TCustomPreviewLabel;
class PASCALIMPLEMENTATION TCustomPreviewLabel : public Stdctrls::TCustomLabel 
{
	typedef Stdctrls::TCustomLabel inherited;
	
private:
	Pspreview::TCustomPreview* FPreview;
	TMode FMode;
	Classes::TNotifyEvent FOnUpdate;
	void __fastcall SetPreview(const Pspreview::TCustomPreview* Value);
	void __fastcall SetMode(const TMode Value);
	
protected:
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	__property Pspreview::TCustomPreview* Preview = {read=FPreview, write=SetPreview};
	__property TMode Mode = {read=FMode, write=SetMode, nodefault};
	__property Align ;
	__property Alignment ;
	__property AutoSize ;
	__property Color ;
	__property Font ;
	__property Layout ;
	__property ParentColor ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property Transparent ;
	__property Visible ;
	__property Classes::TNotifyEvent OnUpdate = {read=FOnUpdate, write=FOnUpdate};
	
public:
	__fastcall virtual TCustomPreviewLabel(Classes::TComponent* AOwner);
	__fastcall virtual ~TCustomPreviewLabel(void);
	virtual void __fastcall Update(void);
};


class DELPHICLASS TPreviewLabel;
class PASCALIMPLEMENTATION TPreviewLabel : public TCustomPreviewLabel 
{
	typedef TCustomPreviewLabel inherited;
	
__published:
	__property Preview ;
	__property Mode ;
	__property Align ;
	__property Alignment ;
	__property AutoSize ;
	__property Color ;
	__property Font ;
	__property Layout ;
	__property ParentColor ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property Transparent ;
	__property Visible ;
	__property OnUpdate ;
public:
	#pragma option push -w-inl
	/* TCustomPreviewLabel.Create */ inline __fastcall virtual TPreviewLabel(Classes::TComponent* AOwner
		) : TCustomPreviewLabel(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomPreviewLabel.Destroy */ inline __fastcall virtual ~TPreviewLabel(void) { }
	#pragma option pop
	
};


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

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

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