mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +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;
|
tree->ob_height = h;
|
||||||
mt_objc_draw( tree, 0, 8, buff[4], buff[5], buff[6], buff[7], app.aes_global );
|
mt_objc_draw( tree, 0, 8, buff[4], buff[5], buff[6], buff[7], app.aes_global );
|
||||||
} else {
|
} else {
|
||||||
struct rect clip = { 0,0,w,h };
|
struct rect clip = { 0,0,w,h };
|
||||||
plotter->move( plotter, x, y );
|
plot_set_dimensions( x,y,w,h );
|
||||||
plotter->resize( plotter, w, h );
|
|
||||||
plotter->set_clip(plotter, &clip );
|
plotter->set_clip(plotter, &clip );
|
||||||
plotter->bitmap_resize( plotter, gw->icon, w, h );
|
plotter->bitmap_resize( plotter, gw->icon, w, h );
|
||||||
plotter->bitmap(
|
plotter->bitmap(
|
||||||
|
Loading…
Reference in New Issue
Block a user