Browse Source

Add WhiteLight to component library.

tags/v1.1.2
Andrew Belt 5 years ago
parent
commit
bdb4bc578c
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      include/componentlibrary.hpp

+ 6
- 0
include/componentlibrary.hpp View File

@@ -447,6 +447,12 @@ struct BlueLight : GrayModuleLightWidget {
}
};

struct WhiteLight : GrayModuleLightWidget {
WhiteLight() {
addBaseColor(SCHEME_WHITE);
}
};

/** Reads two adjacent lightIds, so `lightId` and `lightId + 1` must be defined */
struct GreenRedLight : GrayModuleLightWidget {
GreenRedLight() {


Loading…
Cancel
Save