author | displacer |
Sat, 16 Sep 2006 17:24:41 +0000 | |
changeset 150 | d9e8a336195c |
parent 147 | 52a3c431db8a |
child 153 | dc10da2a73f9 |
permissions | -rw-r--r-- |
132 | 1 |
#ifndef _HEDGEHOGER_WIDGET |
2 |
#define _HEDGEHOGER_WIDGET |
|
3 |
||
4 |
#include <QWidget> |
|
5 |
||
150 | 6 |
class FrameTeams; |
7 |
||
132 | 8 |
class CHedgehogerWidget : public QWidget |
9 |
{ |
|
10 |
Q_OBJECT |
|
11 |
||
12 |
public: |
|
150 | 13 |
CHedgehogerWidget(QWidget * parent); |
147 | 14 |
~CHedgehogerWidget(); |
140
50ccde437ea1
teams and hedgedogs num selection added to HWgame
displacer
parents:
132
diff
changeset
|
15 |
unsigned char getHedgehogsNum(); |
132 | 16 |
|
17 |
protected: |
|
18 |
virtual void paintEvent(QPaintEvent* event); |
|
19 |
virtual void mousePressEvent ( QMouseEvent * event ); |
|
20 |
||
21 |
private: |
|
150 | 22 |
CHedgehogerWidget(); |
140
50ccde437ea1
teams and hedgedogs num selection added to HWgame
displacer
parents:
132
diff
changeset
|
23 |
unsigned char numHedgehogs; |
150 | 24 |
FrameTeams* pOurFrameTeams; |
132 | 25 |
}; |
26 |
||
27 |
#endif // _HEDGEHOGER_WIDGET |