MCPcopy Create free account
hub / github.com/TankOs/SFGUI / HandleMouseLeave

Method HandleMouseLeave

src/SFGUI/Entry.cpp:255–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void Entry::HandleMouseLeave( int /*x*/, int /*y*/ ) {
256 if( !HasFocus() ) {
257 SetState( State::NORMAL );
258 }
259}
260
261void Entry::HandleMouseButtonEvent( sf::Mouse::Button button, bool press, int x, int /*y*/ ) {
262 if( !press || !IsMouseInWidget() ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected