aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-03-31 19:24:08 +0100
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-03-31 19:24:08 +0100
commit1c060c8b28dd2f03aa47746a050a0651fb2f5870 (patch)
tree4998aa9591aa2b1db6e63d47321d0891bc9ca072 /examples
parent4af72ab98dfe4801520e9a2eca4ff3931ff51851 (diff)
Update QuarterScanMatrixPanel.h
Diffstat (limited to 'examples')
-rw-r--r--examples/P6_32x16_1_4_ScanPanel/QuarterScanMatrixPanel.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/P6_32x16_1_4_ScanPanel/QuarterScanMatrixPanel.h b/examples/P6_32x16_1_4_ScanPanel/QuarterScanMatrixPanel.h
index b7955f5..2a0f0e7 100644
--- a/examples/P6_32x16_1_4_ScanPanel/QuarterScanMatrixPanel.h
+++ b/examples/P6_32x16_1_4_ScanPanel/QuarterScanMatrixPanel.h
@@ -105,9 +105,9 @@ class QuarterScanMatrixPanel : public Adafruit_GFX
virtual void drawPixel(int16_t x, int16_t y, uint16_t color);
virtual void fillScreen(uint16_t color); // overwrite adafruit implementation
void clearScreen() { fillScreen(0); }
- void drawPixelRGB565(int16_t x, int16_t y, uint16_t color);
+ //void drawPixelRGB565(int16_t x, int16_t y, uint16_t color);
void drawPixelRGB888(int16_t x, int16_t y, uint8_t r, uint8_t g, uint8_t b);
- void drawPixelRGB24(int16_t x, int16_t y, RGB24 color);
+ //void drawPixelRGB24(int16_t x, int16_t y, RGB24 color);
void drawIcon (int *ico, int16_t x, int16_t y, int16_t module_cols, int16_t module_rows);
uint16_t color444(uint8_t r, uint8_t g, uint8_t b) {
@@ -422,12 +422,13 @@ inline void QuarterScanMatrixPanel::fillScreen(uint16_t color) // adafruit virt
// No need to map this.
this->display->fillScreen(color);
}
-
+/*
inline void QuarterScanMatrixPanel::drawPixelRGB565(int16_t x, int16_t y, uint16_t color)
{
VirtualCoords coords = getCoords(x, y);
this->display->drawPixelRGB565( coords.x, coords.y, color);
}
+*/
inline void QuarterScanMatrixPanel::drawPixelRGB888(int16_t x, int16_t y, uint8_t r, uint8_t g, uint8_t b)
@@ -435,12 +436,13 @@ inline void QuarterScanMatrixPanel::drawPixelRGB888(int16_t x, int16_t y, uint8_
VirtualCoords coords = getCoords(x, y);
this->display->drawPixelRGB888( coords.x, coords.y, r, g, b);
}
-
+/*
inline void QuarterScanMatrixPanel::drawPixelRGB24(int16_t x, int16_t y, RGB24 color)
{
VirtualCoords coords = getCoords(x, y);
this->display->drawPixelRGB24(coords.x, coords.y, color);
}
+*/
// need to recreate this one, as it wouldnt work to just map where it starts.