64 std::vector<const unit_type*>
units_;
74 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
virtual void pre_show() override
Actions to be taken before showing the window.
unit_race::GENDER gender_
group< unit_race::GENDER > gender_toggle
unit_race::GENDER gender()
Gender choice from the user.
bool no_choice() const
Whether the user actually chose a unit type or not.
std::vector< std::string > last_words_
void list_item_clicked()
Callbacks.
std::string variation() const
Variation choice from the user.
void variation_menu_callback()
void filter_text_changed(const std::string &text)
virtual void post_show() override
Actions to be taken after the window has been shown.
void update_displayed_type()
void gender_toggle_callback(const unit_race::GENDER val)
const std::string & choice() const
Unit type choice from the user.
std::vector< const unit_type * > units_
virtual const std::string & window_id() const override
The ID of the window to build.
A single unit type that the player may recruit.
Various uncategorised dialogs.