Skip to content

Commit

Permalink
reorganize files, start colour dropdown implementation in key editor …
Browse files Browse the repository at this point in the history
…controls
  • Loading branch information
vsicurella committed Aug 11, 2024
1 parent 4f576af commit a11aeab
Show file tree
Hide file tree
Showing 92 changed files with 3,173 additions and 3,167 deletions.
12 changes: 0 additions & 12 deletions Source/LumatoneEditorFonts.h

This file was deleted.

1 change: 0 additions & 1 deletion Source/LumatoneMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

#include "LumatoneMenu.h"
#include "./LumatoneEditorState.h"

namespace Lumatone {
namespace Menu {
Expand Down
2 changes: 1 addition & 1 deletion Source/LumatoneMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <JuceHeader.h>

#include "LumatoneEditorState.h"
#include "./data/LumatoneEditorState.h"

namespace Lumatone {
namespace Menu {
Expand Down
10 changes: 5 additions & 5 deletions Source/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#include "Main.h"

#include "MainWindow.h"
#include "MainComponent.h"
#include "./components/MainComponent.h"

#include "FirmwareTransfer.h"
#include "./firmware/FirmwareTransfer.h"

#include "LumatoneEditorLookAndFeel.h"
#include "./style/LumatoneEditorLookAndFeel.h"

#include "./actions/KeySelectionControlActions.h"

Expand All @@ -25,8 +25,8 @@
#include "./lumatone_editor_library/graphics/view_constants.h"
#include "./lumatone_editor_library/palettes/colour_palette_file.h"

#include "VelocityCurveDlgBase.h"
#include "NoteOnOffVelocityCurveDialog.h"
// #include "VelocityCurveDlgBase.h"
// #include "NoteOnOffVelocityCurveDialog.h"
#include "LumatoneMenu.h"

//==============================================================================
Expand Down
4 changes: 2 additions & 2 deletions Source/Main.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#include "./lumatone_editor_library/lumatone_midi_driver/lumatone_midi_driver.h"

#include "./LumatoneEditorState.h"
#include "./data/LumatoneEditorState.h"

#include "LocalisationMap.h"
#include "./style/LocalisationMap.h"

#define CHOOSE_FILE_NOOP [](bool) -> void {}

Expand Down
7 changes: 3 additions & 4 deletions Source/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
*/

#include "MainWindow.h"
#include "MainComponent.h"

#include "LumatoneMenu.h"

#include "LumatoneEditorLookAndFeel.h"
#include "./lumatone_editor_library/palettes/colour_palette_file.h"
#include "./components/MainComponent.h"
#include "./style/LumatoneEditorLookAndFeel.h"

#include "./lumatone_editor_library/palettes/colour_palette_file.h"
#include "./lumatone_editor_library/graphics/view_constants.h"

MainWindow::MainWindow(const LumatoneEditorState& stateIn, juce::ApplicationCommandManager* cmdManager)
Expand Down
2 changes: 1 addition & 1 deletion Source/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#pragma once
#include <JuceHeader.h>

#include "LumatoneEditorState.h"
#include "./data/LumatoneEditorState.h"

#include "./lumatone_editor_library/listeners/editor_listener.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/Settings/CalibrationDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//[Headers] You can add your own extra header files here...
#include "WheelsCalibrationComponent.h"

#include "../LumatoneEditorLookAndFeel.h"
#include "../style/LumatoneEditorLookAndFeel.h"

#include "../lumatone_editor_library/graphics/view_constants.h"
#include "../lumatone_editor_library/device/lumatone_controller.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/Settings/CalibrationDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

//[Headers] -- You can add your own extra header files here --

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"
#include "../lumatone_editor_library/lumatone_midi_driver/firmware_types.h"
#include "../lumatone_editor_library/listeners/firmware_listener.h"

Expand Down
4 changes: 2 additions & 2 deletions Source/Settings/FirmwareDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include "FirmwareDlg.h"

#include "../LumatoneEditorLookAndFeel.h"
#include "../LumatoneEditorFontLibrary.h"
#include "../style/LumatoneEditorLookAndFeel.h"
#include "../style/LumatoneEditorFontLibrary.h"

#include "../lumatone_editor_library/device/lumatone_controller.h"

Expand Down
6 changes: 3 additions & 3 deletions Source/Settings/FirmwareDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

#pragma once

#include "../LumatoneEditorState.h"
#include "../FileBrowserComponent.h"
#include "../FirmwareTransfer.h"
#include "../data/LumatoneEditorState.h"
#include "../controls/FileBrowserComponent.h"
#include "../firmware/FirmwareTransfer.h"

#include "../lumatone_editor_library/listeners/firmware_listener.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/Settings/MidiSettingsDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "MidiSettingsDlg.h"

#include "../LumatoneEditorFontLibrary.h"
#include "../style/LumatoneEditorFontLibrary.h"

#include "../lumatone_editor_library/device/lumatone_controller.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/Settings/MidiSettingsDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#pragma once

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"

#include "../lumatone_editor_library/listeners/firmware_listener.h"
#include "../lumatone_editor_library/lumatone_midi_driver/firmware_types.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/Settings/PresetSettingsDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#pragma once
#include <JuceHeader.h>

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"

#include "../lumatone_editor_library/listeners/firmware_listener.h"
#include "../lumatone_editor_library/lumatone_midi_driver/firmware_types.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/Settings/SettingsContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "SettingsContainer.h"

#include "../LumatoneEditorLookAndFeel.h"
#include "../style/LumatoneEditorLookAndFeel.h"

#include "CalibrationDlg.h"
#include "FirmwareDlg.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/Settings/SettingsContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#pragma once
#include <JuceHeader.h>

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"

typedef enum {
Calibration = 0,
Expand Down
2 changes: 1 addition & 1 deletion Source/actions/BatchColourActions.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef LUMATONE_EDITOR_BATCH_COLOUR_ACTIONS_H
#define LUMATONE_EDITOR_BATCH_COLOUR_ACTIONS_H

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"
#include "../lumatone_editor_library/actions/lumatone_action.h"
#include "../data/LumatoneEditorBatchColourState.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/actions/EditorControlActions.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef LUMATONE_EDITOR_CONTROL_ACTIONS_H
#define LUMATONE_EDITOR_CONTROL_ACTIONS_H

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"
#include "../lumatone_editor_library/actions/lumatone_action.h"
#include "../data/LumatoneEditSelectionState.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/actions/KeySelectionControlActions.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef LUMATONE_SELECTION_CONTROL_ACTIONS_H
#define LUMATONE_SELECTION_CONTROL_ACTIONS_H

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"
#include "../lumatone_editor_library/actions/lumatone_action.h"
#include "../data/LumatoneEditSelectionState.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "KeyboardClickListener.h"

#include "../actions/KeySelectionControlActions.h"
#include "./KeySelectionControlActions.h"

KeyboardClickListener::KeyboardClickListener(const LumatoneEditorState &stateIn, LumatoneKeyboardComponent *keyboardComponentIn)
: LumatoneEditorState("LumatoneKeyboardClickListener", stateIn)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef LUMATONE_KEY_SELECTION_CONTROLLER_H
#define LUMATONE_KEY_SELECTION_CONTROLLER_H

#include "../LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"
#include "../lumatone_editor_library/ui/keyboard_component.h"
#include "../lumatone_editor_library/palettes/colour_selection_broadcaster.h"
// Maybe KeyboardComponentSelectionController
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

#include "ColourPaletteWindow.h"

#include "./lumatone_editor_library/palettes/colour_selection_group.h"
#include "./lumatone_editor_library/palettes/colour_picker_panel.h"
#include "../lumatone_editor_library/palettes/colour_picker_panel.h"
#include "../lumatone_editor_library/palettes/colour_selection_group.h"

#include "./colour_palette_component.h"
#include "../controls/colour_palette_component.h"
#include "./palette_edit_panel.h"

#include "./LumatoneEditorLookAndFeel.h"
#include "../style/LumatoneEditorLookAndFeel.h"


//==============================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

#pragma once

#include "./lumatone_editor_library/palettes/colour_selection_group.h"
#include "./lumatone_editor_library/palettes/colour_palette_file.h"
#include "./../lumatone_editor_library/palettes/colour_selection_group.h"
#include "./../lumatone_editor_library/palettes/colour_palette_file.h"

#include "./palette_selection_panel.h"

#include "./LumatoneEditorState.h"
#include "../data/LumatoneEditorState.h"

class ColourSelectionGroup;
class ColourPaletteComponent;
Expand Down
Loading

0 comments on commit a11aeab

Please sign in to comment.