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

Method set_vertical_scroll_increment

dlib/gui_widgets/base_widgets.cpp:2766–2775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2764// ----------------------------------------------------------------------------------------
2765
2766 void scrollable_region::
2767 set_vertical_scroll_increment (
2768 unsigned long inc
2769 )
2770 {
2771 auto_mutex M(m);
2772 vscroll_bar_inc = inc;
2773 // call set_size to reset the scroll bars
2774 set_size(rect.width(),rect.height());
2775 }
2776
2777// ----------------------------------------------------------------------------------------
2778

Callers

nothing calls this directly

Calls 2

widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected