1 /*
2     colours.h
3 
4     Copyright (C) 2010-2019 Amf
5 
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10 
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20 
21 #define COLOURS_DEFAULT "chroma-standard.chroma"
22 
23 #define COLOURS_TRANSLATE 1
24 
25 struct colours
26 {
27     char *title;
28 
29     char character[PIECE_MAX];
30     int foreground[PIECE_MAX];
31     int background[PIECE_MAX];
32     int bold[PIECE_MAX];
33     int reverse[PIECE_MAX];
34     int flags;
35 };
36 
37 void colours_init();
38 struct colours* colours_load(char *filename, int partial);
39 void colours_delete(struct colours*);
40 struct menu* colours_menu();
41 
42 
43