summaryrefslogtreecommitdiff
path: root/framebuffer/fbtk/bitmap.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-11-21 08:45:08 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-11-21 08:45:08 +0000
commit820312eb35e6fa4f0930a343e8d418c4e2011755 (patch)
tree6a151f91e1be6496b11e843c8af603addd690727 /framebuffer/fbtk/bitmap.c
parent747c66c982cd36979e17d2b845f93559a9d5affd (diff)
downloadnetsurf-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/fbtk/bitmap.c')
-rw-r--r--framebuffer/fbtk/bitmap.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/framebuffer/fbtk/bitmap.c b/framebuffer/fbtk/bitmap.c
index 052d629b8..1f147be00 100644
--- a/framebuffer/fbtk/bitmap.c
+++ b/framebuffer/fbtk/bitmap.c
@@ -28,7 +28,6 @@
#include "framebuffer/gui.h"
#include "framebuffer/fbtk.h"
-#include "framebuffer/bitmap.h"
#include "framebuffer/image_data.h"
#include "widget.h"
@@ -70,7 +69,7 @@ fb_redraw_bitmap(fbtk_widget_t *widget, fbtk_callback_info *cbi)
/* exported function documented in fbtk.h */
void
-fbtk_set_bitmap(fbtk_widget_t *widget, struct bitmap *image)
+fbtk_set_bitmap(fbtk_widget_t *widget, struct fbtk_bitmap *image)
{
if ((widget == NULL) || (widget->type != FB_WIDGET_TYPE_BITMAP))
return;
@@ -88,7 +87,7 @@ fbtk_create_bitmap(fbtk_widget_t *parent,
int width,
int height,
colour c,
- struct bitmap *image)
+ struct fbtk_bitmap *image)
{
fbtk_widget_t *neww;
@@ -111,7 +110,7 @@ fbtk_create_button(fbtk_widget_t *parent,
int width,
int height,
colour c,
- struct bitmap *image,
+ struct fbtk_bitmap *image,
fbtk_callback click,
void *pw)
{