Skip to content

Commit

Permalink
Use modern skin for Maximizer
Browse files Browse the repository at this point in the history
  • Loading branch information
matze committed Feb 21, 2017
1 parent 830ab2e commit 72ea88f
Show file tree
Hide file tree
Showing 7 changed files with 3,839 additions and 4,028 deletions.
5,672 changes: 2,834 additions & 2,838 deletions plugins/ZaMaximX2/ZaMaximX2Artwork.cpp

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions plugins/ZaMaximX2/ZaMaximX2Artwork.hpp
Expand Up @@ -11,14 +11,14 @@ namespace ZaMaximX2Artwork
const unsigned int knobHeight = 42;

extern const char* ledredData;
const unsigned int ledredDataSize = 484;
const unsigned int ledredWidth = 11;
const unsigned int ledredHeight = 11;
const unsigned int ledredDataSize = 324;
const unsigned int ledredWidth = 9;
const unsigned int ledredHeight = 9;

extern const char* ledyellowData;
const unsigned int ledyellowDataSize = 484;
const unsigned int ledyellowWidth = 11;
const unsigned int ledyellowHeight = 11;
const unsigned int ledyellowDataSize = 324;
const unsigned int ledyellowWidth = 9;
const unsigned int ledyellowHeight = 9;

extern const char* zamaximx2Data;
const unsigned int zamaximx2DataSize = 180081;
Expand Down
12 changes: 6 additions & 6 deletions plugins/ZaMaximX2/ZaMaximX2UI.cpp
Expand Up @@ -45,7 +45,7 @@ ZaMaximX2UI::ZaMaximX2UI()

// knob
fKnobRelease = new ZamKnob(this, knobImage);
fKnobRelease->setAbsolutePos(27, 46);
fKnobRelease->setAbsolutePos(27, 47);
fKnobRelease->setId(ZaMaximX2Plugin::paramRelease);
fKnobRelease->setRange(1.0f, 100.0f);
fKnobRelease->setScrollStep(1.0f);
Expand All @@ -56,7 +56,7 @@ ZaMaximX2UI::ZaMaximX2UI()
fKnobRelease->setCallback(this);

fKnobThresh = new ZamKnob(this, knobImage);
fKnobThresh->setAbsolutePos(110, 46);
fKnobThresh->setAbsolutePos(110, 47);
fKnobThresh->setId(ZaMaximX2Plugin::paramThresh);
fKnobThresh->setRange(-30.0f, 0.0f);
fKnobThresh->setScrollStep(1.0f);
Expand All @@ -66,7 +66,7 @@ ZaMaximX2UI::ZaMaximX2UI()
fKnobThresh->setCallback(this);

fKnobCeiling = new ZamKnob(this, knobImage);
fKnobCeiling->setAbsolutePos(192, 46);
fKnobCeiling->setAbsolutePos(193, 47);
fKnobCeiling->setId(ZaMaximX2Plugin::paramCeiling);
fKnobCeiling->setRange(-30.0f, 0.0f);
fKnobCeiling->setScrollStep(1.0f);
Expand Down Expand Up @@ -147,10 +147,10 @@ void ZaMaximX2UI::onDisplay()

// draw leds
static const float sLedSpacing = 15.5f;
static const int sLedInitialX = 256;
static const int sLedInitialX = 258;

static const int sYellowLedStaticY = 18;
static const int sRedLedStaticY = 47;
static const int sYellowLedStaticY = 19;
static const int sRedLedStaticY = 48;

int numRedLeds;
int numYellowLeds;
Expand Down
Binary file modified plugins/ZaMaximX2/artwork/ledred.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plugins/ZaMaximX2/artwork/ledyellow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plugins/ZaMaximX2/artwork/zamaximx2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 72ea88f

Please sign in to comment.