Files
Vulkan_Udemy/include/glfw/glfw_window.h

22 lines
367 B
C++

#pragma once
struct GLFWmonitor;
struct GLFWwindow;
namespace veng {
class Window {
public:
Window(gsl::czstring name, glm::ivec2 size);
~Window();
glm::ivec2 GetWindowSize() const;
bool ShouldClose() const;
GLFWwindow* GetHandle() const;
bool TryMoveToMonitor(std::uint16_t monitor_number);
private:
GLFWwindow* window_;
};
} // namespace veng