mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
Make use of plot_set_dimensions()
svn path=/trunk/netsurf/; revision=13972
This commit is contained in:
parent
8611281b2e
commit
1f3d249c15
@ -501,9 +501,8 @@ static void __CDECL evnt_window_icondraw( WINDOW *win, short buff[8], void * dat
|
||||
tree->ob_height = h;
|
||||
mt_objc_draw( tree, 0, 8, buff[4], buff[5], buff[6], buff[7], app.aes_global );
|
||||
} else {
|
||||
struct rect clip = { 0,0,w,h };
|
||||
plotter->move( plotter, x, y );
|
||||
plotter->resize( plotter, w, h );
|
||||
struct rect clip = { 0,0,w,h };
|
||||
plot_set_dimensions( x,y,w,h );
|
||||
plotter->set_clip(plotter, &clip );
|
||||
plotter->bitmap_resize( plotter, gw->icon, w, h );
|
||||
plotter->bitmap(
|
||||
|
Loading…
Reference in New Issue
Block a user