00001 /* $Id: control.hpp 54216 2012-05-19 08:46:07Z mordante $ */ 00002 /* 00003 Copyright (C) 2008 - 2012 by Mark de Wever <koraq@xs4all.nl> 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_AUXILIARY_WINDOW_BUILDER_CONTROL_HPP_INCLUDED 00017 #define GUI_AUXILIARY_WINDOW_BUILDER_CONTROL_HPP_INCLUDED 00018 00019 #include "gui/auxiliary/window_builder.hpp" 00020 00021 namespace gui2 { 00022 00023 class tcontrol; 00024 00025 namespace implementation { 00026 00027 struct tbuilder_control 00028 : public tbuilder_widget 00029 { 00030 public: 00031 00032 tbuilder_control(const config& cfg); 00033 00034 /** @deprecated The control can initalise itself. */ 00035 void init_control(tcontrol* control) const; 00036 00037 /** Parameters for the control. */ 00038 std::string definition; 00039 t_string label; 00040 t_string tooltip; 00041 t_string help; 00042 bool use_tooltip_on_label_overflow; 00043 }; 00044 00045 } // namespace implementation 00046 00047 } // namespace gui2 00048 00049 #endif 00050
| Generated by doxygen 1.7.1 on Wed May 23 2012 01:02:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |