Browse Source

Alternative way to auto-scale

Signed-off-by: falkTX <falktx@falktx.com>
pull/1/head
falkTX 4 years ago
parent
commit
2ceaa45906
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 4 additions and 13 deletions
  1. +1
    -1
      dpf
  2. +1
    -4
      plugins/3BandEQ/DistrhoUI3BandEQ.cpp
  3. +1
    -4
      plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp
  4. +1
    -4
      plugins/PingPongPan/DistrhoUIPingPongPan.cpp

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit 2e508c73e95ef50947e3ed6e941b67b1f6b5bed4
Subproject commit 267fc770150549867ae4456896c5e252f34387b3

+ 1
- 4
plugins/3BandEQ/DistrhoUI3BandEQ.cpp View File

@@ -24,7 +24,7 @@ namespace Art = DistrhoArtwork3BandEQ;
// -----------------------------------------------------------------------

DistrhoUI3BandEQ::DistrhoUI3BandEQ()
: UI(Art::backgroundWidth, Art::backgroundHeight),
: UI(Art::backgroundWidth, Art::backgroundHeight, true),
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR),
fAboutWindow(this)
{
@@ -109,9 +109,6 @@ DistrhoUI3BandEQ::DistrhoUI3BandEQ()

// set default values
programLoaded(0);

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

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


+ 1
- 4
plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp View File

@@ -24,7 +24,7 @@ namespace Art = DistrhoArtwork3BandSplitter;
// -----------------------------------------------------------------------

DistrhoUI3BandSplitter::DistrhoUI3BandSplitter()
: UI(Art::backgroundWidth, Art::backgroundHeight),
: UI(Art::backgroundWidth, Art::backgroundHeight, true),
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR),
fAboutWindow(this)
{
@@ -109,9 +109,6 @@ DistrhoUI3BandSplitter::DistrhoUI3BandSplitter()

// set default values
programLoaded(0);

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

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


+ 1
- 4
plugins/PingPongPan/DistrhoUIPingPongPan.cpp View File

@@ -24,7 +24,7 @@ namespace Art = DistrhoArtworkPingPongPan;
// -----------------------------------------------------------------------

DistrhoUIPingPongPan::DistrhoUIPingPongPan()
: UI(Art::backgroundWidth, Art::backgroundHeight),
: UI(Art::backgroundWidth, Art::backgroundHeight, true),
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR),
fAboutWindow(this)
{
@@ -62,9 +62,6 @@ DistrhoUIPingPongPan::DistrhoUIPingPongPan()

// set default values
programLoaded(0);

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

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


Loading…
Cancel
Save