+*/
+
+ // user interface ----------- Edited by Haisheng WANG for Faustine, 16/09/2013.
+ else if (isBoxButton(box, label)) fout << "button";
+ else if (isBoxCheckbox(box, label)) fout << "checkbox";
+ else if (isBoxVSlider(box, label, cur, min, max, step)) {
+ fout << "vslider";
+ }
+ else if (isBoxHSlider(box, label, cur, min, max, step)) {
+ fout << "hslider";
+ }
+ else if (isBoxVGroup(box, label, t1)) {
+ fout << "vgroup";
+ }
+ else if (isBoxHGroup(box, label, t1)) {
+ fout << "hgroup";
+ }
+ else if (isBoxTGroup(box, label, t1)) {
+ fout << "tgroup";
+ }
+ else if (isBoxHBargraph(box, label, min, max)) {
+ fout << "hbargraph";
+ }
+ else if (isBoxVBargraph(box, label, min, max)) {
+ fout << "vbargraph";
+ }
+ else if (isBoxNumEntry(box, label, cur, min, max, step)) {
+ fout << "nentry";
+ }
+ // end user interface
+