bWidgets
Core widget toolkit designed for Blender
|
#include <bwAbstractButton.h>
Public Member Functions | |
bwAbstractButtonHandler (bwAbstractButton &button) | |
virtual | ~bwAbstractButtonHandler ()=default |
void | onMouseEnter (bwEvent &) override |
void | onMouseLeave (bwEvent &) override |
void | onMousePress (bwMouseButtonEvent &) override |
void | onMouseRelease (bwMouseButtonEvent &) override |
Public Member Functions inherited from bWidgets::bwScreenGraph::EventHandler | |
EventHandler ()=default | |
virtual | ~EventHandler ()=default |
void | addEventListener (EventType event_type, EventListener listener) |
virtual void | onMouseMove (bwEvent &) |
virtual void | onMouseEnter (bwEvent &) |
virtual void | onMouseLeave (bwEvent &) |
virtual void | onMousePress (bwMouseButtonEvent &) |
virtual void | onMouseRelease (bwMouseButtonEvent &) |
virtual void | onMouseClick (bwMouseButtonEvent &) |
virtual void | onMouseDrag (bwMouseButtonDragEvent &) |
virtual void | onMouseWheel (bwMouseWheelEvent &) |
Protected Member Functions | |
void | apply () |
Protected Attributes | |
bwAbstractButton & | button |
Additional Inherited Members | |
Public Types inherited from bWidgets::bwScreenGraph::EventHandler | |
enum | EventType { MOUSE_ENTER , MOUSE_LEAVE , TOT_EVENT_TYPES } |
bWidgets::bwAbstractButtonHandler::bwAbstractButtonHandler | ( | bwAbstractButton & | button | ) |
|
virtualdefault |
|
protected |
|
overridevirtual |
Reimplemented from bWidgets::bwScreenGraph::EventHandler.
|
overridevirtual |
Reimplemented from bWidgets::bwScreenGraph::EventHandler.
|
overridevirtual |
Reimplemented from bWidgets::bwScreenGraph::EventHandler.
Reimplemented in bWidgets::bwCheckboxHandler, bWidgets::bwRadioButtonHandler, and bWidgets::bwScrollBarHandler.
|
overridevirtual |
Reimplemented from bWidgets::bwScreenGraph::EventHandler.
Reimplemented in bWidgets::bwCheckboxHandler, and bWidgets::bwRadioButtonHandler.
|
protected |