12#include <GLFW/glfw3.h>
14#define GLFW_EXPOSE_NATIVE_WIN32
15#include <GLFW/glfw3native.h>
29 GLFWwindow* window =
nullptr;
31 static void framebufferSizeCallback(GLFWwindow* window,
int width,
55 const std::string& windowTitle =
"");
74 HWND getWin32Window();
Window management class.
Definition Windowing.hpp:27
void initWindow(int &width, int &height, const std::string &windowTitle="")
Initialise the application window.
Definition Windowing.cpp:58
void terminate()
Perform any necessary cleanup actions.
Definition Windowing.cpp:27
static int realWindowHeight
Real window height. It is exposed as public for speed, but it should be treated as read-only.
Definition Windowing.hpp:46
void swapBuffers()
Swap buffers.
Definition Windowing.cpp:22
GLFWwindow * getWindow()
Get the GLFW window used.
Definition Windowing.cpp:33
static int realWindowWidth
Real window width. It is exposed as public for speed, but it should be treated as read-only.
Definition Windowing.hpp:40
Definition BinaryFile.hpp:15