The Battle for Wesnoth  1.17.0-dev
Namespaces | Enumerations | Functions
editor.hpp File Reference
#include <string>
#include <vector>
Include dependency graph for editor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Modify, read and display user preferences.


enum  preferences::editor::TRANSITION_UPDATE_MODE : int { preferences::editor::TRANSITION_UPDATE_OFF = 0, preferences::editor::TRANSITION_UPDATE_ON = 1, preferences::editor::TRANSITION_UPDATE_PARTIAL = 2, preferences::editor::TRANSITION_UPDATE_COUNT = 3 }


int preferences::editor::auto_update_transitions ()
void preferences::editor::set_auto_update_transitions (int value)
std::string preferences::editor::default_dir ()
bool preferences::editor::draw_terrain_codes ()
void preferences::editor::set_draw_terrain_codes (bool value)
bool preferences::editor::draw_hex_coordinates ()
void preferences::editor::set_draw_hex_coordinates (bool value)
bool preferences::editor::draw_num_of_bitmaps ()
void preferences::editor::set_draw_num_of_bitmaps (bool value)
std::vector< std::string > preferences::editor::recent_files ()
 Retrieves the list of recently opened files. More...
void preferences::editor::add_recent_files_entry (const std::string &path)
 Adds an entry to the recent files list. More...
void preferences::editor::remove_recent_files_entry (const std::string &path)
 Removes a single entry from the recent files list. More...