GUI: earliest ever GUI
This commit is contained in:
parent
e8ac2947ab
commit
9b850c1763
7 changed files with 3576 additions and 8 deletions
|
|
@ -1,9 +1,27 @@
|
|||
#include "../engine/engine.h"
|
||||
#include "imgui.h"
|
||||
#include "imgui_impl_sdl.h"
|
||||
#include "imgui_impl_sdlrenderer.h"
|
||||
#include <SDL.h>
|
||||
|
||||
class FurnaceGUI {
|
||||
DivEngine* e;
|
||||
|
||||
SDL_Window* sdlWin;
|
||||
SDL_Renderer* sdlRend;
|
||||
|
||||
bool quit;
|
||||
|
||||
int scrW, scrH;
|
||||
|
||||
double dpiScale;
|
||||
|
||||
ImFont* mainFont;
|
||||
ImFont* patFont;
|
||||
|
||||
public:
|
||||
void bindEngine(DivEngine* eng);
|
||||
bool loop();
|
||||
bool init();
|
||||
FurnaceGUI();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue