cWidget::WithForeground Class Reference

Able to parse and store Foreground nodes. More...

#include <cWidgetBase.h>

Inheritance diagram for cWidget::WithForeground:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool Process (tXmlParser::node cur)
 Calls WithColorFunctions::ProcessGradient() for Foreground nodes or passes on to WithColorFunctions::Process().

Protected Attributes

rGradient m_foreground
 Stores the resulting foreground.


Detailed Description

Able to parse and store Foreground nodes.

Definition at line 170 of file cWidgetBase.h.


Member Function Documentation

bool cWidget::WithForeground::Process ( tXmlParser::node  cur  )  [virtual]

Calls WithColorFunctions::ProcessGradient() for Foreground nodes or passes on to WithColorFunctions::Process().

Reimplemented from cWidget::WithColorFunctions.

Reimplemented in cWidget::BarGauge, cWidget::Map, and cWidget::Rectangle.

Definition at line 456 of file cWidgetBase.cpp.

References m_foreground, cWidget::WithColorFunctions::Process(), and cWidget::WithColorFunctions::ProcessGradient().

Referenced by cWidget::Rectangle::Process(), cWidget::Map::Process(), and cWidget::BarGauge::Process().

00457                                                {
00458     if(cur.IsOfType("Foreground")) {
00459         m_foreground = ProcessGradient(cur);
00460         return true;
00461     }
00462     return WithColorFunctions::Process(cur);

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

rGradient cWidget::WithForeground::m_foreground [protected]

Stores the resulting foreground.

Definition at line 172 of file cWidgetBase.h.

Referenced by cWidget::Map::ClipperCircle::Begin(), cWidget::Map::ClipperRect::Begin(), Process(), cWidget::Rectangle::Render(), cWidget::NeedleGauge::RenderGraph(), cWidget::VerticalBarGauge::RenderGraph(), and cWidget::BarGauge::RenderGraph().


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