From 2d6d9c3fa29bfd82cf36da53a999532e9768692f Mon Sep 17 00:00:00 2001 From: dforsi Date: Tue, 24 Mar 2026 21:56:03 +0100 Subject: [PATCH] Update Adafruit_GFX.h Fix comments of struct items Background and text were inverted. --- Adafruit_GFX.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_GFX.h b/Adafruit_GFX.h index 032d8ea..83c7076 100644 --- a/Adafruit_GFX.h +++ b/Adafruit_GFX.h @@ -242,8 +242,8 @@ protected: int16_t _height; ///< Display height as modified by current rotation int16_t cursor_x; ///< x location to start print()ing text int16_t cursor_y; ///< y location to start print()ing text - uint16_t textcolor; ///< 16-bit background color for print() - uint16_t textbgcolor; ///< 16-bit text color for print() + uint16_t textcolor; ///< 16-bit text color for print() + uint16_t textbgcolor; ///< 16-bit background color for print() uint8_t textsize_x; ///< Desired magnification in X-axis of text to print() uint8_t textsize_y; ///< Desired magnification in Y-axis of text to print() uint8_t rotation; ///< Display rotation (0 thru 3)