From 1f07fc6de5ae4e9999efb1fc1cd0f25a27f1bd64 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 24 Apr 2004 23:42:32 +0000 Subject: [project @ 2004-04-24 23:42:31 by bursa] Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds. svn path=/import/netsurf/; revision=801 --- desktop/gui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/gui.h') diff --git a/desktop/gui.h b/desktop/gui.h index 95b18083f..8b23e81b3 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -21,6 +21,7 @@ typedef enum { GUI_POINTER_DEFAULT, GUI_POINTER_POINT, GUI_POINTER_CARET, GUI_POINTER_MOVE } gui_pointer_shape; #include +#include "netsurf/content/content.h" #include "netsurf/desktop/browser.h" bool gui_window_in_list(gui_window *g); @@ -32,7 +33,7 @@ void gui_window_hide(gui_window* g); void gui_window_redraw(gui_window* g, unsigned long x0, unsigned long y0, unsigned long x1, unsigned long y1); void gui_window_redraw_window(gui_window* g); -void gui_window_update_box(gui_window *g, int x0, int y0, int x1, int y1); +void gui_window_update_box(gui_window *g, const union content_msg_data *data); void gui_window_set_scroll(gui_window* g, unsigned long sx, unsigned long sy); unsigned long gui_window_get_width(gui_window* g); void gui_window_set_extent(gui_window* g, unsigned long width, unsigned long height); -- cgit v1.2.3