summaryrefslogtreecommitdiff
path: root/examples/ui.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2025-01-16 08:42:53 +0100
committerMitya Selivanov <automainint@guattari.tech>2025-01-16 08:42:53 +0100
commitc7e2625ed73d07ba9fd0ace798311bf0eed8111a (patch)
tree39fe2c208f3de84f005d258799bbb7e992d31db2 /examples/ui.c
parentbf17379743b283937a12340717bffccf619cc864 (diff)
downloadreduced_system_layer-c7e2625ed73d07ba9fd0ace798311bf0eed8111a.zip
Refactor
Diffstat (limited to 'examples/ui.c')
-rw-r--r--examples/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ui.c b/examples/ui.c
index 6738d7e..8375e4d 100644
--- a/examples/ui.c
+++ b/examples/ui.c
@@ -224,7 +224,7 @@ void update_and_render_frame(void) {
draw_text_area(RGB(0.f, 0.f, 0.f), x0 + 8, y0 - 8, w, h, 10., 10., text_len, text);
draw_text_area((Brush) { .color = with_alpha(color, 1.f) }, x0, y0, w, h, 10., 10., text_len, text);
- draw_selection_cursor((Brush) { .xor_color = 1, .color = { 1.f, 1.f, 1.f, 1.f } }, x0, y0, w, h, 10., 10., cursor, selection, text_len, text);
+ draw_text_cursor((Brush) { .xor_color = 1, .color = { 1.f, 1.f, 1.f, 1.f } }, x0, y0, w, h, 10., 10., cursor, selection, text_len, text);
p_render_frame();
}