aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-31 14:29:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-08-07 14:38:03 +0000
commita3d54614c7bc0a88b00bb98ad7bb2f730b0b7e72 (patch)
tree87493ffced15d3df9c40407fe2483608d9e7aba3 /server.c
parentmain: translate command line options to overrides (diff)
render: OSD: center text vertically
Rewrite render_osd(), and instead of passing in an y-offset, let render_osd() itself center the text inside the OSD buffer. This is done using the same baseline calculation term_font_baseline() does, except we use the buffer height instead of the line height. Note that most OSDs are sized based on the line height... Closes #1430
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions