#include <glv_buttons.h>

Public Member Functions | |
| Button (const Rect &r=Rect(20), bool toggles=true, iconFunc on=draw::rect, iconFunc off=0) | |
| bool | value () const |
| Get value. | |
| Button & | value (bool v) |
| Set value and notify observers. | |
| glv::Button::Button | ( | const Rect & | r = Rect(20), |
|
| bool | toggles = true, |
|||
| iconFunc | on = draw::rect, |
|||
| iconFunc | off = 0 | |||
| ) | [inline] |
| [in] | r | geometry |
| [in] | toggles | whether the button toggles |
| [in] | on | the on state icon |
| [in] | off | the off state icon |
1.5.5