summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-02 09:10:12 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-02 09:10:12 +0300
commitf512c021c702125e8234256a25eec7606d648f34 (patch)
treecbc039bf81788cfe9618d99e9b717dd7685bbb55 /src/ui/root.c
parent01b7e1da311b7b235305203c1791cfc73b14ac3d (diff)
Window: Added split swapping; cleanup
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index cd6959c4..bec42719 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -1252,7 +1252,8 @@ void createUserInterface_Root(iRoot *d) {
1252 }, 1252 },
1253 4); 1253 4);
1254 iWidget *splitMenu = makeMenu_Widget(root, (iMenuItem[]){ 1254 iWidget *splitMenu = makeMenu_Widget(root, (iMenuItem[]){
1255 { "Single Frame", '1', 0, "ui.split arg:0" }, 1255 { "Merge Tabs", '1', 0, "ui.split arg:0" },
1256 { "Swap Sides", SDLK_x, 0, "ui.split swap:1" },
1256 { "---", 0, 0, NULL }, 1257 { "---", 0, 0, NULL },
1257 { "Horizontal", '2', 0, "ui.split arg:3 axis:0" }, 1258 { "Horizontal", '2', 0, "ui.split arg:3 axis:0" },
1258 { "Horizontal 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, 1259 { "Horizontal 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" },