MCPcopy Create free account
hub / github.com/DISTRHO/DPF / onMouse

Method onMouse

dgl/src/ImageBaseWidgets.cpp:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98template <class ImageType>
99bool ImageBaseAboutWindow<ImageType>::onMouse(const MouseEvent& ev)
100{
101 if (ev.press)
102 {
103 close();
104 return true;
105 }
106
107 return false;
108}
109
110// --------------------------------------------------------------------------------------------------------------------
111

Callers

nothing calls this directly

Calls 12

mouseEventFunction · 0.85
d_isEqualFunction · 0.85
d_isNotZeroFunction · 0.85
containsFunction · 0.85
imageSwitchClickedMethod · 0.80
closeFunction · 0.50
onMouseFunction · 0.50
repaintFunction · 0.50
getScaleFactorMethod · 0.45
containsMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected