/* Form definition file generated with fdesign. */

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

FD_main_form *create_form_main_form(void)
{
  FL_OBJECT *obj;
  FD_main_form *fdui = (FD_main_form *) fl_calloc(1, sizeof(*fdui));

  fdui->main_form = fl_bgn_form(FL_NO_BOX, 475, 455);
  fdui->main_box = obj = fl_add_box(FL_UP_BOX,0,0,475,455,"");
  fdui->browser = obj = fl_add_browser(FL_HOLD_BROWSER,10,155,455,260,"");
    fl_set_object_lsize(obj,FL_MEDIUM_SIZE);
    fl_set_object_lstyle(obj,FL_TIMES_STYLE);
    fl_set_object_gravity(obj, FL_West, FL_NoGravity);
  obj = fl_add_frame(FL_ENGRAVED_FRAME,10,10,455,140,"");
    fl_set_object_gravity(obj, FL_West, FL_East);
  obj = fl_add_clock(FL_DIGITAL_CLOCK,410,15,50,20,"");
    fl_set_object_boxtype(obj,FL_FLAT_BOX);
    fl_set_object_color(obj,FL_COL1,FL_BLACK);
    fl_set_object_gravity(obj, FL_East, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
  fdui->main_input = obj = fl_add_input(FL_NORMAL_INPUT,10,420,455,25,"");
    fl_set_object_lsize(obj,FL_NORMAL_SIZE);
    fl_set_object_gravity(obj, FL_West, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_X);
    fl_set_object_callback(obj,main_input_cb,0);
  fdui->FwdHist = obj = fl_add_button(FL_HIDDEN_BUTTON,465,440,10,10,"");
    fl_set_button_shortcut(obj,"&A",1);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,History_cb,(long)0);
  fdui->HistRew = obj = fl_add_button(FL_HIDDEN_BUTTON,465,430,10,10,"");
    fl_set_button_shortcut(obj,"&B",1);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,History_cb,(long)1);

  fdui->button_grp = fl_bgn_group();
  fdui->servers = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON,15,15,40,40,"");
    fl_set_object_lalign(obj,FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE);
    fl_set_object_gravity(obj, FL_West, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,main_cb,(long)0);
  fdui->newwin = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON,55,15,40,40,"");
    fl_set_object_lalign(obj,FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE);
    fl_set_object_gravity(obj, FL_West, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,main_cb,(long)1);
  fdui->quit = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON,420,105,40,40,"");
    fl_set_object_lalign(obj,FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE);
    fl_set_object_gravity(obj, FL_East, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,main_cb,(long)4);
  fdui->setup = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON,340,105,40,40,"");
    fl_set_object_lalign(obj,FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE);
    fl_set_object_gravity(obj, FL_East, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,main_cb,(long)2);
  fl_end_group();

  fdui->uguide = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON,380,105,40,40,"");
    fl_set_button_shortcut(obj,"&1",1);
    fl_set_object_lalign(obj,FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE);
    fl_set_object_gravity(obj, FL_East, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,main_cb,(long)3);
  fdui->script = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON,300,105,40,40,"");
    fl_set_object_lalign(obj,FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE);
    fl_set_object_gravity(obj, FL_East, FL_NoGravity);
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,main_cb,(long)5);
  fl_end_form();

  fdui->main_form->fdui = fdui;

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

