Hi there,
I possibly missed something in the examples or just couldn't find it in any of the descriptions.
initButtonUL(x, y, BUTTON_W, BUTTON_H, TFT_WHITE, TFT_BLACK, TFT_GREEN, "Action", 1);
sets a white outline, black as background and green when the button is active.
drawSmoothButton(true);
drawSmoothButton(false);
changes between black and green. Correct ?
At least it seems to work that way.
What I now would like to do is to have a different, second "active" colour . I.e. green when the triggered
action was successful and red when it wasn't successful.
As I said, possibly very simply and obvious to everyone but me ;-)
Thanks !
Hi there,
I possibly missed something in the examples or just couldn't find it in any of the descriptions.
initButtonUL(x, y, BUTTON_W, BUTTON_H, TFT_WHITE, TFT_BLACK, TFT_GREEN, "Action", 1);
sets a white outline, black as background and green when the button is active.
drawSmoothButton(true);
drawSmoothButton(false);
changes between black and green. Correct ?
At least it seems to work that way.
What I now would like to do is to have a different, second "active" colour . I.e. green when the triggered
action was successful and red when it wasn't successful.
As I said, possibly very simply and obvious to everyone but me ;-)
Thanks !