2022-10-27 22:27:50 +05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../monitor.hpp"
|
|
|
|
|
2022-10-28 21:16:03 +05:00
|
|
|
#include "GLFW/glfw3.h"
|
|
|
|
|
2022-10-27 22:27:50 +05:00
|
|
|
|
|
|
|
namespace hpr::gpu::glfw
|
|
|
|
{
|
|
|
|
|
|
|
|
class Monitor : public gpu::Monitor
|
|
|
|
{
|
2022-10-28 21:16:03 +05:00
|
|
|
friend class WindowSystem;
|
|
|
|
friend class Window;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
GLFWmonitor* p_instance;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Monitor();
|
|
|
|
|
|
|
|
~Monitor();
|
2022-10-27 22:27:50 +05:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|