27 static std::shared_ptr<UICentered>
Create(std::weak_ptr<Window> parent_window);
32 virtual void Insert(std::shared_ptr<UIWidget>)
override;
40 UICentered(std::weak_ptr<Window> parent_window);
41 inline bool IsInside(
Point2D)
const;
48 #endif // UICENTERED_HPP
virtual void CustomResize(Size2D s) override
static std::shared_ptr< UICentered > Create(std::weak_ptr< Window > parent_window)
virtual void OnChildRequestedSizeChanged() override
Definition: UIContainer.hpp:27
Definition: DrawContext.hpp:65
virtual bool CustomMousePress(bool down, MouseButton b, Point2D) override
virtual void RemoveChild() override
MouseButton
Definition: Utilities.hpp:190
Definition: Alertable.hpp:26
virtual Point2D GetChildPos() const override
Definition: UICentered.hpp:38
virtual void CustomMouseLeave(Point2D) override
virtual void OnChildVisibilityChanged() override
virtual void CustomMouseEnter(Point2D) override
virtual void CustomDraw(DrawContext &c) override
virtual void Insert(std::shared_ptr< UIWidget >) override
Definition: UICentered.hpp:25
virtual void CustomMouseMotion(Point2D, Point2D) override
Definition: Utilities.hpp:40