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

Method text_grid

dlib/gui_widgets/widgets.cpp:3786–3800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3784// ----------------------------------------------------------------------------------------
3785
3786 text_grid::
3787 text_grid (
3788 drawable_window& w
3789 ) :
3790 scrollable_region(w, KEYBOARD_EVENTS | MOUSE_CLICK | FOCUS_EVENTS ),
3791 has_focus(false),
3792 cursor_timer(*this,&text_grid::timer_action),
3793 border_color_(128,128,128)
3794 {
3795
3796 cursor_timer.set_delay_time(500);
3797 set_vertical_scroll_increment(10);
3798 set_horizontal_scroll_increment(10);
3799 enable_events();
3800 }
3801
3802// ----------------------------------------------------------------------------------------
3803

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected