summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-02-17 17:57:02 +0100
committerDaniel Carl <danielcarl@gmx.de>2013-02-17 17:57:02 +0100
commit9fddbf3ab96859b41d69915781f2492b55af0ba0 (patch)
tree04f328b4c532ab48b509cf0659c7c54a54756c4a /src/command.h
parent3625e042d92e4f83b17c0008b23d356886e2ff63 (diff)
Added command and keybinds to zoom the page.
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h
index 0492bd6..b09cf88 100644
--- a/src/command.h
+++ b/src/command.h
@@ -27,6 +27,13 @@ enum {
COMMAND_YANK_SELECTION = (COMMAND_YANK_SECONDARY<<2)
};
+enum {
+ COMMAND_ZOOM_OUT,
+ COMMAND_ZOOM_IN,
+ COMMAND_ZOOM_FULL = (1<<1),
+ COMMAND_ZOOM_RESET = (1<<2)
+};
+
typedef gboolean (*Command)(const Arg* arg);
typedef struct {
@@ -60,5 +67,6 @@ gboolean command_yank(const Arg* arg);
gboolean command_paste(const Arg* arg);
gboolean command_search(const Arg* arg);
gboolean command_searchengine(const Arg* arg);
+gboolean command_zoom(const Arg* arg);
#endif /* end of include guard: _COMMAND_H */