Commit graph

19 commits

Author SHA1 Message Date
John Preston
3698eb5382 Allow settings selected menu item. 2023-10-05 10:34:16 +04:00
23rd
ff821bc3d7 Changed default behavior to trim last separator in popup menu. 2022-12-03 17:14:30 +03:00
John Preston
a5766cb1f6 Allow inserting actions in the middle of Menu. 2022-08-31 17:50:54 +04:00
John Preston
a76cdf7edf Allow arbitrary paddings around PopupMenu. 2022-08-17 21:03:06 +03:00
John Preston
6ac846adbb Allow adding submenu actions with icons. 2021-12-09 21:55:35 +04:00
John Preston
52718aa5db Scroll to the item selected by keyboard. 2021-09-09 16:02:26 +03:00
John Preston
02c1bd5674 Allow enabling + selecting menu item under cursor. 2021-09-08 14:37:19 +03:00
John Preston
f4cf3094c2 Force PopupMenu item selection when submenu is shown. 2021-09-08 13:46:34 +03:00
John Preston
e2c940dcdc Expose menu and menu style in PopupMenu. 2021-02-11 20:09:31 +04:00
23rd
70aa4833b7 Removed redundant property of mouse selection item from menu. 2021-01-20 00:20:39 +03:00
23rd
fedeac3f08 Removed redundant property of current selected item from menu. 2021-01-20 00:20:39 +03:00
23rd
43f09755e5 Moved key press handling from menu to menu item base. 2021-01-20 00:20:39 +03:00
23rd
a6a2a8dde0 Fixed crash in dropdown menu. 2021-01-20 00:20:39 +03:00
23rd
5e37c06a6a Added action menu item with toggle view. 2021-01-20 00:20:39 +03:00
23rd
0c5135f671 Added ability to fill menu with custom widgets. 2021-01-20 00:20:39 +03:00
23rd
df0a8ff589 Slightly refactored creating new items in menu. 2021-01-20 00:20:39 +03:00
23rd
11a2b0f88d Added ability to check if menu has no items. 2021-01-20 00:20:39 +03:00
23rd
ec988db6c7 Replaced passing of numerous arguments with struct in menu. 2021-01-20 00:20:39 +03:00
23rd
4cbe5fc464 Moved all files related to menu to separate namespace. 2021-01-20 00:20:39 +03:00
Renamed from ui/widgets/menu.h (Browse further)