summaryrefslogtreecommitdiff
path: root/beos/beos_thumbnail.cpp
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-02-20 15:32:20 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-02-20 15:32:20 +0000
commit77985f4faabb1abf1b75252e18f5a535b7e9b48b (patch)
treeab8c850b09979a640f8a21a2c9bd470c34b76413 /beos/beos_thumbnail.cpp
parent0bad971aecf505440a84086d0b4f2da731803912 (diff)
downloadnetsurf-77985f4faabb1abf1b75252e18f5a535b7e9b48b.tar.gz
netsurf-77985f4faabb1abf1b75252e18f5a535b7e9b48b.tar.bz2
Use core thumbnail_redraw() function in BeOS front end.
svn path=/trunk/netsurf/; revision=11722
Diffstat (limited to 'beos/beos_thumbnail.cpp')
-rw-r--r--beos/beos_thumbnail.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/beos/beos_thumbnail.cpp b/beos/beos_thumbnail.cpp
index fc966156f..62b60175d 100644
--- a/beos/beos_thumbnail.cpp
+++ b/beos/beos_thumbnail.cpp
@@ -70,7 +70,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
int big_width;
int big_height;
int depth;
- struct rect clip;
assert(content);
assert(bitmap);
@@ -121,17 +120,8 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
plot_scale = thumbnail_get_redraw_scale(content, big_width)
nsbeos_plot_set_scale(plot_scale);
- plot.rectangle(0, 0, big_width, big_height,
- plot_style_fill_white);
-
- clip.x0 = 0;
- clip.y0 = 0;
- clip.x1 = big_width;
- clip.y1 = big_height;
-
/* render the content */
- content_redraw(content, 0, 0, big_width, big_height,
- &clip, plot_scale, 0xFFFFFF);
+ thumbnail_redraw(content, big_width, big_height);
view->Sync();
view->UnlockLooper();