[MPlayer-cvslog] r37025 - trunk/gui/ui/playbar.c
ib
subversion at mplayerhq.hu
Wed Mar 19 15:21:51 CET 2014
Author: ib
Date: Wed Mar 19 15:21:50 2014
New Revision: 37025
Log:
Fix bug with disappearing mouse pointer in playbar.
Since r34119 vo_mouse_autohide no longer has an effect.
The GUI is in control of the mouse pointer's visibility
by itself now.
Modified:
trunk/gui/ui/playbar.c
Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c Wed Mar 19 15:16:30 2014 (r37024)
+++ trunk/gui/ui/playbar.c Wed Mar 19 15:21:50 2014 (r37025)
@@ -82,7 +82,7 @@ static void uiPlaybarDraw( void )
{
playbarLength=guiApp.videoWindow.Height - guiApp.playbar.height;
uiPlaybarFade=0;
- vo_mouse_autohide=False;
+ wsMouseVisibility(&guiApp.videoWindow, wsShowMouseCursor);
}
wsWindowMove( &guiApp.playbarWindow,True,x,playbarLength );
break;
@@ -93,7 +93,7 @@ static void uiPlaybarDraw( void )
playbarLength=guiApp.videoWindow.Height;
uiPlaybarFade=0;
playbarVisible=False;
- vo_mouse_autohide=True;
+ wsMouseVisibility(&guiApp.videoWindow, wsHideMouseCursor);
wsWindowVisibility( &guiApp.playbarWindow,wsHideWindow );
return;
}
@@ -107,7 +107,7 @@ static void uiPlaybarDraw( void )
btnModify( evSetMoviePosition,guiInfo.Position );
btnModify( evSetVolume,guiInfo.Volume );
- vo_mouse_autohide=False;
+ wsMouseVisibility(&guiApp.videoWindow, wsShowMouseCursor);
fast_memcpy( playbarDrawBuffer,guiApp.playbar.Bitmap.Image,guiApp.playbar.Bitmap.ImageSize );
RenderAll( &guiApp.playbarWindow,guiApp.playbarItems,guiApp.IndexOfPlaybarItems,playbarDrawBuffer );
More information about the MPlayer-cvslog
mailing list