GClasses
|
The base class of all widgets that are composed of other widgets.
#include <GWidgets.h>
Public Member Functions | |
GWidgetGroup (GWidgetGroup *pParent, int x, int y, int w, int h) | |
virtual | ~GWidgetGroup () |
GWidget * | childWidget (int n) |
int | childWidgetCount () |
virtual GWidgetAtomic * | findAtomicWidget (int x, int y) |
virtual bool | isAtomic () |
virtual void | onCanvasMouseDown (GWidgetCanvas *pCanvas, int button, int x, int y) |
virtual void | onCanvasMouseMove (GWidgetCanvas *pCanvas, int x, int y, bool bPressed) |
virtual void | onCanvasMouseUp (GWidgetCanvas *pCanvas, int button, int x, int y) |
virtual void | onChangeCheckBox (GWidgetCheckBox *pCheckBox) |
virtual void | onChar (char c) |
virtual void | onCheckBulletHole (GWidgetBulletHole *pBullet) |
virtual void | onClickTab (GWidgetSliderTab *pTab) |
virtual void | onClickTextLabel (GWidgetTextLabel *pLabel) |
virtual void | onCustomEvent (GWidget *pWidget) |
virtual void | onDestroyWidget (GWidget *pWidget) |
virtual void | onHorizScroll (GWidgetHorizScrollBar *pScrollBar) |
virtual void | onHorizSliderMove (GWidgetHorizSlider *pSlider) |
virtual void | onPushTextButton (GWidgetTextButton *pButton) |
virtual void | onPushVCRButton (GWidgetVCRButton *pButton) |
virtual void | onReleaseImageButton (GWidgetImageButton *pButton) |
virtual void | onReleaseTextButton (GWidgetTextButton *pButton) |
virtual void | onSelectFilename (GWidgetFileSystemBrowser *pBrowser, const char *szFilename) |
virtual void | onSelectTextTab (GWidgetTextTab *pTab) |
virtual void | onSlideTab (GWidgetSliderTab *pTab, int dx, int dy) |
virtual void | onSpecialKey (int key) |
virtual void | onTextBoxPressEnter (GWidgetTextBox *pTextBox) |
virtual void | onTextBoxTextChanged (GWidgetTextBox *pTextBox) |
virtual void | onVertScroll (GWidgetVertScrollBar *pScrollBar) |
virtual void | onVertSliderMove (GWidgetVertSlider *pSlider) |
virtual void | tattle (GWidget *pChild) |
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 | |
void | addWidget (GWidget *pWidget) |
bool | getDirtyBit (int nBit) |
void | setClean () |
void | setDirtyBit (int nBit, bool bValue) |
Protected Attributes | |
std::vector< unsigned int > | m_dirtyBits |
std::vector< GWidget * > | m_dirtyChildren |
std::vector< GWidget * > | m_widgets |
Protected Attributes inherited from GClasses::GWidget | |
GWidgetCommon * | m_common |
int | m_nID |
GWidgetGroup * | m_pParent |
GRect | m_rect |
Friends | |
class | GWidget |
class | GWidgetAtomic |
Additional Inherited Members | |
Public Types inherited from GClasses::GWidget |
GClasses::GWidgetGroup::GWidgetGroup | ( | GWidgetGroup * | pParent, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
|
virtual |
|
protected |
GWidget* GClasses::GWidgetGroup::childWidget | ( | int | n | ) |
int GClasses::GWidgetGroup::childWidgetCount | ( | ) |
|
virtual |
Reimplemented in GClasses::GWidgetGrid.
|
protected |
|
inlinevirtual |
Implements GClasses::GWidget.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GClasses::GWidgetBulletGroup.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GClasses::GWidgetFileSystemBrowser.
|
inlinevirtual |
|
virtual |
Reimplemented in GClasses::GWidgetDialog.
|
inlinevirtual |
Reimplemented in GClasses::GWidgetGrid.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GClasses::GWidgetVertScrollBar, and GClasses::GWidgetHorizScrollBar.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GClasses::GWidgetGrid.
|
inlinevirtual |
|
protected |
|
protected |
|
virtual |
Reimplemented in GClasses::GWidgetGrid, and GClasses::GWidgetBulletGroup.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |