25#ifndef TGUI_SUBWIDGET_CONTAINER_HPP
26#define TGUI_SUBWIDGET_CONTAINER_HPP
28#include <TGUI/Widgets/Group.hpp>
29#include <TGUI/CopiedSharedPtr.hpp>
33TGUI_MODULE_EXPORT
namespace tgui
44 using Ptr = std::shared_ptr<SubwidgetContainer>;
45 using ConstPtr = std::shared_ptr<const SubwidgetContainer>;
61 using Widget::setSize;
102 void leftMouseReleased(
Vector2f pos)
override;
107 void rightMousePressed(
Vector2f pos)
override;
112 void rightMouseReleased(
Vector2f pos)
override;
117 void mouseMoved(
Vector2f pos)
override;
127 void textEntered(
char32_t key)
override;
137 void mouseNoLongerOnWidget()
override;
142 void leftMouseButtonNoLongerDown()
override;
147 void rightMouseButtonNoLongerDown()
override;
161 bool updateTime(
Duration elapsedTime)
override;
173 void setParent(
Container* parent)
override;
188 TGUI_NODISCARD std::unique_ptr<DataIO::Node>
save(SavingRenderersMap& renderers)
const override;
193 void load(
const std::unique_ptr<DataIO::Node>& node,
const LoadingRenderersMap& renderers)
override;
Base class for render targets.
Definition BackendRenderTarget.hpp:46
Container widget.
Definition Container.hpp:48
Definition CopiedSharedPtr.hpp:42
Wrapper for durations.
Definition Duration.hpp:55
Class to store the position or size of a widget.
Definition Layout.hpp:323
Wrapper class to store strings.
Definition String.hpp:96
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38
KeyPressed event parameters.
Definition Event.hpp:168
States used for drawing.
Definition RenderStates.hpp:38