# data file for the Fltk User Interface Designer (fluid) version 1.0104 header_name {.h} code_name {.cxx} Function {make_window()} {open } { Fl_Window {} { label {Random List Generator} xywh {147 48 683 533} type Double code0 {\#include "listmain.h"} code1 {\#include } visible } { Fl_Box {} { xywh {5 5 670 455} box PLASTIC_DOWN_FRAME } Fl_Browser students { label Students callback {sel_student();} xywh {15 15 315 300} type Hold labeltype ENGRAVED_LABEL class Fl_Hold_Browser } Fl_Input student_data { label Student xywh {110 335 220 30} box PLASTIC_DOWN_BOX } Fl_Button asb { label Add callback {add_student();} xywh {110 370 65 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Button msb { label Modify callback {mod_student();} xywh {180 370 70 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Button dsb { label Delete callback {del_student();} xywh {255 370 75 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Input student_file { label {Student File} xywh {110 415 120 30} box PLASTIC_DOWN_BOX } Fl_Button lsb { label Load callback {load_student_file();} xywh {235 415 45 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Browser teachers { label Teachers callback {sel_teacher();} xywh {350 15 315 300} type Hold labeltype ENGRAVED_LABEL class Fl_Hold_Browser } Fl_Input teacher_data { label Teacher xywh {445 335 220 30} box PLASTIC_DOWN_BOX } Fl_Button atb { label Add callback {add_teacher();} xywh {445 370 70 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Button mtb { label Modify callback {mod_teacher();} xywh {520 370 65 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Button dtb { label Delete callback {del_teacher();} xywh {590 370 75 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Input html_name { label {Output file} xywh {105 475 130 30} box PLASTIC_DOWN_BOX } Fl_Input activity_name { label {Title of activity} xywh {350 475 175 30} box PLASTIC_DOWN_BOX } Fl_Button generate { label {Make Groups!} callback {generate_html();} xywh {545 475 125 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX labeltype EMBOSSED_LABEL } Fl_Button ssb { label Save callback {save_student_file();} xywh {285 415 45 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Input teacher_file { label {Teacher File} xywh {445 420 120 30} box PLASTIC_DOWN_BOX } Fl_Button ltb { label Load callback {load_teacher_file();} xywh {570 420 45 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } Fl_Button stb { label Save callback {save_teacher_file();} xywh {620 420 45 30} box PLASTIC_UP_BOX down_box PLASTIC_DOWN_BOX } } code {teacher_file->value("teachers.txt"); student_file->value("students.txt"); html_name->value("groups.html"); load_teacher_file(); load_student_file();} {selected } }