Initial commit

This commit is contained in:
Stefan Stefanov 2023-10-20 17:14:46 +03:00 committed by GitHub
commit fce29361f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 59905 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#pragma once
#include "glad.h"
#include "glfw3.h"
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include <string>
class BaseWindow {
public:
int windowWidth, windowHeight;
std::string windowTitle;
GLFWwindow* windowHandle;
public:
BaseWindow();
BaseWindow(int width, int height, std::string title);
int Run();
protected:
virtual void Initialize() = 0;
virtual void LoadContent() = 0;
virtual void Update() = 0;
virtual void Render() = 0;
virtual void Unload() = 0;
};