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

Method set_horizontal_scroll_increment

dlib/gui_widgets/base_widgets.cpp:2753–2762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2751// ----------------------------------------------------------------------------------------
2752
2753 void scrollable_region::
2754 set_horizontal_scroll_increment (
2755 unsigned long inc
2756 )
2757 {
2758 auto_mutex M(m);
2759 hscroll_bar_inc = inc;
2760 // call set_size to reset the scroll bars
2761 set_size(rect.width(),rect.height());
2762 }
2763
2764// ----------------------------------------------------------------------------------------
2765

Callers

nothing calls this directly

Calls 2

widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected