caimagehueselector.h

00001 #ifndef CAIMAGEHUESELECTOR_H
00002 #define CAIMAGEHUESELECTOR_H
00003 
00004 #include <ClanLib/core.h>
00005 #include "caimageview.h"
00006 
00007 
00008 
00013 class CAImageHueSelector : public CAImageView  {
00014 public:
00015     CAImageHueSelector( Direction vertical=Horizontal );
00016     CAImageHueSelector( const char* upperText,
00017                         const char* lowerText,
00018                         CL_Surface* image,
00019                         bool autoResize=true,
00020                         Direction vertical=Horizontal );
00021     ~CAImageHueSelector();
00022 
00023     void setImageSize( int w, int h );
00024     void changeImageHue( bool forward );
00026     int  getHue() {
00027         return hue;
00028     }
00029 
00030     virtual void display( bool active=true );
00031     virtual void handleKey( const CL_Key &key );
00032 
00033 private:
00035 
00036     CL_Surface* hueImage;
00038     int hue;
00039 };
00040 
00041 #endif

Generated on Tue Nov 28 06:48:28 2006 by  doxygen 1.5.0