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

Method image_window

dlib/gui_widgets/widgets.h:3886–3901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3884
3885 template < typename image_type >
3886 image_window(
3887 const image_type& img
3888 ) :
3889 gui_img(*this),
3890 window_has_closed(false),
3891 have_last_click(false),
3892 mouse_btn(0),
3893 clicked_signaler(this->wm),
3894 have_last_keypress(false),
3895 tie_input_events(false)
3896 {
3897 gui_img.set_image_clicked_handler(*this, &image_window::on_image_clicked);
3898 gui_img.disable_overlay_editing();
3899 set_image(img);
3900 show();
3901 }
3902
3903 template < typename image_type >
3904 image_window(

Calls 2

Tested by

no test coverage detected