diff options
| author | Simon Glass <[email protected]> | 2025-04-02 06:29:36 +1300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-02 13:40:25 -0600 |
| commit | 236ae39fb0c571d2553271a7fa75920348f9c5eb (patch) | |
| tree | c8790ebae8423023fa1585ce6557a3369da6316c /boot | |
| parent | 0d0b2341dd419c7c56def9e23f31625da2d31168 (diff) | |
video: Begin support for measuring multiple lines of text
Update the vidconsole API so that measure() can measure multiple lines
of text. This will make it easier to implement multi-line fields in
expo.
Tidy up the function comments while we are here.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/scene.c b/boot/scene.c index 15e7a8b3387..d3ae5816bef 100644 --- a/boot/scene.c +++ b/boot/scene.c @@ -298,7 +298,7 @@ int scene_obj_get_hw(struct scene *scn, uint id, int *widthp) } ret = vidconsole_measure(scn->expo->cons, txt->font_name, - txt->font_size, str, &bbox); + txt->font_size, str, &bbox, NULL); if (ret) return log_msg_ret("mea", ret); if (widthp) |
