Mercurial > molko
comparison libmlk-rpg/mlk/rpg/battle-bar-default.c @ 451:90a097b1aa0f
core: font -> mlk_font
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 18 Feb 2023 20:40:01 +0100 |
parents | b26dd49f69ff |
children | 8fa69c770569 |
comparison
equal
deleted
inserted
replaced
450:b26dd49f69ff | 451:90a097b1aa0f |
---|---|
232 struct label label; | 232 struct label label; |
233 unsigned int spacing, lw, lh; | 233 unsigned int spacing, lw, lh; |
234 char line[64]; | 234 char line[64]; |
235 | 235 |
236 /* Compute spacing between elements. */ | 236 /* Compute spacing between elements. */ |
237 spacing = h - (font_height(theme->fonts[THEME_FONT_INTERFACE]) * 3); | 237 spacing = h - (mlk_font_height(theme->fonts[THEME_FONT_INTERFACE]) * 3); |
238 spacing /= 4; | 238 spacing /= 4; |
239 | 239 |
240 /* Reuse the same label. */ | 240 /* Reuse the same label. */ |
241 label.theme = theme; | 241 label.theme = theme; |
242 label.text = line; | 242 label.text = line; |