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

Method DrawModule

Source/LoopStorer.cpp:101–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void LoopStorer::DrawModule()
102{
103 if (Minimized() || IsVisible() == false)
104 return;
105
106 mRewriteToSelectionCheckbox->Draw();
107 mQuantizationDropdown->Draw();
108 mClearButton->Draw();
109
110 mSwapMutex.lock();
111 mLoadMutex.lock();
112 assert(mSamples[0]->mBuffer != mSamples[1]->mBuffer);
113 for (int i = 0; i < mSamples.size(); ++i)
114 mSamples[i]->Draw();
115 assert(mSamples[0]->mBuffer != mSamples[1]->mBuffer);
116 mLoadMutex.unlock();
117 mSwapMutex.unlock();
118}
119
120void LoopStorer::PostRepatch(PatchCableSource* cableSource, bool fromUserClick)
121{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
DrawMethod · 0.45

Tested by

no test coverage detected