40 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
virtual const std::string & window_id() const override
The ID of the window to build.
virtual void post_show(window &window) override
Actions to be taken after the window has been shown.
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
std::map< const unit_type *, t_string > & recruit_map_
void filter_text_changed(const std::string &text)
std::vector< std::string > last_words_
const unit_type * get_selected_unit_type() const
unit_recruit(std::map< const unit_type *, t_string > &recruit_map, team &team)
std::vector< const unit_type * > recruit_list_
A vector of unit types in the order listed in the UI.
base class of top level items, the only item which needs to store the final canvases to draw on.
This class stores all the data for a single 'side' (in game nomenclature).
A single unit type that the player may recruit.