]> git.mdlowis.com Git - proto/labwc.git/commit
menu: refactor in preparation for richer menu design
authortokyo4j <hrak1529@gmail.com>
Sun, 10 Nov 2024 09:54:01 +0000 (18:54 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 13 Nov 2024 20:08:15 +0000 (20:08 +0000)
commit7651531632a345d65737e631c484b2e20d05a988
tree39c12890db69f9fc5fcbc53a5d0d2a3b6f308c1c
parent90fad690274ff10268d11e289b028bbe4c5f5511
menu: refactor in preparation for richer menu design

This commit separates the process of creating scene-trees of the menu
items into `{item,separator,title}_create_scene()`. This will make it
easier to draw richer menu designs like borders, paddings and rounded
corners.
include/menu/menu.h
src/menu/menu.c