cWidget::WithLineColor Class Reference

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

#include <cWidgetBase.h>

Inheritance diagram for cWidget::WithLineColor:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

rGradient m_line_color
 Stores the resulting background.


Detailed Description

Able to parse and store LineColor nodes.

Definition at line 186 of file cWidgetBase.h.


Member Function Documentation

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

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

Reimplemented from cWidget::WithColorFunctions.

Reimplemented in cWidget::BarGauge.

Definition at line 472 of file cWidgetBase.cpp.

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

Referenced by cWidget::BarGauge::Process().

00473                                               {
00474     if(cur.IsOfType("LineColor")) {
00475         m_line_color = ProcessGradient(cur);
00476         return true;
00477     }
00478     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::WithLineColor::m_line_color [protected]

Stores the resulting background.

Definition at line 188 of file cWidgetBase.h.

Referenced by Process(), 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:55 2008 for Armagetron Advanced by  doxygen 1.5.4