This creates a whole group of bullets arranged either horizontally or vertically at regular intervals.
|
| GWidgetBulletGroup (GWidgetGroup *pParent, int x, int y, int w, int h, int count, int interval, bool vertical) |
| "w" and "h" are the width and height of a single bullet hole. "count" is the number of bullet holes in the group. "interval" is the distance from the center of one bullet hole to the center of the next one. If "vertical" is true, they are arranged vertically starting at (x,y) downward. If "vertical" is false, they are arranged horizontally from (x,y) to the right. More...
|
|
virtual | ~GWidgetBulletGroup () |
|
virtual void | draw (GImage *pCanvas, int x, int y) |
| Draws this widget on pCanvas at (x,y) More...
|
|
int | selection () |
| Returns the index of the bullet hole with the dot in it. More...
|
|
void | setSelection (int n) |
| Sets which bullet hole has a dot in it. 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 | 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) |
|
| 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) |
|