/* Form definition file generated with fdesign. */ #include "forms.h" #include #include "encode.h" FD_MP3encoder *create_form_MP3encoder(void) { FL_OBJECT *obj; FD_MP3encoder *fdui = (FD_MP3encoder *) fl_calloc(1, sizeof(*fdui)); fdui->MP3encoder = fl_bgn_form(FL_NO_BOX, 510, 140); obj = fl_add_box(FL_UP_BOX,0,0,510,140,""); fl_set_object_color(obj,FL_TOMATO,FL_COL1); fdui->exitButton = obj = fl_add_button(FL_NORMAL_BUTTON,400,20,100,100,"Exit"); fl_set_object_color(obj,FL_DARKGOLD,FL_CHARTREUSE); fl_set_object_callback(obj,exitcb,0); fdui->fileIn = obj = fl_add_input(FL_NORMAL_INPUT,200,20,170,40,"Input File"); fl_set_object_color(obj,FL_BLACK,FL_WHITE); fl_set_object_callback(obj,fileIncb,0); fdui->fileOut = obj = fl_add_input(FL_NORMAL_INPUT,200,80,170,40,"Output File"); fl_set_object_color(obj,FL_BLACK,FL_WHITE); fl_set_object_callback(obj,fileOutcb,0); fdui->goButton = obj = fl_add_button(FL_NORMAL_BUTTON,10,20,100,100,"Go"); fl_set_object_color(obj,FL_DARKGOLD,FL_CHARTREUSE); fl_set_object_callback(obj,gocb,0); fl_end_form(); fdui->MP3encoder->fdui = fdui; return fdui; } /*---------------------------------------*/