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.

37 lines
733 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* UNIX mouse handler routines header.
  2. Copyright by Salvador E. Tropea (SET) (2001-2002)
  3. Covered by the GPL license. */
  4. #if (defined(TVOS_UNIX) || defined(TVCompf_Cygwin)) && !defined(TVOSf_QNXRtP) &&\
  5. !defined(UNIXMOUSE_INCLUDED)
  6. #define UNIXMOUSE_INCLUDED
  7. class THWMouseUNIX : public THWMouse
  8. {
  9. protected:
  10. THWMouseUNIX() {};
  11. virtual ~THWMouseUNIX();
  12. static void Show();
  13. static void Hide();
  14. static int DrawMouse(int x, int y);
  15. static void Init();
  16. };
  17. #ifdef HAVE_NCURSES
  18. class THWMouseXTerm : public THWMouseUNIX
  19. {
  20. protected:
  21. THWMouseXTerm() {};
  22. virtual ~THWMouseXTerm();
  23. static void Suspend();
  24. static void Resume();
  25. static void Init();
  26. friend class TScreenUNIX;
  27. };
  28. #endif
  29. #endif // UNIXMOUSE_INCLUDED