summaryrefslogtreecommitdiff
path: root/tvision/include/tv/unix/xtmouse.h
blob: 56a9593b4e2a0be4ad532e8de9ee9f591b7e1fcf (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
28
29
30
31
32
/* XTerm mouse handler routines header.
   Copyright (c) 2002 by Salvador E. Tropea (SET)
   Covered by the GPL license. */
#if defined(TVOS_UNIX) && !defined(TVOSf_QNXRtP) && !defined(XTERMMOUSE_INCLUDED)
#define XTERMMOUSE_INCLUDED

class TScreenXTerm;

class THWMouseXTermFull : public THWMouseUNIX
{
protected:
 THWMouseXTermFull() {};
 virtual ~THWMouseXTermFull();

 static void SuspendFull();
 static void ResumeFull();
 static void SuspendSimple();
 static void ResumeSimple();

 static void Init(int aMode);

 static int mode;
 enum
 {
  modeXTerm, // Full reporting
  modeEterm  // Just button events :-(
 };

 friend class TScreenXTerm;
};

#endif // XTERMMOUSE_INCLUDED