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

Method button

dlib/gui_widgets/base_widgets.h:716–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714 {
715 public:
716 button(
717 drawable_window& w
718 ) :
719 button_action(w),
720 btn_tooltip(w)
721 {
722 style.reset(new button_style_default());
723 enable_events();
724 }
725
726 ~button() { disable_events(); parent.invalidate_rectangle(style->get_invalidation_rect(rect)); }
727

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected