1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
|
/*
colors.h
For Tux Paint
List of colors
Copyright (c) 2002-2022 by Bill Kendrick and others
bill@newbreedsoftware.com
https://tuxpaint.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - December 11, 2022
$Id$
*/
#ifndef COLORS_H
#define COLORS_H
/* What colors are available: */
enum
{
COLOR_BLACK,
COLOR_DARKGREY,
COLOR_LIGHTGREY,
COLOR_WHITE,
COLOR_RED,
COLOR_ORANGE,
COLOR_YELLOW,
COLOR_LIGHTGREEN,
COLOR_DARKGREEN,
COLOR_SKYBLUE,
COLOR_BLUE,
COLOR_LAVENDER,
COLOR_PURPLE,
COLOR_PINK,
COLOR_BROWN,
COLOR_TAN,
COLOR_BEIGE,
NUM_DEFAULT_COLORS
};
/* Hex codes: */
const int default_color_hexes[NUM_DEFAULT_COLORS][3] = {
{0, 0, 0}, /* Black */
{128, 128, 128}, /* Dark grey */
{192, 192, 192}, /* Light grey */
{255, 255, 255}, /* White */
{255, 0, 0}, /* Red */
{255, 128, 0}, /* Orange */
{255, 255, 0}, /* Yellow */
{160, 228, 128}, /* Light green */
{33, 148, 70}, /* Dark green */
{138, 168, 205}, /* Sky blue */
{50, 100, 255}, /* Blue */
{186, 157, 255}, /* Lavender */
{128, 0, 128}, /* Purple */
{255, 165, 211}, /* Pink */
{128, 80, 0}, /* Brown */
{226, 189, 166}, /* Tan */
{247, 228, 219} /* Beige */
};
/* Color names: */
const char *const default_color_names[NUM_DEFAULT_COLORS] = {
// Response to Black (0, 0, 0) color selected
gettext_noop("Black!"),
// Response to Dark grey (128, 128, 128) color selected
gettext_noop("Dark grey! Some people spell it “dark gray”."),
// Response to Light grey (192, 192, 192) color selected
gettext_noop("Light grey! Some people spell it “light gray”."),
// Response to White (255, 255, 255) color selected
gettext_noop("White!"),
// Response to Red (255, 0, 0) color selected
gettext_noop("Red!"),
// Response to Orange (255, 128, 0) color selected
gettext_noop("Orange!"),
// Response to Yellow (255, 255, 0) color selected
gettext_noop("Yellow!"),
// Response to Light green (160, 228, 128) color selected
gettext_noop("Light green!"),
// Response to Dark green (33, 148, 70) color selected
gettext_noop("Dark green!"),
// Response to "Sky" blue (138, 168, 205) color selected
gettext_noop("Sky blue!"),
// Response to Blue (50, 100, 255) color selected
gettext_noop("Blue!"),
// Response to Lavender (186, 157, 255) color selected
gettext_noop("Lavender!"),
// Response to Purple (128, 0, 128) color selected
gettext_noop("Purple!"),
// Response to Pink (255, 165, 211) color selected
gettext_noop("Pink!"),
// Response to Brown (128, 80, 0) color selected
gettext_noop("Brown!"),
// Response to Tan (226, 189, 166) color selected
gettext_noop("Tan!"),
// Response to Beige (247, 228, 219) color selected
gettext_noop("Beige!")
};
char colorfile[256];
#endif /* COLORS_H */
|