| 206 | } |
| 207 | |
| 208 | void Gopher::toggleWindowVisibility() |
| 209 | { |
| 210 | _hidden = !_hidden; |
| 211 | printf("Window %s\n", _hidden ? "hidden" : "unhidden"); |
| 212 | setWindowVisibility(_hidden); |
| 213 | } |
| 214 | |
| 215 | void Gopher::setWindowVisibility(const bool &hidden) const |
| 216 | { |
nothing calls this directly
no outgoing calls
no test coverage detected