diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-11-21 08:45:08 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-11-21 08:45:08 +0000 |
commit | 820312eb35e6fa4f0930a343e8d418c4e2011755 (patch) | |
tree | 6a151f91e1be6496b11e843c8af603addd690727 /framebuffer/gui.c | |
parent | 747c66c982cd36979e17d2b845f93559a9d5affd (diff) | |
download | netsurf-820312eb35e6fa4f0930a343e8d418c4e2011755.tar.gz netsurf-820312eb35e6fa4f0930a343e8d418c4e2011755.tar.bz2 |
Update for modified libnsfb API
Make thumbnailing work
svn path=/trunk/netsurf/; revision=13159
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r-- | framebuffer/gui.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 0c749bb65..5feae75f3 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -49,7 +49,6 @@ #include "framebuffer/gui.h" #include "framebuffer/fbtk.h" #include "framebuffer/framebuffer.h" -#include "framebuffer/bitmap.h" #include "framebuffer/schedule.h" #include "framebuffer/findfile.h" #include "framebuffer/image_data.h" @@ -222,7 +221,7 @@ fb_pan(fbtk_widget_t *widget, dstbox.y1 = dstbox.y0 + height + bwidget->pany; /* move part that remains visible up */ - nsfb_plot_copy(nsfb, &srcbox, &dstbox); + nsfb_plot_copy(nsfb, &srcbox, nsfb, &dstbox); /* redraw newly exposed area */ bwidget->scrolly += bwidget->pany; @@ -242,7 +241,7 @@ fb_pan(fbtk_widget_t *widget, dstbox.y1 = dstbox.y0 + height - bwidget->pany; /* move part that remains visible down */ - nsfb_plot_copy(nsfb, &srcbox, &dstbox); + nsfb_plot_copy(nsfb, &srcbox, nsfb, &dstbox); /* redraw newly exposed area */ bwidget->scrolly += bwidget->pany; @@ -262,7 +261,7 @@ fb_pan(fbtk_widget_t *widget, dstbox.y1 = dstbox.y0 + height; /* move part that remains visible left */ - nsfb_plot_copy(nsfb, &srcbox, &dstbox); + nsfb_plot_copy(nsfb, &srcbox, nsfb, &dstbox); /* redraw newly exposed area */ bwidget->scrollx += bwidget->panx; @@ -282,7 +281,7 @@ fb_pan(fbtk_widget_t *widget, dstbox.y1 = dstbox.y0 + height; /* move part that remains visible right */ - nsfb_plot_copy(nsfb, &srcbox, &dstbox); + nsfb_plot_copy(nsfb, &srcbox, nsfb, &dstbox); /* redraw newly exposed area */ bwidget->scrollx += bwidget->panx; @@ -1391,7 +1390,7 @@ static void throbber_advance(void *pw) { struct gui_window *g = pw; - struct bitmap *image; + struct fbtk_bitmap *image; switch (g->throbber_index) { case 0: |