public WebcamSourceProvider(ILocalizationProvider Loc, IIconSet Icons, WebcamModel WebcamModel) { _loc = Loc; _webcamModel = WebcamModel; Icon = Icons.Webcam; Source = new WebcamVideoItem(WebcamModel); Loc.LanguageChanged += L => RaisePropertyChanged(nameof(Name)); }
public ConsoleLister(WebcamModel Webcam, IAudioSource AudioSource, IPlatformServices PlatformServices, FFmpegWriterProvider FfmpegWriterProvider, SharpAviWriterProvider SharpAviWriterProvider) { _webcam = Webcam; _audioSource = AudioSource; _platformServices = PlatformServices; _ffmpegWriterProvider = FfmpegWriterProvider; _sharpAviWriterProvider = SharpAviWriterProvider; }
public WebcamPage(WebcamModel WebcamModel, ScreenShotModel ScreenShotModel, IPlatformServices PlatformServices, WebcamOverlaySettings WebcamSettings) { _webcamModel = WebcamModel; _screenShotModel = ScreenShotModel; _platformServices = PlatformServices; _reactor = new WebcamOverlayReactor(WebcamSettings); Loaded += OnLoaded; InitializeComponent(); }
public void show_pictureTest() { PictureBox pic = new PictureBox(); PixelState.getInstance().set_pictureBox(pic); WebcamModel target = new WebcamModel(); Dictionary <int, string> devices = new Dictionary <int, string>(); Dictionary <int, string> solutions = new Dictionary <int, string>(); devices.Add(1, ""); solutions.Add(1, ""); WebcamOptions form = new WebcamOptions(devices, solutions); target.show_picture(pic, form); }
public RememberByName(Settings Settings, VideoSourcesViewModel VideoSourcesViewModel, VideoWritersViewModel VideoWritersViewModel, AudioSource AudioSource, ScreenShotModel ScreenShotModel, IEnumerable <IVideoSourceProvider> VideoSourceProviders, WebcamModel WebcamModel) { _settings = Settings; _videoSourcesViewModel = VideoSourcesViewModel; _videoWritersViewModel = VideoWritersViewModel; _audioSource = AudioSource; _screenShotModel = ScreenShotModel; _videoSourceProviders = VideoSourceProviders; _webcamModel = WebcamModel; }
public WebCamWindow(WebcamModel WebcamModel, ScreenShotModel ScreenShotModel, IPlatformServices PlatformServices) { _webcamModel = WebcamModel; _screenShotModel = ScreenShotModel; _platformServices = PlatformServices; InitializeComponent(); Closing += (S, E) => { Hide(); E.Cancel = true; }; }
public ConsoleManager(Settings Settings, RecordingModel RecordingModel, ScreenShotModel ScreenShotModel, IEnumerable <IVideoSourceProvider> VideoSourceProviders, IPlatformServices PlatformServices, WebcamModel WebcamModel, IMessageProvider MessageProvider) { _settings = Settings; _recordingModel = RecordingModel; _screenShotModel = ScreenShotModel; _videoSourceProviders = VideoSourceProviders; _platformServices = PlatformServices; _webcamModel = WebcamModel; _messageProvider = MessageProvider; // Hide on Full Screen Screenshot doesn't work on Console Settings.UI.HideOnFullScreenShot = false; }
public WebcamOverlay(WebcamModel WebcamModel, Settings Settings) : base(Settings.WebcamOverlay, true) { _webcamModel = WebcamModel; }
public WebcamOverlay(WebcamModel WebcamModel, Settings Settings) : base(true) { _webcamModel = WebcamModel; _settings = Settings.WebcamOverlay; }
public WebcamVideoItem(WebcamModel WebcamModel) { _webcamModel = WebcamModel; _webcamModel.PropertyChanged += (S, E) => RaisePropertyChanged(nameof(Name)); }
public void stop_captureTest() { WebcamModel target = new WebcamModel(); // TODO: Passenden Wert initialisieren target.stop_capture(); }