|
|
|
@ -37,46 +37,46 @@
|
|
|
|
|
namespace KaleidoscopePlugins {
|
|
|
|
|
class AlphaSquare : public KaleidoscopePlugin {
|
|
|
|
|
public:
|
|
|
|
|
AlphaSquare (void);
|
|
|
|
|
AlphaSquare(void);
|
|
|
|
|
|
|
|
|
|
virtual void begin (void) final;
|
|
|
|
|
virtual void begin(void) final;
|
|
|
|
|
|
|
|
|
|
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 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, 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 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, 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 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, uint8_t col) {
|
|
|
|
|
clear(key, 0, col);
|
|
|
|
|
};
|
|
|
|
|
static void clear (Key key) {
|
|
|
|
|
clear (key, 0, 2);
|
|
|
|
|
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 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, uint8_t col) {
|
|
|
|
|
clear(symbol, 0, col);
|
|
|
|
|
};
|
|
|
|
|
static void clear (uint16_t symbol) {
|
|
|
|
|
clear (symbol, 0, 2);
|
|
|
|
|
static void clear(uint16_t symbol) {
|
|
|
|
|
clear(symbol, 0, 2);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static cRGB color;
|
|
|
|
|