Skip to content

Commit 1278476

Browse files
committed
Update juce
1 parent 49ef84e commit 1278476

File tree

6 files changed

+122
-135
lines changed

6 files changed

+122
-135
lines changed

modules/gin

Submodule gin updated 198 files

modules/juce

Submodule juce updated 221 files

plugin/Resources/layout.json

Lines changed: 117 additions & 117 deletions
Large diffs are not rendered by default.

plugin/Source/App.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,4 @@ static void profile (juce::PropertiesFile& settings)
5757
printf ("Elapsed time: %.2fs\n", (end - start) / 1000);
5858
}
5959

60-
juce::JUCEApplicationBase* juce_CreateApplication()
61-
{
62-
return new gin::StandaloneApp([] (juce::PropertiesFile& settings)
63-
{
64-
if (juce::JUCEApplication::getCommandLineParameters ().contains ("-profile"))
65-
{
66-
profile (settings);
67-
return false;
68-
}
69-
return true;
70-
});
71-
}
72-
7360
#endif

plugin/Source/Editor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ void Editor::resized()
9898
#if JUCE_DEBUG
9999
auto f = juce::File (__FILE__).getChildFile ("../../Resources/layout.json");
100100

101-
layout.setLayout ("layout.json", f);
101+
layout.setLayout ({f});
102102
#else
103-
layout.setLayout ("layout.json");
103+
layout.setLayout ({"layout.json"});
104104
#endif
105105

106106
handleAsyncUpdate();

plugin/Source/Editor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ class Editor : public juce::Component,
4444

4545
gin::ComponentGrid fx { "fx" };
4646

47-
gin::Layout layout { *this };
47+
gin::LayoutSupport layout { *this };
4848
};

0 commit comments

Comments
 (0)