public OverlayWindow()
        {
            InitializeComponent();

            OverlayConfig config = new OverlayConfig();
            mDefaultCursor = new Cursor(config.DefaultCursor);
            Cursor = mDefaultCursor;
            TopMost = true;
        }
Beispiel #2
0
        public FrameOverlayManager(OverlayPlugin manager, Frame frame)
        {
            Logger   = LogManager.GetLogger(frame.Name + "Overlay");
            mManager = manager;
            mFrame   = frame;

            mConfig            = new OverlayConfig();
            mOverlayActive     = mConfig.LaunchOverlay;
            mEnableCursor      = mConfig.ControlPointer;
            mOverlayFullscreen = mConfig.Fullscreen;
        }
Beispiel #3
0
        public OverlayPlugin(
            IMediaPlayer player,
            IEnumerable <IFeatureTransitionFactory> imageTransitionFactories,
            IEnumerable <IFeatureFactory> drawableFactories,
            IEnumerable <ITriggerFactory> triggerFactories,
            IEnumerable <ISelectionRendererFactory> selectionRendererFactories,
            IEnumerable <ITransitionStyleFactory> transitionStyleFactories,
            IEnumerable <IStateFactory> stateFactories)
        {
            mPlayer = player;
            mImageTransitionFactories   = imageTransitionFactories;
            mDrawableFactories          = drawableFactories;
            mTriggerFactories           = triggerFactories;
            mSelectionRendererFactories = selectionRendererFactories;
            mTransitionStyleFactories   = transitionStyleFactories;
            mStateFactories             = stateFactories;

            mConfig      = new OverlayConfig();
            mIdleEnabled = mConfig.IdleEnabled;
            mMode        = mConfig.InterfaceMode;
        }
        public FrameOverlayManager(OverlayPlugin manager, Frame frame)
        {
            Logger = LogManager.GetLogger(frame.Name + "Overlay");
            mManager = manager;
            mFrame = frame;

            mConfig = new OverlayConfig();
            mOverlayActive = mConfig.LaunchOverlay;
            mEnableCursor = mConfig.ControlPointer;
            mOverlayFullscreen = mConfig.Fullscreen;
        }