15 #define GETTEXT_DOMAIN "wesnoth-lib"
28 const unsigned parallel_items)
30 switch(grow_direction.v) {
31 case tgrow_direction::horizontal:
32 return new implementation::tplacer_horizontal_list(parallel_items);
33 case tgrow_direction::vertical:
34 return new implementation::tplacer_vertical_list(parallel_items);
Base class for the placement helper.
virtual MAKE_ENUM(tgrow_direction,(horizontal,"horizontal")(vertical,"vertical")) public ~tplacer_()
The direction the placer should grow towards.
Placement helper for the horizontal list.
twindow * build(CVideo &video, const twindow_builder::tresolution *definition)
Builds a window.
Placement helper for the vertical list.
#define UNREACHABLE_CODE
Marker for code that should be unreachable.
A class inherited from ttext_box that displays its input as stars.