1 #ifndef UIANIMDRAWER_HPP
2 #define UIANIMDRAWER_HPP
27 static std::shared_ptr<UIAnimDrawer>
Create(std::weak_ptr<Window> parent_window,
Direction dir);
28 virtual void Insert(std::shared_ptr<UIWidget>
child)
override;
47 void Step(
float delta);
48 Point2D GetCurrentOffset()
const;
49 Size2D GetInnerSize()
const;
50 void UpdateRequestedSize();
62 #endif // UIANIMDRAWER_HPP
Signal on_hide_complete
Definition: UIAnimDrawer.hpp:43
virtual void RemoveChild() override
Definition: UIContainer.hpp:27
Definition: DrawContext.hpp:65
MouseButton
Definition: Utilities.hpp:190
virtual Point2D GetChildPos() const override
Definition: UIAnimDrawer.hpp:39
virtual void CustomResize(Size2D s) override
virtual void OnChildVisibilityChanged() override
Definition: UIAnimDrawer.hpp:25
std::shared_ptr< UIWidget > child
Definition: UIContainer.hpp:54
virtual void Insert(std::shared_ptr< UIWidget > child) override
virtual void CustomMouseEnter(Point2D) override
virtual void OnChildRequestedSizeChanged() override
virtual void CustomDraw(DrawContext &c) override
Direction
Definition: Utilities.hpp:138
virtual void CustomMouseMotion(Point2D, Point2D) override
Definition: Alertable.hpp:26
virtual void CustomMouseLeave(Point2D) override
void StartShow(float time_to_show)
Definition: Signal.hpp:44
void StartHide(float time_to_hide)
virtual bool CustomMousePress(bool down, MouseButton b, Point2D) override
static std::shared_ptr< UIAnimDrawer > Create(std::weak_ptr< Window > parent_window, Direction dir)
Signal on_show_complete
Definition: UIAnimDrawer.hpp:42
Definition: Signal.hpp:145
Definition: Utilities.hpp:40