QTfrontend/hedgehogerWidget.h
author unc0rr
Fri, 15 Sep 2006 20:38:25 +0000
changeset 148 c0355acf07c8
parent 147 52a3c431db8a
child 150 d9e8a336195c
permissions -rw-r--r--
Don't save demos in 'bin' dir

#ifndef _HEDGEHOGER_WIDGET
#define _HEDGEHOGER_WIDGET

#include <QWidget>

class CHedgehogerWidget : public QWidget
{
  Q_OBJECT

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

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

#endif // _HEDGEHOGER_WIDGET