Vuo
2.0.0
type
inputEditor
VuoInputEditorWave
VuoInputEditorWave.cc
Go to the documentation of this file.
1
10
#include "
VuoInputEditorWave.hh
"
11
12
extern
"C"
13
{
14
#include "
VuoWave.h
"
15
}
16
17
#include "
VuoInputEditorCurveRenderer.hh
"
18
22
VuoInputEditor
*
VuoInputEditorWaveFactory::newInputEditor
()
23
{
24
return
new
VuoInputEditorWave
();
25
}
26
30
VuoInputEditorMenuItem
*
VuoInputEditorWave::setUpMenuTree
()
31
{
32
VuoInputEditorMenuItem
*waveTree =
new
VuoInputEditorMenuItem
(
"root"
);
33
34
waveTree->
addItem
(
new
VuoInputEditorMenuItem
(
VuoWave_getSummary
(VuoWave_Sine),
VuoWave_getJson
(VuoWave_Sine),
renderMenuIconWithWave
(VuoWave_Sine,
isInterfaceDark
())));
35
waveTree->
addItem
(
new
VuoInputEditorMenuItem
(
VuoWave_getSummary
(VuoWave_Triangle),
VuoWave_getJson
(VuoWave_Triangle),
renderMenuIconWithWave
(VuoWave_Triangle,
isInterfaceDark
())));
36
waveTree->
addItem
(
new
VuoInputEditorMenuItem
(
VuoWave_getSummary
(VuoWave_Sawtooth),
VuoWave_getJson
(VuoWave_Sawtooth),
renderMenuIconWithWave
(VuoWave_Sawtooth,
isInterfaceDark
())));
37
38
return
waveTree;
39
}
Generated on Tue Oct 22 2019 18:07:55 for Vuo by
1.8.16