summaryrefslogtreecommitdiff
path: root/src/modules/rkt
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-10-03 17:08:40 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-10-03 17:08:40 -0700
commit30214bf817c1e18235fcddacac851ecc5cbe66a0 (patch)
treeaf42c9c9170096a15d4de9bb27d13385b4b70b7b /src/modules/rkt
parentf97c10d4fa915a7730a814b8de05cafb3750fdae (diff)
libs/txt,modules/*: rename txt_render_fragment()
Mechanical rename to txt_render_fragment_aligned(), updating all existing call sites accordingly. This is a preparatory commit for introducing an offsetted variant of txt_render_fragment() (txt_render_fragment_offsetted()). No functional difference, purely naming changes.
Diffstat (limited to 'src/modules/rkt')
-rw-r--r--src/modules/rkt/rkt.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/modules/rkt/rkt.c b/src/modules/rkt/rkt.c
index 677e2b9..2e8e696 100644
--- a/src/modules/rkt/rkt.c
+++ b/src/modules/rkt/rkt.c
@@ -350,12 +350,12 @@ static void rkt_render_fragment(til_module_context_t *context, til_stream_t *str
* as this is a diagnostic it's not so important.
*/
til_fb_fragment_clear(*fragment_ptr);
- txt_render_fragment(msg, *fragment_ptr, 0xffffffff,
- 0, 0,
- (txt_align_t){
- .horiz = TXT_HALIGN_LEFT,
- .vert = TXT_VALIGN_TOP,
- });
+ txt_render_fragment_aligned(msg, *fragment_ptr, 0xffffffff,
+ 0, 0,
+ (txt_align_t){
+ .horiz = TXT_HALIGN_LEFT,
+ .vert = TXT_VALIGN_TOP,
+ });
txt_free(msg);
}
@@ -368,12 +368,12 @@ static void rkt_render_fragment(til_module_context_t *context, til_stream_t *str
* will revisit the status text in the future. Not a huge priority since
* none of this should be active in "production" playback mode.
*/
- txt_render_fragment(msg, *fragment_ptr, 0xffffffff,
- 0, 0,
- (txt_align_t){
- .horiz = TXT_HALIGN_LEFT,
- .vert = TXT_VALIGN_TOP,
- });
+ txt_render_fragment_aligned(msg, *fragment_ptr, 0xffffffff,
+ 0, 0,
+ (txt_align_t){
+ .horiz = TXT_HALIGN_LEFT,
+ .vert = TXT_VALIGN_TOP,
+ });
txt_free(msg);
}
© All Rights Reserved