26#ifndef TGUI_VERTICAL_LAYOUT_HPP
27#define TGUI_VERTICAL_LAYOUT_HPP
29#include <TGUI/BoxLayout.hpp>
44 typedef std::shared_ptr<VerticalLayout>
Ptr;
45 typedef std::shared_ptr<const VerticalLayout>
ConstPtr;
80 virtual void updateWidgetPositions()
override;
88 return std::make_shared<VerticalLayout>(*
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: VerticalLayout.hpp:42
static VerticalLayout::Ptr create()
Creates a new horizontal layout widget.
std::shared_ptr< VerticalLayout > Ptr
Shared widget pointer.
Definition: VerticalLayout.hpp:44
Ptr copy(ConstPtr layout)
Makes a copy of another layout.
VerticalLayout()
Default constructor.
std::shared_ptr< const VerticalLayout > ConstPtr
Shared constant widget pointer.
Definition: VerticalLayout.hpp:45
virtual Widget::Ptr clone() const override
Makes a copy of the widget if you don't know its exact type.
Definition: VerticalLayout.hpp:86
Namespace that contains all TGUI functions and classes.
Definition: Animation.hpp:34