You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

618 lines
16KB

  1. #pragma once
  2. #include <app/SvgKnob.hpp>
  3. #include <app/SvgSlider.hpp>
  4. #include <app/SvgPort.hpp>
  5. #include <app/ModuleLightWidget.hpp>
  6. #include <app/SvgSwitch.hpp>
  7. #include <app/SvgScrew.hpp>
  8. #include <asset.hpp>
  9. namespace rack {
  10. /** Component Library by [Grayscale](https://grayscale.info/).
  11. Copied from `LICENSE.md`:
  12. The **Component Library graphics** in the `res/ComponentLibrary` directory are copyright © 2019 [Grayscale](http://grayscale.info/) and licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/).
  13. You may not freely sell plugins using Component Library graphics.
  14. However, a free commercial license is available for plugins sold through the [VCV Store](https://vcvrack.com/plugins.html).
  15. Email contact@vcvrack.com for more information about licensing or the VCV Store.
  16. */
  17. namespace componentlibrary {
  18. ////////////////////
  19. // Color scheme
  20. ////////////////////
  21. static const NVGcolor SCHEME_BLACK_TRANSPARENT = nvgRGBA(0x00, 0x00, 0x00, 0x00);
  22. static const NVGcolor SCHEME_BLACK = nvgRGB(0x00, 0x00, 0x00);
  23. static const NVGcolor SCHEME_WHITE = nvgRGB(0xff, 0xff, 0xff);
  24. static const NVGcolor SCHEME_RED = nvgRGB(0xed, 0x2c, 0x24);
  25. static const NVGcolor SCHEME_ORANGE = nvgRGB(0xf2, 0xb1, 0x20);
  26. static const NVGcolor SCHEME_YELLOW = nvgRGB(0xf9, 0xdf, 0x1c);
  27. static const NVGcolor SCHEME_GREEN = nvgRGB(0x90, 0xc7, 0x3e);
  28. static const NVGcolor SCHEME_CYAN = nvgRGB(0x22, 0xe6, 0xef);
  29. static const NVGcolor SCHEME_BLUE = nvgRGB(0x29, 0xb2, 0xef);
  30. static const NVGcolor SCHEME_PURPLE = nvgRGB(0xd5, 0x2b, 0xed);
  31. static const NVGcolor SCHEME_LIGHT_GRAY = nvgRGB(0xe6, 0xe6, 0xe6);
  32. static const NVGcolor SCHEME_DARK_GRAY = nvgRGB(0x17, 0x17, 0x17);
  33. ////////////////////
  34. // Knobs
  35. ////////////////////
  36. struct RoundKnob : app::SvgKnob {
  37. RoundKnob() {
  38. minAngle = -0.83*M_PI;
  39. maxAngle = 0.83*M_PI;
  40. }
  41. };
  42. struct RoundBlackKnob : RoundKnob {
  43. RoundBlackKnob() {
  44. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/RoundBlackKnob.svg")));
  45. }
  46. };
  47. struct RoundSmallBlackKnob : RoundKnob {
  48. RoundSmallBlackKnob() {
  49. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/RoundSmallBlackKnob.svg")));
  50. }
  51. };
  52. struct RoundLargeBlackKnob : RoundKnob {
  53. RoundLargeBlackKnob() {
  54. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/RoundLargeBlackKnob.svg")));
  55. }
  56. };
  57. struct RoundHugeBlackKnob : RoundKnob {
  58. RoundHugeBlackKnob() {
  59. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/RoundHugeBlackKnob.svg")));
  60. }
  61. };
  62. struct RoundBlackSnapKnob : RoundBlackKnob {
  63. RoundBlackSnapKnob() {
  64. snap = true;
  65. }
  66. };
  67. struct Davies1900hKnob : app::SvgKnob {
  68. Davies1900hKnob() {
  69. minAngle = -0.83*M_PI;
  70. maxAngle = 0.83*M_PI;
  71. }
  72. };
  73. struct Davies1900hWhiteKnob : Davies1900hKnob {
  74. Davies1900hWhiteKnob() {
  75. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Davies1900hWhite.svg")));
  76. }
  77. };
  78. struct Davies1900hBlackKnob : Davies1900hKnob {
  79. Davies1900hBlackKnob() {
  80. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Davies1900hBlack.svg")));
  81. }
  82. };
  83. struct Davies1900hRedKnob : Davies1900hKnob {
  84. Davies1900hRedKnob() {
  85. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Davies1900hRed.svg")));
  86. }
  87. };
  88. struct Davies1900hLargeWhiteKnob : Davies1900hKnob {
  89. Davies1900hLargeWhiteKnob() {
  90. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Davies1900hLargeWhite.svg")));
  91. }
  92. };
  93. struct Davies1900hLargeBlackKnob : Davies1900hKnob {
  94. Davies1900hLargeBlackKnob() {
  95. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Davies1900hLargeBlack.svg")));
  96. }
  97. };
  98. struct Davies1900hLargeRedKnob : Davies1900hKnob {
  99. Davies1900hLargeRedKnob() {
  100. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Davies1900hLargeRed.svg")));
  101. }
  102. };
  103. struct Rogan : app::SvgKnob {
  104. Rogan() {
  105. minAngle = -0.83*M_PI;
  106. maxAngle = 0.83*M_PI;
  107. }
  108. };
  109. struct Rogan6PSWhite : Rogan {
  110. Rogan6PSWhite() {
  111. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan6PSWhite.svg")));
  112. }
  113. };
  114. struct Rogan5PSGray : Rogan {
  115. Rogan5PSGray() {
  116. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan5PSGray.svg")));
  117. }
  118. };
  119. struct Rogan3PSBlue : Rogan {
  120. Rogan3PSBlue() {
  121. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PSBlue.svg")));
  122. }
  123. };
  124. struct Rogan3PSRed : Rogan {
  125. Rogan3PSRed() {
  126. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PSRed.svg")));
  127. }
  128. };
  129. struct Rogan3PSGreen : Rogan {
  130. Rogan3PSGreen() {
  131. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PSGreen.svg")));
  132. }
  133. };
  134. struct Rogan3PSWhite : Rogan {
  135. Rogan3PSWhite() {
  136. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PSWhite.svg")));
  137. }
  138. };
  139. struct Rogan3PBlue : Rogan {
  140. Rogan3PBlue() {
  141. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PBlue.svg")));
  142. }
  143. };
  144. struct Rogan3PRed : Rogan {
  145. Rogan3PRed() {
  146. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PRed.svg")));
  147. }
  148. };
  149. struct Rogan3PGreen : Rogan {
  150. Rogan3PGreen() {
  151. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PGreen.svg")));
  152. }
  153. };
  154. struct Rogan3PWhite : Rogan {
  155. Rogan3PWhite() {
  156. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan3PWhite.svg")));
  157. }
  158. };
  159. struct Rogan2SGray : Rogan {
  160. Rogan2SGray() {
  161. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2SGray.svg")));
  162. }
  163. };
  164. struct Rogan2PSBlue : Rogan {
  165. Rogan2PSBlue() {
  166. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PSBlue.svg")));
  167. }
  168. };
  169. struct Rogan2PSRed : Rogan {
  170. Rogan2PSRed() {
  171. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PSRed.svg")));
  172. }
  173. };
  174. struct Rogan2PSGreen : Rogan {
  175. Rogan2PSGreen() {
  176. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PSGreen.svg")));
  177. }
  178. };
  179. struct Rogan2PSWhite : Rogan {
  180. Rogan2PSWhite() {
  181. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PSWhite.svg")));
  182. }
  183. };
  184. struct Rogan2PBlue : Rogan {
  185. Rogan2PBlue() {
  186. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PBlue.svg")));
  187. }
  188. };
  189. struct Rogan2PRed : Rogan {
  190. Rogan2PRed() {
  191. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PRed.svg")));
  192. }
  193. };
  194. struct Rogan2PGreen : Rogan {
  195. Rogan2PGreen() {
  196. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PGreen.svg")));
  197. }
  198. };
  199. struct Rogan2PWhite : Rogan {
  200. Rogan2PWhite() {
  201. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan2PWhite.svg")));
  202. }
  203. };
  204. struct Rogan1PSBlue : Rogan {
  205. Rogan1PSBlue() {
  206. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PSBlue.svg")));
  207. }
  208. };
  209. struct Rogan1PSRed : Rogan {
  210. Rogan1PSRed() {
  211. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PSRed.svg")));
  212. }
  213. };
  214. struct Rogan1PSGreen : Rogan {
  215. Rogan1PSGreen() {
  216. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PSGreen.svg")));
  217. }
  218. };
  219. struct Rogan1PSWhite : Rogan {
  220. Rogan1PSWhite() {
  221. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PSWhite.svg")));
  222. }
  223. };
  224. struct Rogan1PBlue : Rogan {
  225. Rogan1PBlue() {
  226. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PBlue.svg")));
  227. }
  228. };
  229. struct Rogan1PRed : Rogan {
  230. Rogan1PRed() {
  231. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PRed.svg")));
  232. }
  233. };
  234. struct Rogan1PGreen : Rogan {
  235. Rogan1PGreen() {
  236. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PGreen.svg")));
  237. }
  238. };
  239. struct Rogan1PWhite : Rogan {
  240. Rogan1PWhite() {
  241. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Rogan1PWhite.svg")));
  242. }
  243. };
  244. struct SynthTechAlco : app::SvgKnob {
  245. SynthTechAlco() {
  246. minAngle = -0.82*M_PI;
  247. maxAngle = 0.82*M_PI;
  248. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/SynthTechAlco.svg")));
  249. // Add cap
  250. widget::FramebufferWidget *capFb = new widget::FramebufferWidget;
  251. widget::SvgWidget *cap = new widget::SvgWidget;
  252. cap->setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/SynthTechAlco_cap.svg")));
  253. capFb->addChild(cap);
  254. addChild(capFb);
  255. }
  256. };
  257. struct Trimpot : app::SvgKnob {
  258. Trimpot() {
  259. minAngle = -0.75*M_PI;
  260. maxAngle = 0.75*M_PI;
  261. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/Trimpot.svg")));
  262. }
  263. };
  264. struct BefacoBigKnob : app::SvgKnob {
  265. BefacoBigKnob() {
  266. minAngle = -0.75*M_PI;
  267. maxAngle = 0.75*M_PI;
  268. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoBigKnob.svg")));
  269. }
  270. };
  271. struct BefacoBigSnapKnob : BefacoBigKnob {
  272. BefacoBigSnapKnob() {
  273. snap = true;
  274. }
  275. };
  276. struct BefacoTinyKnob : app::SvgKnob {
  277. BefacoTinyKnob() {
  278. minAngle = -0.75*M_PI;
  279. maxAngle = 0.75*M_PI;
  280. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoTinyKnob.svg")));
  281. }
  282. };
  283. struct BefacoSlidePot : app::SvgSlider {
  284. BefacoSlidePot() {
  285. math::Vec margin = math::Vec(3.5, 3.5);
  286. maxHandlePos = math::Vec(-1, -2).plus(margin);
  287. minHandlePos = math::Vec(-1, 87).plus(margin);
  288. setBackgroundSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoSlidePot.svg")));
  289. setHandleSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoSlidePotHandle.svg")));
  290. background->box.pos = margin;
  291. box.size = background->box.size.plus(margin.mult(2));
  292. }
  293. };
  294. struct LEDSlider : app::SvgSlider {
  295. LEDSlider() {
  296. maxHandlePos = app::mm2px(math::Vec(0.738, 0.738).plus(math::Vec(2, 0)));
  297. minHandlePos = app::mm2px(math::Vec(0.738, 22.078).plus(math::Vec(2, 0)));
  298. setBackgroundSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDSlider.svg")));
  299. }
  300. };
  301. /** API is unstable for LEDSlider. Will add a LightWidget later. */
  302. struct LEDSliderGreen : LEDSlider {
  303. LEDSliderGreen() {
  304. setHandleSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDSliderGreenHandle.svg")));
  305. }
  306. };
  307. struct LEDSliderRed : LEDSlider {
  308. LEDSliderRed() {
  309. setHandleSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDSliderRedHandle.svg")));
  310. }
  311. };
  312. struct LEDSliderYellow : LEDSlider {
  313. LEDSliderYellow() {
  314. setHandleSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDSliderYellowHandle.svg")));
  315. }
  316. };
  317. struct LEDSliderBlue : LEDSlider {
  318. LEDSliderBlue() {
  319. setHandleSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDSliderBlueHandle.svg")));
  320. }
  321. };
  322. struct LEDSliderWhite : LEDSlider {
  323. LEDSliderWhite() {
  324. setHandleSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDSliderWhiteHandle.svg")));
  325. }
  326. };
  327. ////////////////////
  328. // Ports
  329. ////////////////////
  330. struct PJ301MPort : app::SvgPort {
  331. PJ301MPort() {
  332. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/PJ301M.svg")));
  333. }
  334. };
  335. struct PJ3410Port : app::SvgPort {
  336. PJ3410Port() {
  337. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/PJ3410.svg")));
  338. }
  339. };
  340. struct CL1362Port : app::SvgPort {
  341. CL1362Port() {
  342. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/CL1362.svg")));
  343. }
  344. };
  345. ////////////////////
  346. // Lights
  347. ////////////////////
  348. struct GrayModuleLightWidget : app::ModuleLightWidget {
  349. GrayModuleLightWidget() {
  350. bgColor = nvgRGB(0x5a, 0x5a, 0x5a);
  351. borderColor = nvgRGBA(0, 0, 0, 0x60);
  352. }
  353. };
  354. struct RedLight : GrayModuleLightWidget {
  355. RedLight() {
  356. addBaseColor(SCHEME_RED);
  357. }
  358. };
  359. struct GreenLight : GrayModuleLightWidget {
  360. GreenLight() {
  361. addBaseColor(SCHEME_GREEN);
  362. }
  363. };
  364. struct YellowLight : GrayModuleLightWidget {
  365. YellowLight() {
  366. addBaseColor(SCHEME_YELLOW);
  367. }
  368. };
  369. struct BlueLight : GrayModuleLightWidget {
  370. BlueLight() {
  371. addBaseColor(SCHEME_BLUE);
  372. }
  373. };
  374. /** Reads two adjacent lightIds, so `lightId` and `lightId + 1` must be defined */
  375. struct GreenRedLight : GrayModuleLightWidget {
  376. GreenRedLight() {
  377. addBaseColor(SCHEME_GREEN);
  378. addBaseColor(SCHEME_RED);
  379. }
  380. };
  381. struct RedGreenBlueLight : GrayModuleLightWidget {
  382. RedGreenBlueLight() {
  383. addBaseColor(SCHEME_RED);
  384. addBaseColor(SCHEME_GREEN);
  385. addBaseColor(SCHEME_BLUE);
  386. }
  387. };
  388. /** Based on the size of 5mm LEDs */
  389. template <typename BASE>
  390. struct LargeLight : BASE {
  391. LargeLight() {
  392. this->box.size = app::mm2px(math::Vec(5.179, 5.179));
  393. }
  394. };
  395. /** Based on the size of 3mm LEDs */
  396. template <typename BASE>
  397. struct MediumLight : BASE {
  398. MediumLight() {
  399. this->box.size = app::mm2px(math::Vec(3.176, 3.176));
  400. }
  401. };
  402. /** Based on the size of 2mm LEDs */
  403. template <typename BASE>
  404. struct SmallLight : BASE {
  405. SmallLight() {
  406. this->box.size = app::mm2px(math::Vec(2.176, 2.176));
  407. }
  408. };
  409. /** Based on the size of 1mm LEDs */
  410. template <typename BASE>
  411. struct TinyLight : BASE {
  412. TinyLight() {
  413. this->box.size = app::mm2px(math::Vec(1.088, 1.088));
  414. }
  415. };
  416. /** A light for displaying on top of PB61303. Must add a color by subclassing or templating. */
  417. template <typename BASE>
  418. struct LEDBezelLight : BASE {
  419. LEDBezelLight() {
  420. this->bgColor = color::BLACK_TRANSPARENT;
  421. this->box.size = app::mm2px(math::Vec(6.0, 6.0));
  422. }
  423. };
  424. /** A light to displayed over PB61303. Must add a color by subclassing or templating.
  425. Don't add this as a child of the PB61303 itself. Instead, just place it over it as a sibling in the scene graph, offset by app::mm2px(math::Vec(0.5, 0.5)).
  426. */
  427. template <typename BASE>
  428. struct PB61303Light : BASE {
  429. PB61303Light() {
  430. this->bgColor = color::BLACK_TRANSPARENT;
  431. this->box.size = app::mm2px(math::Vec(9.0, 9.0));
  432. }
  433. };
  434. ////////////////////
  435. // Switches
  436. ////////////////////
  437. struct NKK : app::SvgSwitch {
  438. NKK() {
  439. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/NKK_0.svg")));
  440. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/NKK_1.svg")));
  441. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/NKK_2.svg")));
  442. }
  443. };
  444. struct CKSS : app::SvgSwitch {
  445. CKSS() {
  446. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/CKSS_0.svg")));
  447. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/CKSS_1.svg")));
  448. }
  449. };
  450. struct CKSSThree : app::SvgSwitch {
  451. CKSSThree() {
  452. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/CKSSThree_0.svg")));
  453. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/CKSSThree_1.svg")));
  454. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/CKSSThree_2.svg")));
  455. }
  456. };
  457. struct CKD6 : app::SvgSwitch {
  458. CKD6() {
  459. momentary = true;
  460. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/CKD6_0.svg")));
  461. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/CKD6_1.svg")));
  462. }
  463. };
  464. struct TL1105 : app::SvgSwitch {
  465. TL1105() {
  466. momentary = true;
  467. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/TL1105_0.svg")));
  468. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/TL1105_1.svg")));
  469. }
  470. };
  471. struct LEDButton : app::SvgSwitch {
  472. LEDButton() {
  473. momentary = true;
  474. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDButton.svg")));
  475. }
  476. };
  477. struct BefacoSwitch : app::SvgSwitch {
  478. BefacoSwitch() {
  479. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoSwitch_0.svg")));
  480. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoSwitch_1.svg")));
  481. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoSwitch_2.svg")));
  482. }
  483. };
  484. struct BefacoPush : app::SvgSwitch {
  485. BefacoPush() {
  486. momentary = true;
  487. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoPush_0.svg")));
  488. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoPush_1.svg")));
  489. }
  490. };
  491. struct LEDBezel : app::SvgSwitch {
  492. LEDBezel() {
  493. momentary = true;
  494. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/LEDBezel.svg")));
  495. }
  496. };
  497. struct PB61303 : app::SvgSwitch {
  498. PB61303() {
  499. momentary = true;
  500. addFrame(APP->window->loadSvg(asset::system("res/ComponentLibrary/PB61303.svg")));
  501. }
  502. };
  503. ////////////////////
  504. // Misc
  505. ////////////////////
  506. struct ScrewSilver : app::SvgScrew {
  507. ScrewSilver() {
  508. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/ScrewSilver.svg")));
  509. }
  510. };
  511. struct ScrewBlack : app::SvgScrew {
  512. ScrewBlack() {
  513. setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/ScrewBlack.svg")));
  514. }
  515. };
  516. } // namespace componentlibrary
  517. } // namespace rack