summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-windows.h
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-04-25 00:42:53 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2018-01-06 00:26:48 +0100
commit4e71a1f485d9a546cb92ad94e8918a2363a88b03 (patch)
tree6bfacd3eec72355b972755ca1612fd69a9d5525b /src/fe-common/core/fe-windows.h
parent451019d05dfabbac2463f0d835c5113ac140c5c4 (diff)
downloadirssi-4e71a1f485d9a546cb92ad94e8918a2363a88b03.zip
sideways split support for Irssi
warning: * may be buggy This commit adds support for sideways splits into Irssi. To that regard, there are a number of new commands available the "R" commands: /window new rsplit - make a new sideways split /window rshow - show an existing window to the right /window rgrow/rshrink/rsize/rbalance - manipulate the size of your sideways split windows the "D" commands: /window dup/ddown/dleft/dright - navigate the windows directionally, as an alternative to /window up/down that you can bind to some key /window move dleft/dright - the same for moving Enjoy!
Diffstat (limited to 'src/fe-common/core/fe-windows.h')
-rw-r--r--src/fe-common/core/fe-windows.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-windows.h b/src/fe-common/core/fe-windows.h
index 32d6cfcd..aaa773c8 100644
--- a/src/fe-common/core/fe-windows.h
+++ b/src/fe-common/core/fe-windows.h
@@ -11,6 +11,14 @@ enum {
DATA_LEVEL_HILIGHT
};
+enum {
+ MAIN_WINDOW_TYPE_NONE = -1,
+ MAIN_WINDOW_TYPE_DEFAULT = 0,
+ MAIN_WINDOW_TYPE_HIDDEN = 1,
+ MAIN_WINDOW_TYPE_SPLIT = 2,
+ MAIN_WINDOW_TYPE_RSPLIT = 3
+};
+
typedef struct {
char *servertag;
char *name;