ability to add/remove instruments/waves/samples
This commit is contained in:
parent
2ea2faf9c0
commit
b6ca7e3dc7
4 changed files with 315 additions and 15 deletions
|
|
@ -47,6 +47,13 @@ enum FurnaceGUIWindows {
|
|||
GUI_WINDOW_SAMPLE_EDIT
|
||||
};
|
||||
|
||||
enum FurnaceGUIFileDialogs {
|
||||
GUI_FILE_OPEN,
|
||||
GUI_FILE_SAVE,
|
||||
GUI_FILE_SAMPLE_OPEN,
|
||||
GUI_FILE_SAMPLE_SAVE
|
||||
};
|
||||
|
||||
struct SelectionPoint {
|
||||
int xCoarse, xFine;
|
||||
int y;
|
||||
|
|
@ -62,7 +69,9 @@ class FurnaceGUI {
|
|||
|
||||
String workingDir, fileName;
|
||||
|
||||
bool quit, isSaving;
|
||||
bool quit;
|
||||
|
||||
FurnaceGUIFileDialogs curFileDialog;
|
||||
|
||||
int scrW, scrH;
|
||||
|
||||
|
|
@ -124,6 +133,7 @@ class FurnaceGUI {
|
|||
void keyDown(SDL_Event& ev);
|
||||
void keyUp(SDL_Event& ev);
|
||||
|
||||
void openFileDialog(FurnaceGUIFileDialogs type);
|
||||
int save(String path);
|
||||
int load(String path);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue