diff options
| author | iamcheeseman <[email protected]> | 2026-05-26 15:36:06 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-26 15:36:06 -0400 |
| commit | 2d64ec0a686173b084e02172bb77bd0ec3abdf1d (patch) | |
| tree | d7c0527d8f9f59e8a75c6f9467f7ea6bfe3c531f | |
| parent | ed7dfaad432b6e3fe838b9a2b5fe225abea5365d (diff) | |
rename `tyui_draw()` -> `tyui_end_frame()`
| -rw-r--r-- | editor/editor.c | 2 | ||||
| -rw-r--r-- | teensy/teensy_ui.c | 2 | ||||
| -rw-r--r-- | 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_ |
