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

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

#ifndef ahmtclockHPP
#define ahmtclockHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ExtCtrls.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ahmfreeware.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtclock
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TAHMDateTime { dtTime, dtDate };
#pragma option pop

class DELPHICLASS TAHMClock;
class PASCALIMPLEMENTATION TAHMClock : public Extctrls::TCustomPanel 
{
	typedef Extctrls::TCustomPanel inherited;
	
private:
	AnsiString FAbout;
	AnsiString o1;
	AnsiString o2;
	AnsiString o3;
	AnsiString d1;
	AnsiString d2;
	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 AnsiString 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  = {default=-12};
	__property DragMode  = {default=0};
	__property Enabled  = {default=1};
	__property ParentFont  = {default=1};
	__property ParentShowHint  = {default=1};
	__property PopupMenu ;
	__property ShowHint ;
	__property Visible  = {default=1};
	__property OnClick ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDrag ;
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMClock(HWND ParentWindow) : Extctrls::TCustomPanel(ParentWindow) { }
	#pragma option pop
	
};


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

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

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