Esempio n. 1
0
        public WinzoomUnderlayForm(WarpPointers.WarpPointer warpPointer, CalibrationAdjuster caladjuster, Winzoom wz)
        {
            InitializeComponent();
            FormBorderStyle = FormBorderStyle.None;

            this.warpPointer         = warpPointer;
            this.calibrationAdjuster = caladjuster;
            this.wz = wz;
        }
Esempio n. 2
0
 public CursorMagnet(MouseController mousecontroller, CalibrationAdjuster calibrationAdjuster)
 {
     previousGazePoint      = new Point(0, 0);
     previousCursorPosition = new Point(0, 0);
     recordedPoints         = new Point[60];
     boxes = new List <Box>();
     mc    = mousecontroller;
     this.calibrationAdjuster = calibrationAdjuster;
 }
Esempio n. 3
0
 public CalibrationAdjusterManualForm(CalibrationAdjuster caladjust, MouseController mc)
 {
     ca            = caladjust;
     controller    = mc;
     numCircles    = ca.adjGrid.Length;
     currentCircle = 0;
     graphics      = CreateGraphics();
     Load         += new EventHandler(CalibrationAdjusterManualForm_Load);
     FormClosing  += CalibrationAdjusterManualForm_FormClosing;
     KeyDown      += new KeyEventHandler(CalibrationAdjusterManualForm_KeyDown);
 }
        public Winzoom(WarpPointers.WarpPointer warpPointer, CalibrationAdjuster calibrationAdjuster)
        {
            active              = false;
            enabled             = true;
            activeRect          = new Rectangle(0, 0, 0, 0);
            activeRectPadded    = new Rectangle(0, 0, 0, 0);
            activeRectSrc       = new Rectangle(0, 0, 0, 0);
            activeRectCenter    = new Point(0, 0);
            activeRectSrcCenter = new Point(0, 0);

            this.warpPointer         = warpPointer;
            this.calibrationAdjuster = calibrationAdjuster;
        }