15 #ifndef GUI_DIALOGS_THEME_LIST_HPP_INCLUDED
16 #define GUI_DIALOGS_THEME_LIST_HPP_INCLUDED
28 explicit ttheme_list(
const std::vector<theme_info>& themes,
ttheme_list(const std::vector< theme_info > &themes, int selection=-1)
void set_selected_index(int index)
Sets the initially selected item index (-1 by default).
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
void post_show(twindow &window)
Inherited from tdialog.
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.
int selected_index() const
Returns the selected item index after displaying.
void pre_show(twindow &window)
Inherited from tdialog.
std::vector< theme_info > themes_
GLsizei const GLcharARB ** string