BsWin32VideoModeInfo.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsGLPrerequisites.h"
  5. #include "BsVideoModeInfo.h"
  6. namespace BansheeEngine
  7. {
  8. /**
  9. * @copydoc VideoMode
  10. */
  11. class BS_RSGL_EXPORT Win32VideoMode : public VideoMode
  12. {
  13. public:
  14. Win32VideoMode(UINT32 width, UINT32 height, float refreshRate, UINT32 outputIdx);
  15. private:
  16. friend class Win32VideoOutputInfo;
  17. };
  18. /**
  19. * @copydoc VideoOutputInfo
  20. */
  21. class BS_RSGL_EXPORT Win32VideoOutputInfo : public VideoOutputInfo
  22. {
  23. public:
  24. Win32VideoOutputInfo(HMONITOR monitorHandle, UINT32 outputIdx);
  25. /**
  26. * @brief Gets a Win32 handle to the monitor referenced by this object.
  27. */
  28. HMONITOR getMonitorHandle() const { return mMonitorHandle; }
  29. private:
  30. HMONITOR mMonitorHandle;
  31. };
  32. /**
  33. * @copydoc VideoModeInfo
  34. */
  35. class BS_RSGL_EXPORT Win32VideoModeInfo : public VideoModeInfo
  36. {
  37. public:
  38. Win32VideoModeInfo();
  39. };
  40. }