GUI: add default layout

This commit is contained in:
tildearrow 2021-12-19 16:01:24 -05:00
parent 39dee5a343
commit f6144a3343
3 changed files with 110 additions and 7 deletions

View file

@ -86,7 +86,7 @@ class FurnaceGUI {
ImVec4 uiColors[GUI_COLOR_MAX];
ImVec4 volColors[128];
char finalConfigPath[4096];
char finalLayoutPath[4096];
int curIns, curWave, curSample, curOctave, oldRow, editStep;
bool editControlsOpen, ordersOpen, insListOpen, songInfoOpen, patternOpen, insEditOpen;
@ -123,6 +123,7 @@ class FurnaceGUI {
float nextScroll;
void updateWindowTitle();
void prepareLayout();
void drawEditControls();
void drawSongInfo();
@ -161,6 +162,7 @@ class FurnaceGUI {
void bindEngine(DivEngine* eng);
void updateScroll(int amount);
bool loop();
bool finish();
bool init();
FurnaceGUI();
};