inc/flexGUI.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2007 - Nastasi Christian
00003 This program is free software; you can redistribute it and/or
00004 modify it under the terms of the GNU General Public License
00005 as published by the Free Software Foundation; either version 2
00006 of the License, or (at your option) any later version.
00007 
00008 This program is distributed in the hope that it will be useful,
00009 but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 GNU General Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License
00014 along with this program; if not, write to the Free Software
00015 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
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

Generated on Wed Apr 23 00:11:08 2008 for Flex CAM Serial by  doxygen 1.5.4