// generated by Fast Light User Interface Designer (fluid) version 1.00

#ifndef ImprovUI_h
#define ImprovUI_h
#include "CamImage.h"
#include "ImprovMain.h"
#include "ProcImage.h"
#include <FL/Fl.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Check_Button.H>   
#include <FL/Fl_Light_Button.H>
#include <FL/Fl_Output.H>
#include <FL/Fl_Value_Slider.H>




extern void set_window_cb(Fl_Check_Button*, void*);
extern void load_cfg_cb(Fl_Button*, void*);
extern void param_cb(Fl_Value_Slider*, void*);
extern void quit_cb(Fl_Button*, void*);
extern void enlarge_cb(Fl_Light_Button*, void*);
extern void help_cb(Fl_Light_Button*, void*);
extern void about_cb(Fl_Light_Button*, void*);
extern void save_cfg_cb(Fl_Button*, void*);
extern void save_img_cb(Fl_Button*, void*);
extern void stop_cb(Fl_Light_Button*, void*);

#ifndef _max
#define MAX_WINDOWS 5
# endif


class ImprovUI {
public:
  ImprovUI(int no_of_windows, IPL_CONFIG *ipl_config);
  Fl_Double_Window *main_window;
  Fl_Box *image_box;
  CamImage *image1;
  ProcImage *image2[MAX_WINDOWS];
  
  Fl_Light_Button *button_autobrightness;
  Fl_Light_Button *button_enlarge;
  Fl_Light_Button *button_stop;
  Fl_Button *button_save_img;
  Fl_Button *button_about;
  Fl_Button *button_help;
  Fl_Button *button_save_cfg;
  Fl_Button *button_load_cfg;
  Fl_Button *button_quit;
  Fl_Box *box_title;
  Fl_Box *box_subtitle;
  Fl_Value_Slider *p5;
  Fl_Value_Slider *p4;
  Fl_Value_Slider *p6;
  Fl_Value_Slider *p1;
  Fl_Value_Slider *p2;
  Fl_Value_Slider *p3;
  Fl_Output *text_info;
  Fl_Box *dimensions;
  Fl_Box *rate;
  Fl_Box *bpp;
  Fl_Box *rate_change;
  Fl_Check_Button *window2;
  Fl_Check_Button *window4;
  Fl_Check_Button *window6;
  void show();
  };

#endif




