00001 /* $Id: formula_debugger.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */ 00002 /* 00003 Copyright (C) 2009 - 2012 by Yurii Chernyi <terraninfo@terraninfo.net> 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 #ifndef GUI_DIALOGS_FORMULA_DEBUGGER_HPP_INCLUDED 00017 #define GUI_DIALOGS_FORMULA_DEBUGGER_HPP_INCLUDED 00018 00019 #include "gui/dialogs/dialog.hpp" 00020 00021 namespace game_logic { 00022 class formula_debugger; 00023 } 00024 00025 namespace gui2 { 00026 00027 class tformula_debugger 00028 : public tdialog 00029 { 00030 public: 00031 explicit tformula_debugger(game_logic::formula_debugger &fdb) : 00032 fdb_(fdb) 00033 {} 00034 00035 private: 00036 00037 /** Inherited from tdialog. */ 00038 void pre_show(CVideo& video, twindow& window); 00039 00040 /** Inherited from tdialog, implemented by REGISTER_DIALOG. */ 00041 virtual const std::string& window_id() const; 00042 00043 /***** ***** button callbacks ***** *****/ 00044 void callback_continue_button(twindow& window); 00045 00046 void callback_next_button(twindow& window); 00047 00048 void callback_step_button(twindow& window); 00049 00050 void callback_stepout_button(twindow& window); 00051 00052 game_logic::formula_debugger &fdb_; 00053 00054 }; 00055 00056 } // namespace gui2 00057 00058 #endif /* ! GUI_DIALOGS_FORMULA_DEBUGGER_HPP_INCLUDED */
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:02:51 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |