🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
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.

67 lines
1.3 KiB

  1. #ifndef WIN32_INTERNAL_WINDOW_DATA_H
  2. #define WIN32_INTERNAL_WINDOW_DATA_H
  3. #include <windows.h>
  4. struct InternalData2
  5. {
  6. HWND m_hWnd;;
  7. int m_fullWindowWidth;//includes borders etc
  8. int m_fullWindowHeight;
  9. int m_openglViewportWidth;//just the 3d viewport/client area
  10. int m_openglViewportHeight;
  11. HDC m_hDC;
  12. HGLRC m_hRC;
  13. bool m_OpenGLInitialized;
  14. int m_oldScreenWidth;
  15. int m_oldHeight;
  16. int m_oldBitsPerPel;
  17. bool m_quit;
  18. int m_mouseLButton;
  19. int m_mouseRButton;
  20. int m_mouseMButton;
  21. int m_mouseXpos;
  22. int m_mouseYpos;
  23. int m_internalKeyModifierFlags;
  24. b3WheelCallback m_wheelCallback;
  25. b3MouseMoveCallback m_mouseMoveCallback;
  26. b3MouseButtonCallback m_mouseButtonCallback;
  27. b3ResizeCallback m_resizeCallback;
  28. b3KeyboardCallback m_keyboardCallback;
  29. InternalData2()
  30. {
  31. m_hWnd = 0;
  32. m_mouseLButton=0;
  33. m_mouseRButton=0;
  34. m_mouseMButton=0;
  35. m_internalKeyModifierFlags = 0;
  36. m_fullWindowWidth = 0;
  37. m_fullWindowHeight= 0;
  38. m_openglViewportHeight=0;
  39. m_openglViewportWidth=0;
  40. m_hDC = 0;
  41. m_hRC = 0;
  42. m_OpenGLInitialized = false;
  43. m_oldScreenWidth = 0;
  44. m_oldHeight = 0;
  45. m_oldBitsPerPel = 0;
  46. m_quit = false;
  47. m_keyboardCallback = 0;
  48. m_mouseMoveCallback = 0;
  49. m_mouseButtonCallback = 0;
  50. m_resizeCallback = 0;
  51. m_wheelCallback = 0;
  52. }
  53. };
  54. #endif //WIN32_INTERNAL_WINDOW_DATA_H