aboutsummaryrefslogtreecommitdiffstats
path: root/fb-gui.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-23 16:02:34 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-03-23 16:02:34 +0100
commit3da80cb1474b455f4ed3d27aa72441fd145a9898 (patch)
treeb3212c99e0baf74ff51844f19982b3655a58a878 /fb-gui.h
parent240bfd19dc983a793e0ef7e2515faf9a2d3fd9c5 (diff)
downloadfbida-3da80cb1474b455f4ed3d27aa72441fd145a9898.tar.gz
start adding a gfx interface
Diffstat (limited to 'fb-gui.h')
-rw-r--r--fb-gui.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/fb-gui.h b/fb-gui.h
index 842a511..7b5d50e 100644
--- a/fb-gui.h
+++ b/fb-gui.h
@@ -4,12 +4,12 @@
extern int visible;
-void shadow_render(void);
+void shadow_render(gfxstate *gfx);
void shadow_clear_lines(int first, int last);
void shadow_clear(void);
void shadow_set_dirty(void);
void shadow_set_palette(int fd);
-void shadow_init(void);
+void shadow_init(gfxstate *gfx);
void shadow_fini(void);
void shadow_draw_line(int x1, int x2, int y1,int y2);
@@ -29,5 +29,4 @@ void shadow_draw_text_box(FT_Face face, int x, int y, int percent,
void font_init(void);
FT_Face font_open(char *fcname);
-void fb_clear_mem(void);
-void fb_clear_screen(void);
+void fb_clear_screen(gfxstate *gfx);