public override void Activate()
 {
     if (now_playing_interface != null)
     {
         now_playing_interface.OverrideFullscreen();
     }
 }
        public override void Activate()
        {
            if (now_playing_interface == null)
            {
                now_playing_interface = new NowPlayingInterface();
                Properties.Set <ISourceContents> ("Nereid.SourceContents", now_playing_interface);
            }

            if (now_playing_interface != null)
            {
                now_playing_interface.OverrideFullscreen();
            }
        }
Example #3
0
        public override void Activate()
        {
            if (now_playing_interface == null)
            {
                now_playing_interface = new NowPlayingInterface();
                Properties.Set <ISourceContents> ("Nereid.SourceContents", now_playing_interface);

                if (substitute_audio_display != null)
                {
                    now_playing_interface.Contents.SetSubstituteAudioDisplay(substitute_audio_display);
                    substitute_audio_display = null;
                }
            }

            if (now_playing_interface != null)
            {
                now_playing_interface.OverrideFullscreen();
            }
        }