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

Method set_style

dlib/gui_widgets/base_widgets.h:799–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797 typename style_type
798 >
799 void set_style (
800 const style_type& style_
801 )
802 {
803 auto_mutex M(m);
804 style.reset(new style_type(style_));
805 rect = move_rect(style->get_min_size(name_,*mfont), rect.left(), rect.top());
806 parent.invalidate_rectangle(style->get_invalidation_rect(rect));
807 }
808
809 template <
810 typename T

Callers 3

set_styleMethod · 0.45
set_styleMethod · 0.45
set_styleMethod · 0.45

Calls 6

move_rectFunction · 0.85
get_min_sizeMethod · 0.80
resetMethod · 0.45
leftMethod · 0.45
topMethod · 0.45
get_invalidation_rectMethod · 0.45

Tested by

no test coverage detected