Files
Archimedes/utils/Window/WindowGLFW/WindowGLFW.h
2025-03-21 16:55:04 -05:00

33 lines
445 B
C++

#ifdef WINDOW_GLFW
#undef WINDOW_GLFW
#include "pch.hpp"
#include <GLFW/glfw3.h>
namespace Archimedes {
class WindowGLFW {
public:
WindowGLFW();
~WindowGLFW();
bool shouldClose();
void doFrame();
void getSize(int&, int&);
auto getWindow() { return w; }
private:
GLFWwindow* w;
};
typedef WindowGLFW WindowImpl;
}
#endif