cWidget::WithBackground Class Reference

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

#include <cWidgetBase.h>

Inheritance diagram for cWidget::WithBackground:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

rGradient m_background
 Stores the resulting background.


Detailed Description

Able to parse and store Background nodes.

Definition at line 178 of file cWidgetBase.h.


Member Function Documentation

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

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

Reimplemented from cWidget::WithColorFunctions.

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

Definition at line 464 of file cWidgetBase.cpp.

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

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

00465                                                {
00466     if(cur.IsOfType("Background")) {
00467         m_background = ProcessGradient(cur);
00468         return true;
00469     }
00470     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::WithBackground::m_background [protected]

Stores the resulting background.

Definition at line 180 of file cWidgetBase.h.

Referenced by cWidget::Map::ClipperCircle::Begin(), cWidget::Map::ClipperRect::Begin(), cWidget::Map::DrawRimWalls(), Process(), cWidget::Rectangle::Render(), 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:52 2008 for Armagetron Advanced by  doxygen 1.5.4