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