1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 20:43:02 +01:00

replace more defines with enum

This commit is contained in:
Jfreegman 2013-11-10 01:23:07 -05:00
parent 16c11b33f3
commit 5a7f26cfea

View File

@ -28,14 +28,16 @@
#define CURS_Y_OFFSET 3 /* y-axis cursor offset for chat contexts */
/* Curses foreground colours (background is black) */
#define WHITE 0
#define GREEN 1
#define CYAN 2
#define RED 3
#define BLUE 4
#define YELLOW 5
#define MAGENTA 6
#define BLACK 7
enum {
WHITE,
GREEN,
CYAN,
RED,
BLUE,
YELLOW,
MAGENTA,
BLACK,
};
/* Fixes text color problem on some terminals.
Uncomment if necessary */