mirror of
https://github.com/iritmaximus/galaxy-engine.git
synced 2026-10-12 19:13:41 +03:00
24 lines
419 B
C++
24 lines
419 B
C++
#pragma once
|
|
|
|
#include "GLFW/glfw3.h"
|
|
|
|
#include "logger.h"
|
|
|
|
class GWindow {
|
|
public:
|
|
GWindow(int w, int h, Logger *l) : width(w), height(h), logger(l) {};
|
|
~GWindow();
|
|
void init();
|
|
void processInput();
|
|
|
|
GLFWwindow *getWindow() { return window; };
|
|
int getWidth() const { return width; }
|
|
int getHeight() const { return height; }
|
|
|
|
private:
|
|
int width;
|
|
int height;
|
|
Logger *logger;
|
|
GLFWwindow *window;
|
|
};
|