My Project
mouse.h
1 #ifndef MOUSE_INCLUDED
2 #define MOUSE_INCLUDED
3 
4 
6 class Mouse{
7 public:
9  int shiftDown;
10 
12  int ctrlDown;
13 
15  int altDown;
16 
18  int leftDown;
19 
22 
24  int rightDown;
25 
28 
30  int startX,startY;
31 
33  int endX,endY;
34 
35 
37  Mouse(void);
38 
40  void update(int button,int state,int x, int y);
41 
44  class Point2D move(int x, int y);
45 };
46 #endif // MOUSE_INCLUDED
Mouse(void)
Definition: mouse.cpp:6
int shiftDown
Definition: mouse.h:9
int middleDown
Definition: mouse.h:21
int endX
Definition: mouse.h:33
int startX
Definition: mouse.h:30
int ctrlDown
Definition: mouse.h:12
int altDown
Definition: mouse.h:15
Definition: geometry.h:11
void update(int button, int state, int x, int y)
Definition: mouse.cpp:12
int scrollDown
Definition: mouse.h:27
class Point2D move(int x, int y)
Definition: mouse.cpp:44
Definition: mouse.h:6
int leftDown
Definition: mouse.h:18
int rightDown
Definition: mouse.h:24