7#if !defined(OWL_TIMEGADG_H)
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
virtual bool IdleAction(long idleCount)
Called during idle time to allow the gadget to perform any idle actions.
TGadgetWindow * GetGadgetWindow()
Return a pointer to the owning or parent window for the gadget.
virtual void Created()
This is the virtual called after the window holding a gadget has been created.
void SetShrinkWrap(bool shrinkWrapWidth, bool shrinkWrapHeight)
Simple set accessor to set whether shrinkwrapping is performed horizontally and/or vertically.
TBorderStyle
Gadget border styles.
bool EnableTimer()
Inform GadgetWindow to start a Timer notification.
Derived from TGadget, TTextGadget is a text gadget object.
TAlign
Enumerates the text-alignment attributes.
void SetText(LPCTSTR text)
Set the text for this gadget.
static void GetTTime(tstring &)
Retrieves the current time.
void Created()
Overriden from TGadget to inform gadget window to setup a timer.
bool IdleAction(long count)
Overridden from TGadget to display the current time.
static void GetLocalTime(tstring &)
Retrieves the local time using the Win32 API.
TTimeGadget(TGetTimeFunc timeFunc=&TTimeGadget::GetSystemTime, int id=0, TBorderStyle=Recessed, TAlign=Center, uint numChars=12, LPCTSTR text=0, TFont *font=0)
Constructor for TTimeGadget.
static void GetSystemTime(tstring &)
Retrieves the system time using the Win32 API.
The TTime class encapsulates time functions and characteristics.
Object Windows Library (OWLNext Core)
Various types of smart pointer templatized classes.
Definition of class TTimeGadget.