There's no disable(), it's
just changes the visual sprite basically.setEnabled
calledsetBright` anyway, so you don't need to double up on that'.
I've got a related question, is it possible to disable a button but still have it swallow touches, as in if you disable a button, have the touch not touch the thing thats behind it?
button->setSwallowTouches(true) doesn't seem to do it, neither does
button->setTouchEnabled(true) nor did
Looking at the source,
Widget::onTouchBegan returns false before checking anything other than
isEnabled, so maybe I can't without subclassing.