Refactoring to avoid code duplication.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4344 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-09-12 17:23:46 +00:00 committed by exg
commit f57b551a86
4 changed files with 19 additions and 33 deletions

16
src/fe-text/term-curses.h Normal file
View file

@ -0,0 +1,16 @@
#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
# include <ncurses.h>
#else
# include <curses.h>
#endif
#ifdef HAVE_CUIX
#include <form.h>
#include <panel.h>
#endif
struct _TERM_WINDOW {
int x, y;
int width, height;
WINDOW *win;
};