GClasses

GClasses::GWidgetGroupBox Class Reference

This just draws a rectangular box. More...

#include <GWidgets.h>

Inheritance diagram for GClasses::GWidgetGroupBox:
GClasses::GWidgetAtomic GClasses::GWidget

List of all members.

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

Detailed Description

This just draws a rectangular box.


Constructor & Destructor Documentation

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]

Member Function Documentation

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.


Member Data Documentation

unsigned int GClasses::GWidgetGroupBox::m_cLight [protected]
unsigned int GClasses::GWidgetGroupBox::m_cShadow [protected]