~ubuntu-branches/ubuntu/gutsy/irssi/gutsy-backports

« back to all changes in this revision

Viewing changes to src/fe-text/cuix.c

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-11-19 10:49:04 UTC
  • mfrom: (6.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20071119104904-kzu9r9h7cq8as4ri
Tags: 0.8.12-2ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "module.h"
2
 
#include "settings.h"
3
 
#include "cuix-api.h"
4
 
#include "cuix-lib.h"
5
 
#include "cuix.h"
6
 
#include "term.h"
7
 
#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
8
 
#  include <ncurses.h>
9
 
#else
10
 
#  include <curses.h>
11
 
#endif
12
 
 
13
 
 
14
 
void cuix_destroy (void)
15
 
{
16
 
    if (cuix_win) {
17
 
        del_panel (p_cuix);
18
 
        delwin(cuix_win);
19
 
    }
20
 
    cuix_win = NULL;
21
 
    cuix_active = 0;
22
 
    update_panels ();
23
 
    doupdate();
24
 
    term_refresh (root_window);
25
 
    irssi_redraw ();
26
 
}
27
 
 
28
 
void cuix_create(void)
29
 
{
30
 
    home_menu (NULL);
31
 
    cuix_destroy ();
32
 
}
33
 
 
34
 
void cuix_refresh (void)
35
 
{
36
 
    update_panels ();
37
 
}
38
 
 
39