* Changes the visibility of the surface. A hidden surface * isn't blitted nor receives events. * @param visible New visibility. */
| 653 | * @param visible New visibility. |
| 654 | */ |
| 655 | void Surface::setVisible(bool visible) |
| 656 | { |
| 657 | _visible = visible; |
| 658 | } |
| 659 | |
| 660 | /** |
| 661 | * Returns the visible state of the surface. |