#include <cWidgetBase.h>
Public Member Functions | |
bool | Process (tXmlParser::node cur) |
Default constructor. | |
Protected Member Functions | |
WithReverse () | |
Protected Attributes | |
bool | m_reverse |
Stores if the widget should be reversed at rendering time. |
Definition at line 211 of file cWidgetBase.h.
cWidget::WithReverse::WithReverse | ( | ) | [inline, protected] |
bool cWidget::WithReverse::Process | ( | tXmlParser::node | cur | ) | [virtual] |
Default constructor.
Processes a Reverse node or passes on to Base::Process
Reimplemented from cWidget::Base.
Reimplemented in cWidget::BarGauge.
Definition at line 512 of file cWidgetBase.cpp.
References m_reverse, and cWidget::Base::Process().
Referenced by cWidget::BarGauge::Process().
00513 { 00514 if(cur.IsOfType("Reverse")) { 00515 m_reverse = cur.GetPropBool("value"); 00516 return true; 00517 } 00518 return Base::Process(cur);
bool cWidget::WithReverse::m_reverse [protected] |
Stores if the widget should be reversed at rendering time.
Definition at line 213 of file cWidgetBase.h.
Referenced by Process(), cWidget::BarGauge::Render(), cWidget::NeedleGauge::RenderGraph(), and cWidget::BarGauge::RenderMinMax().