Commit Graph

29 Commits

Author SHA1 Message Date
Jari Vetoniemi
014c20099d Refactor code to snake_style, turn renderers into plugins, and start
wayland (cairo) renderer.
2014-10-22 22:46:51 +03:00
Jari Vetoniemi
5556779dd2 Consistency. 2014-04-14 21:18:50 +03:00
Jari Vetoniemi
617c4ab827 Add selection wrapping (-w). 2014-04-14 19:25:16 +03:00
Jari Vetoniemi
994d6074bc Stop assuming filter is static array anymore. 2014-04-12 23:09:35 +03:00
Jari Vetoniemi
01ff5f48ed The list will be copied now. 2014-04-12 20:56:00 +03:00
Jari Vetoniemi
f03e03cdd9 Make filter to pointer. 2014-04-12 20:52:29 +03:00
Jari Vetoniemi
3ad042c625 S-Return (C-t, insert in curses) should return input, C-Return is mark. (C-r, C-space in curses) 2014-04-12 18:44:03 +03:00
Jari Vetoniemi
ad4e0425a6 Make page scrolling work like it should. (Shfit+pgup/pgdwn for old
behaviour)
2014-04-12 18:42:30 +03:00
Jari Vetoniemi
9e9b671fa3 Remove highlight logic from filters, it does not belong there.
Plus it seems dmenu always just highlights first item on filter change.
2014-04-12 14:36:12 +03:00
Jari Vetoniemi
dfdb810099 This is actually better without the count check. 2014-04-11 00:40:21 +03:00
Jari Vetoniemi
8e0dd1ab39 Make it possible to set filter text manually. 2014-04-10 23:05:37 +03:00
Jari Vetoniemi
71beb7583f Make it possible filter manually, and optimized filtering. 2014-04-10 23:05:13 +03:00
Jari Vetoniemi
45e2117159 Don't run filtering if there is no filter. 2014-04-10 22:15:01 +03:00
Jari Vetoniemi
45502a2fd9 Proper filtering functions. 2014-04-10 22:02:47 +03:00
Jari Vetoniemi
05212f5e44 Improve documentation. 2014-04-10 20:19:15 +03:00
Jari Vetoniemi
49fc7cd08c Include index parameter in documentation. 2014-04-10 20:12:42 +03:00
Jari Vetoniemi
9525c77f55 Setter first, then getter. 2014-04-10 20:11:41 +03:00
Jari Vetoniemi
702d808b28 Make it possible to set and get userdata pointers. 2014-04-10 20:09:34 +03:00
Jari Vetoniemi
a6d0413b97 Implement list structure, and feature for multiple selections. 2014-04-10 20:04:06 +03:00
Jari Vetoniemi
8631506d9d Update documentation, include only public API in doxygen output. 2014-04-10 17:26:42 +03:00
Jari Vetoniemi
d53c91393d Fix bmMenuRunWithKey documentation 2014-04-10 13:08:38 +03:00
Jari Vetoniemi
e230f03e54 Fix bmMenuRender documentation 2014-04-10 13:08:26 +03:00
Jari Vetoniemi
ff8ad3a804 Remove @file from non-public library files. 2014-04-10 11:08:10 +03:00
Jari Vetoniemi
722af2f7a0 Clarify which enums the functions are mapped to. 2014-04-10 11:07:37 +03:00
Jari Vetoniemi
4d920ad9e4 Make asserts and ifs more consistent. 2014-04-10 01:41:32 +03:00
Jari Vetoniemi
2615c43dc0 Move side effects after cleanup. 2014-04-10 01:26:00 +03:00
Jari Vetoniemi
dd4bddcf98 Do bounds checking correctly. 2014-04-10 01:25:46 +03:00
Jari Vetoniemi
944e36b21d Free filtered items. 2014-04-10 01:25:37 +03:00
Jari Vetoniemi
67be25fbe4 Basic working bemenu with curses backend 2014-04-10 01:10:05 +03:00