26#ifndef TGUI_HORIZONTAL_WRAP_HPP
27#define TGUI_HORIZONTAL_WRAP_HPP
29#include <TGUI/Widgets/BoxLayout.hpp>
42 typedef std::shared_ptr<HorizontalWrap>
Ptr;
43 typedef std::shared_ptr<const HorizontalWrap>
ConstPtr;
53 HorizontalWrap(
const char* typeName =
"HorizontalWrap",
bool initRenderer =
true);
82 void updateWidgets()
override;
90 return std::make_shared<HorizontalWrap>(*
this);
Abstract class for box layout containers.
Definition BoxLayout.hpp:41
Container that automatically arranges children in lines, adding a new line when a horizontal line is ...
Definition HorizontalWrap.hpp:40
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:43
static Ptr copy(ConstPtr layout)
Makes a copy of another layout.
Widget::Ptr clone() const override
Makes a copy of the widget if you don't know its exact type.
Definition HorizontalWrap.hpp:88
std::shared_ptr< HorizontalWrap > Ptr
Shared widget pointer.
Definition HorizontalWrap.hpp:42
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