mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Merge 09feb78a57
into 126007f2c5
This commit is contained in:
commit
103b3e1947
@ -294,6 +294,14 @@ public:
|
||||
/**********************************************************************/
|
||||
bool isPressed(void) { return currstate; };
|
||||
|
||||
/**********************************************************************/
|
||||
/*!
|
||||
@brief Get the label text
|
||||
@returns the const char pointer of the buttoś label
|
||||
*/
|
||||
/**********************************************************************/
|
||||
const char *getLabel(void) const { return _label; };
|
||||
|
||||
private:
|
||||
Adafruit_GFX *_gfx;
|
||||
int16_t _x1, _y1; // Coordinates of top-left corner
|
||||
|
Loading…
Reference in New Issue
Block a user