The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions
filechooser.cpp File Reference
#include "global.hpp"
#include "video.hpp"
#include "gettext.hpp"
#include "gui/dialogs/folder_create.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "filechooser.hpp"
#include "widgets/file_menu.hpp"
Include dependency graph for filechooser.cpp:

Go to the source code of this file.

Namespaces

 dialogs
 Various uncategorised dialogs.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Functions

int dialogs::show_file_chooser_dialog (CVideo &video, std::string &filename, std::string const &title, bool show_directory_buttons=true, const std::string &file_to_search="", int xloc=-1, int yloc=-1)
 Show a dialog where the user can navigate through files and select a file. More...
 
int dialogs::show_file_chooser_dialog_save (CVideo &video, std::string &filename, std::string const &title, const std::string &default_file_name="", bool show_directory_buttons=true, const std::string &file_to_search="", int xloc=-1, int yloc=-1)
 Show a filechooser dialog in a "save" mode, that is, without relying on autocomplete to allow saving under any filename. More...
 

Macro Definition Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 17 of file filechooser.cpp.