You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
682 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* XTerm mouse handler routines header.
  2. Copyright (c) 2002 by Salvador E. Tropea (SET)
  3. Covered by the GPL license. */
  4. #if defined(TVOS_UNIX) && !defined(TVOSf_QNXRtP) && !defined(XTERMMOUSE_INCLUDED)
  5. #define XTERMMOUSE_INCLUDED
  6. class TScreenXTerm;
  7. class THWMouseXTermFull : public THWMouseUNIX
  8. {
  9. protected:
  10. THWMouseXTermFull() {};
  11. virtual ~THWMouseXTermFull();
  12. static void SuspendFull();
  13. static void ResumeFull();
  14. static void SuspendSimple();
  15. static void ResumeSimple();
  16. static void Init(int aMode);
  17. static int mode;
  18. enum
  19. {
  20. modeXTerm, // Full reporting
  21. modeEterm // Just button events :-(
  22. };
  23. friend class TScreenXTerm;
  24. };
  25. #endif // XTERMMOUSE_INCLUDED