Single button. More...
#include <glv_buttons.h>
Public Member Functions | |
Button (const Rect &r=Rect(20), bool momentary=false, iconFunc on=draw::rectangle, iconFunc off=0) | |
virtual const char * | className () const |
Get class name. |
Single button.
glv::Button::Button | ( | const Rect & | r = Rect(20) , |
|
bool | momentary = false , |
|||
iconFunc | on = draw::rectangle , |
|||
iconFunc | off = 0 | |||
) | [inline] |
[in] | r | geometry |
[in] | momentary | whether the button state matches button press state |
[in] | on | the on state icon |
[in] | off | the off state icon |