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

Go to the documentation of this file.
00001 #ifndef VSlider_h
00002 #define VSlider_h
00003 
00004 #include "vmath.h"
00005 
00007 class VSlider
00008 {
00010         float value;
00012         Vector2<float> begin;
00014         Vector2<float> end;
00016         int offset;
00017         float * alpha;
00018         Vector3<float> color;
00020         Vector2<float> fromPoint;
00021         
00022 public:
00029         VSlider(float,int,int,int,int,float*);
00030         ~VSlider(void);
00031         void render();
00032         bool isInside(int,int);
00033 
00034         void pressed(int,int);
00035         void drag(int,int);
00036         void released(int,int);
00037         
00039         float * getValue();
00041         void setValue(float);
00042 };
00043 
00044 #endif

Generated on Wed Dec 6 11:08:00 2006 for VisLU by  doxygen 1.5.1-p1