gui/dialogs/mp_create_game_set_password.cpp

Go to the documentation of this file.
00001 /* $Id: mp_create_game_set_password.cpp 52533 2012-01-07 02:35:17Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2010 - 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/mp_create_game_set_password.hpp"
00019 
00020 //#include "gui/dialogs/field.hpp"
00021 #include "gui/widgets/settings.hpp"
00022 
00023 namespace gui2 {
00024 
00025 /*WIKI
00026  * @page = GUIWindowDefinitionWML
00027  * @order = 2_mp_create_game_set_password
00028  *
00029  * == Create Game: Set Password ==
00030  *
00031  * Dialog for setting a join password for MP games.
00032  *
00033  * @begin{table}{dialog_widgets}
00034  *
00035  * password & & text_box & m &
00036  *         Input field for the game password. $
00037  *
00038  * @end{table}
00039  */
00040 
00041 REGISTER_DIALOG(mp_create_game_set_password)
00042 
00043 tmp_create_game_set_password::tmp_create_game_set_password(
00044         std::string& password)
00045 {
00046     register_text("password", true, password, true);
00047 }
00048 
00049 } // namespace gui2
00050 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:02:58 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs