|
| CCalendar (const char *label, int layoutSize=20, CLayoutAlign layoutAlignment=CLayoutAlign::TOP) |
| SPTK-style constructor. More...
|
|
| CCalendar (int x, int y, int w, int h, const char *label=nullptr) |
| FLTK-style constructor. More...
|
|
void | resize (int x, int y, int w, int h) override |
| Widget resize. More...
|
|
int | maxHeight () const |
| Reports the maximum height of the calendar widget.
|
|
void | autoHeight (int minHeight) |
| Resizes widget to the optimal height, considering minHeight.
|
|
void | date (DateTime dt) |
| Sets the calendar date.
|
|
DateTime | date () const |
| Reports the calendar date.
|
|
| CLayoutClient (Fl_Widget *widget, int layoutSize, CLayoutAlign ca) |
|
virtual | ~CLayoutClient () |
|
CLayoutAlign | layoutAlign () const |
|
void | layoutAlign (CLayoutAlign al) |
|
int | layoutSize () const |
|
void | layoutSize (int ls) |
|
virtual void | label (const String &l) |
|
virtual const String & | label () const |
|
void | name (const char *aname) |
|
void | name (const String &aname) |
|
const String & | name () const |
|
virtual bool | preferredSize (int &w, int &h) |
|
virtual bool | computeSize (int &w, int &h) |
|
virtual String | className () const |
|
Fl_Widget * | widget () const |
|
virtual void | load (const xdoc::SNode &node, CLayoutXMLmode xmlMode) |
|
virtual void | load (const std::shared_ptr< xdoc::Node > &node) |
|
virtual void | save (const std::shared_ptr< xdoc::Node > &node, CLayoutXMLmode xmlMode) const |
|
Calendar widget.
A calendar class implements one month calendar. The calendar window allows to select the date. You can change a day, a month and a year selected in the widget.