view console/gntui.c @ 13855:5b288502a382

[gaim-migrate @ 16314] New widget GntEntry. It's mostly functional. Some minor improvements to the box-packing code. Minor improvements to the skeleton code for gnt, and completely change the name from my initial choice of GN (Glib and Ncurses) to GNT (Gaim Ncurses Toolkit). committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 23 Jun 2006 06:24:25 +0000
parents 0e1e59770cb0
children d341b5ac1a78
line wrap: on
line source

#include "gntui.h"

void init_gnt_ui()
{
	gnt_init();

	wbkgdset(stdscr, '\0' | COLOR_PAIR(GNT_COLOR_NORMAL));
	werase(stdscr);
	/*box(stdscr, ACS_VLINE, ACS_HLINE);*/
	wrefresh(stdscr);

	/* Initialize the buddy list */
	gg_blist_init();
	gaim_blist_set_ui_ops(gg_get_blist_ui_ops());

	gnt_main();
}