27 static std::shared_ptr<UIPosition>
Create(std::weak_ptr<Window> parent_window);
40 UIPosition(std::weak_ptr<Window> parent_window);
41 inline bool IsInside(
Point2D)
const;
47 #endif // UIPOSITION_HPP
virtual void CustomMouseMotion(Point2D, Point2D) override
virtual void CustomDraw(DrawContext &c) override
static std::shared_ptr< UIPosition > Create(std::weak_ptr< Window > parent_window)
Definition: UIContainer.hpp:27
Definition: DrawContext.hpp:65
Point2D_< int > Point2D
Definition: Utilities.hpp:35
virtual void Insert(std::shared_ptr< UIWidget > child) override
Definition: UIPosition.hpp:28
Definition: UIPosition.hpp:25
MouseButton
Definition: Utilities.hpp:190
std::shared_ptr< UIWidget > child
Definition: UIContainer.hpp:54
Definition: Utilities.hpp:34
virtual void OnChildRequestedSizeChanged() override
virtual void OnChildVisibilityChanged() override
virtual void CustomMouseLeave(Point2D) override
Definition: Alertable.hpp:26
virtual void CustomMouseEnter(Point2D) override
virtual void RemoveChild() override
virtual Point2D GetChildPos() const override
Definition: UIPosition.hpp:38
virtual bool CustomMousePress(bool down, MouseButton b, Point2D) override