Browse Source

Alternative way to auto-scale

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 1 year ago
parent
commit
59102c7fdd
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
7 changed files with 7 additions and 25 deletions
  1. +1
    -1
      dpf
  2. +1
    -4
      plugins/PowerJuice/PowerJuiceUI.cpp
  3. +1
    -4
      plugins/PowerJuiceX2/PowerJuiceX2UI.cpp
  4. +1
    -4
      plugins/StutterJuice/StutterJuiceUI.cpp
  5. +1
    -4
      plugins/TriggerJuice/TriggerJuiceUI.cpp
  6. +1
    -4
      plugins/VectorJuice/VectorJuiceUI.cpp
  7. +1
    -4
      plugins/WobbleJuice/WobbleJuiceUI.cpp

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit 1b7e47742ca4fea2a030bd630d44f76be2231b04
Subproject commit 267fc770150549867ae4456896c5e252f34387b3

+ 1
- 4
plugins/PowerJuice/PowerJuiceUI.cpp View File

@@ -27,7 +27,7 @@ START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------

PowerJuiceUI::PowerJuiceUI()
: UI(PowerJuiceArtwork::backgroundWidth, PowerJuiceArtwork::backgroundHeight),
: UI(PowerJuiceArtwork::backgroundWidth, PowerJuiceArtwork::backgroundHeight, true),
fAboutWindow(this),
dsp((PowerJuicePlugin*)getPluginInstancePointer())
{
@@ -101,9 +101,6 @@ PowerJuiceUI::PowerJuiceUI()

// set default values
programLoaded(0);

// automatically-scale
setGeometryConstraints(PowerJuiceArtwork::backgroundWidth, PowerJuiceArtwork::backgroundHeight, true, true);
}

// -----------------------------------------------------------------------


+ 1
- 4
plugins/PowerJuiceX2/PowerJuiceX2UI.cpp View File

@@ -27,7 +27,7 @@ START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------

PowerJuiceX2UI::PowerJuiceX2UI()
: UI(PowerJuiceX2Artwork::backgroundWidth, PowerJuiceX2Artwork::backgroundHeight),
: UI(PowerJuiceX2Artwork::backgroundWidth, PowerJuiceX2Artwork::backgroundHeight, true),
fAboutWindow(this),
dsp((PowerJuiceX2Plugin*)getPluginInstancePointer())
{
@@ -101,9 +101,6 @@ PowerJuiceX2UI::PowerJuiceX2UI()

// set default values
programLoaded(0);

// automatically-scale
setGeometryConstraints(PowerJuiceX2Artwork::backgroundWidth, PowerJuiceX2Artwork::backgroundHeight, true, true);
}

// -----------------------------------------------------------------------


+ 1
- 4
plugins/StutterJuice/StutterJuiceUI.cpp View File

@@ -26,7 +26,7 @@ START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------

StutterJuiceUI::StutterJuiceUI()
: UI(StutterJuiceArtwork::backgroundWidth, StutterJuiceArtwork::backgroundHeight),
: UI(StutterJuiceArtwork::backgroundWidth, StutterJuiceArtwork::backgroundHeight, true),
fAboutWindow(this)
{
// background
@@ -81,9 +81,6 @@ StutterJuiceUI::StutterJuiceUI()

// set default values
programLoaded(0);

// automatically-scale
setGeometryConstraints(StutterJuiceArtwork::backgroundWidth, StutterJuiceArtwork::backgroundHeight, true, true);
}

// -----------------------------------------------------------------------


+ 1
- 4
plugins/TriggerJuice/TriggerJuiceUI.cpp View File

@@ -27,7 +27,7 @@ START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------

TriggerJuiceUI::TriggerJuiceUI()
: UI(TriggerJuiceArtwork::backgroundWidth, TriggerJuiceArtwork::backgroundHeight),
: UI(TriggerJuiceArtwork::backgroundWidth, TriggerJuiceArtwork::backgroundHeight, true),
fAboutWindow(this)
{
// background
@@ -98,9 +98,6 @@ TriggerJuiceUI::TriggerJuiceUI()

// set default values
programLoaded(0);

// automatically-scale
setGeometryConstraints(TriggerJuiceArtwork::backgroundWidth, TriggerJuiceArtwork::backgroundHeight, true, true);
}

// -----------------------------------------------------------------------


+ 1
- 4
plugins/VectorJuice/VectorJuiceUI.cpp View File

@@ -25,7 +25,7 @@ START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------

VectorJuiceUI::VectorJuiceUI()
: UI(VectorJuiceArtwork::backgroundWidth, VectorJuiceArtwork::backgroundHeight),
: UI(VectorJuiceArtwork::backgroundWidth, VectorJuiceArtwork::backgroundHeight, true),
fAboutWindow(this)
{
// xy params
@@ -184,9 +184,6 @@ VectorJuiceUI::VectorJuiceUI()

// set default values
programLoaded(0);

// automatically-scale
setGeometryConstraints(VectorJuiceArtwork::backgroundWidth, VectorJuiceArtwork::backgroundHeight, true, true);
}

// -----------------------------------------------------------------------


+ 1
- 4
plugins/WobbleJuice/WobbleJuiceUI.cpp View File

@@ -23,7 +23,7 @@ START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------

WobbleJuiceUI::WobbleJuiceUI()
: UI(WobbleJuiceArtwork::backgroundWidth, WobbleJuiceArtwork::backgroundHeight),
: UI(WobbleJuiceArtwork::backgroundWidth, WobbleJuiceArtwork::backgroundHeight, true),
fAboutWindow(this)
{
// background
@@ -100,9 +100,6 @@ WobbleJuiceUI::WobbleJuiceUI()

// set default values
programLoaded(0);

// automatically-scale
setGeometryConstraints(WobbleJuiceArtwork::backgroundWidth, WobbleJuiceArtwork::backgroundHeight, true, true);
}

// -----------------------------------------------------------------------


Loading…
Cancel
Save