diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 18:42:30 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 18:42:30 +0300 |
commit | ad4e0425a6860803e5f31a08c349cd99e02e2847 (patch) | |
tree | b6a250c795a2f7331b79e69268ffac2c347ede3d /lib/internal.h | |
parent | fc08cb9cffce6cdb0ca3aa9f77953e86b2cf1290 (diff) | |
download | bemenu-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.h | 5 |
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. */ |