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

Method HandleFocusChange

src/SFGUI/Entry.cpp:290–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void Entry::HandleFocusChange( Widget::Ptr focused_widget ) {
291 if( HasFocus() ) {
292 m_elapsed_time = 0.f;
293 m_cursor_status = true;
294 }
295
296 Invalidate();
297
298 Widget::HandleFocusChange( focused_widget );
299}
300
301void Entry::HandleSizeChange() {
302 if( HasFocus() ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected