set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
add_integer( "hotkeys-mousewheel-mode", MOUSEWHEEL_VOLUME,
- N_("MouseWheel x-axis Control"),
- N_("MouseWheel x-axis can control volume, position or "
+ N_("MouseWheel up-down axis Control"),
+ N_("The MouseWheel up-down (vertical) axis can control volume, position or "
"mousewheel event can be ignored"), false )
change_integer_list( i_mode_list, psz_mode_list_text )
}
/* Interface showing */
- case ACTIONID_INTF_SHOW:
- var_SetBool( p_intf->p_libvlc, "intf-show", true );
- break;
-
+ case ACTIONID_INTF_TOGGLE_FSC:
case ACTIONID_INTF_HIDE:
- var_SetBool( p_intf->p_libvlc, "intf-show", false );
+ var_TriggerCallback( p_intf->p_libvlc, "intf-toggle-fscontrol" );
break;
case ACTIONID_INTF_BOSS:
ClearChannels( p_intf, p_vout );
int state = var_GetInteger( p_input, "state" );
- if( state != PAUSE_S )
- {
- DisplayIcon( p_vout, OSD_PAUSE_ICON );
- state = PAUSE_S;
- }
- else
- {
- DisplayIcon( p_vout, OSD_PLAY_ICON );
- state = PLAYING_S;
- }
- var_SetInteger( p_input, "state", state );
+ DisplayIcon( p_vout, state != PAUSE_S ? OSD_PAUSE_ICON : OSD_PLAY_ICON );
+ playlist_Pause( p_playlist );
}
else
playlist_Play( p_playlist );