diff gui/mplayer/menu.c @ 33129:5f3171d4d7a4

Define the transparent color as a macro. Additionally, remove it as parameter from Convert32to1(), because there is only this single one.
author ib
date Mon, 04 Apr 2011 19:12:31 +0000
parents 9566100d88a1
children 22c3241467b3
line wrap: on
line diff
--- a/gui/mplayer/menu.c	Mon Apr 04 18:51:06 2011 +0000
+++ b/gui/mplayer/menu.c	Mon Apr 04 19:12:31 2011 +0000
@@ -56,7 +56,7 @@
        for ( x=appMPlayer.menuItems[ mplMenuItem ].x; x < appMPlayer.menuItems[ mplMenuItem ].x + appMPlayer.menuItems[ mplMenuItem ].width; x++ )
          {
           tmp=drw[ y * appMPlayer.menuSelected.width + x ];
-          if ( tmp != 0x00ff00ff ) buf[ y * appMPlayer.menu.width + x ]=tmp;
+          if ( tmp != TRANSPARENT ) buf[ y * appMPlayer.menu.width + x ]=tmp;
          }
     }
    mplOldMenuItem=mplMenuItem;