/* Form definition file generated with fdesign. */

#include "forms.h"
#include "controlpanel.h"

FD_QuickCam *create_form_QuickCam(void)
{
  FL_OBJECT *obj;
  FD_QuickCam *fdui = fl_calloc(1, sizeof(FD_QuickCam));

  fdui->QuickCam = fl_bgn_form(FL_NO_BOX, 380, 220);
  obj = fl_add_box(FL_UP_BOX,0,0,380,220,"");
  fdui->Brightness = obj = fl_add_valslider(FL_VERT_NICE_SLIDER,10,20,30,190,"Brightness");
    fl_set_object_callback(obj,Slider,0);
  fdui->WhiteBal = obj = fl_add_valslider(FL_VERT_NICE_SLIDER,70,20,30,190,"White Balance");
    fl_set_object_callback(obj,Slider,1);
  fdui->Contrast = obj = fl_add_valslider(FL_VERT_NICE_SLIDER,130,20,30,190,"Contrast");
    fl_set_object_callback(obj,Slider,2);
  fdui->Quit = obj = fl_add_button(FL_NORMAL_BUTTON,280,180,80,20,"Quit");
    fl_set_object_callback(obj,Quit,0);
  fl_bgn_group();
  obj = fl_add_box(FL_UP_BOX,170,120,90,80,"Picture Size");
    fl_set_object_lalign(obj,FL_ALIGN_TOP);
  fdui->HiRes = obj = fl_add_checkbutton(FL_RADIO_BUTTON,180,170,70,20,"320x240");
    fl_set_object_callback(obj,Radio,0);
  fdui->ResLo = obj = fl_add_checkbutton(FL_RADIO_BUTTON,180,130,70,20,"80x60");
    fl_set_object_callback(obj,Radio,2);
  fdui->ResMed = obj = fl_add_checkbutton(FL_RADIO_BUTTON,180,150,70,20,"160x120");
    fl_set_object_callback(obj,Radio,1);
  fl_end_group();
  fl_bgn_group();
  obj = fl_add_box(FL_UP_BOX,180,40,80,60,"BPP");
    fl_set_object_lalign(obj,FL_ALIGN_TOP);
  fdui->Bpp6 = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,70,50,20,"6 Bpp");
    fl_set_object_callback(obj,Radio,3);
  fdui->Bpp4 = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,50,50,20,"4 Bpp");
    fl_set_object_callback(obj,Radio,4);
  fl_end_group();
  fdui->TakePicture = obj = fl_add_button(FL_NORMAL_BUTTON,180,10,80,20,"Take Picture");
    fl_set_object_callback(obj,TakePic,0);
  fl_end_form();

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

