Update juce

This commit is contained in:
Roland Rabien 2025-11-19 17:15:05 -08:00
commit 1278476a3d
6 changed files with 122 additions and 135 deletions

View file

@ -57,17 +57,4 @@ static void profile (juce::PropertiesFile& settings)
printf ("Elapsed time: %.2fs\n", (end - start) / 1000);
}
juce::JUCEApplicationBase* juce_CreateApplication()
{
return new gin::StandaloneApp([] (juce::PropertiesFile& settings)
{
if (juce::JUCEApplication::getCommandLineParameters ().contains ("-profile"))
{
profile (settings);
return false;
}
return true;
});
}
#endif

View file

@ -98,9 +98,9 @@ void Editor::resized()
#if JUCE_DEBUG
auto f = juce::File (__FILE__).getChildFile ("../../Resources/layout.json");
layout.setLayout ("layout.json", f);
layout.setLayout ({f});
#else
layout.setLayout ("layout.json");
layout.setLayout ({"layout.json"});
#endif
handleAsyncUpdate();

View file

@ -44,5 +44,5 @@ private:
gin::ComponentGrid fx { "fx" };
gin::Layout layout { *this };
gin::LayoutSupport layout { *this };
};