Skip to content

Commit

Permalink
Add missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
alikins committed Jul 6, 2018
1 parent 43f4d75 commit 7e531ae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
12 changes: 0 additions & 12 deletions src/SmallTrimpot.hpp

This file was deleted.

18 changes: 15 additions & 3 deletions src/BigTrimpot.hpp → src/specificValueWidgets.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
// #include "alikins.hpp"
//#include "ui.hpp"
#include "rack.hpp"



struct SmallPurpleTrimpot : Trimpot {
SmallPurpleTrimpot();
};

SmallPurpleTrimpot::SmallPurpleTrimpot() : Trimpot() {
setSVG(SVG::load(assetPlugin(plugin, "res/SmallPurpleTrimpot.svg")));
shadow->blurRadius = 0.0;
shadow->opacity = 0.10;
shadow->box.pos = Vec(0.0, box.size.y * 0.1);
}


struct PurpleTrimpot : Trimpot {
Module *module;
bool initialized = false;
Expand Down Expand Up @@ -48,4 +60,4 @@ void PurpleTrimpot::reset() {
void PurpleTrimpot::randomize() {
reset();
setValue(rescale(randomUniform(), 0.0f, 1.0f, minValue, maxValue));
}
}

0 comments on commit 7e531ae

Please sign in to comment.