20 #ifndef GUI_AUXILIARY_PLACER_HORIZONTAL_LIST_HPP_INCLUDED
21 #define GUI_AUXILIARY_PLACER_HORIZONTAL_LIST_HPP_INCLUDED
Base class for the placement helper.
unsigned maximum_rows_
The maximum number of rows to use.
The placement class for a horizontal list.
std::vector< int > rows_
Holds the heights of the rows.
Base class for the placement helper.
tplacer_horizontal_list(const unsigned maximum_rows)
unsigned column_
The column to add an item to.
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 row_
The row to add an item to.
virtual tpoint get_origin(const unsigned index) const
Gets the origin for an item.
virtual void initialise()
Initialises the placer.
virtual void add_item(const tpoint &size)
Adds a item to be placed.
std::vector< std::pair< int, int > > columns_
Holds the column sizes.
Contains the implementation details for lexical_cast and shouldn't be used directly.