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

Method DrawModule

Source/PSMoveController.cpp:130–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void PSMoveController::DrawModule()
131{
132 if (Minimized() || IsVisible() == false)
133 return;
134 mVibronomeCheckbox->Draw();
135 mConnectButton->Draw();
136 mOffsetSlider->Draw();
137 mPitchSlider->Draw();
138 mYawSlider->Draw();
139 mRollSlider->Draw();
140 mEnergySlider->Draw();
141 mBindPitch->Draw();
142 mBindYaw->Draw();
143 mBindRoll->Draw();
144 mBindEnergy->Draw();
145
146
147 DrawTextNormal("b: " + ofToString(mMoveMgr.GetBattery(0), 1), 80, 14);
148}
149
150void PSMoveController::CheckboxUpdated(Checkbox* checkbox, double time)
151{

Callers

nothing calls this directly

Calls 4

DrawTextNormalFunction · 0.85
ofToStringFunction · 0.85
GetBatteryMethod · 0.80
DrawMethod · 0.45

Tested by

no test coverage detected