mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Compare commits
3 Commits
3eb786f35a
...
103b3e1947
Author | SHA1 | Date | |
---|---|---|---|
|
103b3e1947 | ||
|
09feb78a57 | ||
|
95855b1a09 |
@ -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