Commit graph

29 commits

Author SHA1 Message Date
Dana Jansens
ed9dc5dc78 use the NONE cursor when not specifying one 2003-09-03 20:34:43 +00:00
Dana Jansens
3e7b4478ee track the maximum margin of menu items. use this to keep icons in the menus inside the bevel/borders of the menu items 2003-09-03 09:12:42 +00:00
Dana Jansens
39b3cc1d12 rm empty line 2003-09-03 07:26:44 +00:00
Dana Jansens
8419fe8a11 limit menus' width to 400px 2003-09-03 07:24:39 +00:00
Dana Jansens
02b0b1733a use new menu.bullet.selected.imageColor. use the text colors for the menu mask icons instead of teh bullet color, and set it based on selected/disabled/normal like the text. 2003-09-02 18:53:08 +00:00
Dana Jansens
06252b3076 rename back the app_selected appearances to app_hilite 2003-09-01 16:37:21 +00:00
Dana Jansens
f33bbca9e6 couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
2003-09-01 07:03:04 +00:00
Dana Jansens
d7b4f1b126 make separators span the width of the entire menu 2003-09-01 02:30:12 +00:00
Dana Jansens
7b06426b51 dont lose the menu selection while puttin the mouse over a separator (properly) 2003-08-31 19:54:34 +00:00
Dana Jansens
49d58ec9ba only hide menus if theyre supposed to when executing 2003-08-31 18:58:10 +00:00
Dana Jansens
a991c07bc1 draw menu separators 2003-08-31 17:04:23 +00:00
Dana Jansens
5d4cbbc674 add suppot for showing pixmap masks in menus where the rgba icons go too 2003-08-30 19:03:06 +00:00
Dana Jansens
6486ba2cd5 add padding in the menu title too 2003-08-30 18:16:36 +00:00
Dana Jansens
3ff8eb037e fix grabbing and not releasing with menus 2003-08-30 05:04:08 +00:00
Dana Jansens
8a1e9c64d8 dont ungrab twice when hiding menus 2003-08-29 17:17:07 +00:00
Dana Jansens
09f4a0c51a dont keyboard nav onto disabled menu items 2003-08-29 08:51:05 +00:00
Dana Jansens
dcdc325f5c ultra-keyboard-controlled-menus 2003-08-29 08:44:55 +00:00
Dana Jansens
db4b0e6270 place submenus with their borders over the parent's 2003-08-29 05:49:30 +00:00
Dana Jansens
700e551390 fix a bunch of memleaks from valgrind and stuff 2003-08-28 19:10:36 +00:00
Dana Jansens
d911fbf44c only execute enabled items 2003-08-28 18:34:06 +00:00
Dana Jansens
5c63aaa9ae missed one thing, using invalid mem still 2003-08-28 17:22:10 +00:00
Dana Jansens
9e85e930da fix for using freed memory to exec stuff 2003-08-28 17:15:10 +00:00
Dana Jansens
5efc7236a6 free the menu entry frames 2003-08-28 17:05:44 +00:00
Dana Jansens
15386e86d4 add icons to the client-list-menu 2003-08-28 08:08:18 +00:00
Dana Jansens
c34915ae8d make submenus not require the menu to exist when they are created, not until they are shown.
crash fix in client_menu
2003-08-28 07:49:57 +00:00
Dana Jansens
f7eb47dba4 make client-list-menu work too
more menu cleanups
2003-08-28 07:34:03 +00:00
Dana Jansens
ffba11aeb0 load menu plugins automatically from whats in the menu file
menu fixups
move enabled into the 'normal menu item' specific data stuff
2003-08-28 06:32:27 +00:00
Dana Jansens
615cbd9607 change the menu plugin interface, no need for the create/destroy functions any more.
redo the client-menu plugin to work with the new menu api
2003-08-28 05:44:13 +00:00
Dana Jansens
c34ef4028e half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next. 2003-08-28 02:10:23 +00:00