summaryrefslogtreecommitdiff
path: root/lib/internal.h
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2014-04-12 18:42:30 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2014-04-12 18:42:30 +0300
commitad4e0425a6860803e5f31a08c349cd99e02e2847 (patch)
treeb6a250c795a2f7331b79e69268ffac2c347ede3d /lib/internal.h
parentfc08cb9cffce6cdb0ca3aa9f77953e86b2cf1290 (diff)
downloadbemenu-ad4e0425a6860803e5f31a08c349cd99e02e2847.tar.gz
bemenu-ad4e0425a6860803e5f31a08c349cd99e02e2847.tar.bz2
bemenu-ad4e0425a6860803e5f31a08c349cd99e02e2847.zip
Make page scrolling work like it should. (Shfit+pgup/pgdwn for old
behaviour)
Diffstat (limited to 'lib/internal.h')
-rw-r--r--lib/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/internal.h b/lib/internal.h
index 2acd6f5..b3ca87c 100644
--- a/lib/internal.h
+++ b/lib/internal.h
@@ -28,6 +28,11 @@ struct _bmItem {
*/
struct _bmRenderApi {
/**
+ * Get count of displayed items by the underlying renderer.
+ */
+ unsigned int (*displayedCount)(const bmMenu *menu);
+
+ /**
* If the underlying renderer is a UI toolkit. (curses, etc...)
* There might be possibility to get user input, and this should be thus implemented.
*/