Consolatis
d00327bc32
menu: Dynamically adjust menu width based on widest item
...
Adds two new theme vars:
- menu.width.min (menu will never be smaller than this)
- menu.width.max (menu will never be wider than this + padding)
A fixed menu width can be achieved by setting
menu.width.min == menu.width.max.
2022-12-06 21:08:43 +00:00
Johan Malm
e45e2c7e60
Fix coding style
2022-11-03 23:01:52 +01:00
John Lindgren
a54d378e6c
common: Add znew/znew_n() macros
2022-09-18 15:25:19 -04:00
John Lindgren
cb40cdc36c
common: Add additional memory utilities (xzalloc() etc.)
2022-09-17 10:57:30 -04:00
John Lindgren
07a83c19f0
config: Add support for font slant and weight
2022-09-15 21:48:05 +01:00
Johan Malm
a610aff946
scaled_font_buffer.c: simplify calls to zfree()
...
There is no need to check foo != NULL before zfree(foo)
2022-08-12 11:16:17 +02:00
Johan Malm
429df42a8f
menu: render submenu arrows
2022-08-12 11:16:17 +02:00
Consolatis
5d79911244
Add scaled_font_buffer implementation
2022-06-14 22:03:08 +01:00