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

Method set_pos

dlib/gui_widgets/base_widgets.cpp:147–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145// ----------------------------------------------------------------------------------------
146
147 void button::
148 set_pos (
149 long x,
150 long y
151 )
152 {
153 auto_mutex M(m);
154 button_action::set_pos(x,y);
155 btn_tooltip.set_pos(x,y);
156 }
157
158// ----------------------------------------------------------------------------------------
159

Callers

nothing calls this directly

Calls 15

move_rectFunction · 0.85
set_leftMethod · 0.80
set_rightMethod · 0.80
set_draggable_areaMethod · 0.80
set_topMethod · 0.80
set_bottomMethod · 0.80
rectangleClass · 0.50
set_posMethod · 0.45
leftMethod · 0.45
topMethod · 0.45
rightMethod · 0.45
widthMethod · 0.45

Tested by

no test coverage detected