The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
filechooser.hpp File Reference
#include "construct_dialog.hpp"
Include dependency graph for filechooser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dialogs::file_dialog
 

Namespaces

 gui
 General purpose widgets.
 
 dialogs
 Various uncategorised dialogs.
 

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