MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / image

Method image

server/fltk/src/Fl_Widget.cxx:314–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314void Fl_Widget::image(Fl_Image* img) {
315 if (image_bound()) {
316 if (label_.image && (label_.image != img)) {
317 label_.image->release();
318 }
319 bind_image(0);
320 }
321 label_.image = img;
322}
323
324void Fl_Widget::image(Fl_Image& img) {
325 image(&img);

Callers 10

labelMethod · 0.45
Fl_File_ChooserMethod · 0.45
draw_clipMethod · 0.45
update_previewMethod · 0.45
hideMethod · 0.45
labelMethod · 0.45
reload_schemeMethod · 0.45
Fl_MessageMethod · 0.45
labelMethod · 0.45

Calls 4

image_boundFunction · 0.85
bind_imageFunction · 0.85
imageFunction · 0.50
releaseMethod · 0.45

Tested by

no test coverage detected