25#ifndef TGUI_HORIZONTAL_WRAP_HPP
26#define TGUI_HORIZONTAL_WRAP_HPP
28#include <TGUI/Widgets/BoxLayout.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
41 using Ptr = std::shared_ptr<HorizontalWrap>;
42 using ConstPtr = std::shared_ptr<const HorizontalWrap>;
44 static constexpr const char StaticWidgetType[] =
"HorizontalWrap";
53 HorizontalWrap(
const char* typeName = StaticWidgetType,
bool initRenderer =
true);
77 void updateWidgets()
override;
Abstract class for box layout containers.
Definition BoxLayout.hpp:40
Container that automatically arranges children in lines, adding a new line when a horizontal line is ...
Definition HorizontalWrap.hpp:39
std::shared_ptr< HorizontalWrap > Ptr
Shared widget pointer.
Definition HorizontalWrap.hpp:41
static HorizontalWrap::Ptr create(const Layout2d &size={"100%", "100%"})
Creates a new horizontal wrap widget.
std::shared_ptr< const HorizontalWrap > ConstPtr
Shared constant widget pointer.
Definition HorizontalWrap.hpp:42
Widget::Ptr clone() const override
Makes a copy of the widget if you don't know its exact type.
static HorizontalWrap::Ptr copy(const HorizontalWrap::ConstPtr &layout)
Makes a copy of another layout.
Class to store the position or size of a widget.
Definition Layout.hpp:323
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38