Diffstat (limited to 'noncore/games/backgammon/backgammonview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/backgammon/backgammonview.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/noncore/games/backgammon/backgammonview.cpp b/noncore/games/backgammon/backgammonview.cpp new file mode 100644 index 0000000..ecbc12b --- a/dev/null +++ b/noncore/games/backgammon/backgammonview.cpp @@ -0,0 +1,17 @@ +#include "backgammonview.h" + +BackGammonView::BackGammonView(QCanvas* canvas,QWidget* parent) + :QCanvasView(canvas,parent) +{ +} + +BackGammonView::~BackGammonView() +{ +} + +void BackGammonView::contentsMousePressEvent(QMouseEvent* e) +{ + int x=e->x(); + int y=e->y(); + //emit mousepressed(x,y); +}
\ No newline at end of file |