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

Projucer: Added new start page window

This commit is contained in:
ed 2020-06-04 14:52:29 +01:00
parent 4c95c227f6
commit 3283f2224a
107 changed files with 2475 additions and 3452 deletions

View file

@ -41,7 +41,7 @@ public:
}
class ColourEditorComponent : public Component,
public ChangeListener
private ChangeListener
{
public:
ColourEditorComponent (const bool canReset)
@ -86,14 +86,6 @@ public:
getScreenBounds(), nullptr);
}
void changeListenerCallback (ChangeBroadcaster* source) override
{
const ColourSelector* const cs = (const ColourSelector*) source;
if (cs->getCurrentColour() != getColour())
setColour (cs->getCurrentColour());
}
class ColourSelectorComp : public Component
{
public:
@ -166,6 +158,14 @@ public:
};
private:
void changeListenerCallback (ChangeBroadcaster* source) override
{
const ColourSelector* const cs = (const ColourSelector*) source;
if (cs->getCurrentColour() != getColour())
setColour (cs->getCurrentColour());
}
Colour colour;
bool canResetToDefault;
};