Vuo  2.1.2
VuoInputEditorSizingMode.cc
Go to the documentation of this file.
1 
11 
12 extern "C"
13 {
14  #include "VuoSizingMode.h"
15 }
16 
18 
23 {
24  return new VuoInputEditorSizingMode();
25 }
26 
31 {
32  VuoInputEditorMenuItem *optionsTree = new VuoInputEditorMenuItem("root");
33 
34  for (int i = 0; i < VuoSizingMode_Proportional + 1; ++i)
35  {
36  json_object *optionAsJson = VuoSizingMode_getJson( (VuoSizingMode)i );
37  char *optionSummary = VuoSizingMode_getSummary( (VuoSizingMode)i );
39  free(optionSummary);
40  optionsTree->addItem(optionItem);
41  }
42 
43  return optionsTree;
44 }