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

Method HandleMouseEnter

src/SFGUI/ComboBox.cpp:202–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void ComboBox::HandleMouseEnter( int /*x*/, int /*y*/ ) {
203 if( GetState() == State::NORMAL ) {
204 SetState( State::PRELIGHT );
205 }
206}
207
208void ComboBox::HandleMouseLeave( int /*x*/, int /*y*/ ) {
209 if( GetState() == State::PRELIGHT ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected