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.

45 lines
869 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. * Mouse window routines header.
  3. *
  4. * Copyright (c) 2002 by Jose Angel Sanchez Caso (JASC)
  5. * Based in code by Salvador E. Tropea (SET)
  6. * Covered by the GPL license.
  7. */
  8. #if defined(TVOS_Win32) && !defined(WINDOWSMOUSE_HEADER_INCLUDED)
  9. #define WINDOWSMOUSE_HEADER_INCLUDED
  10. struct THWMouseWinGr: virtual public TDisplayWinGr // Access to display attributes
  11. , THWMouse
  12. { THWMouseWinGr();
  13. static void Init();
  14. static void GetEvent( MouseEventType &me );
  15. static int testEvents( UINT message
  16. , WPARAM wParam
  17. , LPARAM lParam );
  18. static void init();
  19. protected:
  20. virtual ~THWMouseWinGr();
  21. private:
  22. // Support variables
  23. /* static unsigned mouseX;
  24. static unsigned mouseY; */
  25. // Support methods
  26. static int setMouse( LPARAM lParam
  27. , int ev );
  28. };
  29. #endif // WINDOWSMOUSE_HEADER_INCLUDED