libAlgAudio
v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
|
#include <UILayered.hpp>
Public Member Functions | |
virtual void | Clear () override |
virtual void | CustomDraw (DrawContext &c) override |
virtual void | CustomMouseEnter (Point2D) override |
virtual void | CustomMouseLeave (Point2D) override |
virtual void | CustomMouseMotion (Point2D p1, Point2D p2) override |
virtual bool | CustomMousePress (bool, MouseButton, Point2D) override |
virtual void | CustomResize (Size2D) override |
virtual Point2D | GetChildPos (std::shared_ptr< UIWidget >) const override |
void | Insert (const std::shared_ptr< UIWidget > &child) |
virtual void | OnChildRequestedSizeChanged () override |
virtual void | OnChildVisibilityChanged () override |
Public Member Functions inherited from AlgAudio::UIContainerMultiple | |
virtual void | OnChildFocusRequested (std::shared_ptr< UIWidget > w) override |
virtual bool | OnChildFocusTested (std::shared_ptr< const UIWidget > w) override |
virtual void | OnFocusChanged (bool has_focus) override |
virtual void | OnKeyboard (KeyData k) override |
virtual void | RequestFocus () override |
Public Member Functions inherited from AlgAudio::UIWidget | |
virtual std::shared_ptr< UIWidget > | CustomFindChild (ID) const |
void | Draw (DrawContext &c) |
std::shared_ptr< UIWidget > | FindChild (ID search_id) |
Size2D | GetCurrentSize () const |
Point2D | GetPosInParent (std::shared_ptr< UIWidget > ancestor) |
Size2D | GetRequestedSize () const |
std::shared_ptr< Window > | GetWindow () |
bool | HasParent () |
bool | HasZeroArea () const |
void | Resize (Size2D s) |
void | SetBackColor (const Color &c) |
void | SetCustomSize (Size2D size) |
void | SetFrontColor (const Color &c) |
void | TriggerFakeResize () |
virtual | ~UIWidget () |
Public Member Functions inherited from AlgAudio::UIMouseEventsBase | |
void | OnMouseEnter (Point2D) |
void | OnMouseLeave (Point2D) |
void | OnMouseMotion (Point2D, Point2D) |
bool | OnMousePress (bool, MouseButton, Point2D) |
void | SetFocusable (bool f) |
Public Member Functions inherited from AlgAudio::UIVisibilityBase | |
bool | IsDrawn () const |
bool | IsInvisible () const |
void | SetDisplayMode (DisplayMode m) |
Static Public Member Functions | |
static std::shared_ptr< UILayered > | Create (std::weak_ptr< Window > parent_window) |
|
overridevirtual |
Implements AlgAudio::UIContainerMultiple.
|
static |
|
overridevirtual |
Implements AlgAudio::UIWidget.
|
overridevirtual |
Reimplemented from AlgAudio::UIMouseEventsBase.
|
overridevirtual |
Reimplemented from AlgAudio::UIMouseEventsBase.
Reimplemented from AlgAudio::UIMouseEventsBase.
|
overridevirtual |
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 from AlgAudio::UIMouseEventsBase.
|
overridevirtual |
Reimplemented from AlgAudio::UIWidget.
|
inlineoverridevirtual |
Implements AlgAudio::UIContainerMultiple.
void AlgAudio::UILayered::Insert | ( | const std::shared_ptr< UIWidget > & | child | ) |
|
overridevirtual |
This method will be called by a child when it changes the desired size.
Reimplemented from AlgAudio::UIWidget.
|
overridevirtual |
This method will be called by a child when it changes its visibility.
Reimplemented from AlgAudio::UIWidget.