std::vector< std::string > items_
void item_change_callback(twindow &window, size_t item)
SDL_Rect button_pos_
The screen location of the combobox button that triggred this droplist.
tdrop_down_list(SDL_Rect button_pos, const std::vector< std::string > &items, int selected_item, bool use_markup)
Used by the combobox widget.
const std::vector< std::string > items
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.
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
void pre_show(twindow &window)
Inherited from tdialog.
void post_show(twindow &window)
Inherited from tdialog.
Contains the SDL_Rect helper code.
int selected_item() const
GLsizei const GLcharARB ** string