mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
in default.theme. If some abstract isn't set in theme, it fallbacks to the one in default.theme now. This should help with old themes, and maybe themes that don't change something should just keep those parts commented out.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
40 lines
937 B
C
40 lines
937 B
C
#ifndef __MAINWINDOWS_H
|
|
#define __MAINWINDOWS_H
|
|
|
|
#include "fe-windows.h"
|
|
#include "screen.h"
|
|
|
|
#define WINDOW_MIN_SIZE 2
|
|
|
|
typedef struct {
|
|
WINDOW_REC *active;
|
|
GSList *sticky_windows; /* list of windows allowed to show only in this mainwindow */
|
|
|
|
#ifdef USE_CURSES_WINDOWS
|
|
WINDOW *curses_win;
|
|
#endif
|
|
int first_line, last_line, lines;
|
|
int statusbar_lines;
|
|
void *statusbar;
|
|
void *statusbar_window_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_recreate(void);
|
|
|
|
void mainwindow_set_size(MAIN_WINDOW_REC *window, int size);
|
|
void mainwindows_resize(int ychange, int xchange);
|
|
|
|
int mainwindows_reserve_lines(int count, int up);
|
|
GSList *mainwindows_get_sorted(int reverse);
|
|
|
|
#endif
|