From 820312eb35e6fa4f0930a343e8d418c4e2011755 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 21 Nov 2011 08:45:08 +0000 Subject: Update for modified libnsfb API Make thumbnailing work svn path=/trunk/netsurf/; revision=13159 --- framebuffer/convert_image.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'framebuffer/convert_image.c') diff --git a/framebuffer/convert_image.c b/framebuffer/convert_image.c index f601aaa54..bf47a3515 100644 --- a/framebuffer/convert_image.c +++ b/framebuffer/convert_image.c @@ -177,7 +177,10 @@ main(int argc, char **argv) fprintf(f, "#include \n\n"); fprintf(f, "#include \n\n"); fprintf(f, "#include \n\n"); - fprintf(f, "#include \"framebuffer/bitmap.h\"\n\n"); + fprintf(f, "#include \n\n"); + fprintf(f, "#include \"desktop/plot_style.h\"\n"); + fprintf(f, "#include \"framebuffer/gui.h\"\n"); + fprintf(f, "#include \"framebuffer/fbtk.h\"\n\n"); fprintf(f, "static uint8_t %s_pixdata[] = {\n", argv[3]); for (y = 0; y < HEIGHT; ++y) { @@ -197,7 +200,7 @@ main(int argc, char **argv) } fprintf(f, "};\n\n"); - fprintf(f, "struct bitmap %s = {\n", argv[3]); + fprintf(f, "struct fbtk_bitmap %s = {\n", argv[3]); fprintf(f, "\t.width\t\t= %d,\n", WIDTH); fprintf(f, "\t.height\t\t= %d,\n", HEIGHT); fprintf(f, "\t.hot_x\t\t= %d,\n", HOT_X); -- cgit v1.2.3