00001 /* $Id: folder_create.cpp 52869 2012-02-03 20:18:33Z shadowmaster $ */ 00002 /* 00003 Copyright (C) 2011 - 2012 by Ignacio Riquelme Morelle <shadowm2006@gmail.com> 00004 Part of the Battle for Wesnoth Project http://www.wesnoth.org/ 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY. 00012 00013 See the COPYING file for more details. 00014 */ 00015 00016 #define GETTEXT_DOMAIN "wesnoth-lib" 00017 00018 #include "gui/dialogs/folder_create.hpp" 00019 00020 #include "gui/widgets/settings.hpp" 00021 00022 namespace gui2 { 00023 00024 /*WIKI 00025 * @page = GUIWindowDefinitionWML 00026 * @order = 2_folder_create 00027 * 00028 * == Folder Create == 00029 * 00030 * Dialog for providing the name of a new folder to create. 00031 * Used by the file dialog. 00032 * 00033 * @begin{table}{dialog_widgets} 00034 * 00035 * name & & text_box & m & 00036 * Input field for the new folder name. $ 00037 * 00038 * @end{table} 00039 */ 00040 00041 REGISTER_DIALOG(folder_create) 00042 00043 tfolder_create::tfolder_create(std::string& folder_name) 00044 { 00045 register_text("name", true, folder_name, true); 00046 } 00047 00048 }
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:02:42 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |