Skip to content

Commit

Permalink
Update Adafruit_GFX.h
Browse files Browse the repository at this point in the history
change GFXbutton private members to protected
  • Loading branch information
nathanjshaffer authored Dec 30, 2023
1 parent 126007f commit caff87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_GFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class Adafruit_GFX_Button {
/**********************************************************************/
bool isPressed(void) { return currstate; };

private:
protected:
Adafruit_GFX *_gfx;
int16_t _x1, _y1; // Coordinates of top-left corner
uint16_t _w, _h;
Expand Down

0 comments on commit caff87e

Please sign in to comment.