mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 15:12:11 +02:00
29 lines
593 B
C
29 lines
593 B
C
|
|
#ifndef __MAINWINDOWS_H
|
||
|
|
#define __MAINWINDOWS_H
|
||
|
|
|
||
|
|
#include "windows.h"
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
WINDOW_REC *active;
|
||
|
|
|
||
|
|
int first_line, last_line;
|
||
|
|
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
|