Parent Directory
|
Revision Log
Development version do not use
| 1 | mocchiut | 1.1 | #ifndef color_h |
| 2 | #define color_h | ||
| 3 | |||
| 4 | #include <stdio.h> | ||
| 5 | |||
| 6 | #define RESET 0 | ||
| 7 | #define BOLD 1 | ||
| 8 | #define DIM 2 | ||
| 9 | #define UNDERLINE 3 | ||
| 10 | #define BLINK 4 | ||
| 11 | #define REVERSE 7 | ||
| 12 | #define HIDDEN 8 | ||
| 13 | |||
| 14 | #define BLACK 0 | ||
| 15 | #define RED 1 | ||
| 16 | #define GREEN 2 | ||
| 17 | #define YELLOW 3 | ||
| 18 | #define BLUE 4 | ||
| 19 | #define MAGENTA 5 | ||
| 20 | #define CYAN 6 | ||
| 21 | #define WHITE 9 | ||
| 22 | |||
| 23 | extern void textcolor(int attr, int fg, int bg); | ||
| 24 | |||
| 25 | extern void setcolor(char *col,int attr, int fg, int bg); | ||
| 26 | |||
| 27 | #endif |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |