The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
formula_debugger.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2016 by Yurii Chernyi <[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_FORMULA_DEBUGGER_HPP_INCLUDED
16 #define GUI_DIALOGS_FORMULA_DEBUGGER_HPP_INCLUDED
17 
18 #include "gui/dialogs/dialog.hpp"
19 
20 namespace game_logic
21 {
22 class formula_debugger;
23 }
24 
25 namespace gui2
26 {
27 
28 class tformula_debugger : public tdialog
29 {
30 public:
32  {
33  }
34 
35 private:
36  /** Inherited from tdialog. */
37  void pre_show(twindow& window);
38 
39  /** Inherited from tdialog, implemented by REGISTER_DIALOG. */
40  virtual const std::string& window_id() const;
41 
42  /***** ***** button callbacks ***** *****/
43  void callback_continue_button(twindow& window);
44 
45  void callback_next_button(twindow& window);
46 
47  void callback_step_button(twindow& window);
48 
49  void callback_stepout_button(twindow& window);
50 
52 };
53 
54 } // namespace gui2
55 
56 #endif /* ! GUI_DIALOGS_FORMULA_DEBUGGER_HPP_INCLUDED */
game_logic::formula_debugger & fdb_
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
tformula_debugger(game_logic::formula_debugger &fdb)
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
void callback_continue_button(twindow &window)
Abstract base class for all dialogs.
Definition: dialog.hpp:121
void callback_next_button(twindow &window)
void pre_show(twindow &window)
Inherited from tdialog.
void callback_step_button(twindow &window)
void callback_stepout_button(twindow &window)
GLsizei const GLcharARB ** string
Definition: glew.h:4503