Exemple #1
0
 /// <summary>
 /// Activates the osd. This methods must be called first, otherwise nothing will displayed
 /// </summary>
 private void Activate()
 {
     _fullscreen = g_Player.Player != null && g_Player.FullScreen;
     if (GUIGraphicsContext.VideoWindow != null)
     {
         _videoRectangle = GUIGraphicsContext.VideoWindow;
     }
     _osdForm.ShowForm();
     _needUpdate = true;
     _isActive   = true;
 }