the gui problem^TM
This commit is contained in:
27
utils/Window/WindowGLFW/WindowGLFW.h
Normal file
27
utils/Window/WindowGLFW/WindowGLFW.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#include "Archimedes.h"
|
||||
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user