diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-17 13:15:27 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-17 13:15:27 +0000 |
commit | dd067c9fba4d783f5515b7df19aae418903257a4 (patch) | |
tree | 45d4f7fca92c71f4b580708ab0ace30249b84adf /amiga | |
parent | c5b9e459604ad866ac4a4143ed9ac1c15f1be5c1 (diff) | |
download | netsurf-dd067c9fba4d783f5515b7df19aae418903257a4.tar.gz netsurf-dd067c9fba4d783f5515b7df19aae418903257a4.tar.bz2 |
Clear bitmap before redrawing tree
svn path=/trunk/netsurf/; revision=10893
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/tree.c b/amiga/tree.c index f01805314..07ad893fd 100755 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -200,6 +200,9 @@ void tree_icon_name_from_content_type(char *buffer, content_type type) #ifdef WITH_NS_SVG case CONTENT_SVG: #endif +#ifdef WITH_WEBP + case CONTENT_WEBP: +#endif default: ami_get_theme_filename(buffer,"theme_list_content",true); break; @@ -1046,6 +1049,8 @@ void ami_tree_redraw_request(int x, int y, int width, int height, void *data) if(x - pos_x + width > bbox->Width) width = bbox->Width - (x - pos_x); if(y - pos_y + height > bbox->Height) height = bbox->Height - (y - pos_y); + ami_clg(0xffffffff); + tree_draw(twin->tree, -pos_x, -pos_y, x, y, width, height); BltBitMapRastPort(twin->globals.bm, x - pos_x, y - pos_y, twin->win->RPort, |