public WinzoomUnderlayForm(WarpPointers.WarpPointer warpPointer, CalibrationAdjuster caladjuster, Winzoom wz) { InitializeComponent(); FormBorderStyle = FormBorderStyle.None; this.warpPointer = warpPointer; this.calibrationAdjuster = caladjuster; this.wz = wz; }
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; }
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; }