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

// (DO NOT EDIT: machine generated header) 'ahmtscreencanvas.pas' rev: 6.00

#ifndef ahmtscreencanvasHPP
#define ahmtscreencanvasHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmenhancedclass.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 <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtscreencanvas
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMScreenCanvas;
class PASCALIMPLEMENTATION TAHMScreenCanvas : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	AnsiString FAHMAboutStr;
	Graphics::TCanvas* FCanvas;
	bool FSaveBack;
	bool isPainting;
	int __fastcall GetWidth(void);
	int __fastcall GetHeight(void);
	
protected:
	Graphics::TCanvas* __fastcall GetCanvas(void);
	
public:
	__fastcall virtual TAHMScreenCanvas(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMScreenCanvas(void);
	void __fastcall BeginPaint(void);
	void __fastcall EndPaint(void);
	void __fastcall RestoreScreen(void);
	__property Graphics::TCanvas* Canvas = {read=GetCanvas};
	__property int Height = {read=GetHeight, nodefault};
	__property int Width = {read=GetWidth, nodefault};
	
__published:
	__property AnsiString About = {read=FAHMAboutStr, write=FAHMAboutStr, stored=false};
	__property bool AutoRestore = {read=FSaveBack, write=FSaveBack, default=0};
};


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

}	/* namespace Ahmtscreencanvas */
using namespace Ahmtscreencanvas;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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