bWidgets
Core widget toolkit designed for Blender
|
#include <bwTextBox.h>
Public Member Functions | |
bwTextBoxHandler (bwTextBox &textbox) | |
virtual | ~bwTextBoxHandler ()=default |
void | onMouseEnter (bwEvent &) override |
void | onMouseLeave (bwEvent &) override |
void | onMousePress (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 | startTextEditing () |
void | endTextEditing () |
Protected Attributes | |
bwTextBox & | textbox |
bool | is_dragging = false |
Additional Inherited Members | |
Public Types inherited from bWidgets::bwScreenGraph::EventHandler | |
enum | EventType { MOUSE_ENTER , MOUSE_LEAVE , TOT_EVENT_TYPES } |
bWidgets::bwTextBoxHandler::bwTextBoxHandler | ( | bwTextBox & | textbox | ) |
|
virtualdefault |
|
protected |
|
overridevirtual |
Reimplemented from bWidgets::bwScreenGraph::EventHandler.
|
overridevirtual |
Reimplemented from bWidgets::bwScreenGraph::EventHandler.
|
overridevirtual |
Reimplemented from bWidgets::bwScreenGraph::EventHandler.
|
protected |
|
protected |
|
protected |