mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Merge 09feb78a57
into 0e32d7dc76
This commit is contained in:
commit
3eb786f35a
@ -294,6 +294,14 @@ public:
|
|||||||
/**********************************************************************/
|
/**********************************************************************/
|
||||||
bool isPressed(void) { return currstate; };
|
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:
|
private:
|
||||||
Adafruit_GFX *_gfx;
|
Adafruit_GFX *_gfx;
|
||||||
int16_t _x1, _y1; // Coordinates of top-left corner
|
int16_t _x1, _y1; // Coordinates of top-left corner
|
||||||
|
Loading…
Reference in New Issue
Block a user