Browse Source

Changed Projucer MainWindow templates to use default LookAndFeel background colour instead of always light grey

tags/2021-05-28
ed 8 years ago
parent
commit
1739f34717
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      extras/Projucer/Source/BinaryData/jucer_MainTemplate_SimpleWindow.cpp
  2. +2
    -1
      extras/Projucer/Source/BinaryData/jucer_MainTemplate_Window.cpp

+ 2
- 1
extras/Projucer/Source/BinaryData/jucer_MainTemplate_SimpleWindow.cpp View File

@@ -62,7 +62,8 @@ public:
{
public:
MainWindow (String name) : DocumentWindow (name,
Colours::lightgrey,
Desktop::getInstance().getDefaultLookAndFeel()
.findColour (ResizableWindow::backgroundColourId),
DocumentWindow::allButtons)
{
setUsingNativeTitleBar (true);


+ 2
- 1
extras/Projucer/Source/BinaryData/jucer_MainTemplate_Window.cpp View File

@@ -61,7 +61,8 @@ public:
{
public:
MainWindow (String name) : DocumentWindow (name,
Colours::lightgrey,
Desktop::getInstance().getDefaultLookAndFeel()
.findColour (ResizableWindow::backgroundColourId),
DocumentWindow::allButtons)
{
setUsingNativeTitleBar (true);


Loading…
Cancel
Save