Skip to content
Snippets Groups Projects
Commit f472f24c authored by rswindell's avatar rswindell
Browse files

Define the index positions in the (still undocumented) console.color_list[]

array. These correlate with the lines in ctrl/attr.cfg and are used for
setting console attributes in places where text.dat strings perhaps didn't
make sense. These values are used like this (e.g. to set the current
console attributes configured for filenaems):
	console.attributes = console.color_list[ATTR_FILENAME];
parent b1f2e528
No related branches found
No related tags found
No related merge requests found
/* $Id$ */
// Index values for console.color_list[]
const ATTR_MNEHIGH = 0;
const ATTR_MNELOW = 1;
const ATTR_MNECMD = 2;
const ATTR_INPUTLINE = 3;
const ATTR_ERROR = 4;
const ATTR_NODENUM = 5;
const ATTR_NODEUSER = 6;
const ATTR_NODESTATUS = 7;
const ATTR_FILENAME = 8;
const ATTR_FILECDT = 9;
const ATTR_FILEDESC = 10;
const ATTR_FILELSTHDRBOX = 11;
const ATTR_FILELSTLINE = 12;
const ATTR_CHATLOCAL = 13;
const ATTR_CHATREMOTE = 14;
const ATTR_MULTICHAT = 15;
const ATTR_EXTERNAL = 16;
const ATTR_VOTES_FULL = 17;
const ATTR_VOTES_EMPTY = 18;
const ATTR_PROGRESS_FULL = 19;
const ATTR_PROGRESS_EMPTY = 20;
this;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment