|
|
| ButtonGroup (const std::string &id, DOM::Orientation orientation) |
| |
|
| ButtonGroup (const std::string &id, float x=0, float y=0, float width=Button::DEFAULT_WIDTH, float height=Button::DEFAULT_HEIGHT, DOM::Orientation orientation=DOM::Orientation::VERTICAL) |
| |
|
virtual void | onDraw () const override |
| |
|
template<typename... Args> |
| RadioButton * | addRadioButton (Args &&...args) |
| |
|
template<typename... Args> |
| ToggleButton * | addToggleButton (Args &&...args) |
| |
|
| Widget (float x, float y, float width, float height) |
| |
|
| Widget (const std::string &id, float x, float y, float width, float height) |
| |
|
virtual | ~Widget () |
| | Destroy this Widget.
|
| |
| bool | isPointerOver () const |
| |
| bool | isPointerDown () const |
| |
| void | setDropTarget (bool dropTarget) |
| | Enable or disable the Widget as a drop target. More...
|
| |
| bool | isDropTarget () const |
| | Determine if this Widget is a drop target. More...
|
| |
| void | setDraggable (bool draggable) |
| | Set draggability for this Widget. More...
|
| |
| bool | isDraggable () const |
| | Determine if draggability is enabled for this Widget. More...
|
| |
| bool | isDragging () const |
| | Determine if this Widget is being dragged. More...
|
| |
| std::shared_ptr< Styles > | getStyles () const |
| | Get the Styles for this Widget. More...
|
| |
| void | setStyles (std::shared_ptr< Styles > styles) |
| | Set the Styles for this Widget. More...
|
| |
|
|
void | _onButtonEvent (ButtonEventArgs &e) |
| |
|
void | _onPointerEvent (DOM::PointerUIEventArgs &e) |
| | Default callback for built-in events, including dragging.
|
| |
|
void | _onPointerCaptureEvent (DOM::PointerCaptureUIEventArgs &e) |
| | Default callback for built-in events, including dragging.
|
| |
The documentation for this class was generated from the following files: