/* Form definition file generated with fdesign. */

#include "forms.h"
#include <stdlib.h>
#include "setup.h"

FD_flags *create_form_flags(void)
{
  FL_OBJECT *obj;
  FD_flags *fdui = (FD_flags *) fl_calloc(1, sizeof(*fdui));

  fdui->flags = fl_bgn_form(FL_NO_BOX, 390, 355);
  obj = fl_add_box(FL_FLAT_BOX,0,0,390,355,"");
  fdui->browser = obj = fl_add_browser(FL_HOLD_BROWSER,15,15,275,260,"");
    fl_set_object_callback(obj,set_cb,(long)25);
  fdui->input = obj = fl_add_input(FL_NORMAL_INPUT,15,315,90,30,"");
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_lstyle(obj,FL_TIMES_STYLE);
    fl_set_object_callback(obj,set_cb,(long)20);
  fdui->status = obj = fl_add_text(FL_NORMAL_TEXT,15,290,360,20,"");
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_TIMESITALIC_STYLE);
  fdui->stat = obj = fl_add_lightbutton(FL_PUSH_BUTTON,300,250,70,25,"on");
    fl_set_object_color(obj,FL_RED,FL_GREEN);
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_lstyle(obj,FL_FIXED_STYLE);
    fl_set_object_callback(obj,set_cb,(long)22);
  fl_end_form();

  fdui->flags->fdui = fdui;

  return fdui;
}
/*---------------------------------------*/

FD_setup *create_form_setup(void)
{
  FL_OBJECT *obj;
  FD_setup *fdui = (FD_setup *) fl_calloc(1, sizeof(*fdui));

  fdui->setup = fl_bgn_form(FL_NO_BOX, 415, 410);
  obj = fl_add_box(FL_UP_BOX,0,0,415,410,"");
  fdui->folder = obj = fl_add_tabfolder(FL_TOP_TABFOLDER,10,10,395,385,"");
    fl_set_object_lcolor(obj,FL_BLUE);
  fdui->done = obj = fl_add_button(FL_NORMAL_BUTTON,363,11,40,20,"Done");
    fl_set_button_shortcut(obj,"#D#d",1);
    fl_set_object_lcolor(obj,FL_BLUE);
    fl_set_object_callback(obj,set_cb,0);
  fl_end_form();

  fdui->setup->fdui = fdui;

  return fdui;
}
/*---------------------------------------*/

FD_strings *create_form_strings(void)
{
  FL_OBJECT *obj;
  FD_strings *fdui = (FD_strings *) fl_calloc(1, sizeof(*fdui));

  fdui->strings = fl_bgn_form(FL_NO_BOX, 390, 355);
  obj = fl_add_box(FL_FLAT_BOX,0,0,390,355,"");
  fdui->browser = obj = fl_add_browser(FL_HOLD_BROWSER,15,15,275,260,"");
    fl_set_object_callback(obj,set_cb,(long)15);
  fdui->input = obj = fl_add_input(FL_NORMAL_INPUT,15,315,350,30,"");
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_lstyle(obj,FL_TIMES_STYLE);
    fl_set_object_callback(obj,set_cb,(long)10);
  fdui->status = obj = fl_add_text(FL_NORMAL_TEXT,15,290,360,20,"");
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_TIMESITALIC_STYLE);
  fdui->clear = obj = fl_add_button(FL_NORMAL_BUTTON,305,245,65,30,"Clear input");
    fl_set_object_lcolor(obj,FL_BLUE);
    fl_set_object_callback(obj,set_cb,(long)11);
  fl_end_form();

  fdui->strings->fdui = fdui;

  return fdui;
}
/*---------------------------------------*/

FD_numbers *create_form_numbers(void)
{
  FL_OBJECT *obj;
  FD_numbers *fdui = (FD_numbers *) fl_calloc(1, sizeof(*fdui));

  fdui->numbers = fl_bgn_form(FL_NO_BOX, 390, 355);
  obj = fl_add_box(FL_FLAT_BOX,0,0,390,355,"");
  fdui->browser = obj = fl_add_browser(FL_HOLD_BROWSER,15,15,275,260,"");
    fl_set_object_callback(obj,set_cb,(long)35);
  fdui->input = obj = fl_add_input(FL_INT_INPUT,15,315,90,30,"");
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_lstyle(obj,FL_TIMES_STYLE);
    fl_set_object_callback(obj,set_cb,(long)30);
  fdui->status = obj = fl_add_text(FL_NORMAL_TEXT,10,290,285,20,"");
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_TIMESITALIC_STYLE);
  fdui->counter = obj = fl_add_counter(FL_NORMAL_COUNTER,110,320,170,20,"");
    fl_set_object_boxtype(obj,FL_FRAME_BOX);
    fl_set_object_color(obj,FL_COL1,FL_BLACK);
    fl_set_object_lcolor(obj,FL_BLUE);
    fl_set_object_callback(obj,set_cb,(long)31);
    fl_set_counter_value(obj, 8.5);
  fdui->ok = obj = fl_add_button(FL_NORMAL_BUTTON,280,320,20,20,"@square");
    fl_set_object_boxtype(obj,FL_FRAME_BOX);
    fl_set_object_callback(obj,set_cb,(long)32);
  fl_end_form();

  fdui->numbers->fdui = fdui;

  return fdui;
}
/*---------------------------------------*/

