view mcabber/screen.h @ 0:b3b2332715fb

Tailorization of /trunk Import of the upstream sources from Repository: file:///tmp/svn-mcabber Module: /trunk Revision: 15
author tailor@frmp8452
date Thu, 30 Jun 2005 21:39:31 +0000
parents
children da1fb510081e
line wrap: on
line source

#ifndef __SCREEN_H__
#define __SCREEN_H__ 1

#include <ncurses.h>

#define COLOR_POPUP     1
#define COLOR_GENERAL   3
#define COLOR_BD_CONSEL 4
#define COLOR_BD_CON    5
#define COLOR_BD_DESSEL 6
#define COLOR_BD_DES    7

void scr_InitCurses(void);
void scr_DrawMainWindow(void);
void scr_TerminateCurses(void);
void scr_CreatePopup(char *title, char *texto, int corte, int type,
		     char *returnstring);
void scr_WriteInWindow(char *nombreVentana, char *texto, int TimeStamp);
void scr_WriteMessage(int sock);
void scr_WriteIncomingMessage(char *jidfrom, char *text);
void scr_RoolWindow(void);
void scr_ShowBuddyWindow(void);

WINDOW *scr_GetRosterWindow(void);
WINDOW *scr_GetStatusWindow(void);

int scr_Getch(void);


#endif