public EmulatedTouchscreenDriver(EmulatorWindow window, int width, int height, int maxFingers)
 {
     _window    = window;
     Width      = width;
     Height     = height;
     MaxFingers = maxFingers;
 }
        public EmulatedDisplayDriver(EmulatorWindow emulatorWindow, int visibleWidth, int visibleHeight)
        {
            _emulatorWindow = emulatorWindow;
            VisibleWidth    = visibleWidth;
            VisibleHeight   = visibleHeight;

            Framebuffer = new EmulatedFramebuffer(_emulatorWindow, visibleWidth, visibleHeight);
        }
        public EmulatedFramebuffer(EmulatorWindow emulatorWindow, int visibleWidth, int visibleHeight)
        {
            _emulatorWindow = emulatorWindow;
            VisibleWidth    = visibleWidth;
            VisibleHeight   = visibleHeight;

            BackBuffer  = new Image <Rgb24>(visibleWidth, visibleHeight);
            FrontBuffer = new Image <Rgb24>(visibleWidth, visibleHeight);
        }
示例#4
0
 public EmulatedDigitizerDriver(EmulatorWindow window, int width, int height)
 {
     _window    = window;
     Width      = width;
     Height     = height;
     Calibrator = new TouchscreenCalibrator
     {
         Calibration = BuiltinStylusCalibrations.ReMarkableMarker
     };
 }
 public EmulatedDigitizerDriver(EmulatorWindow window, int width, int height)
 {
     _window = window;
     Width   = width;
     Height  = height;
 }
 public EmulatedButtonDriver(EmulatorWindow window)
 {
     _window      = window;
     ButtonStates = KeyMap.Values.ToDictionary(button => button, button => ButtonState.Released);
 }