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

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

#ifndef ahmtsplashscreenHPP
#define ahmtsplashscreenHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Forms.hpp>	// Pascal unit
#include <ahmtbackground.hpp>	// Pascal unit
#include <ahmenhancedclass.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 Ahmtsplashscreen
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMSplashScreen;
class PASCALIMPLEMENTATION TAHMSplashScreen : public Ahmenhancedclass::TAHMEnhancedExecComponent 
{
	typedef Ahmenhancedclass::TAHMEnhancedExecComponent inherited;
	
private:
	Classes::TNotifyEvent fOnRun;
	Graphics::TBitmap* fimg;
	int fdel;
	Ahmtbackground::TAHMBackground* fback;
	int fwidth;
	int fheight;
	Classes::TNotifyEvent fosd;
	Ahmenhancedclass::TAHMFrame* fins;
	Ahmenhancedclass::TAHMFrame* fout;
	int fbord;
	bool fcent;
	void __fastcall SetBack(Ahmtbackground::TAHMBackground* value);
	void __fastcall SetImg(Graphics::TBitmap* value);
	void __fastcall Delay(int MSecs);
	void __fastcall SetDel(int value);
	void __fastcall Setbord(int value);
	
public:
	__fastcall virtual TAHMSplashScreen(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMSplashScreen(void);
	virtual bool __fastcall Execute(void);
	void __fastcall Close(void);
	virtual void __fastcall Loaded(void);
	
__published:
	__property Graphics::TBitmap* Image = {read=fimg, write=SetImg};
	__property Classes::TNotifyEvent OnRun = {read=fOnRun, write=fOnRun};
	__property int SplashWidth = {read=fwidth, write=fwidth, nodefault};
	__property int SplashHeight = {read=fheight, write=fheight, nodefault};
	__property Classes::TNotifyEvent OnSplashDone = {read=fosd, write=fosd};
	__property int DelayInMsec = {read=fdel, write=SetDel, default=1000};
	__property Ahmtbackground::TAHMBackground* Background = {read=fback, write=SetBack};
	__property Ahmenhancedclass::TAHMFrame* OutsideFrame = {read=fout, write=fout};
	__property Ahmenhancedclass::TAHMFrame* InsideFrame = {read=fins, write=fins};
	__property int Borderwidth = {read=fbord, write=Setbord, nodefault};
	__property bool Screencenter = {read=fcent, write=fcent, default=1};
};


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

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

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