MCPcopy Create free account
hub / github.com/davisking/dlib / drop_input_focus

Method drop_input_focus

dlib/gui_widgets/widgets.cpp:4599–4610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4597// ----------------------------------------------------------------------------------------
4598
4599 void text_grid::
4600 drop_input_focus (
4601 )
4602 {
4603 if (has_focus)
4604 {
4605 parent.invalidate_rectangle(get_text_rect(active_row,active_col));
4606 has_focus = false;
4607 show_cursor = false;
4608 cursor_timer.stop();
4609 }
4610 }
4611
4612// ----------------------------------------------------------------------------------------
4613

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected