The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
synced_choice_wait.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2014 - 2016 by Ignacio Riquelme Morelle <[email protected]>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #ifndef GUI_DIALOGS_THEME_LIST_HPP_INCLUDED
16 #define GUI_DIALOGS_THEME_LIST_HPP_INCLUDED
17 
18 #include "gui/dialogs/dialog.hpp"
19 #include "synced_user_choice.hpp"
20 #include "generic_event.hpp"
21 namespace gui2
22 {
23 class tlabel;
24 class twindow;
26 {
27 public:
30 private:
34  /** Inherited from tdialog, implemented by REGISTER_DIALOG. */
35  virtual const std::string& window_id() const;
36 
37  /** Inherited from tdialog. */
38  void pre_show(twindow& window);
39 
40  virtual void handle_generic_event(const std::string& event_name);
41 };
42 }
43 
44 #endif
user_choice_manager & mgr_
tsynced_choice_wait(user_choice_manager &mgr)
Label showing a text.
Definition: label.hpp:29
base class of top level items, the only item which needs to store the final canvases to draw on ...
Definition: window.hpp:62
A class inherited from ttext_box that displays its input as stars.
Definition: field-fwd.hpp:23
Abstract base class for all dialogs.
Definition: dialog.hpp:121
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
void pre_show(twindow &window)
Inherited from tdialog.
virtual void handle_generic_event(const std::string &event_name)
GLsizei const GLcharARB ** string
Definition: glew.h:4503