Fix some formatting in the design documentation.

This commit is contained in:
Mark de Wever 2010-04-30 13:59:39 +00:00
parent 3aa3f9d914
commit 92b1c831e5

View file

@ -6,16 +6,16 @@
namespace gui2 {
tprogress_bar_definition::tprogress_bar_definition(const config& cfg) : /*@ \label{widget_definition.cpp:constructor} @*/
tcontrol_definition(cfg)
tprogress_bar_definition::tprogress_bar_definition(const config& cfg) /*@ \label{widget_definition.cpp:constructor} @*/
: tcontrol_definition(cfg)
{
DBG_GUI_P << "Parsing progress bar " << id << '\n';
load_resolutions<tresolution>(cfg);
}
tprogress_bar_definition::tresolution::tresolution(const config& cfg) : /*@ \label{widget_definition.cpp:resolution_constructor} @*/
tresolution_definition_(cfg)
tprogress_bar_definition::tresolution::tresolution(const config& cfg) /*@ \label{widget_definition.cpp:resolution_constructor} @*/
: tresolution_definition_(cfg)
{
/*WIKI
* @page = GUIWidgetDefinitionWML
@ -30,9 +30,7 @@ tprogress_bar_definition::tresolution::tresolution(const config& cfg) : /*@ \lab
*
* The following states exist:
* * state_enabled, the progress bar is enabled.
*
*/
// Note the order should be the same as the enum tstate is progress_bar.hpp.
state.push_back(tstate_definition(cfg.child("state_enabled")));
}