Browse Source

Small fix to StandaloneFilterWindow

tags/2021-05-28
jules 17 years ago
parent
commit
db5ab181a8
6 changed files with 17 additions and 3 deletions
  1. +1
    -1
      extras/audio plugins/wrapper/Standalone/juce_StandaloneFilterWindow.cpp
  2. +6
    -1
      juce_amalgamated.cpp
  3. +2
    -0
      juce_amalgamated.h
  4. +1
    -1
      src/juce_appframework/gui/components/lookandfeel/juce_LookAndFeel.cpp
  5. +5
    -0
      src/juce_appframework/gui/components/windows/juce_AlertWindow.cpp
  6. +2
    -0
      src/juce_appframework/gui/components/windows/juce_AlertWindow.h

+ 1
- 1
extras/audio plugins/wrapper/Standalone/juce_StandaloneFilterWindow.cpp View File

@@ -243,7 +243,7 @@ void StandaloneFilterWindow::showAudioSettingsDialog()
filter->getNumInputChannels(),
filter->getNumOutputChannels(),
filter->getNumOutputChannels(),
true, false, true);
true, false, true, false);
selectorComp.setSize (500, 450);


+ 6
- 1
juce_amalgamated.cpp View File

@@ -60270,7 +60270,7 @@ const Path LookAndFeel::getCrossShape (const float height)
return p;
}

void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool isMouseOver)
void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool /*isMouseOver*/)
{
const int boxSize = ((jmin (16, w, h) << 1) / 3) | 1;

@@ -70897,6 +70897,11 @@ AlertWindow::~AlertWindow()
deleteAllChildren();
}

void AlertWindow::userTriedToCloseWindow()
{
exitModalState (0);
}

void AlertWindow::setMessage (const String& message)
{
const String newMessage (message.substring (0, 2048));


+ 2
- 0
juce_amalgamated.h View File

@@ -50574,6 +50574,8 @@ protected:
void buttonClicked (Button* button);
/** @internal */
void lookAndFeelChanged();
/** @internal */
void userTriedToCloseWindow();

private:
String text;


+ 1
- 1
src/juce_appframework/gui/components/lookandfeel/juce_LookAndFeel.cpp View File

@@ -836,7 +836,7 @@ const Path LookAndFeel::getCrossShape (const float height)
}
//==============================================================================
void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool isMouseOver)
void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool /*isMouseOver*/)
{
const int boxSize = ((jmin (16, w, h) << 1) / 3) | 1;


+ 5
- 0
src/juce_appframework/gui/components/windows/juce_AlertWindow.cpp View File

@@ -127,6 +127,11 @@ AlertWindow::~AlertWindow()
deleteAllChildren();
}
void AlertWindow::userTriedToCloseWindow()
{
exitModalState (0);
}
//==============================================================================
void AlertWindow::setMessage (const String& message)
{


+ 2
- 0
src/juce_appframework/gui/components/windows/juce_AlertWindow.h View File

@@ -337,6 +337,8 @@ protected:
void buttonClicked (Button* button);
/** @internal */
void lookAndFeelChanged();
/** @internal */
void userTriedToCloseWindow();
private:
String text;


Loading…
Cancel
Save