QTfrontend/hedgehogerWidget.h
author displacer
Sat, 09 Sep 2006 16:59:10 +0000
changeset 140 50ccde437ea1
parent 132 2d0f404cdf05
child 147 52a3c431db8a
permissions -rw-r--r--
teams and hedgedogs num selection added to HWgame

#ifndef _HEDGEHOGER_WIDGET
#define _HEDGEHOGER_WIDGET

#include <QWidget>

class CHedgehogerWidget : public QWidget
{
  Q_OBJECT

 public:
  CHedgehogerWidget(QWidget * parent = 0);
  unsigned char getHedgehogsNum();

 protected:
  virtual void paintEvent(QPaintEvent* event);
  virtual void mousePressEvent ( QMouseEvent * event );
  
 private:
  unsigned char numHedgehogs;
};

#endif // _HEDGEHOGER_WIDGET