Browse Source

Add submodule; Add screenshot; Adjust switch pos

master
falkTX 9 years ago
parent
commit
20fbc3fe6d
4 changed files with 7 additions and 3 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      dpf
  3. +3
    -3
      plugins/Kars/DistrhoUIKars.cpp
  4. BIN
      plugins/Kars/Screenshot.png

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
[submodule "dpf"]
path = dpf
url = git://github.com/DISTRHO/DPF

+ 1
- 0
dpf

@@ -0,0 +1 @@
Subproject commit 7365b4886cca1c21d540d581f70b80ee9ef4fe92

+ 3
- 3
plugins/Kars/DistrhoUIKars.cpp View File

@@ -28,10 +28,10 @@ DistrhoUIKars::DistrhoUIKars()
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight)
{
// sustain switch
Image switchImageNormal(Art::switchData, Art::switchWidth, Art::switchHeight);
Image switchImageDown(Art::switchData, Art::switchWidth, Art::switchHeight);
Image switchImageNormal(Art::switchData, Art::switchWidth, Art::switchHeight/2);
Image switchImageDown(Art::switchData+(Art::switchWidth*Art::switchHeight/2*4), Art::switchWidth, Art::switchHeight/2);
fSwitchSustain = new ImageSwitch(this, switchImageNormal, switchImageDown);
fSwitchSustain->setAbsolutePos(505, 5);
fSwitchSustain->setAbsolutePos(Art::backgroundWidth/2-Art::switchWidth/2, Art::backgroundHeight/2-Art::switchHeight/4);
fSwitchSustain->setId(DistrhoPluginKars::paramSustain);
fSwitchSustain->setCallback(this);
}


BIN
plugins/Kars/Screenshot.png View File

Before After
Width: 301  |  Height: 315  |  Size: 74KB

Loading…
Cancel
Save