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

Added a new LookAndFeel (V4) and re-skinned the JUCE Demo and examples. Improved the JUCE Demo on mobile devices.

This commit is contained in:
hogliux 2017-04-27 12:21:41 +01:00
parent 3b422bef51
commit ef2c63e4e3
99 changed files with 5037 additions and 433 deletions

View file

@ -84,7 +84,7 @@ public:
void paint (Graphics& g) override
{
// (Our component is opaque, so we must completely fill the background with a solid colour)
g.fillAll (Colours::black);
g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId));
Point<float> nextPos = pos + delta;
@ -111,7 +111,7 @@ public:
}
// draw a circle
g.setColour (Colours::grey);
g.setColour (getLookAndFeel().findColour (Slider::thumbColourId));
g.fillEllipse (pos.x, pos.y, 20, 20);
drawWaveform (g, 20.0f, 0);