|
| GWidgetDialog (int w, int h, unsigned int cBackground) |
|
virtual | ~GWidgetDialog () |
|
unsigned int | backgroundColor () |
| Returns the background color. More...
|
|
void | close () |
| Sets m_bRunning to false. It's the controller's job to watch this flag and do something about it. More...
|
|
virtual void | draw (GImage *pCanvas, int x, int y) |
| Draws this widget on pCanvas at (x,y) More...
|
|
GWidgetAtomic * | focusWidget () |
| Returns the widget that currently has focus. More...
|
|
GWidgetAtomic * | grabbedWidget () |
| Returns the widget that the mouse is currently grabbing. More...
|
|
virtual void | handleChar (char c) |
| You should call this method when the user presses a key. More...
|
|
virtual bool | handleMousePos (int x, int y) |
| You should call this method when the user moves the mouse. More...
|
|
virtual void | handleSpecialKey (int key) |
| You should call this method when the user presses a special key. More...
|
|
GImage * | image () |
| Updates everything that needs to be updated, and makes an image of the dialog in its current state so you can blit it to the screen. More...
|
|
virtual void | onDestroyWidget (GWidget *pWidget) |
|
virtual void | pressButton (int button, int x, int y) |
| You should call this when the user presses a mouse button. More...
|
|
virtual void | releaseButton (int button) |
| You should call this method when the mouse releases (un-clicks) More...
|
|
bool * | runningFlag () |
| This method is used when running the dialog as a popup modal dialog. The flag is initialized to true. It is the controller's job to check this flag and close the dialog when it is set to false. More...
|
|
void | setBackgroundImage (GImage *pImage) |
| Sets the background image. More...
|
|
void | setFocusWidget (GWidgetAtomic *pWidget) |
| Sets the widget with focus. More...
|
|
virtual WidgetType | type () |
|
| 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 | 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) |
|
| GWidget (GWidgetGroup *m_pParent, int x, int y, int w, int h) |
|
virtual | ~GWidget () |
|
int | id () |
|
GWidgetGroup * | parent () |
|
GRect * | rect () |
|
void | setPos (int x, int y) |
|