| 50 | } |
| 51 | |
| 52 | void Button::HandleMouseLeave( int /*x*/, int /*y*/ ) { |
| 53 | if( GetState() == State::PRELIGHT ) { |
| 54 | SetState( State::NORMAL ); |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | void Button::HandleMouseButtonEvent( sf::Mouse::Button button, bool press, int /*x*/, int /*y*/ ) { |
| 59 | if( !IsMouseInWidget() ) { |
nothing calls this directly
no outgoing calls
no test coverage detected