diff --git a/res/BananutBlack.svg b/res/BananutBlack.svg new file mode 100644 index 0000000..48e1c13 --- /dev/null +++ b/res/BananutBlack.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/BananutRed.svg b/res/BananutRed.svg new file mode 100644 index 0000000..71ea443 --- /dev/null +++ b/res/BananutRed.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/BefacoInputPort.svg b/res/BefacoInputPort.svg deleted file mode 100644 index 407827a..0000000 --- a/res/BefacoInputPort.svg +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/res/BefacoOutputPort.svg b/res/BefacoOutputPort.svg deleted file mode 100644 index 3248287..0000000 --- a/res/BefacoOutputPort.svg +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/res/BefacoSwitchHoriz_0.svg b/res/BefacoSwitchHoriz_0.svg index 27ea795..d703cb5 100644 --- a/res/BefacoSwitchHoriz_0.svg +++ b/res/BefacoSwitchHoriz_0.svg @@ -1,101 +1,127 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/BefacoSwitchHoriz_1.svg b/res/BefacoSwitchHoriz_1.svg index 15c8b6b..9a78292 100644 --- a/res/BefacoSwitchHoriz_1.svg +++ b/res/BefacoSwitchHoriz_1.svg @@ -1,86 +1,97 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/BefacoSwitchHoriz_2.svg b/res/BefacoSwitchHoriz_2.svg index dfc5355..24fab79 100644 --- a/res/BefacoSwitchHoriz_2.svg +++ b/res/BefacoSwitchHoriz_2.svg @@ -1,104 +1,126 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/CrossfaderBackground.svg b/res/CrossfaderBackground.svg index fbd75d1..0c79022 100644 --- a/res/CrossfaderBackground.svg +++ b/res/CrossfaderBackground.svg @@ -1,85 +1,23 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/res/CrossfaderHandle.svg b/res/CrossfaderHandle.svg index c21b10e..ebe657d 100644 --- a/res/CrossfaderHandle.svg +++ b/res/CrossfaderHandle.svg @@ -1,113 +1,28 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/Davies1900hDarkGrey.svg b/res/Davies1900hDarkGrey.svg index a2e6294..8cd2613 100644 --- a/res/Davies1900hDarkGrey.svg +++ b/res/Davies1900hDarkGrey.svg @@ -1,105 +1,160 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/res/Davies1900hDarkGrey_bg.svg b/res/Davies1900hDarkGrey_bg.svg new file mode 100644 index 0000000..f065e60 --- /dev/null +++ b/res/Davies1900hDarkGrey_bg.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + diff --git a/res/Davies1900hLargeGrey.svg b/res/Davies1900hLargeGrey.svg index 0e5c95a..aa62b22 100644 --- a/res/Davies1900hLargeGrey.svg +++ b/res/Davies1900hLargeGrey.svg @@ -1,105 +1,129 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/res/Davies1900hLargeGrey_bg.svg b/res/Davies1900hLargeGrey_bg.svg new file mode 100644 index 0000000..d3b7d44 --- /dev/null +++ b/res/Davies1900hLargeGrey_bg.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + diff --git a/res/Davies1900hLightGrey.svg b/res/Davies1900hLightGrey.svg index ceac137..f0d0fed 100644 --- a/res/Davies1900hLightGrey.svg +++ b/res/Davies1900hLightGrey.svg @@ -1,105 +1,160 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/res/Davies1900hLightGrey_bg.svg b/res/Davies1900hLightGrey_bg.svg new file mode 100644 index 0000000..0b087cf --- /dev/null +++ b/res/Davies1900hLightGrey_bg.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + diff --git a/res/SwitchNarrow_0.svg b/res/SwitchNarrow_0.svg index b5f0c18..d451472 100644 --- a/res/SwitchNarrow_0.svg +++ b/res/SwitchNarrow_0.svg @@ -1,114 +1,47 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/SwitchNarrow_1.svg b/res/SwitchNarrow_1.svg index b71fd86..3326265 100644 --- a/res/SwitchNarrow_1.svg +++ b/res/SwitchNarrow_1.svg @@ -1,114 +1,42 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/plugin.hpp b/src/plugin.hpp index e3bc039..2792255 100644 --- a/src/plugin.hpp +++ b/src/plugin.hpp @@ -66,39 +66,42 @@ struct BefacoTinyKnobBlack : BefacoTinyKnob { struct Davies1900hLargeGreyKnob : Davies1900hKnob { Davies1900hLargeGreyKnob() { setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLargeGrey.svg"))); + bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLargeGrey_bg.svg"))); } }; -struct Davies1900hLightGreyKnob : Davies1900hWhiteKnob { +struct Davies1900hLightGreyKnob : Davies1900hKnob { Davies1900hLightGreyKnob() { setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLightGrey.svg"))); + bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLightGrey_bg.svg"))); } }; -struct Davies1900hDarkGreyKnob : Davies1900hWhiteKnob { +struct Davies1900hDarkGreyKnob : Davies1900hKnob { Davies1900hDarkGreyKnob() { setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hDarkGrey.svg"))); + bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hDarkGrey_bg.svg"))); } }; -// library black Davies1900h doesn't work well on black backgrounds -struct Davies1900hDarkBlackAlt : Davies1900hWhiteKnob { - Davies1900hDarkBlackAlt() { - setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hBlack.svg"))); - } -}; +/** Deprecated alias */ +using Davies1900hDarkBlackAlt = Davies1900hBlackKnob; -struct BefacoOutputPort : app::SvgPort { - BefacoOutputPort() { - setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoOutputPort.svg"))); +struct BananutRed : app::SvgPort { + BananutRed() { + setSvg(Svg::load(asset::plugin(pluginInstance, "res/BananutRed.svg"))); } }; +/** Deprecated alias */ +using BefacoOutputPort = BananutRed; -struct BefacoInputPort : app::SvgPort { - BefacoInputPort() { - setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoInputPort.svg"))); +struct BananutBlack : app::SvgPort { + BananutBlack() { + setSvg(Svg::load(asset::plugin(pluginInstance, "res/BananutBlack.svg"))); } }; +/** Deprecated alias */ +using BefacoInputPort = BananutRed; struct CKSSNarrow : app::SvgSwitch { CKSSNarrow() {