MCPcopy Create free account
hub / github.com/audacity/audacity / ForwardEventToEnvelopes

Method ForwardEventToEnvelopes

src/tracks/ui/EnvelopeHandle.cpp:301–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301bool EnvelopeHandle::ForwardEventToEnvelopes
302 (const wxMouseEvent &event, const ViewInfo &viewInfo)
303{
304 /// The Envelope class actually handles things at the mouse
305 /// event level, so we have to forward the events over. Envelope
306 /// will then tell us whether or not we need to redraw.
307
308 // AS: I'm not sure why we can't let the Envelope take care of
309 // redrawing itself. ?
310 return mpEnvelopeEditor && mpEnvelopeEditor->MouseEvent(
311 event, mRect, viewInfo, mLog, mdBRange, mLower, mUpper);
312}

Callers

nothing calls this directly

Calls 1

MouseEventMethod · 0.80

Tested by

no test coverage detected