comparison mcabber/screen.h @ 1:da1fb510081e

[/trunk] Changeset 16 by mikael * Start using an "input line" at the bottom. Only "/quit" is understood at the moment... :)
author mikael
date Wed, 16 Mar 2005 22:18:54 +0000
parents b3b2332715fb
children 63acb2dcaeea
comparison
equal deleted inserted replaced
0:b3b2332715fb 1:da1fb510081e
7 #define COLOR_GENERAL 3 7 #define COLOR_GENERAL 3
8 #define COLOR_BD_CONSEL 4 8 #define COLOR_BD_CONSEL 4
9 #define COLOR_BD_CON 5 9 #define COLOR_BD_CON 5
10 #define COLOR_BD_DESSEL 6 10 #define COLOR_BD_DESSEL 6
11 #define COLOR_BD_DES 7 11 #define COLOR_BD_DES 7
12
13 #define LOG_WIN_HEIGHT (5+2)
14 #define CHAT_WIN_HEIGHT (maxY-1-LOG_WIN_HEIGHT)
15
16 #define INPUTLINE_LENGTH 1024
12 17
13 void scr_InitCurses(void); 18 void scr_InitCurses(void);
14 void scr_DrawMainWindow(void); 19 void scr_DrawMainWindow(void);
15 void scr_TerminateCurses(void); 20 void scr_TerminateCurses(void);
16 void scr_CreatePopup(char *title, char *texto, int corte, int type, 21 void scr_CreatePopup(char *title, char *texto, int corte, int type,
24 WINDOW *scr_GetRosterWindow(void); 29 WINDOW *scr_GetRosterWindow(void);
25 WINDOW *scr_GetStatusWindow(void); 30 WINDOW *scr_GetStatusWindow(void);
26 31
27 int scr_Getch(void); 32 int scr_Getch(void);
28 33
34 int process_key(int);
29 35
30 #endif 36 #endif