2021-12-11 07:10:09 +00:00
|
|
|
#include "../engine/engine.h"
|
2021-12-11 08:11:40 +00:00
|
|
|
#include "imgui.h"
|
|
|
|
#include "imgui_impl_sdl.h"
|
|
|
|
#include "imgui_impl_sdlrenderer.h"
|
|
|
|
#include <SDL.h>
|
2021-12-11 07:10:09 +00:00
|
|
|
|
|
|
|
class FurnaceGUI {
|
|
|
|
DivEngine* e;
|
|
|
|
|
2021-12-11 08:11:40 +00:00
|
|
|
SDL_Window* sdlWin;
|
|
|
|
SDL_Renderer* sdlRend;
|
|
|
|
|
|
|
|
bool quit;
|
|
|
|
|
|
|
|
int scrW, scrH;
|
|
|
|
|
|
|
|
double dpiScale;
|
|
|
|
|
|
|
|
ImFont* mainFont;
|
|
|
|
ImFont* patFont;
|
|
|
|
|
2021-12-11 07:10:09 +00:00
|
|
|
public:
|
|
|
|
void bindEngine(DivEngine* eng);
|
2021-12-11 08:11:40 +00:00
|
|
|
bool loop();
|
|
|
|
bool init();
|
2021-12-11 07:10:09 +00:00
|
|
|
FurnaceGUI();
|
|
|
|
};
|