30 #ifndef CEGUI_COLOUR_PICKER_TYPES_H
31 #define CEGUI_COLOUR_PICKER_TYPES_H
33 #include "CEGUI/CommonDialogs/Module.h"
34 #include "CEGUI/Window.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
45 enum ColourPickerSliderMode
47 ColourPickerSliderMode_L,
48 ColourPickerSliderMode_A,
49 ColourPickerSliderMode_B
52 class CEGUI_COMMONDIALOGS_API Lab_Colour;
53 class CEGUI_COMMONDIALOGS_API RGB_Colour;
54 class CEGUI_COMMONDIALOGS_API HSV_Colour;
60 RGB_Colour(
unsigned char red,
unsigned char green,
unsigned char blue) :
61 r(red), g(green), b(blue)
65 r(0.0f), g(0.0f), b(0.0f)
76 RGB_Colour operator*(
const float& number)
const;
84 Lab_Colour(
float LValue,
float aValue,
float bValue) :
85 L(LValue), a(aValue), b(bValue)
89 L(0.0f), a(0.0f), b(0.0f)
106 HSV_Colour(
float HValue,
float SValue,
float VValue) :
107 H(HValue), S(SValue), V(VValue)
111 H(0.0f), S(0.0f), V(0.0f)
125 #if defined(_MSC_VER)
126 # pragma warning(pop)