File: mp_conf.h

package info (click to toggle)
mped 3.3.17-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,288 kB
  • ctags: 1,635
  • sloc: ansic: 13,150; sh: 393; makefile: 232; perl: 66
file content (71 lines) | stat: -rw-r--r-- 1,884 bytes parent folder | download
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
/*

    mp_conf.h

    Configuration file.

    mp - Programmer Text Editor

    Copyright (C) 1991-2005 Angel Ortega <angel@triptico.com>

    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.

    http://www.triptico.com

*/

extern char _mpc_home[1024];
extern char _mpc_config_file[1024];
extern mp_txt * _menu_info;

#define MP_COLOR_NORMAL 	0
#define MP_COLOR_SELECTED	1
#define MP_COLOR_COMMENT	2
#define MP_COLOR_STRING 	3
#define MP_COLOR_TOKEN		4
#define MP_COLOR_VAR		5
#define MP_COLOR_CURSOR 	6
#define MP_COLOR_CAPS		7
#define MP_COLOR_LOCAL		8
#define MP_COLOR_BRACKET	9
#define MP_COLOR_MISSPELLED	10

#define MP_COLOR_TEXT_TITLE	11
#define MP_COLOR_TEXT_MENU_ELEM 12
#define MP_COLOR_TEXT_MENU_SEL	13
#define MP_COLOR_TEXT_FRAME1	14
#define MP_COLOR_TEXT_FRAME2	15
#define MP_COLOR_TEXT_SCROLLBAR 16
#define MP_COLOR_TEXT_SCR_THUMB 17

#define MP_COLOR_PRIVATE	MP_COLOR_TEXT_TITLE
#define MP_COLOR_NUM		MP_COLOR_TEXT_SCR_THUMB+1

struct _mpc_color_desc
{
	unsigned int ink_rgb;
	unsigned int paper_rgb;
	int ink_text;
	int paper_text;
	int italic;
	int underline;
	int reverse;
	int bright;
	char * colorname;
};

extern struct _mpc_color_desc mpc_color_desc[MP_COLOR_NUM];

void mpc_startup(void);