[vlc-devel] commit: dvdnav: switch to the activated color sooner (Derk-Jan Hartman )
git version control
git at videolan.org
Thu Aug 21 22:54:57 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Aug 21 22:54:19 2008 +0200| [543a14198e2fa2367468864f2c3d6df91e18c21c] | committer: Derk-Jan Hartman
dvdnav: switch to the activated color sooner
Switch to active button color before making the actual activation. This gives us a small chance to actually SEE the button be activated before the menu continues.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=543a14198e2fa2367468864f2c3d6df91e18c21c
---
modules/access/dvdnav.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index 8554ac1..46e66ab 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -1272,8 +1272,8 @@ static void* EventThread( vlc_object_t *p_this )
break;
case ACTIONID_NAV_ACTIVATE:
b_activated = true;
- dvdnav_button_activate( p_sys->dvdnav, pci );
ButtonUpdate( p_ev->p_demux, true );
+ dvdnav_button_activate( p_sys->dvdnav, pci );
break;
default:
break;
@@ -1300,9 +1300,9 @@ static void* EventThread( vlc_object_t *p_this )
if( p_ev->b_clicked )
{
b_activated = true;
+ ButtonUpdate( p_ev->p_demux, true );
dvdnav_mouse_activate( p_sys->dvdnav, pci, valx.i_int,
valy.i_int );
- ButtonUpdate( p_ev->p_demux, true );
}
p_ev->b_moved = false;
More information about the vlc-devel
mailing list