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

Method HandleMouseLeave

src/SFGUI/ComboBox.cpp:208–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void ComboBox::HandleMouseLeave( int /*x*/, int /*y*/ ) {
209 if( GetState() == State::PRELIGHT ) {
210 SetState( State::NORMAL );
211 }
212}
213
214void ComboBox::HandleMouseMoveEvent( int x, int y ) {
215 if( ( x == std::numeric_limits<int>::min() ) || ( y == std::numeric_limits<int>::min() ) ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected