| 55 | } |
| 56 | |
| 57 | void ToggleButton::HandleMouseClick( sf::Mouse::Button button, int x, int y ) { |
| 58 | if( button == sf::Mouse::Button::Left ) { |
| 59 | SetActive( !IsActive() ); |
| 60 | } |
| 61 | |
| 62 | Button::HandleMouseClick( button, x, y ); |
| 63 | } |
| 64 | |
| 65 | } |
nothing calls this directly
no outgoing calls
no test coverage detected