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

Method enable

dlib/gui_widgets/base_widgets.h:1057–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055 );
1056
1057 void enable (
1058 )
1059 {
1060 auto_mutex M(m);
1061 if (!hidden)
1062 show_slider();
1063 if (max_pos != 0)
1064 {
1065 b1.enable();
1066 b2.enable();
1067 }
1068 drawable::enable();
1069 }
1070
1071 void disable (
1072 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected