diff options
author | Alex Auvolat <alex@adnab.me> | 2017-05-03 17:01:21 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-05-03 17:01:21 +0200 |
commit | 1a4eecd6a685e727611bbc1ffec696daa50bbaea (patch) | |
tree | c75600cfdc0101e3ad25e3ef4bfcaad06296a418 /src/lib/include | |
parent | a959c94c1d67e234adbbb96d0d290eaf3bc26ac1 (diff) | |
download | kogata-1a4eecd6a685e727611bbc1ffec696daa50bbaea.tar.gz kogata-1a4eecd6a685e727611bbc1ffec696daa50bbaea.zip |
Mouse cursor!
Diffstat (limited to 'src/lib/include')
-rw-r--r-- | src/lib/include/kogata/draw.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |