public virtual void ShowZoomModeDialog() { IPlayerContextManager pcm = ServiceRegistration.Get <IPlayerContextManager>(); IPlayerContext pc = pcm.PrimaryPlayerContext; PlayerConfigurationDialogModel.OpenChooseGeometryDialog(pc); }
public virtual void ShowZoomModeDialog() { IPlayerContextManager pcm = ServiceRegistration.Get <IPlayerContextManager>(); IPlayerContext pc = pcm.GetPlayerContext(PlayerManagerConsts.PRIMARY_SLOT); PlayerConfigurationDialogModel.OpenChooseGeometryDialog(pc); }
public void ShowVideoInfo() { if (IsOSDVisible) { // Pressing the info button twice will bring up the context menu PlayerConfigurationDialogModel.OpenPlayerConfigurationDialog(); } _lastVideoInfoDemand = DateTime.Now; Update(); }
public override void ToggleOSD() { if (IsOSDVisible) { MediaModelSettings settings = ServiceRegistration.Get <ISettingsManager>().Load <MediaModelSettings>(); if (settings.OpenPlayerConfigInOsd) { PlayerConfigurationDialogModel.OpenPlayerConfigurationDialog(); _isOsdOpenOnDemand = true; return; } } base.ToggleOSD(); }
public void ShowVideoInfo() { if (!IsOSDVisible) { IsOSDVisible = IsOSDLevel0 = true; IsOSDLevel1 = IsOSDLevel2 = false; Update(); return; } if (IsOSDLevel0) { IsOSDVisible = IsOSDLevel1 = true; IsOSDLevel0 = IsOSDLevel2 = false; Update(); return; } if (IsOSDLevel1) { IsOSDVisible = IsOSDLevel2 = true; IsOSDLevel0 = IsOSDLevel1 = false; Update(); return; } if (IsOSDLevel2) { // Hide OSD IsOSDVisible = IsOSDLevel0 = IsOSDLevel1 = IsOSDLevel2 = false; // Pressing the info button twice will bring up the context menu PlayerConfigurationDialogModel.OpenPlayerConfigurationDialog(); } Update(); }
public void Execute() { PlayerConfigurationDialogModel.OpenPlayerConfigurationDialog(); }