tuxpaint-pencil-sharpener/src/colors.h
William Kendrick 21ea42f38f Attempting to debug/fix SDL_Pango stuff.
Added icon for Kalidescope magic tool.
Added Canada map starter.
Added Japan map starter.
Improved comments near gettext() calls to improve POT and PO files.
Regenerated PO files and POT file.
Added .cvsignore to make sure tp_magic_api.h (which is generated) isn't noticed.
2007-07-17 18:41:16 +00:00

139 lines
3.4 KiB
C

/*
colors.h
For Tux Paint
List of colors
Copyright (c) 2002-2007 by Bill Kendrick and others
bill@newbreedsoftware.com
http://www.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 - July 17, 2007
$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 */