1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
irssi/src/fe-text/cuix.c
nattfodd 8b75299729 Merge of cuix back in trunk
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-08 21:11:20 +00:00

40 lines
603 B
C

#include "module.h"
#include "settings.h"
#include "cuix-api.h"
#include "cuix-lib.h"
#include "cuix.h"
#include "term.h"
#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
# include <ncurses.h>
#else
# include <curses.h>
#endif
void cuix_destroy (void)
{
if (cuix_win) {
del_panel (p_cuix);
delwin(cuix_win);
}
cuix_win = NULL;
cuix_active = 0;
update_panels ();
doupdate();
term_refresh (root_window);
irssi_redraw ();
}
void cuix_create(void)
{
home_menu (NULL);
cuix_destroy ();
}
void cuix_refresh (void)
{
update_panels ();
}