mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-12 21:36:30 +00:00
gfx
This commit is contained in:
parent
e36c7b31cb
commit
353046f092
@ -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;
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user