GClasses
|
This just draws a rectangular box. More...
#include <GWidgets.h>
Public Member Functions | |
GWidgetGroupBox (GWidgetGroup *pParent, int x, int y, int w, int h, unsigned int cLight=0xffc0c0c0, unsigned int cShadow=0xff404040) | |
virtual | ~GWidgetGroupBox () |
virtual WidgetType | type () |
virtual bool | isClickable () |
virtual void | draw (GImage *pCanvas, int x, int y) |
Draws this widget on pCanvas at (x,y) | |
void | setLightColor (unsigned int c) |
Sets the light color. | |
void | setShadowColor (unsigned int c) |
Sets the shadow color. | |
Protected Attributes | |
unsigned int | m_cLight |
unsigned int | m_cShadow |
This just draws a rectangular box.
GClasses::GWidgetGroupBox::GWidgetGroupBox | ( | GWidgetGroup * | pParent, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
unsigned int | cLight = 0xffc0c0c0 , |
||
unsigned int | cShadow = 0xff404040 |
||
) |
virtual GClasses::GWidgetGroupBox::~GWidgetGroupBox | ( | ) | [virtual] |
virtual void GClasses::GWidgetGroupBox::draw | ( | GImage * | pCanvas, |
int | x, | ||
int | y | ||
) | [virtual] |
Draws this widget on pCanvas at (x,y)
Implements GClasses::GWidget.
virtual bool GClasses::GWidgetGroupBox::isClickable | ( | ) | [inline, virtual] |
Reimplemented from GClasses::GWidgetAtomic.
void GClasses::GWidgetGroupBox::setLightColor | ( | unsigned int | c | ) |
Sets the light color.
void GClasses::GWidgetGroupBox::setShadowColor | ( | unsigned int | c | ) |
Sets the shadow color.
virtual WidgetType GClasses::GWidgetGroupBox::type | ( | ) | [inline, virtual] |
Implements GClasses::GWidget.
unsigned int GClasses::GWidgetGroupBox::m_cLight [protected] |
unsigned int GClasses::GWidgetGroupBox::m_cShadow [protected] |