[MPlayer-cvslog] r36980 - trunk/gui/win32/widgetrender.c

ib subversion at mplayerhq.hu
Fri Mar 7 14:58:14 CET 2014


Author: ib
Date: Fri Mar  7 14:58:14 2014
New Revision: 36980

Log:
Render the full height of the image as calculated.

The X11/GTK GUI does so as well.

In particular, there must not be code for a special handling
of a specific skin - a handling which seems to be obsolete
meanwhile anyway.

Modified:
   trunk/gui/win32/widgetrender.c

Modified: trunk/gui/win32/widgetrender.c
==============================================================================
--- trunk/gui/win32/widgetrender.c	Wed Mar  5 22:58:04 2014	(r36979)
+++ trunk/gui/win32/widgetrender.c	Fri Mar  7 14:58:14 2014	(r36980)
@@ -336,9 +336,6 @@ void renderwidget(skin_t *skin, image *d
             item->x = item->wx + item->wwidth - item->width;
         if(item->x < item->wx)
             item->x = item->wx;
-        /* workaround for blue */
-        if(item->type == tyHpotmeter)
-            height = (item->height < img->height / 3) ? item->height : img->height / 3;
     }
     render(skin->desktopbpp, dest, img, item->x, item->y, 0, y, img->width, height, 1);
 }


More information about the MPlayer-cvslog mailing list