]> git.mdlowis.com Git - proto/labwc.git/commit
font: remove arrow character from font buffer
authortokyo4j <hrak1529@gmail.com>
Tue, 3 Dec 2024 07:09:40 +0000 (16:09 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 14 Dec 2024 20:09:53 +0000 (20:09 +0000)
commit01032ef3bdc761bab4df2fe7cdc0f1f1584ae8a1
treef94dcecf487562cd3d4f004a7a33638781d2f96d
parent10fc656c2378f61ff6fc88045c1f9e5ba208487d
font: remove arrow character from font buffer

Arrow signs are specific to submenu items, so they would be more natural
to be handled in menu.c rather than accepting "arrow" in
font_buffer_create().

Also I allowed non-positive numbers for max_width in font_buffer_create(),
in which case the natural font width is used as the buffer width.
include/common/font.h
include/common/scaled-font-buffer.h
src/common/font.c
src/common/scaled-font-buffer.c
src/menu/menu.c
src/ssd/resize-indicator.c
src/ssd/ssd-titlebar.c