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

// (DO NOT EDIT: machine generated header) 'AHMTClock.pas' rev: 3.00

#ifndef AHMTClockHPP
#define AHMTClockHPP
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <StdCtrls.hpp>
#include <AHMFreeware.hpp>
#include <Dialogs.hpp>
#include <Controls.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Ahmtclock
{
//-- type declarations -------------------------------------------------------
enum TAHMDateTime { dtTime, dtDate };

class DELPHICLASS TAHMClock;
class PASCALIMPLEMENTATION TAHMClock : public Extctrls::TCustomPanel 
{
	typedef Extctrls::TCustomPanel inherited;
	
private:
	Ahmfreeware::TAHMAboutFreeStr FAbout;
	System::AnsiString o1;
	System::AnsiString o2;
	System::AnsiString o3;
	System::AnsiString d1;
	System::AnsiString d2;
	System::AnsiString d3;
	Extctrls::TTimer* ftim;
	TAHMDateTime fdtype;
	System::TDateTime otime;
	int fstyle;
	int fexstyle;
	Graphics::TColor fcol;
	bool ffloat;
	Graphics::TColor fcdig;
	Graphics::TColor fcshad;
	void __fastcall Setdtype(TAHMDateTime value);
	void __fastcall Setfloat(bool value);
	void __fastcall Setclock(System::TObject* Sender);
	void __fastcall Setcol(Graphics::TColor value);
	void __fastcall SetCDig(Graphics::TColor value);
	void __fastcall SetCShad(Graphics::TColor value);
	
protected:
	virtual void __fastcall Paint(void);
	DYNAMIC void __fastcall Click(void);
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	
public:
	__fastcall virtual TAHMClock(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMClock(void);
	virtual void __fastcall Loaded(void);
	
__published:
	__property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
	__property Graphics::TColor BackColor = {read=fcol, write=Setcol, default=12632256};
	__property bool DialogFrame = {read=ffloat, write=Setfloat, default=0};
	__property TAHMDateTime DisplayType = {read=fdtype, write=Setdtype, nodefault};
	__property Graphics::TColor DigitColor = {read=fcdig, write=SetCDig, default=0};
	__property Graphics::TColor DigitShadowColor = {read=fcshad, write=SetCShad, default=8421504};
	__property DragCursor ;
	__property DragMode ;
	__property Enabled ;
	__property ParentFont ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property Visible ;
	__property OnClick ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDrag ;
public:
	/* TWinControl.CreateParented */ __fastcall TAHMClock(HWND ParentWindow) : Extctrls::TCustomPanel(ParentWindow
		) { }
	
};

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

}	/* namespace Ahmtclock */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Ahmtclock;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AHMTClock
