OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
color.h File Reference

Definition of windowing system color classes. More...

#include <owl/private/defs.h>
#include <owl/objstrm.h>
#include <owl/wsysinc.h>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

Classes

class  owl::TColor
 Class wrapper for management of color values. More...
 
class  owl::TPaletteEntry
 Wrapper for Windows' PALETTEENTRY type. More...
 
class  owl::TRgbQuad
 Wrapper for Windows' RBGQUAD type. More...
 
class  owl::TRgbTriple
 Wrapper for Windows' RBGTRIPLE type. More...
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

#define HLS(h, l, s)   (static_cast<HLSCOLOR>((static_cast<BYTE>(h)|(static_cast<WORD>(static_cast<BYTE>(l))<<8))|((static_cast<DWORD>(static_cast<BYTE>(s)))<<16)))
 
#define HLS_H(hls)   (static_cast<BYTE>(hls))
 
#define HLS_L(hls)   (static_cast<BYTE>((static_cast<WORD>(hls)) >> 8))
 
#define HLS_S(hls)   (static_cast<BYTE>((hls)>>16))
 
#define CLR_AQUAMARINE   RGB(112, 219, 147)
 
#define CLR_BAKERSCHOC   RGB(92, 51, 23)
 
#define CLR_BLACK   RGB(0, 0, 0)
 
#define CLR_BLUE   RGB(0, 0, 255)
 
#define CLR_BLUEVIOLET   RGB(159, 95, 159)
 
#define CLR_BRIGHTGOLD   RGB(217, 217, 26)
 
#define CLR_BRONZE1   RGB(140, 120, 36)
 
#define CLR_BRONZE2   RGB(166, 125, 61)
 
#define CLR_BROWN   RGB(165, 42, 42)
 
#define CLR_CADETBLUE   RGB(95, 159, 159)
 
#define CLR_CLEAR   RGB(255, 255, 255)
 
#define CLR_COOLCOPPER   RGB(217, 135, 26)
 
#define CLR_COPPER   RGB(184, 115, 51)
 
#define CLR_CORAL   RGB(255, 127, 0)
 
#define CLR_CORNFLOWERBLUE   RGB(66, 66, 111)
 
#define CLR_CYAN   RGB(0, 255, 255)
 
#define CLR_DARKBROWN   RGB(92, 64, 51)
 
#define CLR_DARKGREEN   RGB(47, 79, 47)
 
#define CLR_DARKOLIVEGREEN   RGB(79, 79, 47)
 
#define CLR_DARKORCHID   RGB(153, 50, 204)
 
#define CLR_DARKPURPLE   RGB(135, 31, 120)
 
#define CLR_DARKSLATEBLUE   RGB(107, 35, 142)
 
#define CLR_DARKSLATEGRAY   RGB(47, 79, 79)
 
#define CLR_DARKSLATEGREY   RGB(47, 79, 79)
 
#define CLR_DARKTAN   RGB(150, 105, 79)
 
#define CLR_DARKTURQUOISE   RGB(112, 147, 219)
 
#define CLR_DARKWOOD   RGB(133, 94, 66)
 
#define CLR_DIMGRAY   RGB(84, 84, 84)
 
#define CLR_DIMGREY   RGB(84, 84, 84)
 
#define CLR_DKGREENCOPPER   RGB(74, 117, 110)
 
#define CLR_DUSTYROSE   RGB(133, 99, 99)
 
#define CLR_FELDSPAR   RGB(209, 145, 117)
 
#define CLR_FIREBRICK   RGB(142, 35, 35)
 
#define CLR_FLESH   RGB(245, 204, 176)
 
#define CLR_FORESTGREEN   RGB(35, 142, 35)
 
#define CLR_GOLD   RGB(204, 127, 50)
 
#define CLR_GOLDENROD   RGB(219, 219, 112)
 
#define CLR_GRAY   RGB(192, 192, 192)
 
#define CLR_GRAY05   RGB(13, 13, 13)
 
#define CLR_GRAY10   RGB(26, 26, 26)
 
#define CLR_GRAY15   RGB(38, 38, 38)
 
#define CLR_GRAY20   RGB(51, 51, 51)
 
#define CLR_GRAY25   RGB(64, 64, 64)
 
#define CLR_GRAY30   RGB(77, 77, 77)
 
#define CLR_GRAY35   RGB(89, 89, 89)
 
#define CLR_GRAY40   RGB(102, 102, 102)
 
#define CLR_GRAY45   RGB(115, 115, 115)
 
#define CLR_GRAY50   RGB(128, 128, 128)
 
#define CLR_GRAY55   RGB(140, 140, 140)
 
#define CLR_GRAY60   RGB(153, 153, 153)
 
#define CLR_GRAY65   RGB(166, 166, 166)
 
#define CLR_GRAY70   RGB(178, 178, 178)
 
#define CLR_GRAY75   RGB(191, 191, 191)
 
#define CLR_GRAY80   RGB(204, 204, 204)
 
#define CLR_GRAY85   RGB(217, 217, 217)
 
#define CLR_GRAY90   RGB(229, 229, 229)
 
#define CLR_GRAY95   RGB(242, 242, 242)
 
#define CLR_GREEN   RGB(0, 255, 0)
 
#define CLR_GREENCOPPER   RGB(82, 125, 117)
 
#define CLR_GREENYELLOW   RGB(147, 219, 112)
 
#define CLR_GREY   RGB(192, 192, 192)
 
#define CLR_HUNTERSGREEN   RGB(33, 94, 79)
 
#define CLR_INDIANRED   RGB(79, 47, 47)
 
#define CLR_KHAKI   RGB(159, 159, 95)
 
#define CLR_LIGHTBLUE   RGB(191, 216, 216)
 
#define CLR_LIGHTGRAY   RGB(168, 168, 168)
 
#define CLR_LIGHTGREY   RGB(168, 168, 168)
 
#define CLR_LIGHTSTEELBLUE   RGB(143, 143, 188)
 
#define CLR_LIGHTWOOD   RGB(232, 194, 166)
 
#define CLR_LIMEGREEN   RGB(50, 204, 50)
 
#define CLR_MAGENTA   RGB(255, 0, 255)
 
#define CLR_MANDARINORANGE   RGB(227, 120, 51)
 
#define CLR_MAROON   RGB(142, 35, 107)
 
#define CLR_MEDIUMAQUAMARINE   RGB(50, 204, 153)
 
#define CLR_MEDIUMBLUE   RGB(50, 50, 204)
 
#define CLR_MEDIUMFORESTGREEN   RGB(107, 142, 35)
 
#define CLR_MEDIUMGOLDENROD   RGB(234, 234, 173)
 
#define CLR_MEDIUMORCHID   RGB(147, 112, 219)
 
#define CLR_MEDIUMSEAGREEN   RGB(66, 111, 66)
 
#define CLR_MEDIUMSLATEBLUE   RGB(127, 0, 255)
 
#define CLR_MEDIUMSPRINGGREEN   RGB(127, 255, 0)
 
#define CLR_MEDIUMTURQUOISE   RGB(112, 219, 219)
 
#define CLR_MEDIUMVIOLETRED   RGB(219, 112, 147)
 
#define CLR_MEDIUMWOOD   RGB(166, 128, 99)
 
#define CLR_MICA   RGB(0, 0, 0)
 
#define CLR_MIDNIGHTBLUE   RGB(47, 47, 79)
 
#define CLR_NAVY   RGB(35, 35, 142)
 
#define CLR_NAVYBLUE   RGB(35, 35, 142)
 
#define CLR_NEONBLUE   RGB(77, 77, 255)
 
#define CLR_NEONPINK   RGB(255, 110, 199)
 
#define CLR_NEWMIDNIGHTBLUE   RGB(0, 0, 156)
 
#define CLR_NEWTAN   RGB(235, 199, 158)
 
#define CLR_OFFWHITE   RGB(240, 240, 240)
 
#define CLR_ORANGE   RGB(255, 128, 0)
 
#define CLR_ORANGERED   RGB(255, 0, 127)
 
#define CLR_ORCHID   RGB(219, 112, 219)
 
#define CLR_PALEGREEN   RGB(143, 188, 143)
 
#define CLR_PINK   RGB(188, 143, 143)
 
#define CLR_PLUM   RGB(234, 173, 234)
 
#define CLR_QUARTZ   RGB(217, 217, 242)
 
#define CLR_RED   RGB(255, 0, 0)
 
#define CLR_RICHBLUE   RGB(89, 89, 171)
 
#define CLR_SALMON   RGB(111, 66, 66)
 
#define CLR_SCARLET   RGB(140, 23, 23)
 
#define CLR_SEAGREEN   RGB(35, 142, 107)
 
#define CLR_SEMISWEETCHOC   RGB(107, 66, 38)
 
#define CLR_SIENNA   RGB(142, 107, 35)
 
#define CLR_SILVER   RGB(229, 232, 250)
 
#define CLR_SKYBLUE   RGB(50, 153, 204)
 
#define CLR_SLATEBLUE   RGB(0, 127, 255)
 
#define CLR_SPICYPINK   RGB(255, 28, 173)
 
#define CLR_SPRINGGREEN   RGB(0, 255, 127)
 
#define CLR_STEELBLUE   RGB(35, 107, 142)
 
#define CLR_SUMMERSKY   RGB(56, 176, 222)
 
#define CLR_TAN   RGB(219, 147, 112)
 
#define CLR_THISTLE   RGB(216, 191, 216)
 
#define CLR_TURQUOISE   RGB(173, 234, 234)
 
#define CLR_VERYDARKBROWN   RGB(89, 41, 36)
 
#define CLR_VIOLET   RGB(79, 47, 79)
 
#define CLR_VIOLETRED   RGB(204, 50, 153)
 
#define CLR_VLIGHTGREY   RGB(204, 204, 204)
 
#define CLR_WHEAT   RGB(216, 216, 191)
 
#define CLR_WHITE   RGB(255, 255, 255)
 
#define CLR_YELLOW   RGB(255, 255, 0)
 
#define CLR_YELLOWGREEN   RGB(153, 204, 50)
 

Typedefs

typedef DWORD HLSCOLOR
 

Functions

long owl::NColors (uint16 bitCount)
 Functions to convert number of bits to number of palette colors and back, and build an RGB COLORREF.
 
uint16 owl::NBits (long colors)
 Return the number of bits required to represent a given number of colors.
 
COLORREF owl::MkRGB (uint r, uint g, uint b)
 
owl::ipstreamowl::operator>> (owl::ipstream &is, TColor &c)
 Extract the color value from a persistent input stream.
 
owl::opstreamowl::operator<< (owl::opstream &os, const TColor &c)
 Insert the color value into a persistent output stream.
 

Detailed Description

Definition of windowing system color classes.

Definition in file color.h.

Macro Definition Documentation

◆ CLR_AQUAMARINE

#define CLR_AQUAMARINE   RGB(112, 219, 147)

Definition at line 61 of file color.h.

◆ CLR_BAKERSCHOC

#define CLR_BAKERSCHOC   RGB(92, 51, 23)

Definition at line 64 of file color.h.

◆ CLR_BLACK

#define CLR_BLACK   RGB(0, 0, 0)

Definition at line 65 of file color.h.

◆ CLR_BLUE

#define CLR_BLUE   RGB(0, 0, 255)

Definition at line 66 of file color.h.

◆ CLR_BLUEVIOLET

#define CLR_BLUEVIOLET   RGB(159, 95, 159)

Definition at line 67 of file color.h.

◆ CLR_BRIGHTGOLD

#define CLR_BRIGHTGOLD   RGB(217, 217, 26)

Definition at line 68 of file color.h.

◆ CLR_BRONZE1

#define CLR_BRONZE1   RGB(140, 120, 36)

Definition at line 69 of file color.h.

◆ CLR_BRONZE2

#define CLR_BRONZE2   RGB(166, 125, 61)

Definition at line 70 of file color.h.

◆ CLR_BROWN

#define CLR_BROWN   RGB(165, 42, 42)

Definition at line 71 of file color.h.

◆ CLR_CADETBLUE

#define CLR_CADETBLUE   RGB(95, 159, 159)

Definition at line 74 of file color.h.

◆ CLR_CLEAR

#define CLR_CLEAR   RGB(255, 255, 255)

Definition at line 75 of file color.h.

◆ CLR_COOLCOPPER

#define CLR_COOLCOPPER   RGB(217, 135, 26)

Definition at line 76 of file color.h.

◆ CLR_COPPER

#define CLR_COPPER   RGB(184, 115, 51)

Definition at line 77 of file color.h.

◆ CLR_CORAL

#define CLR_CORAL   RGB(255, 127, 0)

Definition at line 78 of file color.h.

◆ CLR_CORNFLOWERBLUE

#define CLR_CORNFLOWERBLUE   RGB(66, 66, 111)

Definition at line 79 of file color.h.

◆ CLR_CYAN

#define CLR_CYAN   RGB(0, 255, 255)

Definition at line 80 of file color.h.

◆ CLR_DARKBROWN

#define CLR_DARKBROWN   RGB(92, 64, 51)

Definition at line 83 of file color.h.

◆ CLR_DARKGREEN

#define CLR_DARKGREEN   RGB(47, 79, 47)

Definition at line 84 of file color.h.

◆ CLR_DARKOLIVEGREEN

#define CLR_DARKOLIVEGREEN   RGB(79, 79, 47)

Definition at line 85 of file color.h.

◆ CLR_DARKORCHID

#define CLR_DARKORCHID   RGB(153, 50, 204)

Definition at line 86 of file color.h.

◆ CLR_DARKPURPLE

#define CLR_DARKPURPLE   RGB(135, 31, 120)

Definition at line 87 of file color.h.

◆ CLR_DARKSLATEBLUE

#define CLR_DARKSLATEBLUE   RGB(107, 35, 142)

Definition at line 88 of file color.h.

◆ CLR_DARKSLATEGRAY

#define CLR_DARKSLATEGRAY   RGB(47, 79, 79)

Definition at line 89 of file color.h.

◆ CLR_DARKSLATEGREY

#define CLR_DARKSLATEGREY   RGB(47, 79, 79)

Definition at line 90 of file color.h.

◆ CLR_DARKTAN

#define CLR_DARKTAN   RGB(150, 105, 79)

Definition at line 91 of file color.h.

◆ CLR_DARKTURQUOISE

#define CLR_DARKTURQUOISE   RGB(112, 147, 219)

Definition at line 92 of file color.h.

◆ CLR_DARKWOOD

#define CLR_DARKWOOD   RGB(133, 94, 66)

Definition at line 93 of file color.h.

◆ CLR_DIMGRAY

#define CLR_DIMGRAY   RGB(84, 84, 84)

Definition at line 94 of file color.h.

◆ CLR_DIMGREY

#define CLR_DIMGREY   RGB(84, 84, 84)

Definition at line 95 of file color.h.

◆ CLR_DKGREENCOPPER

#define CLR_DKGREENCOPPER   RGB(74, 117, 110)

Definition at line 96 of file color.h.

◆ CLR_DUSTYROSE

#define CLR_DUSTYROSE   RGB(133, 99, 99)

Definition at line 97 of file color.h.

◆ CLR_FELDSPAR

#define CLR_FELDSPAR   RGB(209, 145, 117)

Definition at line 100 of file color.h.

◆ CLR_FIREBRICK

#define CLR_FIREBRICK   RGB(142, 35, 35)

Definition at line 101 of file color.h.

◆ CLR_FLESH

#define CLR_FLESH   RGB(245, 204, 176)

Definition at line 102 of file color.h.

◆ CLR_FORESTGREEN

#define CLR_FORESTGREEN   RGB(35, 142, 35)

Definition at line 103 of file color.h.

◆ CLR_GOLD

#define CLR_GOLD   RGB(204, 127, 50)

Definition at line 106 of file color.h.

◆ CLR_GOLDENROD

#define CLR_GOLDENROD   RGB(219, 219, 112)

Definition at line 107 of file color.h.

◆ CLR_GRAY

#define CLR_GRAY   RGB(192, 192, 192)

Definition at line 108 of file color.h.

◆ CLR_GRAY05

#define CLR_GRAY05   RGB(13, 13, 13)

Definition at line 109 of file color.h.

◆ CLR_GRAY10

#define CLR_GRAY10   RGB(26, 26, 26)

Definition at line 110 of file color.h.

◆ CLR_GRAY15

#define CLR_GRAY15   RGB(38, 38, 38)

Definition at line 111 of file color.h.

◆ CLR_GRAY20

#define CLR_GRAY20   RGB(51, 51, 51)

Definition at line 112 of file color.h.

◆ CLR_GRAY25

#define CLR_GRAY25   RGB(64, 64, 64)

Definition at line 113 of file color.h.

◆ CLR_GRAY30

#define CLR_GRAY30   RGB(77, 77, 77)

Definition at line 114 of file color.h.

◆ CLR_GRAY35

#define CLR_GRAY35   RGB(89, 89, 89)

Definition at line 115 of file color.h.

◆ CLR_GRAY40

#define CLR_GRAY40   RGB(102, 102, 102)

Definition at line 116 of file color.h.

◆ CLR_GRAY45

#define CLR_GRAY45   RGB(115, 115, 115)

Definition at line 117 of file color.h.

◆ CLR_GRAY50

#define CLR_GRAY50   RGB(128, 128, 128)

Definition at line 118 of file color.h.

◆ CLR_GRAY55

#define CLR_GRAY55   RGB(140, 140, 140)

Definition at line 119 of file color.h.

◆ CLR_GRAY60

#define CLR_GRAY60   RGB(153, 153, 153)

Definition at line 120 of file color.h.

◆ CLR_GRAY65

#define CLR_GRAY65   RGB(166, 166, 166)

Definition at line 121 of file color.h.

◆ CLR_GRAY70

#define CLR_GRAY70   RGB(178, 178, 178)

Definition at line 122 of file color.h.

◆ CLR_GRAY75

#define CLR_GRAY75   RGB(191, 191, 191)

Definition at line 123 of file color.h.

◆ CLR_GRAY80

#define CLR_GRAY80   RGB(204, 204, 204)

Definition at line 124 of file color.h.

◆ CLR_GRAY85

#define CLR_GRAY85   RGB(217, 217, 217)

Definition at line 125 of file color.h.

◆ CLR_GRAY90

#define CLR_GRAY90   RGB(229, 229, 229)

Definition at line 126 of file color.h.

◆ CLR_GRAY95

#define CLR_GRAY95   RGB(242, 242, 242)

Definition at line 127 of file color.h.

◆ CLR_GREEN

#define CLR_GREEN   RGB(0, 255, 0)

Definition at line 128 of file color.h.

◆ CLR_GREENCOPPER

#define CLR_GREENCOPPER   RGB(82, 125, 117)

Definition at line 129 of file color.h.

◆ CLR_GREENYELLOW

#define CLR_GREENYELLOW   RGB(147, 219, 112)

Definition at line 130 of file color.h.

◆ CLR_GREY

#define CLR_GREY   RGB(192, 192, 192)

Definition at line 131 of file color.h.

◆ CLR_HUNTERSGREEN

#define CLR_HUNTERSGREEN   RGB(33, 94, 79)

Definition at line 134 of file color.h.

◆ CLR_INDIANRED

#define CLR_INDIANRED   RGB(79, 47, 47)

Definition at line 137 of file color.h.

◆ CLR_KHAKI

#define CLR_KHAKI   RGB(159, 159, 95)

Definition at line 140 of file color.h.

◆ CLR_LIGHTBLUE

#define CLR_LIGHTBLUE   RGB(191, 216, 216)

Definition at line 143 of file color.h.

◆ CLR_LIGHTGRAY

#define CLR_LIGHTGRAY   RGB(168, 168, 168)

Definition at line 144 of file color.h.

◆ CLR_LIGHTGREY

#define CLR_LIGHTGREY   RGB(168, 168, 168)

Definition at line 145 of file color.h.

◆ CLR_LIGHTSTEELBLUE

#define CLR_LIGHTSTEELBLUE   RGB(143, 143, 188)

Definition at line 146 of file color.h.

◆ CLR_LIGHTWOOD

#define CLR_LIGHTWOOD   RGB(232, 194, 166)

Definition at line 147 of file color.h.

◆ CLR_LIMEGREEN

#define CLR_LIMEGREEN   RGB(50, 204, 50)

Definition at line 148 of file color.h.

◆ CLR_MAGENTA

#define CLR_MAGENTA   RGB(255, 0, 255)

Definition at line 151 of file color.h.

◆ CLR_MANDARINORANGE

#define CLR_MANDARINORANGE   RGB(227, 120, 51)

Definition at line 152 of file color.h.

◆ CLR_MAROON

#define CLR_MAROON   RGB(142, 35, 107)

Definition at line 153 of file color.h.

◆ CLR_MEDIUMAQUAMARINE

#define CLR_MEDIUMAQUAMARINE   RGB(50, 204, 153)

Definition at line 154 of file color.h.

◆ CLR_MEDIUMBLUE

#define CLR_MEDIUMBLUE   RGB(50, 50, 204)

Definition at line 155 of file color.h.

◆ CLR_MEDIUMFORESTGREEN

#define CLR_MEDIUMFORESTGREEN   RGB(107, 142, 35)

Definition at line 156 of file color.h.

◆ CLR_MEDIUMGOLDENROD

#define CLR_MEDIUMGOLDENROD   RGB(234, 234, 173)

Definition at line 157 of file color.h.

◆ CLR_MEDIUMORCHID

#define CLR_MEDIUMORCHID   RGB(147, 112, 219)

Definition at line 158 of file color.h.

◆ CLR_MEDIUMSEAGREEN

#define CLR_MEDIUMSEAGREEN   RGB(66, 111, 66)

Definition at line 159 of file color.h.

◆ CLR_MEDIUMSLATEBLUE

#define CLR_MEDIUMSLATEBLUE   RGB(127, 0, 255)

Definition at line 160 of file color.h.

◆ CLR_MEDIUMSPRINGGREEN

#define CLR_MEDIUMSPRINGGREEN   RGB(127, 255, 0)

Definition at line 161 of file color.h.

◆ CLR_MEDIUMTURQUOISE

#define CLR_MEDIUMTURQUOISE   RGB(112, 219, 219)

Definition at line 162 of file color.h.

◆ CLR_MEDIUMVIOLETRED

#define CLR_MEDIUMVIOLETRED   RGB(219, 112, 147)

Definition at line 163 of file color.h.

◆ CLR_MEDIUMWOOD

#define CLR_MEDIUMWOOD   RGB(166, 128, 99)

Definition at line 164 of file color.h.

◆ CLR_MICA

#define CLR_MICA   RGB(0, 0, 0)

Definition at line 165 of file color.h.

◆ CLR_MIDNIGHTBLUE

#define CLR_MIDNIGHTBLUE   RGB(47, 47, 79)

Definition at line 166 of file color.h.

◆ CLR_NAVY

#define CLR_NAVY   RGB(35, 35, 142)

Definition at line 169 of file color.h.

◆ CLR_NAVYBLUE

#define CLR_NAVYBLUE   RGB(35, 35, 142)

Definition at line 170 of file color.h.

◆ CLR_NEONBLUE

#define CLR_NEONBLUE   RGB(77, 77, 255)

Definition at line 171 of file color.h.

◆ CLR_NEONPINK

#define CLR_NEONPINK   RGB(255, 110, 199)

Definition at line 172 of file color.h.

◆ CLR_NEWMIDNIGHTBLUE

#define CLR_NEWMIDNIGHTBLUE   RGB(0, 0, 156)

Definition at line 173 of file color.h.

◆ CLR_NEWTAN

#define CLR_NEWTAN   RGB(235, 199, 158)

Definition at line 174 of file color.h.

◆ CLR_OFFWHITE

#define CLR_OFFWHITE   RGB(240, 240, 240)

Definition at line 177 of file color.h.

◆ CLR_ORANGE

#define CLR_ORANGE   RGB(255, 128, 0)

Definition at line 178 of file color.h.

◆ CLR_ORANGERED

#define CLR_ORANGERED   RGB(255, 0, 127)

Definition at line 179 of file color.h.

◆ CLR_ORCHID

#define CLR_ORCHID   RGB(219, 112, 219)

Definition at line 180 of file color.h.

◆ CLR_PALEGREEN

#define CLR_PALEGREEN   RGB(143, 188, 143)

Definition at line 183 of file color.h.

◆ CLR_PINK

#define CLR_PINK   RGB(188, 143, 143)

Definition at line 184 of file color.h.

◆ CLR_PLUM

#define CLR_PLUM   RGB(234, 173, 234)

Definition at line 185 of file color.h.

◆ CLR_QUARTZ

#define CLR_QUARTZ   RGB(217, 217, 242)

Definition at line 188 of file color.h.

◆ CLR_RED

#define CLR_RED   RGB(255, 0, 0)

Definition at line 191 of file color.h.

◆ CLR_RICHBLUE

#define CLR_RICHBLUE   RGB(89, 89, 171)

Definition at line 192 of file color.h.

◆ CLR_SALMON

#define CLR_SALMON   RGB(111, 66, 66)

Definition at line 195 of file color.h.

◆ CLR_SCARLET

#define CLR_SCARLET   RGB(140, 23, 23)

Definition at line 196 of file color.h.

◆ CLR_SEAGREEN

#define CLR_SEAGREEN   RGB(35, 142, 107)

Definition at line 197 of file color.h.

◆ CLR_SEMISWEETCHOC

#define CLR_SEMISWEETCHOC   RGB(107, 66, 38)

Definition at line 198 of file color.h.

◆ CLR_SIENNA

#define CLR_SIENNA   RGB(142, 107, 35)

Definition at line 199 of file color.h.

◆ CLR_SILVER

#define CLR_SILVER   RGB(229, 232, 250)

Definition at line 200 of file color.h.

◆ CLR_SKYBLUE

#define CLR_SKYBLUE   RGB(50, 153, 204)

Definition at line 201 of file color.h.

◆ CLR_SLATEBLUE

#define CLR_SLATEBLUE   RGB(0, 127, 255)

Definition at line 202 of file color.h.

◆ CLR_SPICYPINK

#define CLR_SPICYPINK   RGB(255, 28, 173)

Definition at line 203 of file color.h.

◆ CLR_SPRINGGREEN

#define CLR_SPRINGGREEN   RGB(0, 255, 127)

Definition at line 204 of file color.h.

◆ CLR_STEELBLUE

#define CLR_STEELBLUE   RGB(35, 107, 142)

Definition at line 205 of file color.h.

◆ CLR_SUMMERSKY

#define CLR_SUMMERSKY   RGB(56, 176, 222)

Definition at line 206 of file color.h.

◆ CLR_TAN

#define CLR_TAN   RGB(219, 147, 112)

Definition at line 209 of file color.h.

◆ CLR_THISTLE

#define CLR_THISTLE   RGB(216, 191, 216)

Definition at line 210 of file color.h.

◆ CLR_TURQUOISE

#define CLR_TURQUOISE   RGB(173, 234, 234)

Definition at line 211 of file color.h.

◆ CLR_VERYDARKBROWN

#define CLR_VERYDARKBROWN   RGB(89, 41, 36)

Definition at line 214 of file color.h.

◆ CLR_VIOLET

#define CLR_VIOLET   RGB(79, 47, 79)

Definition at line 215 of file color.h.

◆ CLR_VIOLETRED

#define CLR_VIOLETRED   RGB(204, 50, 153)

Definition at line 216 of file color.h.

◆ CLR_VLIGHTGREY

#define CLR_VLIGHTGREY   RGB(204, 204, 204)

Definition at line 217 of file color.h.

◆ CLR_WHEAT

#define CLR_WHEAT   RGB(216, 216, 191)

Definition at line 220 of file color.h.

◆ CLR_WHITE

#define CLR_WHITE   RGB(255, 255, 255)

Definition at line 221 of file color.h.

◆ CLR_YELLOW

#define CLR_YELLOW   RGB(255, 255, 0)

Definition at line 224 of file color.h.

◆ CLR_YELLOWGREEN

#define CLR_YELLOWGREEN   RGB(153, 204, 50)

Definition at line 225 of file color.h.

◆ HLS

Definition at line 23 of file color.h.

◆ HLS_H

#define HLS_H ( hls)    (static_cast<BYTE>(hls))

Definition at line 24 of file color.h.

◆ HLS_L

#define HLS_L ( hls)    (static_cast<BYTE>((static_cast<WORD>(hls)) >> 8))

Definition at line 25 of file color.h.

◆ HLS_S

#define HLS_S ( hls)    (static_cast<BYTE>((hls)>>16))

Definition at line 26 of file color.h.

Typedef Documentation

◆ HLSCOLOR

Definition at line 22 of file color.h.