mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
mod2
This commit is contained in:
parent
5d22d2cdfe
commit
64122c6a34
@ -1753,6 +1753,7 @@ char *Adafruit_GFX_Button::getLabel() { return _label; }
|
||||
void Adafruit_GFX_Button::setEnabled(bool enable, uint16_t fillColor) {
|
||||
_enabled = enable;
|
||||
_fillcolor = fillColor;
|
||||
currstate = (enable? currstate: false);
|
||||
drawButton();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user