mirror of
https://github.com/videolan/vlc.git
synced 2025-01-27 01:56:19 +08:00
* ctrl_button.cpp : handle double click events too
This commit is contained in:
parent
1078c3002d
commit
ef85266ff2
@ -2,7 +2,7 @@
|
||||
* ctrl_button.cpp
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2003 VideoLAN
|
||||
* $Id: ctrl_button.cpp,v 1.2 2004/02/29 16:49:55 asmax Exp $
|
||||
* $Id$
|
||||
*
|
||||
* Authors: Cyril Deguet <asmax@via.ecp.fr>
|
||||
* Olivier Teulière <ipkiss@via.ecp.fr>
|
||||
@ -69,6 +69,8 @@ CtrlButton::CtrlButton( intf_thread_t *pIntf, const GenericBitmap &rBmpUp,
|
||||
// Transitions
|
||||
m_fsm.addTransition( "upOver", "mouse:left:down", "downOver",
|
||||
&m_cmdUpOverDownOver );
|
||||
m_fsm.addTransition( "upOver", "mouse:left:dblclick", "downOver",
|
||||
&m_cmdUpOverDownOver );
|
||||
m_fsm.addTransition( "downOver", "mouse:left:up", "upOver",
|
||||
&m_cmdDownOverUpOver );
|
||||
m_fsm.addTransition( "downOver", "leave", "down", &m_cmdDownOverDown );
|
||||
|
Loading…
Reference in New Issue
Block a user