/* color.h - Created by Giampiero Caprino This file is part of Train Director Train Director 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, or (at your option) any later version. Train Director 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 Train Director; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _COLOR_H #define _COLOR_H typedef int grcolor; #ifdef __cplusplus extern "C" { #endif extern grcolor color_white; extern grcolor color_black; extern grcolor color_green; extern grcolor color_yellow; extern grcolor color_red; extern grcolor color_orange; extern grcolor color_brown; extern grcolor color_gray; extern grcolor color_lightgray; extern grcolor color_darkgray; extern grcolor color_blue; extern grcolor color_cyan; #ifdef __cplusplus }; #endif typedef enum { COL_BACKGROUND = 0, COL_TRACK = 1, COL_GRAPHBG = 2, COL_TRAIN1 = 3, COL_TRAIN2 = 4, COL_TRAIN3 = 5, COL_TRAIN4 = 6, MAXFIELDCOL } fieldcolor; #ifdef __cplusplus extern "C" { #endif extern grcolor fieldcolors[MAXFIELDCOL]; #ifdef __cplusplus }; #endif #endif /* _COLOR_H */