diff render.h @ 2429:da3dc881d3f0

Initial implementation of storbook artwork display
author Michael Pavone <pavone@retrodev.com>
date Sun, 04 Feb 2024 20:11:39 -0800
parents b50fa7602e39
children bed4d3db8a3f
line wrap: on
line diff
--- a/render.h	Sat Feb 03 18:32:41 2024 -0800
+++ b/render.h	Sun Feb 04 20:11:39 2024 -0800
@@ -151,6 +151,11 @@
 int render_ui_to_pixels_y(int ui);
 #ifndef IS_LIB
 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data);
+uint8_t render_static_image(uint8_t window, char *path);
+void render_draw_image(uint8_t window, uint8_t image, int x, int y, int width, int height);
+void render_clear_window(uint8_t window, uint8_t r, uint8_t g, uint8_t b);
+void render_fill_rect(uint8_t window, uint8_t r, uint8_t g, uint8_t b, int x, int y, int width, int height);
+void render_window_refresh(uint8_t window);
 #endif
 
 #endif //RENDER_H_