summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 9c1b9bbe..112b44eb 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -96,6 +96,10 @@ static const iMenuItem editMenuItems[] = {
96}; 96};
97 97
98static const iMenuItem viewMenuItems[] = { 98static const iMenuItem viewMenuItems[] = {
99 { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" },
100 { "Zoom Out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" },
101 { "Reset Zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" },
102 { "---", 0, 0, NULL },
99 { "Toggle Sidebar", SDLK_s, KMOD_PRIMARY | KMOD_ALT, "sidebar.toggle" }, 103 { "Toggle Sidebar", SDLK_s, KMOD_PRIMARY | KMOD_ALT, "sidebar.toggle" },
100}; 104};
101#endif 105#endif
@@ -248,7 +252,7 @@ static void setupUserInterface_Window(iWindow *d) {
248 addChild_Widget(div, iClob(navBar)); 252 addChild_Widget(div, iClob(navBar));
249 setBackgroundColor_Widget(navBar, gray25_ColorId); 253 setBackgroundColor_Widget(navBar, gray25_ColorId);
250 setCommandHandler_Widget(navBar, handleNavBarCommands_); 254 setCommandHandler_Widget(navBar, handleNavBarCommands_);
251 addChild_Widget(navBar, iClob(newIcon_LabelWidget(" \U0001f850 ", 0, 0, "navigate.back"))); 255 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f850", 0, 0, "navigate.back")));
252 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f852", 0, 0, "navigate.forward"))); 256 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f852", 0, 0, "navigate.forward")));
253 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f3e0", 0, 0, "navigate.home"))); 257 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f3e0", 0, 0, "navigate.home")));
254 iLabelWidget *lock = 258 iLabelWidget *lock =