mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Added a simple sign-in form, added notification tray for project messages, general refactoring
This commit is contained in:
parent
6610a1959f
commit
fba0295a44
69 changed files with 4915 additions and 2205 deletions
|
|
@ -350,18 +350,9 @@ void StoredSettings::checkJUCEPaths()
|
|||
projectDefaults.getPropertyAsValue (Ids::defaultJuceModulePath, nullptr) = File (juceFolder).getChildFile ("modules").getFullPathName();
|
||||
}
|
||||
|
||||
bool StoredSettings::shouldAskUserToSetJUCEPath() noexcept
|
||||
bool StoredSettings::isJUCEPathIncorrect()
|
||||
{
|
||||
if (! isGlobalPathValid ({}, Ids::jucePath, getStoredPath (Ids::jucePath, TargetOS::getThisOS()).get().toString())
|
||||
&& getGlobalProperties().getValue ("dontAskAboutJUCEPath", {}).isEmpty())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void StoredSettings::setDontAskAboutJUCEPathAgain() noexcept
|
||||
{
|
||||
getGlobalProperties().setValue ("dontAskAboutJUCEPath", 1);
|
||||
return ! isGlobalPathValid ({}, Ids::jucePath, getStoredPath (Ids::jucePath, TargetOS::getThisOS()).get().toString());
|
||||
}
|
||||
|
||||
static String getFallbackPathForOS (const Identifier& key, DependencyPathOS os)
|
||||
|
|
|
|||
|
|
@ -55,9 +55,7 @@ public:
|
|||
|
||||
//==============================================================================
|
||||
ValueWithDefault getStoredPath (const Identifier& key, DependencyPathOS os);
|
||||
|
||||
bool shouldAskUserToSetJUCEPath() noexcept;
|
||||
void setDontAskAboutJUCEPathAgain() noexcept;
|
||||
bool isJUCEPathIncorrect();
|
||||
|
||||
//==============================================================================
|
||||
AppearanceSettings appearance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue