~ubuntu-branches/ubuntu/oneiric/nux/oneiric

« back to all changes in this revision

Viewing changes to NuxCore/Colors.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-06-22 17:16:16 UTC
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: james.westby@ubuntu.com-20110622171616-49405ntrtnxfcpjj
Tags: upstream-1.0.2
ImportĀ upstreamĀ versionĀ 1.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *
20
20
 */
21
21
 
22
 
 
23
22
#ifndef COLORS_H
24
23
#define COLORS_H
25
24
 
26
 
#include "SystemTypes.h"
 
25
#include "Color.h"
27
26
 
28
27
namespace nux
29
28
{
30
 
  namespace Colors
 
29
  namespace color
31
30
  {
32
 
    //X11 color names from:http://en.wikipedia.org/wiki/Web_colors
33
 
 
34
 
    //Red colors
35
 
    extern const Color      IndianRed           ;//     CD 5C 5C        205 92 92
36
 
    extern const Color      LightCoral          ;//        F0 80 80     240 128 128
37
 
    extern const Color      Salmon              ;//        FA 80 72     250 128 114
38
 
    extern const Color      DarkSalmon          ;//        E9 96 7A     233 150 122
39
 
    extern const Color      LightSalmon         ;//        FF A0 7A     255 160 122
40
 
    extern const Color      Crimson             ;//        DC 14 3C     220 20 60
41
 
    extern const Color      Red                 ;//        FF 00 00     255 0 0
42
 
    extern const Color      FireBrick           ;//        B2 22 22     178 34 34
43
 
    extern const Color      DarkRed             ;//        8B 00 00     139 0 0
44
 
 
45
 
    //Pink colors
46
 
    extern const Color      Pink                ;//        FF C0 CB     255 192 203
47
 
    extern const Color      LightPink           ;//        FF B6 C1     255 182 193
48
 
    extern const Color      HotPink             ;//        FF 69 B4     255 105 180
49
 
    extern const Color      DeepPink            ;//        FF 14 93     255 20 147
50
 
    extern const Color      MediumVioletRed     ;//        C7 15 85     199 21 133
51
 
    extern const Color      PaleVioletRed       ;//        DB 70 93     219 112 147
52
 
 
53
 
    //Orange colors                             ;//
54
 
    //extern const Color      LightSalmon         ;//        FF A0 7A   255 160 122
55
 
    extern const Color      Coral               ;//        FF 7F 50     255 127 80
56
 
    extern const Color      Tomato              ;//        FF 63 47     255 99 71
57
 
    extern const Color      OrangeRed           ;//        FF 45 00     255 69 0
58
 
    extern const Color      DarkOrange          ;//        FF 8C 00     255 140 0
59
 
    extern const Color      Orange              ;//        FF A5 00     255 165 0
60
 
 
61
 
    //Yellow colors                             ;//
62
 
    extern const Color      Gold                ;//        FF D7 00     255 215 0
63
 
    extern const Color      Yellow              ;//        FF FF 00     255 255 0
64
 
    extern const Color      LightYellow         ;//        FF FF E0     255 255 224
65
 
    extern const Color      LemonChiffon        ;//        FF FA CD     255 250 205
66
 
    extern const Color      LightGoldenrodYellow;//         FA FA D2    250 250 210
67
 
    extern const Color      PapayaWhip          ;//        FF EF D5     255 239 213
68
 
    extern const Color      Moccasin            ;//        FF E4 B5     255 228 181
69
 
    extern const Color      PeachPuff           ;//        FF DA B9     255 218 185
70
 
    extern const Color      PaleGoldenrod       ;//        EE E8 AA     238 232 170
71
 
    extern const Color      Khaki               ;//        F0 E6 8C     240 230 140
72
 
    extern const Color      DarkKhaki           ;//        BD B7 6B     189 183 107
73
 
 
74
 
    //Purple colors
75
 
    extern const Color      Lavender            ;//        E6 E6 FA     230 230 250
76
 
    extern const Color      Thistle             ;//        D8 BF D8     216 191 216
77
 
    extern const Color      Plum                ;//        DD A0 DD     221 160 221
78
 
    extern const Color      Violet              ;//        EE 82 EE     238 130 238
79
 
    extern const Color      Orchid              ;//        DA 70 D6     218 112 214
80
 
    extern const Color      Fuchsia             ;//        FF 00 FF     255 0 255
81
 
    extern const Color      Magenta             ;//        FF 00 FF     255 0 255
82
 
    extern const Color      MediumOrchid        ;//        BA 55 D3     186 85 211
83
 
    extern const Color      MediumPurple        ;//        93 70 DB     147 112 219
84
 
    extern const Color      BlueViolet          ;//        8A 2B E2     138 43 226
85
 
    extern const Color      DarkViolet          ;//        94 00 D3     148 0 211
86
 
    extern const Color      DarkOrchid          ;//        99 32 CC     153 50 204
87
 
    extern const Color      DarkMagenta         ;//        8B 00 8B     139 0 139
88
 
    extern const Color      Purple              ;//        80 00 80     128 0 128
89
 
    extern const Color      Indigo              ;//        4B 00 82     75 0 130
90
 
    extern const Color      SlateBlue           ;//        6A 5A CD     106 90 205
91
 
    extern const Color      DarkSlateBlue       ;//        48 3D 8B     72 61 139
92
 
 
93
 
    //Green colors
94
 
    extern const Color      GreenYellow         ;//        AD FF 2F     173 255 47
95
 
    extern const Color      Chartreuse          ;//        7F FF 00     127 255 0
96
 
    extern const Color      LawnGreen           ;//        7C FC 00     124 252 0
97
 
    extern const Color      Lime                ;//        00 FF 00     0 255 0
98
 
    extern const Color      LimeGreen           ;//        32 CD 32     50 205 50
99
 
    extern const Color      PaleGreen           ;//        98 FB 98     152 251 152
100
 
    extern const Color      LightGreen          ;//        90 EE 90     144 238 144
101
 
    extern const Color      MediumSpringGreen   ;//        00 FA 9A     0 250 154
102
 
    extern const Color      SpringGreen         ;//        00 FF 7F     0 255 127
103
 
    extern const Color      MediumSeaGreen      ;//        3C B3 71     60 179 113
104
 
    extern const Color      SeaGreen            ;//        2E 8B 57     46 139 87
105
 
    extern const Color      ForestGreen         ;//        22 8B 22     34 139 34
106
 
    extern const Color      Green               ;//        00 80 00     0 128 0
107
 
    extern const Color      DarkGreen           ;//        00 64 00     0 100 0
108
 
    extern const Color      YellowGreen         ;//        9A CD 32     154 205 50
109
 
    extern const Color      OliveDrab           ;//        6B 8E 23     107 142 35
110
 
    extern const Color      Olive               ;//        80 80 00     128 128 0
111
 
    extern const Color      DarkOliveGreen      ;//        55 6B 2F     85 107 47
112
 
    extern const Color      MediumAquamarine    ;//        66 CD AA     102 205 170
113
 
    extern const Color      DarkSeaGreen        ;//        8F BC 8F     143 188 143
114
 
    extern const Color      LightSeaGreen       ;//        20 B2 AA     32 178 170
115
 
    extern const Color      DarkCyan            ;//        00 8B 8B     0 139 139
116
 
    extern const Color      Teal                ;//        00 80 80     0 128 128
117
 
 
118
 
    //Blue colors                               ;//
119
 
    extern const Color      Aqua                ;//        00 FF FF     0 255 255
120
 
    extern const Color      Cyan                ;//        00 FF FF     0 255 255
121
 
    extern const Color      LightCyan           ;//        E0 FF FF     224 255 255
122
 
    extern const Color      PaleTurquoise       ;//        AF EE EE     175 238 238
123
 
    extern const Color      Aquamarine          ;//        7F FF D4     127 255 212
124
 
    extern const Color      Turquoise           ;//        40 E0 D0     64 224 208
125
 
    extern const Color      MediumTurquoise     ;//        48 D1 CC     72 209 204
126
 
    extern const Color      DarkTurquoise       ;//        00 CE D1     0 206 209
127
 
    extern const Color      CadetBlue           ;//        5F 9E A0     95 158 160
128
 
    extern const Color      SteelBlue           ;//        46 82 B4     70 130 180
129
 
    extern const Color      LightSteelBlue      ;//        B0 C4 DE     176 196 222
130
 
    extern const Color      PowderBlue          ;//        B0 E0 E6     176 224 230
131
 
    extern const Color      LightBlue           ;//        AD D8 E6     173 216 230
132
 
    extern const Color      SkyBlue             ;//        87 CE EB     135 206 235
133
 
    extern const Color      LightSkyBlue        ;//        87 CE FA     135 206 250
134
 
    extern const Color      DeepSkyBlue         ;//        00 BF FF     0 191 255
135
 
    extern const Color      DodgerBlue          ;//        1E 90 FF     30 144 255
136
 
    extern const Color      CornflowerBlue      ;//        64 95 ED     100 149 237
137
 
    extern const Color      MediumSlateBlue     ;//        7B 68 EE     123 104 238
138
 
    extern const Color      RoyalBlue           ;//        41 69 E1     65 105 225
139
 
    extern const Color      Blue                ;//        00 00 FF     0 0 255
140
 
    extern const Color      MediumBlue          ;//        00 00 CD     0 0 205
141
 
    extern const Color      DarkBlue            ;//        00 00 8B     0 0 139
142
 
    extern const Color      Navy                ;//        00 00 80     0 0 128
143
 
    extern const Color      MidnightBlue        ;//        19 19 70     25 25 112
144
 
 
145
 
    //Brown colors                              ;//
146
 
    extern const Color      Cornsilk            ;//        FF F8 DC     255 248 220
147
 
    extern const Color      BlanchedAlmond      ;//        FF EB CD     255 235 205
148
 
    extern const Color      Bisque              ;//        FF E4 C4     255 228 196
149
 
    extern const Color      NavajoWhite         ;//        FF DE AD     255 222 173
150
 
    extern const Color      Wheat               ;//        F5 DE B3     245 222 179
151
 
    extern const Color      BurlyWood           ;//        DE B8 87     222 184 135
152
 
    extern const Color      Tan                 ;//        D2 B4 8C     210 180 140
153
 
    extern const Color      RosyBrown           ;//        BC 8F 8F     188 143 143
154
 
    extern const Color      SandyBrown          ;//        F4 A4 60     244 164 96
155
 
    extern const Color      Goldenrod           ;//        DA A5 20     218 165 32
156
 
    extern const Color      DarkGoldenrod       ;//        B8 86 0B     184 134 11
157
 
    extern const Color      Peru                ;//        CD 85 3F     205 133 63
158
 
    extern const Color      Chocolate           ;//        D2 69 1E     210 105 30
159
 
    extern const Color      SaddleBrown         ;//        8B 45 13     139 69 19
160
 
    extern const Color      Sienna              ;//        A0 52 2D     160 82 45
161
 
    extern const Color      Brown               ;//        A5 2A 2A     165 42 42
162
 
    extern const Color      Maroon              ;//        80 00 00     128 0 0
163
 
 
164
 
    //White colors                              ;//
165
 
    extern const Color      White               ;//        FF FF FF     255 255 255
166
 
    extern const Color      Snow                ;//        FF FA FA     255 250 250
167
 
    extern const Color      Honeydew            ;//        F0 FF F0     240 255 240
168
 
    extern const Color      MintCream           ;//        F5 FF FA     245 255 250
169
 
    extern const Color      Azure               ;//        F0 FF FF     240 255 255
170
 
    extern const Color      AliceBlue           ;//        F0 F8 FF     240 248 255
171
 
    extern const Color      GhostWhite          ;//        F8 F8 FF     248 248 255
172
 
    extern const Color      WhiteSmoke          ;//        F5 F5 F5     245 245 245
173
 
    extern const Color      Seashell            ;//        FF F5 EE     255 245 238
174
 
    extern const Color      Beige               ;//        F5 F5 DC     245 245 220
175
 
    extern const Color      OldLace             ;//        FD F5 E6     253 245 230
176
 
    extern const Color      FloralWhite         ;//        FF FA F0     255 250 240
177
 
    extern const Color      Ivory               ;//        FF FF F0     255 255 240
178
 
    extern const Color      AntiqueWhite        ;//        FA EB D7     250 235 215
179
 
    extern const Color      Linen               ;//        FA F0 E6     250 240 230
180
 
    extern const Color      LavenderBlush       ;//        FF F0 F5     255 240 245
181
 
    extern const Color      MistyRose           ;//        FF E4 E1     255 228 225
182
 
 
183
 
    //Grey colors                               ;//
184
 
    extern const Color      Gainsboro           ;//        DC DC DC     220 220 220
185
 
    extern const Color      LightGrey           ;//        D3 D3 D3     211 211 211
186
 
    extern const Color      Silver              ;//        C0 C0 C0     192 192 192
187
 
    extern const Color      DarkGray            ;//        A9 A9 A9     169 169 169
188
 
    extern const Color      Gray                ;//        80 80 80     128 128 128
189
 
    extern const Color      DimGray             ;//        69 69 69     105 105 105
190
 
    extern const Color      LightSlateGray      ;//        77 88 99     119 136 153
191
 
    extern const Color      SlateGray           ;//        70 80 90     112 128 144
192
 
    extern const Color      DarkSlateGray       ;//        2F 4F 4F     47 79 79
193
 
    extern const Color      Black               ;//        00 00 00     0 0 0
 
31
    // X11 color names from:http://en.wikipedia.org/wiki/Web_colors
 
32
    extern const Color Transparent;
 
33
 
 
34
    // Red colors
 
35
    extern const Color IndianRed;
 
36
    extern const Color LightCoral;
 
37
    extern const Color Salmon;
 
38
    extern const Color DarkSalmon;
 
39
    extern const Color LightSalmon;
 
40
    extern const Color Crimson;
 
41
    extern const Color Red;
 
42
    extern const Color FireBrick;
 
43
    extern const Color DarkRed;
 
44
 
 
45
    // Pink colors
 
46
    extern const Color Pink;
 
47
    extern const Color LightPink;
 
48
    extern const Color HotPink;
 
49
    extern const Color DeepPink;
 
50
    extern const Color MediumVioletRed;
 
51
    extern const Color PaleVioletRed;
 
52
 
 
53
    // Orange colors
 
54
    extern const Color Coral;
 
55
    extern const Color Tomato;
 
56
    extern const Color OrangeRed;
 
57
    extern const Color DarkOrange;
 
58
    extern const Color Orange;
 
59
 
 
60
    // Yellow colors
 
61
    extern const Color Gold;
 
62
    extern const Color Yellow;
 
63
    extern const Color LightYellow;
 
64
    extern const Color LemonChiffon;
 
65
    extern const Color LightGoldenrodYellow;
 
66
    extern const Color PapayaWhip;
 
67
    extern const Color Moccasin;
 
68
    extern const Color PeachPuff;
 
69
    extern const Color PaleGoldenrod;
 
70
    extern const Color Khaki;
 
71
    extern const Color DarkKhaki;
 
72
 
 
73
    // Purple colors
 
74
    extern const Color Lavender;
 
75
    extern const Color Thistle;
 
76
    extern const Color Plum;
 
77
    extern const Color Violet;
 
78
    extern const Color Orchid;
 
79
    extern const Color Fuchsia;
 
80
    extern const Color Magenta;
 
81
    extern const Color MediumOrchid;
 
82
    extern const Color MediumPurple;
 
83
    extern const Color BlueViolet;
 
84
    extern const Color DarkViolet;
 
85
    extern const Color DarkOrchid;
 
86
    extern const Color DarkMagenta;
 
87
    extern const Color Purple;
 
88
    extern const Color Indigo;
 
89
    extern const Color SlateBlue;
 
90
    extern const Color DarkSlateBlue;
 
91
 
 
92
    // Green colors
 
93
    extern const Color GreenYellow;
 
94
    extern const Color Chartreuse;
 
95
    extern const Color LawnGreen;
 
96
    extern const Color Lime;
 
97
    extern const Color LimeGreen;
 
98
    extern const Color PaleGreen;
 
99
    extern const Color LightGreen;
 
100
    extern const Color MediumSpringGreen;
 
101
    extern const Color SpringGreen;
 
102
    extern const Color MediumSeaGreen;
 
103
    extern const Color SeaGreen;
 
104
    extern const Color ForestGreen;
 
105
    extern const Color Green;
 
106
    extern const Color DarkGreen;
 
107
    extern const Color YellowGreen;
 
108
    extern const Color OliveDrab;
 
109
    extern const Color Olive;
 
110
    extern const Color DarkOliveGreen;
 
111
    extern const Color MediumAquamarine;
 
112
    extern const Color DarkSeaGreen;
 
113
    extern const Color LightSeaGreen;
 
114
    extern const Color DarkCyan;
 
115
    extern const Color Teal;
 
116
 
 
117
    // Blue colors
 
118
    extern const Color Aqua;
 
119
    extern const Color Cyan;
 
120
    extern const Color LightCyan;
 
121
    extern const Color PaleTurquoise;
 
122
    extern const Color Aquamarine;
 
123
    extern const Color Turquoise;
 
124
    extern const Color MediumTurquoise;
 
125
    extern const Color DarkTurquoise;
 
126
    extern const Color CadetBlue;
 
127
    extern const Color SteelBlue;
 
128
    extern const Color LightSteelBlue;
 
129
    extern const Color PowderBlue;
 
130
    extern const Color LightBlue;
 
131
    extern const Color SkyBlue;
 
132
    extern const Color LightSkyBlue;
 
133
    extern const Color DeepSkyBlue;
 
134
    extern const Color DodgerBlue;
 
135
    extern const Color CornflowerBlue;
 
136
    extern const Color MediumSlateBlue;
 
137
    extern const Color RoyalBlue;
 
138
    extern const Color Blue;
 
139
    extern const Color MediumBlue;
 
140
    extern const Color DarkBlue;
 
141
    extern const Color Navy;
 
142
    extern const Color MidnightBlue;
 
143
 
 
144
    // Brown colors
 
145
    extern const Color Cornsilk;
 
146
    extern const Color BlanchedAlmond;
 
147
    extern const Color Bisque;
 
148
    extern const Color NavajoWhite;
 
149
    extern const Color Wheat;
 
150
    extern const Color BurlyWood;
 
151
    extern const Color Tan;
 
152
    extern const Color RosyBrown;
 
153
    extern const Color SandyBrown;
 
154
    extern const Color Goldenrod;
 
155
    extern const Color DarkGoldenrod;
 
156
    extern const Color Peru;
 
157
    extern const Color Chocolate;
 
158
    extern const Color SaddleBrown;
 
159
    extern const Color Sienna;
 
160
    extern const Color Brown;
 
161
    extern const Color Maroon;
 
162
 
 
163
    // White colors
 
164
    extern const Color      White;
 
165
    extern const Color Snow;
 
166
    extern const Color Honeydew;
 
167
    extern const Color MintCream;
 
168
    extern const Color Azure;
 
169
    extern const Color AliceBlue;
 
170
    extern const Color GhostWhite;
 
171
    extern const Color WhiteSmoke;
 
172
    extern const Color Seashell;
 
173
    extern const Color Beige;
 
174
    extern const Color OldLace;
 
175
    extern const Color FloralWhite;
 
176
    extern const Color Ivory;
 
177
    extern const Color AntiqueWhite;
 
178
    extern const Color Linen;
 
179
    extern const Color LavenderBlush;
 
180
    extern const Color MistyRose;
 
181
 
 
182
    // Grey colors
 
183
    extern const Color Gainsboro;
 
184
    extern const Color LightGrey;
 
185
    extern const Color Silver;
 
186
    extern const Color DarkGray;
 
187
    extern const Color Gray;
 
188
    extern const Color DimGray;
 
189
    extern const Color LightSlateGray;
 
190
    extern const Color SlateGray;
 
191
    extern const Color DarkSlateGray;
 
192
    extern const Color Black;
194
193
 
195
194
    // More Colors
196
 
    extern const Color      Aubergine           ;//        2B 0B 30     43 11 48
 
195
    extern const Color Aubergine;
197
196
  }
198
197
}
199
198