0
|
1 #ifndef __SCREEN_H__ |
|
2 #define __SCREEN_H__ 1 |
|
3 |
|
4 #include <ncurses.h> |
|
5 |
|
6 #define COLOR_POPUP 1 |
|
7 #define COLOR_GENERAL 3 |
|
8 #define COLOR_BD_CONSEL 4 |
|
9 #define COLOR_BD_CON 5 |
|
10 #define COLOR_BD_DESSEL 6 |
|
11 #define COLOR_BD_DES 7 |
|
12 |
|
13 void scr_InitCurses(void); |
|
14 void scr_DrawMainWindow(void); |
|
15 void scr_TerminateCurses(void); |
|
16 void scr_CreatePopup(char *title, char *texto, int corte, int type, |
|
17 char *returnstring); |
|
18 void scr_WriteInWindow(char *nombreVentana, char *texto, int TimeStamp); |
|
19 void scr_WriteMessage(int sock); |
|
20 void scr_WriteIncomingMessage(char *jidfrom, char *text); |
|
21 void scr_RoolWindow(void); |
|
22 void scr_ShowBuddyWindow(void); |
|
23 |
|
24 WINDOW *scr_GetRosterWindow(void); |
|
25 WINDOW *scr_GetStatusWindow(void); |
|
26 |
|
27 int scr_Getch(void); |
|
28 |
|
29 |
|
30 #endif |