diff options
author | Timo Sirainen <cras@irssi.org> | 2001-10-20 10:01:29 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-10-20 10:01:29 +0000 |
commit | 113486564fc1a5fd60013385a1c4f1ab1c6904a8 (patch) | |
tree | 84003bcf0e862ba1a1580ae4cc692044e3ff403d /src/fe-text/mainwindows.h | |
parent | 0d4de36c6e62b574c383cf6e43781aa1c531e2f2 (diff) | |
download | irssi-113486564fc1a5fd60013385a1c4f1ab1c6904a8.zip |
Fixed restoring split windows layout. Some other split window resizing fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1854 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/mainwindows.h')
-rw-r--r-- | src/fe-text/mainwindows.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.h b/src/fe-text/mainwindows.h index 514677b5..6850fe09 100644 --- a/src/fe-text/mainwindows.h +++ b/src/fe-text/mainwindows.h @@ -26,6 +26,7 @@ typedef struct { extern GSList *mainwindows; extern MAIN_WINDOW_REC *active_mainwin; +extern int screen_reserved_top, screen_reserved_bottom; void mainwindows_init(void); void mainwindows_deinit(void); @@ -36,7 +37,11 @@ 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); +/* Change the window height - the height includes the lines needed for + statusbars. If resize_lower is TRUE, the lower window is first tried + to be resized instead of upper window. */ +void mainwindow_set_size(MAIN_WINDOW_REC *window, int height, + int resize_lower); void mainwindows_resize(int width, int height); void mainwindow_change_active(MAIN_WINDOW_REC *mainwin, |