26#ifndef TGUI_SUBWIDGET_CONTAINER_HPP
27#define TGUI_SUBWIDGET_CONTAINER_HPP
30#include <TGUI/Widgets/Group.hpp>
31#include <TGUI/CopiedSharedPtr.hpp>
46 typedef std::shared_ptr<SubwidgetContainer>
Ptr;
47 typedef std::shared_ptr<const SubwidgetContainer>
ConstPtr;
65 using Widget::setSize;
104 void leftMousePressed(
Vector2f pos)
override;
109 void leftMouseReleased(
Vector2f pos)
override;
114 void rightMousePressed(
Vector2f pos)
override;
119 void rightMouseReleased(
Vector2f pos)
override;
124 void mouseMoved(
Vector2f pos)
override;
134 void textEntered(
char32_t key)
override;
139 bool mouseWheelScrolled(
float delta,
Vector2f pos)
override;
144 void mouseNoLongerOnWidget()
override;
149 void leftMouseButtonNoLongerDown()
override;
154 void rightMouseButtonNoLongerDown()
override;
170 bool updateTime(
Duration elapsedTime)
override;
184 void setParent(
Container* parent)
override;
193 std::unique_ptr<DataIO::Node>
save(SavingRenderersMap& renderers)
const override;
199 void load(
const std::unique_ptr<DataIO::Node>& node,
const LoadingRenderersMap& renderers)
override;
Base class for render targets.
Definition BackendRenderTarget.hpp:48
Container widget.
Definition Container.hpp:47
Definition CopiedSharedPtr.hpp:40
Wrapper for durations.
Definition Duration.hpp:52
Class to store the position or size of a widget.
Definition Layout.hpp:262
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:36
KeyPressed event parameters.
Definition Event.hpp:167
States used for drawing.
Definition RenderStates.hpp:39