00001 #ifndef COLOUR_PICKER_H 00002 #define COLOUR_PICKER_H 00003 00004 #include "utility.h" 00005 00006 #include "BasicObjects.h" 00007 #include "Colours.h" 00008 00009 using namespace Colours; 00017 class ColourPicker 00018 { 00019 public: 00020 static void initColourPickerTexture(); 00021 static void refreshColourPickerTexture(int windowID); 00022 static Lab_Colour getColourPickerPositionColour(float x, float y); 00023 00024 static GLuint colourPickerTextureID; 00025 00026 static int colourPickerHeight; 00027 static int colourPickerWidth; 00028 00029 00030 static RGBA_Colour* colourPickerTextureData; 00031 00032 static int colourPickerOffsetX; 00033 00034 static float colourPickerSliderValue; 00035 00036 static ColourPickerSliderMode g_iColourPickerLabSwitchMode; 00037 }; 00038 00039 #endif