/* Form definition file generated with fdesign. */

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

FD_mixer_ad1848 *create_form_mixer_ad1848(void)
{
  FL_OBJECT *obj;
  FD_mixer_ad1848 *fdui = (FD_mixer_ad1848 *) fl_calloc(1, sizeof(*fdui));

  fdui->mixer_ad1848 = fl_bgn_form(FL_NO_BOX, 280, 330);
  obj = fl_add_box(FL_UP_BOX,0,0,280,330,"");
  obj = fl_add_box(FL_DOWN_BOX,10,10,260,310,"");
    fl_set_object_resize(obj, FL_RESIZE_NONE);
  fdui->inl = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,20,20,30,270,"Input\nleft");
    fl_set_object_callback(obj,update_ad1848,0);
    fl_set_slider_bounds(obj, 42.50, 0.00);
    fl_set_slider_value(obj, 10.00);
  fdui->inr = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,60,20,30,270,"Input\nright");
    fl_set_object_callback(obj,update_ad1848,0);
    fl_set_slider_bounds(obj, 42.50, 0.00);
    fl_set_slider_value(obj, 10.00);
  fdui->outl = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,100,20,30,270,"Output\nleft");
    fl_set_object_callback(obj,update_ad1848,0);
    fl_set_slider_bounds(obj, 0.00, -100.00);
    fl_set_slider_value(obj, -10.00);
  fdui->outr = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,140,20,30,270,"Output\nright");
    fl_set_object_callback(obj,update_ad1848,0);
    fl_set_slider_bounds(obj, 0.00, -100.00);
    fl_set_slider_value(obj, -10.00);
  fdui->quit = obj = fl_add_button(FL_NORMAL_BUTTON,180,280,80,30,"Quit");
    fl_set_object_callback(obj,cb_quit,0);

  fdui->ad1848_srcr = fl_bgn_group();
  obj = fl_add_box(FL_DOWN_BOX,180,150,80,120,"");
  fdui->srcr_line = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,180,60,20,"Line");
    fl_set_object_callback(obj,update_ad1848,0);
  fdui->srcr_aux1 = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,200,60,20,"Aux1");
    fl_set_object_callback(obj,update_ad1848,0);
  fdui->srcr_mic = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,220,60,20,"Mic");
    fl_set_object_callback(obj,update_ad1848,0);
  fdui->srcr_dac = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,240,60,20,"DAC");
    fl_set_object_callback(obj,update_ad1848,0);
  obj = fl_add_text(FL_NORMAL_TEXT,190,160,60,20,"Right source");
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_NORMAL_STYLE+FL_ENGRAVED_STYLE);
  fl_end_group();


  fdui->ad1848_srcl = fl_bgn_group();
  obj = fl_add_box(FL_DOWN_BOX,180,20,80,120,"");
  obj = fl_add_text(FL_NORMAL_TEXT,190,30,60,20,"Left source");
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_NORMAL_STYLE+FL_ENGRAVED_STYLE);
  fdui->srcl_line = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,50,60,20,"Line");
    fl_set_object_callback(obj,update_ad1848,0);
  fdui->srcl_aux1 = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,70,60,20,"Aux1");
    fl_set_object_callback(obj,update_ad1848,0);
  fdui->srcl_mic = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,90,60,20,"Mic");
    fl_set_object_callback(obj,update_ad1848,0);
  fdui->srcl_dac = obj = fl_add_checkbutton(FL_RADIO_BUTTON,190,110,60,20,"DAC");
    fl_set_object_callback(obj,update_ad1848,0);
  fl_end_group();

  fl_end_form();
  fdui->mixer_ad1848->fdui = fdui;

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

FD_mixer_ct1335 *create_form_mixer_ct1335(void)
{
  FL_OBJECT *obj;
  FD_mixer_ct1335 *fdui = (FD_mixer_ct1335 *) fl_calloc(1, sizeof(*fdui));

  fdui->mixer_ct1335 = fl_bgn_form(FL_NO_BOX, 70, 360);
  obj = fl_add_box(FL_UP_BOX,0,0,70,360,"");
  obj = fl_add_box(FL_DOWN_BOX,10,10,50,340,"");
    fl_set_object_resize(obj, FL_RESIZE_NONE);
  fdui->out = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,20,20,30,270,"Output");
    fl_set_object_callback(obj,update_ct1335,0);
    fl_set_slider_bounds(obj, 0.00, -46.00);
    fl_set_slider_value(obj, 0.00);
  fdui->quit = obj = fl_add_button(FL_NORMAL_BUTTON,20,310,30,30,"Quit");
    fl_set_object_callback(obj,cb_quit,0);
  fl_end_form();

  fdui->mixer_ct1335->fdui = fdui;

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

FD_mixer_ct1345 *create_form_mixer_ct1345(void)
{
  FL_OBJECT *obj;
  FD_mixer_ct1345 *fdui = (FD_mixer_ct1345 *) fl_calloc(1, sizeof(*fdui));

  fdui->mixer_ct1345 = fl_bgn_form(FL_NO_BOX, 190, 330);
  obj = fl_add_box(FL_UP_BOX,0,0,190,330,"");
    fl_set_object_resize(obj, FL_RESIZE_NONE);
  obj = fl_add_box(FL_DOWN_BOX,10,10,170,310,"");
    fl_set_object_resize(obj, FL_RESIZE_NONE);
  fdui->outl = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,20,20,30,270,"Output\nleft");
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,update_ct1345,0);
    fl_set_slider_bounds(obj, 0.00, -46.00);
    fl_set_slider_value(obj, 0.00);
  fdui->outr = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,60,20,30,270,"Output\nright");
    fl_set_object_resize(obj, FL_RESIZE_NONE);
    fl_set_object_callback(obj,update_ct1345,0);
    fl_set_slider_bounds(obj, 0.00, -46.00);
    fl_set_slider_value(obj, 0.00);
  fdui->quit = obj = fl_add_button(FL_NORMAL_BUTTON,100,280,70,30,"Quit");
    fl_set_object_callback(obj,cb_quit,0);

  fdui->ct1345_src = fl_bgn_group();
  obj = fl_add_box(FL_DOWN_BOX,100,20,70,100,"");
  fdui->src_mic = obj = fl_add_checkbutton(FL_RADIO_BUTTON,110,50,50,20,"Mic");
    fl_set_object_callback(obj,update_ct1345,0);
  fdui->src_cd = obj = fl_add_checkbutton(FL_RADIO_BUTTON,110,70,50,20,"CD");
    fl_set_object_callback(obj,update_ct1345,0);
  fdui->src_line = obj = fl_add_checkbutton(FL_RADIO_BUTTON,110,90,50,20,"Line");
    fl_set_object_callback(obj,update_ct1345,0);
  obj = fl_add_text(FL_NORMAL_TEXT,110,30,50,20,"Source");
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_NORMAL_STYLE+FL_ENGRAVED_STYLE);
  fl_end_group();

  fl_end_form();
  fdui->mixer_ct1345->fdui = fdui;

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

FD_mixer_ct1745 *create_form_mixer_ct1745(void)
{
  FL_OBJECT *obj;
  FD_mixer_ct1745 *fdui = (FD_mixer_ct1745 *) fl_calloc(1, sizeof(*fdui));

  fdui->mixer_ct1745 = fl_bgn_form(FL_NO_BOX, 410, 330);
  obj = fl_add_box(FL_UP_BOX,0,0,410,330,"");
  obj = fl_add_box(FL_DOWN_BOX,10,10,390,310,"");
    fl_set_object_resize(obj, FL_RESIZE_NONE);
  fdui->inl = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,20,20,30,270,"Input\nleft");
    fl_set_object_callback(obj,update_ct1745,0);
    fl_set_slider_bounds(obj, 0.00, -62.00);
    fl_set_slider_value(obj, -30.00);
  fdui->inr = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,60,20,30,270,"Input\nright");
    fl_set_object_callback(obj,update_ct1745,0);
    fl_set_slider_bounds(obj, 0.00, -62.00);
    fl_set_slider_value(obj, -30.00);
  fdui->outl = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,100,20,30,270,"Output\nleft");
    fl_set_object_callback(obj,update_ct1745,0);
    fl_set_slider_bounds(obj, 0.00, -62.00);
    fl_set_slider_value(obj, -30.00);
  fdui->outr = obj = fl_add_valslider(FL_VERT_FILL_SLIDER,140,20,30,270,"Output\nright");
    fl_set_object_callback(obj,update_ct1745,0);
    fl_set_slider_bounds(obj, 0.00, -62.00);
    fl_set_slider_value(obj, -30.00);
  fdui->quit = obj = fl_add_button(FL_NORMAL_BUTTON,180,280,210,30,"Quit");
    fl_set_object_callback(obj,cb_quit,0);
  fdui->treble = obj = fl_add_valslider(FL_HOR_FILL_SLIDER,180,210,210,20,"Treble");
    fl_set_object_callback(obj,update_ct1745,0);
    fl_set_slider_bounds(obj, -8.00, 7.00);
    fl_set_slider_value(obj, 0.00);
  fdui->bass = obj = fl_add_valslider(FL_HOR_FILL_SLIDER,180,250,210,20,"Bass");
    fl_set_object_callback(obj,update_ct1745,0);
    fl_set_slider_bounds(obj, -8.00, 7.00);
    fl_set_slider_value(obj, 0.00);

  fdui->ct1745_srcl = fl_bgn_group();
  obj = fl_add_box(FL_DOWN_BOX,180,20,100,180,"");
  obj = fl_add_text(FL_NORMAL_TEXT,191,29,67,18,"Left source");
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_NORMAL_STYLE+FL_ENGRAVED_STYLE);
  fdui->srcl_mic = obj = fl_add_checkbutton(FL_PUSH_BUTTON,190,50,80,20,"Mic");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcl_cdl = obj = fl_add_checkbutton(FL_PUSH_BUTTON,190,70,80,20,"CD left");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcl_cdr = obj = fl_add_checkbutton(FL_PUSH_BUTTON,190,90,80,20,"CD right");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcl_linel = obj = fl_add_checkbutton(FL_PUSH_BUTTON,190,110,80,20,"Line left");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcl_midil = obj = fl_add_checkbutton(FL_PUSH_BUTTON,190,150,80,20,"MIDI left");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcl_midir = obj = fl_add_checkbutton(FL_PUSH_BUTTON,190,170,80,20,"MIDI right");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcl_liner = obj = fl_add_checkbutton(FL_PUSH_BUTTON,190,130,80,20,"Line right");
    fl_set_object_callback(obj,update_ct1745,0);
  fl_end_group();


  fdui->ct1745_srcr = fl_bgn_group();
  obj = fl_add_box(FL_DOWN_BOX,290,20,100,180,"");
  obj = fl_add_text(FL_NORMAL_TEXT,301,29,67,18,"Right source");
    fl_set_object_lalign(obj,FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
    fl_set_object_lstyle(obj,FL_NORMAL_STYLE+FL_ENGRAVED_STYLE);
  fdui->srcr_mic = obj = fl_add_checkbutton(FL_PUSH_BUTTON,300,50,80,20,"Mic");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcr_cdl = obj = fl_add_checkbutton(FL_PUSH_BUTTON,300,70,80,20,"CD left");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcr_cdr = obj = fl_add_checkbutton(FL_PUSH_BUTTON,300,90,80,20,"CD right");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcr_linel = obj = fl_add_checkbutton(FL_PUSH_BUTTON,300,110,80,20,"Line left");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcr_midil = obj = fl_add_checkbutton(FL_PUSH_BUTTON,300,150,80,20,"MIDI left");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcr_midir = obj = fl_add_checkbutton(FL_PUSH_BUTTON,300,170,80,20,"MIDI right");
    fl_set_object_callback(obj,update_ct1745,0);
  fdui->srcr_liner = obj = fl_add_checkbutton(FL_PUSH_BUTTON,300,130,80,20,"Line right");
    fl_set_object_callback(obj,update_ct1745,0);
  fl_end_group();

  fl_end_form();
  fdui->mixer_ct1745->fdui = fdui;

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

