Browse Source

Add DarkPJ301MPort to component library.

tags/v2.4.1
Andrew Belt 1 year ago
parent
commit
a29d04f062
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      include/componentlibrary.hpp

+ 6
- 0
include/componentlibrary.hpp View File

@@ -783,6 +783,12 @@ struct PJ301MPort : app::SvgPort {
} }
}; };


struct DarkPJ301MPort : app::SvgPort {
DarkPJ301MPort() {
setSvg(Svg::load(asset::system("res/ComponentLibrary/PJ301M-dark.svg")));
}
};

struct ThemedPJ301MPort : app::ThemedSvgPort { struct ThemedPJ301MPort : app::ThemedSvgPort {
ThemedPJ301MPort() { ThemedPJ301MPort() {
setSvg(Svg::load(asset::system("res/ComponentLibrary/PJ301M.svg")), Svg::load(asset::system("res/ComponentLibrary/PJ301M-dark.svg"))); setSvg(Svg::load(asset::system("res/ComponentLibrary/PJ301M.svg")), Svg::load(asset::system("res/ComponentLibrary/PJ301M-dark.svg")));


Loading…
Cancel
Save