aboutsummaryrefslogtreecommitdiff
path: root/dw/view.hh
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-07-05 22:17:41 +0000
committercorvid <corvid@lavabit.com>2009-07-05 22:17:41 +0000
commit76c4bf8a1cc85d9cd15c0bb6817a7fe92c5e6eaa (patch)
tree7ba32724cbcb56f03ea82a904c9578f29f3774c7 /dw/view.hh
parent1cefd820489a50fd10220e05c05a7b102c6940b2 (diff)
keybindings for scrolling
Diffstat (limited to 'dw/view.hh')
-rw-r--r--dw/view.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/view.hh b/dw/view.hh
index cd88b790..876c7fe3 100644
--- a/dw/view.hh
+++ b/dw/view.hh
@@ -80,6 +80,11 @@ public:
virtual void scrollTo (int x, int y) = 0;
/**
+ * \brief Scroll the viewport as commanded.
+ */
+ virtual void scroll (ScrollCommand) { };
+
+ /**
* \brief Set the viewport size.
*
* Does not have to be implemented, when usesViewport returns false.