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)
73 RGB_Colour operator*(
const float& number)
const;
81 Lab_Colour(
float LValue,
float aValue,
float bValue) :
82 L(LValue), a(aValue), b(bValue)
100 HSV_Colour(
float HValue,
float SValue,
float VValue) :
101 H(HValue), S(SValue), V(VValue)
116 #if defined(_MSC_VER)
117 # pragma warning(pop)