Example #1
0
        public WebcamPage(WebcamModel WebcamModel,
                          ScreenShotModel ScreenShotModel,
                          IPlatformServices PlatformServices,
                          WebcamOverlaySettings WebcamSettings)
        {
            _webcamModel      = WebcamModel;
            _screenShotModel  = ScreenShotModel;
            _platformServices = PlatformServices;

            _reactor = new WebcamOverlayReactor(WebcamSettings);

            Loaded += OnLoaded;

            InitializeComponent();
        }
Example #2
0
        void InitOverlaySettings()
        {
            if (Keystrokes == null)
            {
                Keystrokes = new KeystrokesSettings();
            }

            if (Clicks == null)
            {
                Clicks = new MouseClickSettings();
            }

            if (WebcamOverlay == null)
            {
                WebcamOverlay = new WebcamOverlaySettings
                {
                    HorizontalAlignment = Alignment.End
                };
            }
        }
Example #3
0
 LayerFrame Webcam(WebcamOverlaySettings Settings)
 {
     return(Image(Settings, "Webcam"));
 }