00001 /* $Id: vertical_scrollbar.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */ 00002 /* 00003 Copyright (C) 2007 - 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_WIDGET_DEFINITION_VERTICAL_SCROLLBAR_HPP_INCLUDED 00017 #define GUI_AUXILIARY_WIDGET_DEFINITION_VERTICAL_SCROLLBAR_HPP_INCLUDED 00018 00019 #include "gui/auxiliary/widget_definition.hpp" 00020 00021 namespace gui2 { 00022 00023 struct tvertical_scrollbar_definition 00024 : public tcontrol_definition 00025 { 00026 explicit tvertical_scrollbar_definition(const config& cfg); 00027 00028 struct tresolution 00029 : public tresolution_definition_ 00030 { 00031 explicit tresolution(const config& cfg); 00032 00033 unsigned minimum_positioner_length; 00034 unsigned maximum_positioner_length; 00035 00036 unsigned top_offset; 00037 unsigned bottom_offset; 00038 }; 00039 }; 00040 00041 } // namespace gui2 00042 00043 #endif 00044
| Generated by doxygen 1.7.1 on Wed May 23 2012 01:02:42 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |