Also, add other social media accounts to list of places to announce Tux Paint in RELEASE docs. Also, list a ton more options missing from default example config file "src/tuxpaint.conf"
139 lines
3.7 KiB
C
139 lines
3.7 KiB
C
/*
|
|
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 */
|