Eigene Dateien/uni/visualisierung/vislu/bsp1/VisLu/GUIelement.h

Go to the documentation of this file.
00001 #ifndef GUIelement_h
00002 #define GUIelement_h
00003 
00013 class GUIelement {
00014 
00015 protected:
00016     bool active;
00017         bool blend;
00018         int * wwidth;
00019         int * wheight;
00020         int width;
00021         int height;
00022         unsigned int * fps;
00023         float alpha;
00024         int x;
00025         int y;
00026 
00027 public:
00033     GUIelement(int*,int*,unsigned int*);
00034 
00039     virtual void motion(int,int); //passive motion
00044         virtual void pressed(int,int); //mouse button pressed
00049         virtual void released(int,int); //mouse button released
00054         virtual void drag(int,int); //active motion
00060         virtual bool isInside(int,int);
00063         virtual void render();
00067     bool isActive();
00070     void setActive(bool);
00074         bool isBlend();
00077         void setBlend(bool);
00078 };
00079 
00080 #endif

Generated on Wed Dec 6 11:07:59 2006 for VisLU by  doxygen 1.5.1-p1