#pragma once #define GLFW_STATIC #include #include #include #include #include #include #include "EventSystem/Event.h" #include "EventSystem/EventListener.h" class BarinkWindow : EventListener { private: GLFWwindow* window; bool FullScreen; bool VulkanSupported; int Width, Height; static bool InitGLFW(); public: BarinkWindow(const int width, const int height); ~BarinkWindow(); GLFWwindow* windowptr(); void ReceiveEvent(Event& incident) override ; bool WindowShouldClose(); void Poll(); void SwapBuffers(); };