00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _flexGUI_h_
00019 #define _flexGUI_h_
00020
00021 #include <stdio.h>
00022 #include <FL/Fl.H>
00023 #include <FL/Fl_Box.H>
00024 #include <FL/Fl_Double_Window.H>
00025
00026 #include <Fl/Fl_Image.H>
00027
00038 class FlexGUI : public Fl_Double_Window
00039 {
00040 private:
00041 unsigned int width;
00042 unsigned int height;
00043 Fl_Box *m_bMain;
00044 Fl_RGB_Image *m_image;
00045 public:
00053 FlexGUI(unsigned int w, unsigned int h, const char *l=0);
00057 void show_gui();
00068 bool image_show(unsigned char *image, unsigned int w, unsigned int h, unsigned int channel);
00069 };
00070
00071
00072 #endif