summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindows.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/mainwindows.h')
-rw-r--r--src/fe-text/mainwindows.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.h b/src/fe-text/mainwindows.h
index 278e1b11..7eb4875b 100644
--- a/src/fe-text/mainwindows.h
+++ b/src/fe-text/mainwindows.h
@@ -4,6 +4,8 @@
#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 */
@@ -27,9 +29,12 @@ MAIN_WINDOW_REC *mainwindow_create(void);
void mainwindow_destroy(MAIN_WINDOW_REC *window);
void mainwindows_redraw(void);
-void mainwindows_resize(int ychange, int xchange);
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