Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
2428:65c2e4d990cc | 2429:da3dc881d3f0 |
---|---|
149 void render_update_display(void); | 149 void render_update_display(void); |
150 int render_ui_to_pixels_x(int ui); | 150 int render_ui_to_pixels_x(int ui); |
151 int render_ui_to_pixels_y(int ui); | 151 int render_ui_to_pixels_y(int ui); |
152 #ifndef IS_LIB | 152 #ifndef IS_LIB |
153 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); | 153 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); |
154 uint8_t render_static_image(uint8_t window, char *path); | |
155 void render_draw_image(uint8_t window, uint8_t image, int x, int y, int width, int height); | |
156 void render_clear_window(uint8_t window, uint8_t r, uint8_t g, uint8_t b); | |
157 void render_fill_rect(uint8_t window, uint8_t r, uint8_t g, uint8_t b, int x, int y, int width, int height); | |
158 void render_window_refresh(uint8_t window); | |
154 #endif | 159 #endif |
155 | 160 |
156 #endif //RENDER_H_ | 161 #endif //RENDER_H_ |
157 | 162 |