Enumerations | |
enum | TRANSITION_UPDATE_MODE : int { TRANSITION_UPDATE_OFF = 0 , TRANSITION_UPDATE_ON = 1 , TRANSITION_UPDATE_PARTIAL = 2 , TRANSITION_UPDATE_COUNT = 3 } |
Functions | |
int | auto_update_transitions () |
void | set_auto_update_transitions (int value) |
std::string | default_dir () |
bool | draw_terrain_codes () |
void | set_draw_terrain_codes (bool value) |
bool | draw_hex_coordinates () |
void | set_draw_hex_coordinates (bool value) |
bool | draw_num_of_bitmaps () |
void | set_draw_num_of_bitmaps (bool value) |
std::vector< std::string > | recent_files () |
Retrieves the list of recently opened files. More... | |
void | add_recent_files_entry (const std::string &path) |
Adds an entry to the recent files list. More... | |
void | remove_recent_files_entry (const std::string &path) |
Removes a single entry from the recent files list. More... | |
enum preferences::editor::TRANSITION_UPDATE_MODE : int |
Enumerator | |
---|---|
TRANSITION_UPDATE_OFF | |
TRANSITION_UPDATE_ON | |
TRANSITION_UPDATE_PARTIAL | |
TRANSITION_UPDATE_COUNT |
Definition at line 25 of file editor.hpp.
void preferences::editor::add_recent_files_entry | ( | const std::string & | path | ) |
Adds an entry to the recent files list.
Definition at line 124 of file editor.cpp.
References game_config::path, and gui2::dialogs::tip::remove().
Referenced by editor::map_context::add_to_recent_files().
int preferences::editor::auto_update_transitions | ( | ) |
Definition at line 25 of file editor.cpp.
References preferences::get(), and TRANSITION_UPDATE_PARTIAL.
std::string preferences::editor::default_dir | ( | ) |
Definition at line 33 of file editor.cpp.
References preferences::get().
Referenced by gui2::dialogs::custom_tod::select_file(), and gui2::dialogs::editor_edit_unit::select_file().
bool preferences::editor::draw_hex_coordinates | ( | ) |
Definition at line 45 of file editor.cpp.
References preferences::get().
Referenced by editor::editor_controller::init_gui().
bool preferences::editor::draw_num_of_bitmaps | ( | ) |
Definition at line 53 of file editor.cpp.
References preferences::get().
Referenced by editor::editor_controller::init_gui().
bool preferences::editor::draw_terrain_codes | ( | ) |
Definition at line 37 of file editor.cpp.
References preferences::get().
Referenced by editor::editor_controller::init_gui().
std::vector< std::string > preferences::editor::recent_files | ( | ) |
Retrieves the list of recently opened files.
Definition at line 119 of file editor.cpp.
Referenced by editor::context_manager::expand_load_mru_menu(), and editor::context_manager::load_mru_item().
void preferences::editor::remove_recent_files_entry | ( | const std::string & | path | ) |
Removes a single entry from the recent files list.
Definition at line 142 of file editor.cpp.
References game_config::path, and gui2::dialogs::tip::remove().
void preferences::editor::set_auto_update_transitions | ( | int | value | ) |
Definition at line 29 of file editor.cpp.
References preferences::set().
Referenced by editor::context_manager::set_update_transitions_mode(), and editor::context_manager::toggle_update_transitions().
void preferences::editor::set_draw_hex_coordinates | ( | bool | value | ) |
Definition at line 49 of file editor.cpp.
References preferences::set().
Referenced by editor::editor_controller::do_execute_command().
void preferences::editor::set_draw_num_of_bitmaps | ( | bool | value | ) |
Definition at line 57 of file editor.cpp.
References preferences::set().
Referenced by editor::editor_controller::do_execute_command().
void preferences::editor::set_draw_terrain_codes | ( | bool | value | ) |
Definition at line 41 of file editor.cpp.
References preferences::set().
Referenced by editor::editor_controller::do_execute_command().