right now we have a clear level button, which just clears the blocks in the level.
Instead, we should have a "new level" button. This will clear the level and level name and level text in onw fell swoop. On this button we have a dialog saying "save changes to current level?" with options for yes no and cancel.
Done did it, son. Made the YesNoCancel dialog. The dialogue comes up only when changes have been made since saving. To do this we use the changedSinceSave bool in LevelEditor.
right now we have a clear level button, which just clears the blocks in the level.
Instead, we should have a "new level" button. This will clear the level and level name and level text in onw fell swoop. On this button we have a dialog saying "save changes to current level?" with options for yes no and cancel.