GUI: more more more work
error dialog boxes and drawOrders improvements
This commit is contained in:
parent
7f3885d2b1
commit
1cc9b9fe20
4 changed files with 98 additions and 11 deletions
|
|
@ -68,7 +68,7 @@ class FurnaceGUI {
|
|||
SDL_Window* sdlWin;
|
||||
SDL_Renderer* sdlRend;
|
||||
|
||||
String workingDir, fileName, clipboard;
|
||||
String workingDir, fileName, clipboard, errorString, lastError;
|
||||
|
||||
bool quit, willCommit;
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ class FurnaceGUI {
|
|||
|
||||
char finalLayoutPath[4096];
|
||||
|
||||
int curIns, curWave, curSample, curOctave, oldRow, editStep;
|
||||
int curIns, curWave, curSample, curOctave, oldRow, oldOrder, oldOrder1, editStep;
|
||||
bool editControlsOpen, ordersOpen, insListOpen, songInfoOpen, patternOpen, insEditOpen;
|
||||
bool waveListOpen, waveEditOpen, sampleListOpen, sampleEditOpen, aboutOpen, settingsOpen;
|
||||
SelectionPoint selStart, selEnd;
|
||||
|
|
@ -162,6 +162,8 @@ class FurnaceGUI {
|
|||
int save(String path);
|
||||
int load(String path);
|
||||
|
||||
void showError(String what);
|
||||
|
||||
public:
|
||||
const char* noteName(short note, short octave);
|
||||
bool decodeNote(const char* what, short& note, short& octave);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue