Skip to content

Commit

Permalink
more variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjshaffer committed Jan 14, 2024
1 parent 4e3a95f commit 1085844
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Adafruit_GFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,17 @@ class Adafruit_GFX_Button {
Adafruit_GFX *_gfx; ///< gfx display pointer
int16_t _x1; ///< x Coordinate of top-left corner
int16_t _y1; ///< y Coordinate of top-left corner
uint16_t _w, _h; ///< width and heaight of button
uint16_t _w; ///< width of button
uint16_t _h; ///< height of button
uint8_t _textsize_x; ///< width of text character in pixels
uint8_t _textsize_y; ///< height of text character in pixels
uint16_t _outlinecolor; ///< button outline color
uint16_t _fillcolor; ///< button fill color
uint16_t _textcolor; ///< text color
char _label[10]; ///< text label on button

bool currstate, laststate;
bool currstate; ///< current pressed state
bool laststate; ///< previous pressed state
};

/// A GFX 1-bit canvas context for graphics
Expand Down

0 comments on commit 1085844

Please sign in to comment.