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

Method image_window

dlib/gui_widgets/widgets.cpp:7197–7212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7195// ----------------------------------------------------------------------------------------
7196
7197 image_window::
7198 image_window(
7199 ) :
7200 gui_img(*this),
7201 window_has_closed(false),
7202 have_last_click(false),
7203 mouse_btn(0),
7204 clicked_signaler(this->wm),
7205 tie_input_events(false)
7206 {
7207
7208 gui_img.set_image_clicked_handler(*this, &image_window::on_image_clicked);
7209 gui_img.disable_overlay_editing();
7210 // show this window on the screen
7211 show();
7212 }
7213
7214// ----------------------------------------------------------------------------------------
7215

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected