MCPcopy Create free account
hub / github.com/braitsch/ofxDatGui / onGuiSliderEvent

Method onGuiSliderEvent

example-TimeGraph/src/ofApp.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void ofApp::onGuiSliderEvent(ofxDatGuiSliderEvent e)
55{
56 if (e.target == s1){
57 m1->setFrequency(s1->getValue());
58 } else if (e.target == s2){
59 m1->setAmplitude(s2->getValue());
60 }
61}
62
63void ofApp::onGuiDropdownEvent(ofxDatGuiDropdownEvent e)
64{

Callers

nothing calls this directly

Calls 3

setFrequencyMethod · 0.80
getValueMethod · 0.80
setAmplitudeMethod · 0.80

Tested by

no test coverage detected