1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Reorganised some source files so that we can compile with the malfunctioning link time optimisation of legacy 32 bit MinGW compilers

This commit is contained in:
tpoole 2017-10-30 16:12:19 +00:00
parent f990723d6f
commit 1946712154
25 changed files with 970 additions and 622 deletions

View file

@ -226,6 +226,9 @@ void StoredSettings::saveSwatchColours()
props.setValue ("swatchColour" + String (i), swatchColours.getReference(i).toString());
}
StoredSettings::ColourSelectorWithSwatches::ColourSelectorWithSwatches() {}
StoredSettings::ColourSelectorWithSwatches::~ColourSelectorWithSwatches() {}
int StoredSettings::ColourSelectorWithSwatches::getNumSwatches() const
{
return getAppSettings().swatchColours.size();

View file

@ -30,7 +30,7 @@
#include "jucer_AppearanceSettings.h"
//==============================================================================
class StoredSettings : public ValueTree::Listener
class StoredSettings : public ValueTree::Listener
{
public:
StoredSettings();
@ -51,9 +51,10 @@ public:
//==============================================================================
Array<Colour> swatchColours;
struct ColourSelectorWithSwatches : public ColourSelector
struct ColourSelectorWithSwatches : public ColourSelector
{
ColourSelectorWithSwatches() {}
ColourSelectorWithSwatches();
~ColourSelectorWithSwatches();
int getNumSwatches() const override;
Colour getSwatchColour (int index) const override;