GClasses
|
The base class of all atomic widgets (widgets that are not composed of other widgets).
#include <GWidgets.h>
Public Member Functions | |
GWidgetAtomic (GWidgetGroup *pParent, int x, int y, int w, int h) | |
virtual | ~GWidgetAtomic () |
virtual bool | isAtomic () |
virtual bool | isClickable () |
virtual void | onChar (char c) |
virtual void | onGetFocus () |
virtual void | onLoseFocus () |
virtual void | onMouseMove (int dx, int dy) |
virtual void | onSpecialKey (int key) |
Public Member Functions inherited from GClasses::GWidget | |
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 () |
GWidgetGroup * | parent () |
GRect * | rect () |
void | setPos (int x, int y) |
virtual WidgetType | type ()=0 |
Protected Member Functions | |
virtual void | grab (int button, int x, int y) |
virtual void | release (int button) |
Friends | |
class | GWidgetDialog |
Additional Inherited Members | |
Public Types inherited from GClasses::GWidget | |
Protected Attributes inherited from GClasses::GWidget | |
GWidgetCommon * | m_common |
int | m_nID |
GWidgetGroup * | m_pParent |
GRect | m_rect |
GClasses::GWidgetAtomic::GWidgetAtomic | ( | GWidgetGroup * | pParent, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
|
virtual |
|
inlineprotectedvirtual |
Reimplemented in GClasses::GWidgetWave, GClasses::GWidgetCanvas, GClasses::GWidgetTextBox, GClasses::GWidgetSliderTab, GClasses::GWidgetBulletHole, GClasses::GWidgetCheckBox, GClasses::GWidgetVCRButton, GClasses::GWidgetTextLabel, GClasses::GWidgetImageButton, GClasses::GWidgetTextTab, and GClasses::GWidgetTextButton.
|
inlinevirtual |
Implements GClasses::GWidget.
|
inlinevirtual |
Reimplemented in GClasses::GWidgetGroupBox.
|
virtual |
Reimplemented in GClasses::GWidgetTextBox.
|
inlinevirtual |
Reimplemented in GClasses::GWidgetTextBox.
|
inlinevirtual |
Reimplemented in GClasses::GWidgetTextBox.
|
virtual |
|
virtual |
Reimplemented in GClasses::GWidgetTextBox.
|
inlineprotectedvirtual |
Reimplemented in GClasses::GWidgetWave, GClasses::GWidgetCanvas, GClasses::GWidgetTextBox, GClasses::GWidgetSliderTab, GClasses::GWidgetBulletHole, GClasses::GWidgetCheckBox, GClasses::GWidgetVCRButton, GClasses::GWidgetTextLabel, GClasses::GWidgetImageButton, GClasses::GWidgetTextTab, and GClasses::GWidgetTextButton.
|
friend |