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

Method set_pos

dlib/gui_widgets/widgets.cpp:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173// ----------------------------------------------------------------------------------------
174
175 void toggle_button::
176 set_pos (
177 long x,
178 long y
179 )
180 {
181 auto_mutex M(m);
182 button_action::set_pos(x,y);
183 btn_tooltip.set_pos(x,y);
184 }
185
186// ----------------------------------------------------------------------------------------
187

Callers

nothing calls this directly

Calls 12

set_leftMethod · 0.80
set_rightMethod · 0.80
set_topMethod · 0.80
set_bottomMethod · 0.80
set_posMethod · 0.45
leftMethod · 0.45
topMethod · 0.45
sizeMethod · 0.45
rightMethod · 0.45
bottomMethod · 0.45
heightMethod · 0.45
get_rectMethod · 0.45

Tested by

no test coverage detected