示例#1
0
 /// <summary>
 /// Constructor which initializes the osd controller
 /// </summary>
 private OSDController()
 {
     _fullscreenWindow = new FullscreenWindow();
     _videoOSDWindow   = new VideoOSDWindow();
     _dialogWindow     = new DialogWindow();
     _osdForm          = new OSDForm();
     GUIGraphicsContext.form.SizeChanged += parent_SizeChanged;
     using (MediaPortal.Profile.Settings settings = new MediaPortal.Profile.MPSettings())
     {
         _blankScreen = settings.GetValueAsBool("externalOSDLibrary", "blankScreen", false);
     }
 }
示例#2
0
 /// <summary>
 /// Constructor which initializes the osd controller
 /// </summary>
 private OSDController()
 {
     _fullscreenWindow = new FullscreenWindow();
       _videoOSDWindow = new VideoOSDWindow();
       _dialogWindow = new DialogWindow();
       _osdForm = new OSDForm();
       GUIGraphicsContext.form.SizeChanged += parent_SizeChanged;
       using (MediaPortal.Profile.Settings settings = new MediaPortal.Profile.MPSettings())
       {
     _blankScreen = settings.GetValueAsBool("externalOSDLibrary", "blankScreen", false);
       }
 }