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