mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-29 02:40:05 +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:
parent
3b422bef51
commit
ef2c63e4e3
99 changed files with 5037 additions and 433 deletions
|
|
@ -32,12 +32,12 @@ void COMPONENTCLASS::paint (Graphics& g)
|
|||
drawing code..
|
||||
*/
|
||||
|
||||
g.fillAll (Colours::white); // clear the background
|
||||
g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); // clear the background
|
||||
|
||||
g.setColour (Colours::grey);
|
||||
g.drawRect (getLocalBounds(), 1); // draw an outline around the component
|
||||
|
||||
g.setColour (Colours::lightblue);
|
||||
g.setColour (Colours::white);
|
||||
g.setFont (14.0f);
|
||||
g.drawText ("COMPONENTCLASS", getLocalBounds(),
|
||||
Justification::centred, true); // draw some placeholder text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue