irssi/src/fe-text/mainwindows.h
Timo Sirainen 091292e079 Mainwindows use now real curses WINDOWs, this should fix irssi with some
curseses that didn't like setscrreg() (solaris 8).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 23:29:34 +00:00

30 lines
621 B
C

#ifndef __MAINWINDOWS_H
#define __MAINWINDOWS_H
#include "windows.h"
typedef struct {
WINDOW_REC *active;
WINDOW *curses_win;
int first_line, last_line, lines;
int statusbar_lines;
void *statusbar;
void *statusbar_channel_item;
} MAIN_WINDOW_REC;
extern GSList *mainwindows;
extern MAIN_WINDOW_REC *active_mainwin;
void mainwindows_init(void);
void mainwindows_deinit(void);
MAIN_WINDOW_REC *mainwindow_create(void);
void mainwindow_destroy(MAIN_WINDOW_REC *window);
void mainwindows_redraw(void);
void mainwindows_resize(int ychange, int xchange);
int mainwindows_reserve_lines(int count, int up);
#endif