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

Method named_rectangle

dlib/gui_widgets/widgets.cpp:1838–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1836// ----------------------------------------------------------------------------------------
1837
1838 named_rectangle::
1839 named_rectangle(
1840 drawable_window& w
1841 ) :
1842 drawable(w),
1843 name_width(0),
1844 name_height(0)
1845 {
1846 make_name_fit_in_rect();
1847 enable_events();
1848 }
1849
1850// ----------------------------------------------------------------------------------------
1851

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected