Commit Graph

50 Commits

Author SHA1 Message Date
K. Lange
0a167127fb menu: fix incorrect clearing of menu child in has_eventual_child 2023-04-25 09:31:49 +09:00
K. Lange
9a68260647 menu: fixup overflowing rendering of menubars 2023-04-08 22:13:35 +09:00
K. Lange
b003fe060c menu: fix silly old bug with submenu highlighting
When using the keyboard to close a submenu, its entry in the parent
window would remain highlighted when navigating to the next entry
as the menu's child was still set to that submenu's child and we
were not checking if it was still open.
2023-02-15 20:26:59 +09:00
K. Lange
436a772a8c menu: skip separators with keyboard navigation 2023-02-15 20:24:29 +09:00
K. Lange
2b85c67661 menu: Better tail alignment for bubble windows 2021-11-29 15:58:53 +09:00
K. Lange
c7429e9055 meta: purge most instances of vim hints 2021-11-26 12:59:02 +09:00
K. Lange
66682facad menu: Disallow dragging/resizing of menu windows 2021-11-17 13:37:59 +09:00
K. Lange
6c1acb1290 compositor: Add another layer above overlays for menus so they show in front of toasts 2021-11-05 09:58:33 +09:00
K. Lange
729b0c231f panel: New volume slider menu widget 2021-10-24 21:20:25 +09:00
K Lange
e4fd48a007 menu: Really, seriously don't show menus before moving them 2021-08-19 00:13:03 +09:00
K. Lange
77435a0b57 menu: flip after moving 2021-08-12 10:36:58 +09:00
K Lange
55c3a2bafc compositor: support positioning a window relative to another 2021-08-12 09:08:31 +09:00
K. Lange
6faf45b4b5 compositor: don't animate regular dropdown menus
No one else does this. We were only doing it because it hid a bug
in the compositor with initial window location, which we've just
fixed in the last commit...
2021-08-11 13:03:33 +09:00
K. Lange
b293e989de markup: Initial work on new marked up text rendering library 2021-07-27 10:53:12 +09:00
K. Lange
decf3517c6 panel: try some smarter popup placement 2021-07-25 20:38:33 +09:00
K. Lange
5798aaa056 menu: space out menu bars nicer 2021-07-19 13:49:30 +09:00
K. Lange
14de7e9c78 menu: Rudimentary checkbox menu entries 2021-07-08 13:05:03 +09:00
K. Lange
f67b5425dd text: Switch several apps/libs to new text library 2021-07-06 09:39:52 +09:00
K. Lange
18f46976f8 text: Introduce new TrueType implementation 2021-07-06 00:36:46 +09:00
K. Lange
5ec05e0925 menu: Add fancy speech-bubble-style menus like Gnome has 2021-06-23 21:18:58 +09:00
K Lange
5eaeced119 menu: implement menu_free_entry 2021-06-06 18:34:12 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
befb010dc2 menu: Changes to support Kuroko bindings 2021-01-25 20:12:13 +09:00
K. Lange
8c2cf93b1d menu: Add method to force redraw a visible menu 2020-03-29 13:23:28 +09:00
K. Lange
c4ffc28b1f menu: smarter context menu spawning 2019-01-07 14:04:55 +09:00
K. Lange
1d53039483 freetype text needs some horizontal padding 2018-09-24 12:29:16 +09:00
K. Lange
c77e71a277 Freetype support for menus 2018-09-24 12:22:00 +09:00
K. Lange
5b5462fb72 Library cleanup 2018-08-14 17:24:25 +09:00
K. Lange
fbfecde4be Allow windows to be dragged by menu bars 2018-08-07 19:18:22 +09:00
K. Lange
ee03956a86 Fix bad submenu hilight 2018-08-02 04:06:37 +09:00
K. Lange
b0a154a07e Fix up submenu hilighting 2018-07-23 19:32:58 +09:00
K. Lange
b26104c156 Keyboard interaction between menubar entries 2018-07-21 18:32:00 +09:00
K. Lange
0e45293ced Merge menubar into menu 2018-07-21 17:56:10 +09:00
K. Lange
255b750b62 Add method to update menu entry title 2018-07-20 23:08:12 +09:00
K. Lange
1830bd63ac escape should close all menus 2018-07-20 22:37:31 +09:00
K. Lange
9efc3c1bf3 Quickly switch focus back to previous menu on keyboard action 2018-07-20 22:32:06 +09:00
K. Lange
95ad690212 Minor keyboard menu control adjustment 2018-07-20 22:24:05 +09:00
K. Lange
43829e163a Add initial keyboard support for menus 2018-07-20 22:15:46 +09:00
K. Lange
1381116048 Add submenu tick 2018-06-20 11:17:27 +09:00
K. Lange
cba3b2e804 Fix arbitrary submenus and add 'Set Zoom...' to terminal 2018-06-18 22:04:08 +09:00
K. Lange
8442d4494c Expose more methods from menu library 2018-05-20 12:37:22 +09:00
K. Lange
eacdd97287 Handle nested menus extending past display width 2018-05-20 11:22:15 +09:00
K. Lange
50b21b080d Cleanup and fixes 2018-05-19 19:43:00 +09:00
K. Lange
910973bec7 *experimental* nested menus support 2018-05-19 19:05:27 +09:00
K. Lange
0e65e6559c Menu library improvements 2018-04-27 21:30:51 +09:00
K. Lange
4ac2f3d4a2 Fix separators crashing on click because they had no activate method 2018-04-25 21:44:17 +09:00
K. Lange
2de4d9bae2 Menu windows shouldn't zoom in, only fade 2018-04-24 21:41:19 +09:00
K. Lange
216239f601 Adapt menu library into panel 2018-04-24 21:32:39 +09:00
K. Lange
86134cca5d At least attempt to handle focus loss 2018-04-24 21:19:06 +09:00
K. Lange
34d1a58be7 Menus as a library (WIP) 2018-04-24 20:58:41 +09:00