private void localCursorChanged(CursorMgr mgr) { if (mgr.LocalCursor == null) { return; } if (mgr.skipNextAquiredCursor) { mgr.skipNextAquiredCursor = false; InpDeviceUp(new Point(0, 0)); return; } //local cursor approval switch (_modeMgr.Mode) { case ShapeInputMode.CursorApprovalExpected: _modeMgr.Mode = ShapeInputMode.Manipulating; CaptureAndStartManip(mgr.LocalCursor, _cursorApproval.pos, _cursorApproval.resizeNode, _cursorApproval.td); if (mgr.LocalCursor != null) { mgr.LocalCursor.SetFocus(); } break; } }
void localCursorChanged(CursorMgr mgr) { if (mgr.LocalCursor == null) { return; } //local cursor approval switch (_modeMgr.Mode) { case ShapeInputMode.CursorApprovalExpected: _modeMgr.Mode = ShapeInputMode.Manipulating; CaptureAndStartManip(mgr.LocalCursor, cursorApproval.pos, cursorApproval.resizeNode, cursorApproval.td); mgr.LocalCursor.SetFocus(); break; } }
private void localCursorChanged(CursorMgr mgr) { if (mgr.LocalCursor == null) return; if (mgr.skipNextAquiredCursor) { mgr.skipNextAquiredCursor = false; InpDeviceUp(new Point(0,0)); return; } //local cursor approval switch (_modeMgr.Mode) { case ShapeInputMode.CursorApprovalExpected: _modeMgr.Mode = ShapeInputMode.Manipulating; CaptureAndStartManip(mgr.LocalCursor, _cursorApproval.pos, _cursorApproval.resizeNode, _cursorApproval.td); if (mgr.LocalCursor != null) { mgr.LocalCursor.SetFocus(); } break; } }
void localCursorChanged(CursorMgr mgr) { if (mgr.LocalCursor == null) return; //local cursor approval switch (_modeMgr.Mode) { case ShapeInputMode.CursorApprovalExpected: _modeMgr.Mode = ShapeInputMode.Manipulating; CaptureAndStartManip(mgr.LocalCursor, cursorApproval.pos, cursorApproval.resizeNode, cursorApproval.td); mgr.LocalCursor.SetFocus(); break; } }