| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #pragma once
- #include "BsGLPrerequisites.h"
- #include "BsVideoModeInfo.h"
- namespace BansheeEngine
- {
- /**
- * @copydoc VideoMode
- */
- class BS_RSGL_EXPORT Win32VideoMode : public VideoMode
- {
- public:
- Win32VideoMode(UINT32 width, UINT32 height, float refreshRate, UINT32 outputIdx);
- private:
- friend class Win32VideoOutputInfo;
- };
- /**
- * @copydoc VideoOutputInfo
- */
- class BS_RSGL_EXPORT Win32VideoOutputInfo : public VideoOutputInfo
- {
- public:
- Win32VideoOutputInfo(HMONITOR monitorHandle, UINT32 outputIdx);
- /**
- * @brief Gets a Win32 handle to the monitor referenced by this object.
- */
- HMONITOR getMonitorHandle() const { return mMonitorHandle; }
- private:
- HMONITOR mMonitorHandle;
- };
- /**
- * @copydoc VideoModeInfo
- */
- class BS_RSGL_EXPORT Win32VideoModeInfo : public VideoModeInfo
- {
- public:
- Win32VideoModeInfo();
- };
- }
|