From 2d64ec0a686173b084e02172bb77bd0ec3abdf1d Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Tue, 26 May 2026 15:36:06 -0400 Subject: rename `tyui_draw()` -> `tyui_end_frame()` --- editor/editor.c | 2 +- teensy/teensy_ui.c | 2 +- teensy/teensy_ui.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/editor.c b/editor/editor.c index 7f88f59..53d24a3 100644 --- a/editor/editor.c +++ b/editor/editor.c @@ -19,7 +19,7 @@ void tick(void) break; } - tyui_draw(); + tyui_end_frame(); } ty_Image load_qoi_image(const char *path) diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index 3e10614..374d2bf 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -653,7 +653,7 @@ void update_windows(void) } } -void tyui_draw(void) +void tyui_end_frame(void) { draw_window(&tyui.root); diff --git a/teensy/teensy_ui.h b/teensy/teensy_ui.h index a7b5d4e..abcf291 100644 --- a/teensy/teensy_ui.h +++ b/teensy/teensy_ui.h @@ -104,6 +104,6 @@ void tyui_slider_ex( void tyui_text_input(tyui_Text_Input *input); // Draws all accumulated draw commands and initializes the next frame. -void tyui_draw(void); +void tyui_end_frame(void); #endif // TEENSY_UI_H_ -- cgit v1.3-2-g0d8e