From 1a4eecd6a685e727611bbc1ffec696daa50bbaea Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 3 May 2017 17:01:21 +0200 Subject: Mouse cursor! --- src/lib/include/kogata/draw.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/include') diff --git a/src/lib/include/kogata/draw.h b/src/lib/include/kogata/draw.h index d8a2e13..1f12389 100644 --- a/src/lib/include/kogata/draw.h +++ b/src/lib/include/kogata/draw.h @@ -26,6 +26,8 @@ typedef uint32_t color_t; // a color is always linked to a FB on which it is to fb_t *g_fb_from_file(fd_t file, fb_info_t *geom); fb_t *g_fb_from_mem(uint8_t* region, fb_info_t *geom, bool own_data); +fb_t *g_load_image(const char* filename); + void g_incref_fb(fb_t *fb); void g_decref_fb(fb_t *fb); @@ -56,7 +58,7 @@ void g_scroll_up(fb_t *fb, int l); // ---- Text manipulation -font_t *g_load_font(const char* fontname); +font_t *g_load_font(const char* filename); void g_incref_font(font_t *f); void g_decref_font(font_t *f); -- cgit v1.2.3