Graphics::TimeClock Class Reference

#include <TimeClock.h>

Inheritance diagram for Graphics::TimeClock:
Collaboration diagram for Graphics::TimeClock:

Classes

struct  HMS
 

Public Member Functions

void update (const HMS &hms)
 
void update ()
 
void draw (SceneObject &scene) const override
 
 Control ()
 
 Control (const Rect &bounds)
 
 Control (const Rect &bounds, const String &caption)
 
- Public Member Functions inherited from Graphics::Control
 Control ()
 
 Control (const Rect &bounds)
 
 Control (const Rect &bounds, const String &caption)
 
RenderercreateRenderer (const Location &location) const override
 Create a software renderer for this object. More...
 
void write (MetaWriter &meta) const override
 
String getCaption () const
 
void setCaption (const String &value)
 
void enable (bool state)
 
void select (bool state)
 
void setPos (Point pos)
 
void resize (Size size)
 
void setBounds (const Rect &r)
 
Rect getBounds () const
 
bool isEnabled () const
 
bool isSelected () const
 
bool isDirty () const
 
void setDirty ()
 
virtual const FontgetFont () const
 
virtual Color getColor (Element element) const
 
virtual Align getTextAlign () const
 
- Public Member Functions inherited from Graphics::ObjectTemplate< object_kind >
Kind kind () const override
 
- Public Member Functions inherited from Graphics::Object
bool operator== (const Object &other) const
 
virtual String getTypeStr () const
 
- Public Member Functions inherited from LinkedObjectTemplate< Object >
Object * getNext () const
 
bool insertAfter (Object *object)
 
Iterator begin () const
 
Iterator end () const
 
Iterator cbegin () const
 
Iterator cend () const
 
- Public Member Functions inherited from LinkedObject
virtual ~LinkedObject ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 

Additional Inherited Members

- Public Types inherited from Graphics::Control
enum class  Flag { enabled , active , selected , dirty }
 
enum class  Element { border , back , text }
 
- Public Types inherited from Graphics::Object
enum class  Kind { XX }
 
using List = LinkedObjectListTemplate< Object >
 
using OwnedList = OwnedLinkedObjectListTemplate< Object >
 
- Public Types inherited from LinkedObjectTemplate< Object >
using Iterator = IteratorTemplate< Object, Object *, Object & >
 
using ConstIterator = IteratorTemplate< const Object, const Object *, const Object & >
 
- Protected Member Functions inherited from Graphics::Control
void setFlag (Flag flag, bool state)
 
- Protected Attributes inherited from Graphics::Control
Rect bounds
 
CString caption
 
BitSet< uint8_t, Flagflags
 

Member Function Documentation

◆ Control() [1/3]

Graphics::Control::Control
inline

◆ Control() [2/3]

Graphics::Control::Control
inline

◆ Control() [3/3]

Graphics::Control::Control
inline

◆ draw()

void Graphics::TimeClock::draw ( SceneObject scene) const
overridevirtual

Implements Graphics::Control.

◆ update() [1/2]

void Graphics::TimeClock::update ( )

◆ update() [2/2]

void Graphics::TimeClock::update ( const HMS hms)
inline

The documentation for this class was generated from the following file: