|
|
|
@ -35,7 +35,7 @@
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
namespace KaleidoscopePlugins {
|
|
|
|
|
class AlphaSquare : public KaleidoscopePlugin {
|
|
|
|
|
class AlphaSquare : public KaleidoscopePlugin {
|
|
|
|
|
public:
|
|
|
|
|
AlphaSquare (void);
|
|
|
|
|
|
|
|
|
@ -43,24 +43,44 @@ namespace KaleidoscopePlugins {
|
|
|
|
|
|
|
|
|
|
static void display (Key key, uint8_t row, uint8_t col, cRGB keyColor);
|
|
|
|
|
static void display (Key key, uint8_t row, uint8_t col);
|
|
|
|
|
static void display (Key key) { display (key, 0, 2); };
|
|
|
|
|
static void display (Key key, uint8_t col) { display (key, 0, col); };
|
|
|
|
|
static void display (Key key) {
|
|
|
|
|
display (key, 0, 2);
|
|
|
|
|
};
|
|
|
|
|
static void display (Key key, uint8_t col) {
|
|
|
|
|
display (key, 0, col);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static void display (uint16_t symbol, uint8_t row, uint8_t col, cRGB keyColor);
|
|
|
|
|
static void display (uint16_t symbol, uint8_t row, uint8_t col);
|
|
|
|
|
static void display (uint16_t symbol) { display (symbol, 0, 2); };
|
|
|
|
|
static void display (uint16_t symbol, uint8_t col) { display (symbol, 0, col); };
|
|
|
|
|
static void display (uint16_t symbol) {
|
|
|
|
|
display (symbol, 0, 2);
|
|
|
|
|
};
|
|
|
|
|
static void display (uint16_t symbol, uint8_t col) {
|
|
|
|
|
display (symbol, 0, col);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static void clear (Key key, uint8_t row, uint8_t col) { display (key, row, col, {0, 0, 0}); };
|
|
|
|
|
static void clear (Key key, uint8_t col) { clear (key, 0, col); };
|
|
|
|
|
static void clear (Key key) { clear (key, 0, 2); };
|
|
|
|
|
static void clear (Key key, uint8_t row, uint8_t col) {
|
|
|
|
|
display (key, row, col, {0, 0, 0});
|
|
|
|
|
};
|
|
|
|
|
static void clear (Key key, uint8_t col) {
|
|
|
|
|
clear (key, 0, col);
|
|
|
|
|
};
|
|
|
|
|
static void clear (Key key) {
|
|
|
|
|
clear (key, 0, 2);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static void clear (uint16_t symbol, uint8_t row, uint8_t col) { display (symbol, row, col, {0, 0, 0}); };
|
|
|
|
|
static void clear (uint16_t symbol, uint8_t col) { clear (symbol, 0, col); };
|
|
|
|
|
static void clear (uint16_t symbol) { clear (symbol, 0, 2); };
|
|
|
|
|
static void clear (uint16_t symbol, uint8_t row, uint8_t col) {
|
|
|
|
|
display (symbol, row, col, {0, 0, 0});
|
|
|
|
|
};
|
|
|
|
|
static void clear (uint16_t symbol, uint8_t col) {
|
|
|
|
|
clear (symbol, 0, col);
|
|
|
|
|
};
|
|
|
|
|
static void clear (uint16_t symbol) {
|
|
|
|
|
clear (symbol, 0, 2);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static cRGB color;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern KaleidoscopePlugins::AlphaSquare AlphaSquare;
|
|
|
|
|