|
#include <CCheckButtons.h>

Public Member Functions | |
| CCheckButton (const char *label, int layoutSize, CLayoutAlign layoutAlignment) | |
| int | handle (int event) |
| virtual bool | preferredSize (int &w, int &h) |
Protected Member Functions | |
| virtual void | draw () |
| Draws the check button. | |
Implements the SPTK check button that understands and reports its size requirements, and can be a layout client.
| sptk::CCheckButton::CCheckButton | ( | const char * | label, | |
| int | layoutSize, | |||
| CLayoutAlign | layoutAlignment | |||
| ) | [inline] |
SPTK-style constructor
| label | const char *, the widget label | |
| layoutSize | int, the size of widget in layout | |
| layoutAlignment | CLayoutAlign, widget align in the layout |
| int sptk::CCheckButton::handle | ( | int | event | ) |
A special handle method. See FLTK Fl_Widget::handle() for more information.
| event | int, FLTK event type |
| virtual bool sptk::CCheckButton::preferredSize | ( | int & | w, | |
| int & | h | |||
| ) | [virtual] |
Reports the preferred size of the widget based on offered size.
| w | int, input/output desirable widget width | |
| h | int, input/output desirable widget heigth |
Reimplemented from sptk::CLayoutClient.