#include <cWidgetBase.h>
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. |
Definition at line 170 of file cWidgetBase.h.
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);
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().