* Changes the color for the button and text. * @param color Color value. */
| 71 | * @param color Color value. |
| 72 | */ |
| 73 | void TextButton::setColor(Uint8 color) |
| 74 | { |
| 75 | _color = color; |
| 76 | _text->setColor(color); |
| 77 | _redraw = true; |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Returns the color for the button and text. |