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

// (DO NOT EDIT: machine generated header) 'AHMTLeds.pas' rev: 4.00

#ifndef AHMTLedsHPP
#define AHMTLedsHPP

#pragma delphiheader begin
#pragma option push -w-
#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;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMLed : public Controls::TGraphicControl 
{
	typedef Controls::TGraphicControl inherited;
	
private:
	Ahmfreeware::TAHMAboutFreeStr 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 Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
	__property OnClick ;
	__property OnDblClick ;
	__property Visible ;
	__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 ;
};

#pragma pack(pop)

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

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

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