mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Formatting
This commit is contained in:
parent
ff0cb4ad5b
commit
4153d59e39
279 changed files with 1281 additions and 1281 deletions
|
|
@ -39,7 +39,7 @@ AppearanceSettings::AppearanceSettings (bool updateAppWhenChanged)
|
|||
|
||||
for (int i = cs.types.size(); --i >= 0;)
|
||||
{
|
||||
auto& t = cs.types.getReference(i);
|
||||
auto& t = cs.types.getReference (i);
|
||||
getColourValue (t.name) = t.colour.toString();
|
||||
}
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ StringArray AppearanceSettings::getPresetSchemes()
|
|||
{
|
||||
StringArray s;
|
||||
for (int i = 0; i < presetSchemeFiles.size(); ++i)
|
||||
s.add (presetSchemeFiles.getReference(i).getFileNameWithoutExtension());
|
||||
s.add (presetSchemeFiles.getReference (i).getFileNameWithoutExtension());
|
||||
|
||||
return s;
|
||||
}
|
||||
|
|
@ -165,7 +165,7 @@ void AppearanceSettings::applyToCodeEditor (CodeEditorComponent& editor) const
|
|||
|
||||
for (int i = cs.types.size(); --i >= 0;)
|
||||
{
|
||||
CodeEditorComponent::ColourScheme::TokenType& t = cs.types.getReference(i);
|
||||
CodeEditorComponent::ColourScheme::TokenType& t = cs.types.getReference (i);
|
||||
getColour (t.name, t.colour);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ PropertiesFile& StoredSettings::getProjectProperties (const String& projectUID)
|
|||
|
||||
for (auto i = propertyFiles.size(); --i >= 0;)
|
||||
{
|
||||
auto* const props = propertyFiles.getUnchecked(i);
|
||||
auto* const props = propertyFiles.getUnchecked (i);
|
||||
if (props->getFile().getFileNameWithoutExtension() == filename)
|
||||
return *props;
|
||||
}
|
||||
|
|
@ -127,7 +127,7 @@ void StoredSettings::flush()
|
|||
saveSwatchColours();
|
||||
|
||||
for (auto i = propertyFiles.size(); --i >= 0;)
|
||||
propertyFiles.getUnchecked(i)->saveIfNeeded();
|
||||
propertyFiles.getUnchecked (i)->saveIfNeeded();
|
||||
}
|
||||
|
||||
void StoredSettings::reload()
|
||||
|
|
@ -166,7 +166,7 @@ void StoredSettings::setLastProjects (const Array<File>& files)
|
|||
{
|
||||
StringArray s;
|
||||
for (int i = 0; i < files.size(); ++i)
|
||||
s.add (files.getReference(i).getFullPathName());
|
||||
s.add (files.getReference (i).getFullPathName());
|
||||
|
||||
getGlobalProperties().setValue ("lastProjects", s.joinIntoString ("|"));
|
||||
}
|
||||
|
|
@ -233,7 +233,7 @@ void StoredSettings::saveSwatchColours()
|
|||
auto& props = getGlobalProperties();
|
||||
|
||||
for (auto i = 0; i < swatchColours.size(); ++i)
|
||||
props.setValue ("swatchColour" + String (i), swatchColours.getReference(i).toString());
|
||||
props.setValue ("swatchColour" + String (i), swatchColours.getReference (i).toString());
|
||||
}
|
||||
|
||||
StoredSettings::ColourSelectorWithSwatches::ColourSelectorWithSwatches() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue