15 #ifndef GUI_DIALOGS_CUSTOM_TOD_HPP_INCLUDED
16 #define GUI_DIALOGS_CUSTOM_TOD_HPP_INCLUDED
46 const std::vector<time_of_day>& tods);
49 const std::vector<time_of_day>& tods,
ttext_box * current_tod_name_
Text boxes for name and id.
tlabel * current_tod_number_
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
void update_selected_tod_info(twindow &window)
void update_tod_display(twindow &window)
Template class to implement the generic field implementation.
tcustom_tod(editor::editor_display *display, const std::vector< time_of_day > &tods)
Class for a single line text area.
const time_of_day & get_selected_tod() const
timage * current_tod_image_
Images for the current tod.
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.
std::string default_dir()
editor::editor_display * display_
The display to update when the ToD changes.
Object which defines a time of day with associated bonuses, image, sounds etc.
void set_selected_tod(time_of_day tod)
Abstract base class for all dialogs.
ttext_box * current_tod_id_
void pre_show(twindow &window)
Inherited from tdialog.
Manage the empty-palette in the editor.
void select_file(const std::string &filename, const std::string &default_dir, const std::string &attribute, twindow &window)
void update_lawful_bonus(twindow &window)
tslider * tod_blue_field_
void do_delete_tod(twindow &window)
tlabel * current_tod_sound_
Labels for the current tod.
std::vector< time_of_day > tods_
Available time_of_days.
int current_tod_
Current map generator index.
static bool execute(editor::editor_display *display, const std::vector< time_of_day > &tods, CVideo &video)
void do_new_tod(twindow &window)
tfield_integer * lawful_bonus_field_
timage * current_tod_mask_
void do_next_tod(twindow &window)
Callback for the next tod button.
void do_prev_tod(twindow &window)
GLsizei const GLcharARB ** string
void post_show(twindow &window)
Inherited from tdialog.
tslider * tod_green_field_