-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathncurse.h
More file actions
53 lines (43 loc) · 1.15 KB
/
ncurse.h
File metadata and controls
53 lines (43 loc) · 1.15 KB
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
/*
** ncurse.h for ncure in /home/marcha_j//test/c/ftrace
**
** Made by hugo marchadier
** Login <marcha_j@epitech.net>
**
** Started on Thu Jun 21 22:09:39 2012 hugo marchadier
** Last update Fri Jun 22 18:01:11 2012 hugo marchadier
*/
#ifndef NCURSE_H_
# define NCURSE_H_
# define color(c) printf("\033[%sm", c)
# define SIZE_BORDER 100
# define SIZE_MAX_Y 150
# define REINIT "0"
# define HIGH_DENSITY "1"
# define INVERSE "7"
# define FLASH "5"
/* FOR CHARACTERE */
# define C_BLACK "30"
# define C_RED "31"
# define C_GREEN "32"
# define C_YELLOW "33"
# define C_BLUE "34"
# define C_MAGENTA "35"
# define C_CYAN "36"
# define C_WHITE "37"
/* FOR BACKGROUND */
# define B_BLACK "40"
# define B_RED "41"
# define B_GREEN "42"
# define B_YELLOW "43"
# define B_BLUE "44"
# define B_MAGENTA "45"
# define B_CYAN "46"
# define B_WHITE "47"
void aff_tab_sym(char *name, unsigned int addr, char *COLOR);
void aff_tab_header(char *name, char *COLOR);
void aff_tab_footer();
void aff_sym(char *sym, char *COLOR, char *B_COLOR, int pos);
void aff_ret(char *sym, char *C_COLOR, char *B_COLOR, int pos);
void aff_legende();
#endif /* !NCURSE_H_ */