When this is set, Surface::invert() is called with the value from mid when it's time to invert the button
| 60 | |
| 61 | /// When this is set, Surface::invert() is called with the value from mid when it's time to invert the button |
| 62 | void ToggleTextButton::setInvertColor(Uint8 mid) |
| 63 | { |
| 64 | _invertMid = mid; |
| 65 | _fakeGroup = 0; |
| 66 | _redraw = true; |
| 67 | } |
| 68 | |
| 69 | /// handle draw() in case we need to paint the button a garish color |
| 70 | void ToggleTextButton::draw() |
no outgoing calls
no test coverage detected