20 #ifndef GUI_AUXILIARY_PLACER_VERTICAL_LIST_HPP_INCLUDED
21 #define GUI_AUXILIARY_PLACER_VERTICAL_LIST_HPP_INCLUDED
75 std::vector<std::pair<int, int> >
rows_;
virtual tpoint get_origin(const unsigned index) const
Gets the origin for an item.
Base class for the placement helper.
tplacer_vertical_list(const unsigned maximum_columns)
std::vector< int > columns_
Holds the widths of the columns.
Base class for the placement helper.
A class inherited from ttext_box that displays its input as stars.
virtual tpoint get_size() const
Gets the required size of all items.
unsigned maximum_columns_
The maximum number of columns to use.
The placement class for a vertical list.
std::vector< std::pair< int, int > > rows_
Holds the row sizes.
unsigned row_
The row to add an item to.
virtual void initialise()
Initialises the placer.
virtual void add_item(const tpoint &size)
Adds a item to be placed.
unsigned column_
The column to add an item to.
Contains the implementation details for lexical_cast and shouldn't be used directly.