26#ifndef TGUI_HORIZONTAL_LAYOUT_HPP
27#define TGUI_HORIZONTAL_LAYOUT_HPP
29#include <TGUI/BoxLayout.hpp>
44 typedef std::shared_ptr<HorizontalLayout>
Ptr;
45 typedef std::shared_ptr<const HorizontalLayout>
ConstPtr;
80 virtual void updateWidgetPositions()
override;
88 return std::make_shared<HorizontalLayout>(*
this);
Abstract class for box layout containers.
Definition: BoxLayout.hpp:40
std::shared_ptr< BoxLayout > Ptr
Shared widget pointer.
Definition: BoxLayout.hpp:43
std::shared_ptr< const BoxLayout > ConstPtr
Shared constant widget pointer.
Definition: BoxLayout.hpp:44
Container that automatically resizes children to fit the entire available space between children.
Definition: HorizontalLayout.hpp:42
HorizontalLayout()
Default constructor.
std::shared_ptr< HorizontalLayout > Ptr
Shared widget pointer.
Definition: HorizontalLayout.hpp:44
std::shared_ptr< const HorizontalLayout > ConstPtr
Shared constant widget pointer.
Definition: HorizontalLayout.hpp:45
virtual Widget::Ptr clone() const override
Makes a copy of the widget if you don't know its exact type.
Definition: HorizontalLayout.hpp:86
Ptr copy(ConstPtr layout)
Makes a copy of another layout.
static HorizontalLayout::Ptr create()
Creates a new horizontal layout widget.
Namespace that contains all TGUI functions and classes.
Definition: Animation.hpp:34