]> git.mdlowis.com Git - proto/labwc.git/commit
osd: generalize osd_{classic,thumbnail}_item
authortokyo4j <hrak1529@gmail.com>
Wed, 29 Oct 2025 17:51:05 +0000 (02:51 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 4 Nov 2025 21:29:13 +0000 (21:29 +0000)
commit00f0a46ef7587afe4aec4c070cf3bb781fa43120
treea9ce5f1e54a8fb94986abc1002f26447f55edd2e
parent747163fa3e132941529084f49eef03dabcee4ea0
osd: generalize osd_{classic,thumbnail}_item

This allows us to share common codes for dealing with osd items.
For example:
- Get the clicked osd item to focus its associated window
- Scroll the items when their total height is taller than output height
include/osd.h
include/output.h
src/osd/osd-classic.c
src/osd/osd-thumbnail.c
src/osd/osd.c
src/output.c