MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / MouseReleased

Method MouseReleased

Source/UIGrid.cpp:356–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void UIGrid::MouseReleased()
357{
358 if (mClick && mMomentary)
359 {
360 float oldValue = mData[GetDataIndex(mHoldCol, mHoldRow)];
361 mData[GetDataIndex(mHoldCol, mHoldRow)] = 0;
362 mListener->GridUpdated(this, mHoldCol, mHoldRow, 0, oldValue);
363 }
364
365 mClick = false;
366}
367
368bool UIGrid::MouseMoved(float x, float y)
369{

Callers

nothing calls this directly

Calls 1

GridUpdatedMethod · 0.45

Tested by

no test coverage detected