diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-18 00:59:44 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-18 01:08:10 +0200 |
commit | 9c541d0b4261acd656171a03e6bfd2719f91286d (patch) | |
tree | 32d35203435cfa04aa81e4c71cab69933c050b54 /lib/menu.c | |
parent | 6b5b93239eab623c786e1c537563a81a285ffbd2 (diff) | |
download | bemenu-9c541d0b4261acd656171a03e6bfd2719f91286d.tar.gz bemenu-9c541d0b4261acd656171a03e6bfd2719f91286d.tar.bz2 bemenu-9c541d0b4261acd656171a03e6bfd2719f91286d.zip |
Add --scrollbar option
Diffstat (limited to 'lib/menu.c')
-rw-r--r-- | lib/menu.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -296,6 +296,18 @@ char* bm_menu_get_color(const struct bm_menu *menu, enum bm_color color) } void +bm_menu_set_scrollbar(struct bm_menu *menu, bool scrollbar) +{ + menu->scrollbar = scrollbar; +} + +bool +bm_menu_get_scrollbar(struct bm_menu *menu) +{ + return menu->scrollbar; +} + +void bm_menu_set_bottom(struct bm_menu *menu, bool bottom) { assert(menu); |