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

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

#ifndef AHMTDigitalHPP
#define AHMTDigitalHPP

#pragma delphiheader begin
#pragma option push -w-
#include <AHMFreeware.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 Ahmtdigital
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAHMDigital;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAHMDigital : public Controls::TGraphicControl 
{
	typedef Controls::TGraphicControl inherited;
	
private:
	Ahmfreeware::TAHMAboutFreeStr FAbout;
	int fi;
	Graphics::TColor fdon;
	Graphics::TColor fdoff;
	Graphics::TColor fback;
	Classes::TNotifyEvent fonn;
	bool fborder;
	AnsiString ostr;
	void __fastcall setfi(int value);
	void __fastcall Setfdon(Graphics::TColor value);
	void __fastcall Setfdoff(Graphics::TColor value);
	void __fastcall Setback(Graphics::TColor value);
	void __fastcall SetBorder(bool value);
	
protected:
	virtual void __fastcall Paint(void);
	
public:
	__fastcall virtual TAHMDigital(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMDigital(void);
	
__published:
	__property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
	__property OnClick ;
	__property OnDblClick ;
	__property Visible ;
	__property int Number = {read=fi, write=setfi, nodefault};
	__property Graphics::TColor DigitOnColor = {read=fdon, write=Setfdon, nodefault};
	__property Graphics::TColor DigitShadow = {read=fdoff, write=Setfdoff, nodefault};
	__property Graphics::TColor DigitBackground = {read=fback, write=Setback, nodefault};
	__property bool Border3D = {read=fborder, write=SetBorder, nodefault};
	__property Classes::TNotifyEvent OnNewNumber = {read=fonn, write=fonn};
};

#pragma pack(pop)

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

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

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