cWidget::WithReverse Class Reference

Able to parse and store a Reverse node. More...

#include <cWidgetBase.h>

Inheritance diagram for cWidget::WithReverse:

Inheritance graph
[legend]
Collaboration diagram for cWidget::WithReverse:

Collaboration graph
[legend]

List of all members.

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.


Detailed Description

Able to parse and store a Reverse node.

Definition at line 211 of file cWidgetBase.h.


Constructor & Destructor Documentation

cWidget::WithReverse::WithReverse (  )  [inline, protected]

Definition at line 214 of file cWidgetBase.h.

00214 : m_reverse(false){}; 


Member Function Documentation

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);

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:05:01 2008 for Armagetron Advanced by  doxygen 1.5.4