24 #ifndef GUI_AUXILIARY_PLACER_HPP_INCLUDED
25 #define GUI_AUXILIARY_PLACER_HPP_INCLUDED
59 (horizontal,
"horizontal")
60 (vertical,
"vertical")
81 const unsigned parallel_items);
virtual MAKE_ENUM(tgrow_direction,(horizontal,"horizontal")(vertical,"vertical")) public ~tplacer_()
The direction the placer should grow towards.
virtual void initialise()=0
Initialises the placer.
twindow * build(CVideo &video, const twindow_builder::tresolution *definition)
Builds a window.
#define MAKE_ENUM(NAME, CONTENT)
Base class for the placement helper.
A class inherited from ttext_box that displays its input as stars.
virtual tpoint get_origin(const unsigned index) const =0
Gets the origin for an item.
virtual void add_item(const tpoint &size)=0
Adds a item to be placed.
virtual tpoint get_size() const =0
Gets the required size of all items.
Defines the MAKE_ENUM macro.