MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / setImage

Method setImage

ImagePlay/src/IPZoomWidget.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void IPZoomWidget::setImage(IPLData *data)
35{
36 _image = dynamic_cast<IPLImage*>(data);
37
38 if(_image)
39 {
40 setVisible(true);
41 update();
42 }
43 else
44 {
45 setVisible(false);
46 }
47}
48
49void IPZoomWidget::setPosition(int x, int y)
50{

Callers 2

updateZoomwidgetMethod · 0.80
resetZoomWidgetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected