summaryrefslogtreecommitdiff
path: root/noncore/games/backgammon/backgammonview.cpp
Unidiff
Diffstat (limited to 'noncore/games/backgammon/backgammonview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/backgammon/backgammonview.cpp17
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 @@
1#include "backgammonview.h"
2
3BackGammonView::BackGammonView(QCanvas* canvas,QWidget* parent)
4 :QCanvasView(canvas,parent)
5{
6}
7
8BackGammonView::~BackGammonView()
9{
10}
11
12void BackGammonView::contentsMousePressEvent(QMouseEvent* e)
13{
14 int x=e->x();
15 int y=e->y();
16 //emit mousepressed(x,y);
17} \ No newline at end of file