summaryrefslogtreecommitdiff
path: root/lib/internal.h
diff options
context:
space:
mode:
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.
*/