00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _CAMERA_AREA_H
00021 #define _CAMERA_AREA_H
00022
00023 #include <host/color.h>
00024 #include <FL/Fl.H>
00025 #include <FL/Fl_Box.H>
00026 #include <FL/Fl_Window.H>
00027 #include <FL/Fl_Tabs.H>
00028 #include <FL/Fl_Double_Window.H>
00029 #include <types.h>
00030 #define OOMRM_STATIC static
00031 using namespace std;
00032
00033 class Camera_Window;
00034
00035 class Camera_Area : public Fl_Box
00036 {
00037 public:
00038 Camera_Area(int x,int y,int w,int h);
00039 OOMRM_STATIC void initialize(void);
00040 static int W;
00041 static int H;
00042
00043 void new_display();
00045 void resize(int,int,int,int);
00047 int refresh(void);
00048 OOMRM_STATIC void paste(const char* const);
00049 OOMRM_STATIC void Refresh(void);
00050 OOMRM_STATIC bool Resize(void);
00051 private:
00052 void draw();
00053 int handle(int);
00054 OOMRM_STATIC bool _dirty;
00055 uint8* Pbuffer;
00056
00057 protected:
00058 };
00059
00060 #endif