! These two lines are just for prototyping the interface with Mri
!  Mri.wcChildren:         Demo
! Mri.geometry:       300x200

*demo.wcChildren:    table
*demo.table.wcConstructor:   CreateTable
*table.wcChildren:    mapmenu, description, run, stop, quit

*table.layout:    mapmenu 0 0 3 ; description 3 0 3 ; run 0 1 2 H; stop 2 1 2 H; quit 4 1 2 H

*table.description.wcClassName:      XmText
*table.description.value:         Map data points to pitches
*table.description.editable:      false
*table.description.editMode:      MULTI_LINE_EDIT
*table.description.wordWrap:      true

*table.mapmenu.wcConstructor:	XmCreateRadioBox
*table.mapmenu.wcChildren:	 map0, map1, map2, map3, map4

*table.mapmenu.map0.wcClassName:  XmToggleButtonGadget
*table.mapmenu.map0.labelString:  Map to Pitch
*table.mapmenu.map0.set:          true
*table.mapmenu.map0.armCallback:  MapToPitchCB, WcSetValueCB(*description.value: Map data points to pitches)

*table.mapmenu.map1.wcClassName:  XmToggleButtonGadget
*table.mapmenu.map1.labelString:  Map to Volume
*table.mapmenu.map1.armCallback:  MapToVolumeCB, WcSetValueCB(*description.value: Map data points to volume)

*table.mapmenu.map2.wcClassName:  XmToggleButtonGadget
*table.mapmenu.map2.labelString:  Map to Timbre
*table.mapmenu.map2.armCallback:  MapToTimbreCB, WcSetValueCB(*description.value: Map data points to note timbre)

*table.mapmenu.map3.wcClassName:  XmToggleButtonGadget
*table.mapmenu.map3.labelString:  Map to Duration
*table.mapmenu.map3.armCallback:  MapToDurationCB, WcSetValueCB(*description.value: Map data points to note duration)

*table.mapmenu.map4.wcClassName:  XmToggleButtonGadget
*table.mapmenu.map4.labelString:  Trigger Alarms
*table.mapmenu.map4.armCallback:  TriggerAlarmsCB, WcSetValueCB(*description.value: Trigger alarms at certain values)

*table.run.wcConstructor:   XmCreatePushButton
*table.run.labelString:     Run
*table.run.activateCallback:     runCB
*table.run.background:           green

*table.stop.wcConstructor:   XmCreatePushButton
*table.stop.labelString:     Stop
*table.stop.activateCallback:     stopCB
*table.stop.background:           red

*table.quit.wcConstructor:   XmCreatePushButton
*table.quit.labelString:     Quit
*table.quit.activateCallback:     WcExitCB
*table.quit.background:     grey

