diff --git a/Source/LumatoneEditorState.cpp b/Source/LumatoneEditorState.cpp index db3e2da..1fd6a53 100644 --- a/Source/LumatoneEditorState.cpp +++ b/Source/LumatoneEditorState.cpp @@ -51,6 +51,7 @@ LumatoneEditorState::LumatoneEditorState(juce::ValueTree stateIn, LumatoneFirmwa : LumatoneApplicationState(stateIn, driverIn, undoManagerIn) , editSelectionState(name + "_EditSelection", state) { + // DBG(name + " LumatoneEditorState created"); appFonts = std::make_shared(); lookAndFeel = std::make_shared(*appFonts, true); @@ -68,11 +69,13 @@ LumatoneEditorState::LumatoneEditorState(juce::String name, const LumatoneEditor , propertiesFile(stateIn.propertiesFile) , colourPalettes(stateIn.colourPalettes) { + // DBG(name + " LumatoneEditorState created"); } LumatoneEditorState::LumatoneEditorState(const LumatoneEditorState &stateIn) : LumatoneEditorState(stateIn.name + "Copy", stateIn) { + // DBG(name + " LumatoneEditorState created"); } LumatoneEditorState::~LumatoneEditorState() @@ -84,6 +87,8 @@ LumatoneEditorState::~LumatoneEditorState() propertiesFile = nullptr; lookAndFeel = nullptr; appFonts = nullptr; + + // DBG(name + " LumatoneEditorState deleted"); } float LumatoneEditorState::getRoundedRectCornerSize() const diff --git a/Source/data/LumatoneEditSelectionState.h b/Source/data/LumatoneEditSelectionState.h index c804d39..a906178 100644 --- a/Source/data/LumatoneEditSelectionState.h +++ b/Source/data/LumatoneEditSelectionState.h @@ -5,6 +5,8 @@ Created: 6 June 2024 Author: Vito + Holds the key property values that are active in a key assignment controller + ============================================================================== */ diff --git a/Source/mapping_editors/KeySelectionController.cpp b/Source/mapping_editors/KeySelectionController.cpp index 00e5eb3..c2e08db 100644 --- a/Source/mapping_editors/KeySelectionController.cpp +++ b/Source/mapping_editors/KeySelectionController.cpp @@ -3,7 +3,7 @@ #include "../actions/KeySelectionControlActions.h" KeySelectionController::KeySelectionController(const LumatoneEditorState &stateIn, LumatoneKeyboardComponent *keyboardComponentIn) - : LumatoneEditorState(stateIn) + : LumatoneEditorState("LumatoneKeySelectionController", stateIn) , LumatoneEditorState::Controller(static_cast(*this)) , keyboardComponent(keyboardComponentIn) {