mirror of
https://github.com/irssi/irssi.git
synced 2026-08-15 22:52:15 +02:00
Merge of cuix back in trunk
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4309 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bd3a137c81
commit
8b75299729
12 changed files with 758 additions and 0 deletions
39
src/fe-text/cuix.c
Normal file
39
src/fe-text/cuix.c
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#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 ();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue