Skip to content

Commit

Permalink
Code Cleanup: Run fixcode after big UI restructure
Browse files Browse the repository at this point in the history
I forgot to run fix-code when i did the ui restructure so
the header include names hadn't been rebuilt. No biggie but it
means runnign fix code again gave loads of diffs, so package
those up into a single pr and get on with life
  • Loading branch information
baconpaul committed Aug 23, 2024
1 parent 49bf4f3 commit 162bf40
Show file tree
Hide file tree
Showing 25 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions src-ui/app/HasEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_HASEDITOR_H
#define SCXT_SRC_UI_COMPONENTS_HASEDITOR_H
#ifndef SCXT_SRC_UI_APP_HASEDITOR_H
#define SCXT_SRC_UI_APP_HASEDITOR_H

#include <cstdint>
#include <cassert>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/SCXTEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_SCXTEDITOR_H
#define SCXT_SRC_UI_COMPONENTS_SCXTEDITOR_H
#ifndef SCXT_SRC_UI_APP_SCXTEDITOR_H
#define SCXT_SRC_UI_APP_SCXTEDITOR_H

#include <juce_gui_basics/juce_gui_basics.h>
#include <memory>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/browser-ui/BrowserPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_BROWSER_BROWSERPANE_H
#define SCXT_SRC_UI_COMPONENTS_BROWSER_BROWSERPANE_H
#ifndef SCXT_SRC_UI_APP_BROWSER_UI_BROWSERPANE_H
#define SCXT_SRC_UI_APP_BROWSER_UI_BROWSERPANE_H

#include <vector>
#include "filesystem/import.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/EditScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTISCREEN_H
#define SCXT_SRC_UI_COMPONENTS_MULTISCREEN_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_EDITSCREEN_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_EDITSCREEN_H

#include <juce_gui_basics/juce_gui_basics.h>
#include <memory>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/AdsrPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_ADSRPANE_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_ADSRPANE_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_ADSRPANE_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_ADSRPANE_H

#include <unordered_map>
#include <juce_gui_basics/juce_gui_basics.h>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/GroupZoneTreeControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_DETAIL_GROUPZONETREECONTROL_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_DETAIL_GROUPZONETREECONTROL_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_GROUPZONETREECONTROL_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_GROUPZONETREECONTROL_H

#include <juce_graphics/juce_graphics.h>
#include <juce_core/juce_core.h>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/LFOPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_LFOPANE_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_LFOPANE_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_LFOPANE_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_LFOPANE_H

#include "sst/jucegui/components/GlyphButton.h"
#include "sst/jucegui/components/NamedPanel.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/MappingPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_MAPPINGPANE_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_MAPPINGPANE_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_MAPPINGPANE_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_MAPPINGPANE_H

#include "sst/jucegui/components/NamedPanel.h"
#include "app/HasEditor.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/ModPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_MODPANE_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_MODPANE_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_MODPANE_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_MODPANE_H

#include "sst/jucegui/components/NamedPanel.h"
#include "app/HasEditor.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/OutputPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_OUTPUTPANE_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_OUTPUTPANE_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_OUTPUTPANE_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_OUTPUTPANE_H

#include "sst/jucegui/components/NamedPanel.h"
#include "app/HasEditor.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/PartGroupSidebar.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_PARTGROUPSIDEBAR_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_PARTGROUPSIDEBAR_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_PARTGROUPSIDEBAR_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_PARTGROUPSIDEBAR_H

#include <juce_gui_basics/juce_gui_basics.h>
#include "sst/jucegui/components/NamedPanel.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/edit-screen/components/ProcessorPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_PROCESSORPANE_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_PROCESSORPANE_H
#ifndef SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_PROCESSORPANE_H
#define SCXT_SRC_UI_APP_EDIT_SCREEN_COMPONENTS_PROCESSORPANE_H

#include <unordered_map>
#include <juce_gui_basics/juce_gui_basics.h>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/editor-impl/SCXTJuceLookAndFeel.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_SCXTJUCELOOKANDFEEL_H
#define SCXT_SRC_UI_COMPONENTS_SCXTJUCELOOKANDFEEL_H
#ifndef SCXT_SRC_UI_APP_EDITOR_IMPL_SCXTJUCELOOKANDFEEL_H
#define SCXT_SRC_UI_APP_EDITOR_IMPL_SCXTJUCELOOKANDFEEL_H

#include <juce_gui_basics/juce_gui_basics.h>
#include "connectors/SCXTResources.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/mixer-screen/MixerScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MIXERSCREEN_H
#define SCXT_SRC_UI_COMPONENTS_MIXERSCREEN_H
#ifndef SCXT_SRC_UI_APP_MIXER_SCREEN_MIXERSCREEN_H
#define SCXT_SRC_UI_APP_MIXER_SCREEN_MIXERSCREEN_H

#include "configuration.h"
#include "app/HasEditor.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/mixer-screen/components/BusPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MIXER_BUSPANE_H
#define SCXT_SRC_UI_COMPONENTS_MIXER_BUSPANE_H
#ifndef SCXT_SRC_UI_APP_MIXER_SCREEN_COMPONENTS_BUSPANE_H
#define SCXT_SRC_UI_APP_MIXER_SCREEN_COMPONENTS_BUSPANE_H

#include <juce_gui_basics/juce_gui_basics.h>

Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/mixer-screen/components/ChannelStrip.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MIXER_CHANNELSTRIP_H
#define SCXT_SRC_UI_COMPONENTS_MIXER_CHANNELSTRIP_H
#ifndef SCXT_SRC_UI_APP_MIXER_SCREEN_COMPONENTS_CHANNELSTRIP_H
#define SCXT_SRC_UI_APP_MIXER_SCREEN_COMPONENTS_CHANNELSTRIP_H

#include "engine/bus.h"
#include "app/HasEditor.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/mixer-screen/components/PartEffectsPane.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MIXER_PARTEFFECTSPANE_H
#define SCXT_SRC_UI_COMPONENTS_MIXER_PARTEFFECTSPANE_H
#ifndef SCXT_SRC_UI_APP_MIXER_SCREEN_COMPONENTS_PARTEFFECTSPANE_H
#define SCXT_SRC_UI_APP_MIXER_SCREEN_COMPONENTS_PARTEFFECTSPANE_H

#include <juce_gui_basics/juce_gui_basics.h>
#include <sst/jucegui/components/NamedPanel.h>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/other-screens/AboutScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_ABOUTSCREEN_H
#define SCXT_SRC_UI_COMPONENTS_ABOUTSCREEN_H
#ifndef SCXT_SRC_UI_APP_OTHER_SCREENS_ABOUTSCREEN_H
#define SCXT_SRC_UI_APP_OTHER_SCREENS_ABOUTSCREEN_H

#include "app/HasEditor.h"
#include <juce_gui_basics/juce_gui_basics.h>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/other-screens/LogScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_LOGSCREEN_H
#define SCXT_SRC_UI_COMPONENTS_LOGSCREEN_H
#ifndef SCXT_SRC_UI_APP_OTHER_SCREENS_LOGSCREEN_H
#define SCXT_SRC_UI_APP_OTHER_SCREENS_LOGSCREEN_H

#include "app/HasEditor.h"
#include <juce_gui_basics/juce_gui_basics.h>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/other-screens/WelcomeScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_WELCOMESCREEN_H
#define SCXT_SRC_UI_COMPONENTS_WELCOMESCREEN_H
#ifndef SCXT_SRC_UI_APP_OTHER_SCREENS_WELCOMESCREEN_H
#define SCXT_SRC_UI_APP_OTHER_SCREENS_WELCOMESCREEN_H

#include <juce_gui_basics/juce_gui_basics.h>
#include "sst/jucegui/components/TextPushButton.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/play-screen/PlayScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_PLAYSCREEN_H
#define SCXT_SRC_UI_COMPONENTS_PLAYSCREEN_H
#ifndef SCXT_SRC_UI_APP_PLAY_SCREEN_PLAYSCREEN_H
#define SCXT_SRC_UI_APP_PLAY_SCREEN_PLAYSCREEN_H

#include <juce_gui_basics/juce_gui_basics.h>
#include <array>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/shared/HeaderRegion.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_HEADERREGION_H
#define SCXT_SRC_UI_COMPONENTS_HEADERREGION_H
#ifndef SCXT_SRC_UI_APP_SHARED_HEADERREGION_H
#define SCXT_SRC_UI_APP_SHARED_HEADERREGION_H

#include <juce_gui_basics/juce_gui_basics.h>
#include <sst/jucegui/components/ToggleButton.h>
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/shared/PartSidebarCard.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_PARTSIDEBARCARD_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_PARTSIDEBARCARD_H
#ifndef SCXT_SRC_UI_APP_SHARED_PARTSIDEBARCARD_H
#define SCXT_SRC_UI_APP_SHARED_PARTSIDEBARCARD_H

#include <juce_gui_basics/juce_gui_basics.h>
#include "sst/jucegui/components/MenuButton.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/app/shared/SingleMacroEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_COMPONENTS_MULTI_SINGLEMACROEDITOR_H
#define SCXT_SRC_UI_COMPONENTS_MULTI_SINGLEMACROEDITOR_H
#ifndef SCXT_SRC_UI_APP_SHARED_SINGLEMACROEDITOR_H
#define SCXT_SRC_UI_APP_SHARED_SINGLEMACROEDITOR_H

#include <juce_gui_basics/juce_gui_basics.h>
#include "sst/jucegui/components/Knob.h"
Expand Down
4 changes: 2 additions & 2 deletions src-ui/connectors/JSONAssetSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SCXT_SRC_UI_CONNECTORS_JSONLAYOUTCONSUMER_H
#define SCXT_SRC_UI_CONNECTORS_JSONLAYOUTCONSUMER_H
#ifndef SCXT_SRC_UI_CONNECTORS_JSONASSETSUPPORT_H
#define SCXT_SRC_UI_CONNECTORS_JSONASSETSUPPORT_H

#include <string>
#include <vector>
Expand Down

0 comments on commit 162bf40

Please sign in to comment.