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

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

#ifndef ahmtledsHPP
#define ahmtledsHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmfreeware.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.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 Ahmtleds
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMLed;
class PASCALIMPLEMENTATION TAHMLed : public Controls::TGraphicControl 
{
	typedef Controls::TGraphicControl inherited;
	
private:
	AnsiString FAbout;
	int finter;
	bool frun;
	bool fled;
	Extctrls::TTimer* ftim;
	Graphics::TColor fdon;
	Graphics::TColor fdoff;
	Graphics::TColor fback;
	Graphics::TColor fccol;
	void __fastcall Setfdon(Graphics::TColor value);
	void __fastcall Setfdoff(Graphics::TColor value);
	void __fastcall Setback(Graphics::TColor value);
	void __fastcall SeTAHMLed(bool value);
	void __fastcall Setrun(bool value);
	void __fastcall SetInter(int value);
	
protected:
	virtual void __fastcall Paint(void);
	void __fastcall Runit(System::TObject* Sender);
	
public:
	__fastcall virtual TAHMLed(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMLed(void);
	void __fastcall LedOn(void);
	void __fastcall LedOff(void);
	void __fastcall Blink(void);
	
__published:
	__property AnsiString About = {read=FAbout, write=FAbout};
	__property OnClick ;
	__property OnDblClick ;
	__property Visible  = {default=1};
	__property bool LedisOn = {read=fled, write=SeTAHMLed, nodefault};
	__property Graphics::TColor LedOnColor = {read=fdon, write=Setfdon, nodefault};
	__property Graphics::TColor LedOffColor = {read=fdoff, write=Setfdoff, nodefault};
	__property Graphics::TColor LedShadow = {read=fback, write=Setback, nodefault};
	__property int Interval = {read=finter, write=SetInter, nodefault};
	__property bool Blinking = {read=frun, write=Setrun, nodefault};
	__property Hint ;
	__property ShowHint ;
};


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

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

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