39 struct builder_unit_preview_pane;
53 void set_displayed_unit(
const unit& u);
56 void set_image_mods(
const std::string& mods);
59 void profile_button_callback();
62 virtual void set_active(
const bool active)
override;
65 virtual bool get_active()
const override;
68 virtual unsigned get_state()
const override;
76 void finalize_setup();
105 static const std::string&
type();
109 virtual const std::string& get_control_type()
const override;
112 virtual void set_self_active(
const bool active)
override;
143 virtual std::unique_ptr<widget>
build()
const override;
const std::string image_mods_
Base class of a resolution, contains the common keys for a resolution.
utils::optional_reference< const unit_type > current_type_
This class represents a single unit of a specific type.
A drawing is widget with a fixed size and gives access to the canvas of the widget in the window inst...
styled_widget * label_details_
A label displays a text, the text can be wrapped but no scrollbars are provided.
A single unit type that the player may recruit.
std::string label
What to show in the filter's drop-down list.
tree_view * tree_details_
A tree view is a control that holds several items of the same or different types. ...
A generic container base class.
std::shared_ptr< builder_grid > builder_grid_ptr
Functions to load and save images from/to disk.
std::unique_ptr< window > build(const builder_window::window_resolution &definition)
Builds a window.
A config object defines a single node in a WML file, with access to child nodes.
Contains the implementation details for lexical_cast and shouldn't be used directly.