blob: 1da347b973177e5e89a98d03a868a1b1178f8105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* X11 mouse routines header.
Copyright (c) 2001-2002 by Salvador E. Tropea (SET)
Covered by the GPL license. */
#if (defined(TVOS_UNIX) || defined(TVCompf_Cygwin)) && defined(HAVE_X11) && !defined(X11MOUSE_HEADER_INCLUDED)
#define X11MOUSE_HEADER_INCLUDED
class THWMouseX11 : public THWMouse
{
public:
static void Init();
protected:
THWMouseX11() {};
virtual ~THWMouseX11();
static void GetEvent(MouseEventType &me);
// For this driver
static int getMouseEvent();
static unsigned mouseButtons;
static unsigned mouseX,mouseY;
static unsigned buttonTranslate[8];
};
#endif // X11MOUSE_HEADER_INCLUDED
|