]> git.mdlowis.com Git - proto/labwc.git/commit
Add scaled_rect_buffer
authortokyo4j <hrak1529@gmail.com>
Sat, 23 Nov 2024 05:17:15 +0000 (14:17 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 25 Nov 2024 19:41:07 +0000 (19:41 +0000)
commit12cae9c7eec3e37b11e02c2d085cb14201e01603
tree89ee7dab99197a6eb604612b767a9351851c0b7d
parent763ba6209ed401e24318353367f5654506abc893
Add scaled_rect_buffer

scaled_rect_buffer is an implementation of scaled_scene_buffer and shows
an auto-scaling bordered rectangle. This is intended for menu borders,
but can be also useful for other elements like window switcher items.

We will support rounded corners for scaled_rect_buffer in the future.
include/common/scaled-rect-buffer.h [new file with mode: 0644]
src/common/meson.build
src/common/scaled-rect-buffer.c [new file with mode: 0644]