29 #ifndef CEGUI_COLOUR_PICKER_TYPES_H
30 #define CEGUI_COLOUR_PICKER_TYPES_H
32 #include "CEGUI/CommonDialogs/Module.h"
33 #include "CEGUI/Window.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
44 enum ColourPickerSliderMode
46 ColourPickerSliderMode_L,
47 ColourPickerSliderMode_A,
48 ColourPickerSliderMode_B
51 class CEGUI_COMMONDIALOGS_API Lab_Colour;
52 class CEGUI_COMMONDIALOGS_API RGB_Colour;
53 class CEGUI_COMMONDIALOGS_API HSV_Colour;
59 RGB_Colour(
unsigned char red,
unsigned char green,
unsigned char blue) :
60 r(red), g(green), b(blue)
75 RGB_Colour operator*(
const float& number)
const;
83 Lab_Colour(
float LValue,
float aValue,
float bValue) :
84 L(LValue), a(aValue), b(bValue)
88 L(0.0f), a(0.0f), b(0.0f)
105 HSV_Colour(
float HValue,
float SValue,
float VValue) :
106 H(HValue), S(SValue), V(VValue)
110 H(0.0f), S(0.0f), V(0.0f)
124 #if defined(_MSC_VER)
125 # pragma warning(pop)