libAlgAudio
v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
|
#include <UIMouseEventsBase.hpp>
Public Member Functions | |
virtual void | CustomMouseEnter (Point2D) |
virtual void | CustomMouseLeave (Point2D) |
virtual void | CustomMouseMotion (Point2D, Point2D) |
virtual bool | CustomMousePress (bool, MouseButton, Point2D) |
void | OnMouseEnter (Point2D) |
void | OnMouseLeave (Point2D) |
void | OnMouseMotion (Point2D, Point2D) |
bool | OnMousePress (bool, MouseButton, Point2D) |
virtual void | RequestFocus ()=0 |
void | SetFocusable (bool f) |
Public Member Functions inherited from AlgAudio::UIVisibilityBase | |
bool | IsDrawn () const |
bool | IsInvisible () const |
void | SetDisplayMode (DisplayMode m) |
Public Attributes | |
Point2D | last_mouse_pos |
Signal | on_clicked |
Signal< Point2D > | on_motion |
Signal< bool > | on_pointed |
Signal< bool > | on_pressed |
Public Attributes inherited from AlgAudio::UIVisibilityBase | |
Signal | on_display_mode_changed |
Protected Member Functions | |
UIMouseEventsBase () | |
Protected Member Functions inherited from AlgAudio::UIVisibilityBase | |
UIVisibilityBase () | |
Protected Attributes | |
bool | focusable = true |
bool | pointed = false |
bool | pressed = false |
Protected Attributes inherited from AlgAudio::UIVisibilityBase | |
DisplayMode | display_mode = DisplayMode::Visible |
Additional Inherited Members | |
Public Types inherited from AlgAudio::UIVisibilityBase | |
enum | DisplayMode { DisplayMode::Visible, DisplayMode::EmptySpace, DisplayMode::Invisible } |
|
inlineprotected |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
This call is supposed to return TRUE iff it's the end of the click chain, i.e. the event was NOT passed to another widget. It must return FALSE if the event was passed to any child widget.
Reimplemented in AlgAudio::CanvasView, AlgAudio::UIBox, AlgAudio::StandardModuleGUI, AlgAudio::UIAnimDrawer, AlgAudio::UILayered, AlgAudio::UISlider, AlgAudio::UICentered, AlgAudio::UIMarginBox, and AlgAudio::UIPosition.
void AlgAudio::UIMouseEventsBase::OnMouseEnter | ( | Point2D | ) |
void AlgAudio::UIMouseEventsBase::OnMouseLeave | ( | Point2D | ) |
bool AlgAudio::UIMouseEventsBase::OnMousePress | ( | bool | , |
MouseButton | , | ||
Point2D | |||
) |
|
pure virtual |
Implemented in AlgAudio::UIWidget, AlgAudio::UIContainerMultiple, and AlgAudio::UIContainerSingle.
|
inline |
|
protected |
Point2D AlgAudio::UIMouseEventsBase::last_mouse_pos |
Signal AlgAudio::UIMouseEventsBase::on_clicked |
Signal<bool> AlgAudio::UIMouseEventsBase::on_pointed |
Signal<bool> AlgAudio::UIMouseEventsBase::on_pressed |
|
protected |
|
protected |