|
enum | State { kButtonStateDefault = 0x0
, kButtonStateHover = 0x1
, kButtonStateActive = 0x2
, kButtonStateActiveHover = kButtonStateActive|kButtonStateHover
} |
|
|
| ButtonEventHandler (SubWidget *self) |
|
bool | isActive () noexcept |
|
void | setActive (bool active, bool sendCallback) noexcept |
|
bool | isChecked () const noexcept |
|
void | setChecked (bool checked, bool sendCallback) noexcept |
|
bool | isCheckable () const noexcept |
|
void | setCheckable (bool checkable) noexcept |
|
Point< double > | getLastClickPosition () const noexcept |
|
Point< double > | getLastMotionPosition () const noexcept |
|
void | setCallback (Callback *callback) noexcept |
|
bool | mouseEvent (const Widget::MouseEvent &ev) |
|
bool | motionEvent (const Widget::MotionEvent &ev) |
|
|
State | getState () const noexcept |
|
void | clearState () noexcept |
|
virtual void | stateChanged (State state, State oldState) |
|
void | setInternalCallback (Callback *callback) noexcept |
|
void | triggerUserCallback (SubWidget *widget, int button) |
|
The documentation for this class was generated from the following file: