15 #ifndef GUI_DIALOGS_UNIT_CREATE_HPP_INCLUDED
16 #define GUI_DIALOGS_UNIT_CREATE_HPP_INCLUDED
57 std::vector<const unit_type*>
units_;
std::vector< const unit_type * > units_
void gender_toggle_callback(twindow &window)
bool compare_race(unsigned i1, unsigned i2) const
std::vector< std::string > last_words_
void filter_text_changed(ttext_ *textbox, const std::string &text)
const std::string & choice() const
Unit type choice from the user.
void list_item_clicked(twindow &window)
Callbacks.
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
Abstract base class for all dialogs.
bool compare_race_rev(unsigned i1, unsigned i2) const
bool no_choice() const
Whether the user actually chose a unit type or not.
void pre_show(twindow &window)
Inherited from tdialog.
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
bool compare_type(unsigned i1, unsigned i2) const
unit_race::GENDER gender_
bool compare_type_rev(unsigned i1, unsigned i2) const
unit_race::GENDER gender()
Gender choice from the user.
GLsizei const GLcharARB ** string
tgroup< unit_race::GENDER > gender_toggle
Abstract base class for text items.
void post_show(twindow &window)
Inherited from tdialog.