The Battle for Wesnoth  1.15.12+dev
Namespaces | Functions
editor.cpp File Reference
#include "preferences/editor.hpp"
#include "config.hpp"
#include "preferences/game.hpp"
#include "lexical_cast.hpp"
Include dependency graph for editor.cpp:

Go to the source code of this file.


 Modify, read and display user preferences.


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...