This commit is contained in:
gemu2015 2021-04-21 11:03:01 +02:00
parent e36c7b31cb
commit 353046f092
2 changed files with 5 additions and 6 deletions

View File

@ -1789,7 +1789,6 @@ GFXcanvas8::~GFXcanvas8(void) {
*/ */
/**************************************************************************/ /**************************************************************************/
void GFXcanvas8::drawPixel(int16_t x, int16_t y, uint16_t color) { void GFXcanvas8::drawPixel(int16_t x, int16_t y, uint16_t color) {
if(buffer) { if(buffer) {
if((x < 0) || (y < 0) || (x >= _width) || (y >= _height)) return; if((x < 0) || (y < 0) || (x >= _width) || (y >= _height)) return;

View File

@ -220,7 +220,7 @@ virtual void
uint16_t uint16_t
textcolor, ///< 16-bit background color for print() textcolor, ///< 16-bit background color for print()
textbgcolor; ///< 16-bit text color for print() textbgcolor; ///< 16-bit text color for print()
uint8_t *framebuffer;
protected: protected:
void void
charBounds(char c, int16_t *x, int16_t *y, charBounds(char c, int16_t *x, int16_t *y,