diff options
author | Marvin Borner | 2021-06-13 12:59:45 +0200 |
---|---|---|
committer | Marvin Borner | 2021-06-13 12:59:45 +0200 |
commit | 5053382808960f3209b3fd217fd6b20b240f0d38 (patch) | |
tree | f51dede9317c268ce3ce11b5ddaa8a1a9b7295cf /libs/libgui/gui.h | |
parent | d832f9ddc9187c83a52a724d4ea39aea08de485b (diff) |
Added image viewer and blerp scaling
Diffstat (limited to 'libs/libgui/gui.h')
-rw-r--r-- | libs/libgui/gui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libgui/gui.h b/libs/libgui/gui.h index c3e1d10..e148c45 100644 --- a/libs/libgui/gui.h +++ b/libs/libgui/gui.h @@ -49,9 +49,9 @@ void gui_clear(u32 win_id, u32 widget_id, enum gui_layer layer); void gui_fill(u32 win_id, u32 widget_id, enum gui_layer layer, u32 c); void gui_write(u32 win_id, u32 widget_id, enum gui_layer layer, vec2 pos, enum font_type font_type, u32 c, const char *text); -void gui_load_image(u32 win_id, u32 widget_id, enum gui_layer layer, vec2 pos, vec2 size, +void gui_draw_image(u32 win_id, u32 widget_id, enum gui_layer layer, vec2 pos, vec2 size, const char *path) NONNULL; -void gui_load_image_filter(u32 win_id, u32 widget_id, enum gui_layer layer, vec2 pos, vec2 size, +void gui_draw_image_filter(u32 win_id, u32 widget_id, enum gui_layer layer, vec2 pos, vec2 size, enum gfx_filter filter, const char *path) NONNULL; void gui_draw_rectangle(u32 win_id, u32 widget_id, enum gui_layer layer, vec2 pos1, vec2 pos2, u32 c); |