Commit Graph

61 Commits

Author SHA1 Message Date
phillbush
d8a7caf2e3 improved algorithm for mapping/unmapping
In previous versions, all the previous current visible menus are
unmapped and the new currently visible menus are mapped when the
current visible menu changed. Now, using an algorithm that finds
the lowest common ancestor between current and current_new menus,
only the necessary menus are remapped on the display.
2020-05-16 14:43:07 -03:00
phillbush
d888f2cae4 improved algorithm that draw menus 2020-05-16 02:14:29 -03:00
phillbush
f70a900c8e NOW IN PUBLIC DOMAIN! 2020-05-16 01:28:57 -03:00
phillbush
f158328539 width is now calculated from the font 2020-05-16 01:24:43 -03:00
phillbush
2b6968f911 A better triangle
Now the triangle indicating submenus is smaller and better looking.
2020-05-16 00:58:32 -03:00
phillbush
f15fc33987 using pixmaps
Using pixmaps rather than drawing directly on windows.
2020-05-16 00:43:59 -03:00
phillbush
c58c645637 xmenu now works on tile window managers
The windows now set size hints for maximum and minimum size.
2020-05-15 23:10:16 -03:00
phillbush
09c13122cc Test 2020-05-15 23:08:05 -03:00
phillbush
7fbd1c5ed0 Added separators
Now lines without labels in the input generate a menu separator.
2020-05-15 22:51:26 -03:00
phillbush
a80fee227a item->y is now relative to menu, not to root 2020-05-15 22:25:05 -03:00
phillbush
a77326901f Initial commit 2020-05-15 19:02:23 -03:00