Mercurial > repos > blastem
comparison render.h @ 2438:bed4d3db8a3f
More flexible loading of Pico storyware assets
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 11 Feb 2024 11:04:39 -0800 |
parents | da3dc881d3f0 |
children | f4a471730ba4 |
comparison
equal
deleted
inserted
replaced
2437:79a8cccb6ac1 | 2438:bed4d3db8a3f |
---|---|
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); | 154 uint8_t render_static_image(uint8_t window, uint8_t *buffer, uint32_t size); |
155 void render_draw_image(uint8_t window, uint8_t image, int x, int y, int width, int height); | 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); | 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); | 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); | 158 void render_window_refresh(uint8_t window); |
159 #endif | 159 #endif |