GClasses
|
The base class of all GUI widgets.
#include <GWidgets.h>
Public Types |
Public Member Functions | |
GWidget (GWidgetGroup *m_pParent, int x, int y, int w, int h) | |
virtual | ~GWidget () |
virtual void | draw (GImage *pCanvas, int x, int y)=0 |
Draws this widget on pCanvas at (x,y) More... | |
int | id () |
virtual bool | isAtomic ()=0 |
GWidgetGroup * | parent () |
GRect * | rect () |
void | setPos (int x, int y) |
virtual WidgetType | type ()=0 |
Protected Attributes | |
GWidgetCommon * | m_common |
int | m_nID |
GWidgetGroup * | m_pParent |
GRect | m_rect |
Friends | |
class | GWidgetGrid |
class | GWidgetGroup |
GClasses::GWidget::GWidget | ( | GWidgetGroup * | m_pParent, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
|
virtual |
|
pure virtual |
Draws this widget on pCanvas at (x,y)
Implemented in GClasses::GWidgetWave, GClasses::GWidgetCanvas, GClasses::GWidgetVertSlider, GClasses::GWidgetHorizSlider, GClasses::GWidgetFileSystemBrowser, GClasses::GWidgetGrid, GClasses::GWidgetTextBox, GClasses::GWidgetVertScrollBar, GClasses::GWidgetHorizScrollBar, GClasses::GWidgetSliderTab, GClasses::GWidgetBulletGroup, GClasses::GWidgetBulletHole, GClasses::GWidgetCheckBox, GClasses::GWidgetProgressBar, GClasses::GWidgetVCRButton, GClasses::GWidgetGroupBox, GClasses::GWidgetTextLabel, GClasses::GWidgetAnimation, GClasses::GWidgetImageButton, GClasses::GWidgetTextTab, GClasses::GWidgetTextButton, and GClasses::GWidgetDialog.
|
inline |
|
pure virtual |
Implemented in GClasses::GWidgetGroup, and GClasses::GWidgetAtomic.
|
inline |
|
inline |
void GClasses::GWidget::setPos | ( | int | x, |
int | y | ||
) |
|
pure virtual |
Implemented in GClasses::GWidgetWave, GClasses::GWidgetCanvas, GClasses::GWidgetVertSlider, GClasses::GWidgetHorizSlider, GClasses::GWidgetFileSystemBrowser, GClasses::GWidgetGrid, GClasses::GWidgetTextBox, GClasses::GWidgetVertScrollBar, GClasses::GWidgetHorizScrollBar, GClasses::GWidgetSliderTab, GClasses::GWidgetBulletGroup, GClasses::GWidgetBulletHole, GClasses::GWidgetCheckBox, GClasses::GWidgetProgressBar, GClasses::GWidgetVCRButton, GClasses::GWidgetGroupBox, GClasses::GWidgetTextLabel, GClasses::GWidgetAnimation, GClasses::GWidgetImageButton, GClasses::GWidgetTextTab, GClasses::GWidgetTextButton, and GClasses::GWidgetDialog.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |