Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00031
00032 #pragma once
00033
00034 #include "color_hsv.h"
00035
00036
00037
00042 class CL_ColorHSLi : public CL_ColorHSLx<int>
00043 {
00044 public:
00045 CL_ColorHSLi() : CL_ColorHSLx<int>() {}
00046 CL_ColorHSLi(int h, int s, int l, int a) : CL_ColorHSLx<int>(h,s,l,a) {}
00047 CL_ColorHSLi(const CL_ColorHSLx<int> ©) : CL_ColorHSLx<int>(copy) {}
00048 CL_ColorHSLi(const CL_Color &color) : CL_ColorHSLx<int>(color) {}
00049 CL_ColorHSLi(const CL_Colorf &color): CL_ColorHSLx<int>(color) {}
00050 CL_ColorHSLi(const CL_Colord &color) : CL_ColorHSLx<int>(color) {}
00051
00052 operator CL_Color();
00053
00054 };
00055
00060 class CL_ColorHSLf : public CL_ColorHSLx<float>
00061 {
00062 public:
00063 CL_ColorHSLf() : CL_ColorHSLx<float>() {}
00064 CL_ColorHSLf(float h, float s, float l, float a) : CL_ColorHSLx<float>(h,s,l,a) {}
00065 CL_ColorHSLf(const CL_ColorHSLx<float> ©) : CL_ColorHSLx<float>(copy) {}
00066 CL_ColorHSLf(const CL_Color &color) : CL_ColorHSLx<float>(color) {}
00067 CL_ColorHSLf(const CL_Colorf &color): CL_ColorHSLx<float>(color) {}
00068 CL_ColorHSLf(const CL_Colord &color) : CL_ColorHSLx<float>(color) {}
00069
00070 operator CL_Colorf();
00071
00072 };
00073
00078 class CL_ColorHSLd : public CL_ColorHSLx<double>
00079 {
00080 public:
00081 CL_ColorHSLd() : CL_ColorHSLx<double>() {}
00082 CL_ColorHSLd(double h, double s, double l, double a) : CL_ColorHSLx<double>(h,s,l,a) {}
00083 CL_ColorHSLd(const CL_ColorHSLx<double> ©) : CL_ColorHSLx<double>(copy) {}
00084 CL_ColorHSLd(const CL_Color &color) : CL_ColorHSLx<double>(color) {}
00085 CL_ColorHSLd(const CL_Colorf &color): CL_ColorHSLx<double>(color) {}
00086 CL_ColorHSLd(const CL_Colord &color) : CL_ColorHSLx<double>(color) {}
00087
00088 operator CL_Colord();
00089
00090 };
00091
00093