亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tracker.java

?? 源碼為Eclipse開源開發平臺桌面開發工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
						break;				}				if (xChange != 0 || yChange != 0) {					Rectangle [] oldRectangles = rectangles;					boolean oldStippled = stippled;					Rectangle [] rectsToErase = new Rectangle [rectangles.length];					for (int i = 0; i < rectangles.length; i++) {						Rectangle current = rectangles [i];						rectsToErase [i] = new Rectangle (current.x, current.y, current.width, current.height);					}					event.x = oldX + xChange;					event.y = oldY + yChange;					if ((style & SWT.RESIZE) != 0) {						resizeRectangles (xChange, yChange);						inEvent = true;						sendEvent (SWT.Resize, event);						inEvent = false;						/*						* It is possible (but unlikely) that application						* code could have disposed the widget in the resize						* event.  If this happens return false to indicate						* that the tracking has failed.						*/						if (isDisposed ()) {							cancelled = true;							break;						}						boolean draw = false;						/*						 * It is possible that application code could have						 * changed the rectangles in the resize event.  If this						 * happens then only redraw the tracker if the rectangle						 * values have changed.						 */						if (rectangles != oldRectangles) {							int length = rectangles.length;							if (length != rectsToErase.length) {								draw = true;							} else {								for (int i = 0; i < length; i++) {									if (!rectangles [i].equals (rectsToErase [i])) {										draw = true;										break;									}								}							}						} else {							draw = true;						}						if (draw) {							drawRectangles (rectsToErase, oldStippled);							drawRectangles (rectangles, stippled);						}						cursorPos = adjustResizeCursor ();					} else {						moveRectangles (xChange, yChange);						inEvent = true;						sendEvent (SWT.Move, event);						inEvent = false;						/*						* It is possible (but unlikely) that application						* code could have disposed the widget in the move						* event.  If this happens return false to indicate						* that the tracking has failed.						*/						if (isDisposed ()) {							cancelled = true;							break;						}						boolean draw = false;						/*						 * It is possible that application code could have						 * changed the rectangles in the move event.  If this						 * happens then only redraw the tracker if the rectangle						 * values have changed.						 */						if (rectangles != oldRectangles) {							int length = rectangles.length;							if (length != rectsToErase.length) {								draw = true;							} else {								for (int i = 0; i < length; i++) {									if (!rectangles [i].equals (rectsToErase [i])) {										draw = true;										break;									}								}							}						} else {							draw = true;						}						if (draw) {							drawRectangles (rectsToErase, oldStippled);							drawRectangles (rectangles, stippled);						}						cursorPos = adjustMoveCursor ();					}					oldX = cursorPos.x;  oldY = cursorPos.y;				}				break;		}		if (OS.WM_KEYFIRST <= message && message <= OS.WM_KEYLAST) continue;		if (OS.WM_MOUSEFIRST <= message && message <= OS.WM_MOUSELAST) continue;		OS.DispatchMessage (msg);	}	if (mouseDown) OS.ReleaseCapture ();	if (!isDisposed()) drawRectangles (rectangles, stippled);	/*	* Cleanup: If a transparent window was created in order to capture events then	* destroy it and its callback object now.	*/	if (hwndTransparent != 0) {		OS.DestroyWindow (hwndTransparent);	}	if (newProc != null) {		newProc.dispose ();	}	/*	* Cleanup: If this tracker was resizing then the last cursor that it created	* needs to be destroyed.	*/	if (resizeCursor != 0) {		OS.DestroyCursor (resizeCursor);	}	tracking = false;	return !cancelled;}/** * Removes the listener from the collection of listeners who will * be notified when the control is moved or resized. * * @param listener the listener which should be notified * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see ControlListener * @see #addControlListener */public void removeControlListener (ControlListener listener) {	checkWidget ();	if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);	if (eventTable == null) return;	eventTable.unhook (SWT.Resize, listener);	eventTable.unhook (SWT.Move, listener);}void resizeRectangles (int xChange, int yChange) {	/*	* If the cursor orientation has not been set in the orientation of	* this change then try to set it here.	*/	if (xChange < 0 && ((style & SWT.LEFT) != 0) && ((cursorOrientation & SWT.RIGHT) == 0)) {		cursorOrientation |= SWT.LEFT;	} else if (xChange > 0 && ((style & SWT.RIGHT) != 0) && ((cursorOrientation & SWT.LEFT) == 0)) {		cursorOrientation |= SWT.RIGHT;	} else if (yChange < 0 && ((style & SWT.UP) != 0) && ((cursorOrientation & SWT.DOWN) == 0)) {		cursorOrientation |= SWT.UP;	} else if (yChange > 0 && ((style & SWT.DOWN) != 0) && ((cursorOrientation & SWT.UP) == 0)) {		cursorOrientation |= SWT.DOWN;	}		/*	 * If the bounds will flip about the x or y axis then apply the adjustment	 * up to the axis (ie.- where bounds width/height becomes 0), change the	 * cursor's orientation accordingly, and flip each Rectangle's origin (only	 * necessary for > 1 Rectangles) 	 */	if ((cursorOrientation & SWT.LEFT) != 0) {		if (xChange > bounds.width) {			if ((style & SWT.RIGHT) == 0) return;			cursorOrientation |= SWT.RIGHT;			cursorOrientation &= ~SWT.LEFT;			bounds.x += bounds.width;			xChange -= bounds.width;			bounds.width = 0;			if (proportions.length > 1) {				for (int i = 0; i < proportions.length; i++) {					Rectangle proportion = proportions [i];					proportion.x = 100 - proportion.x - proportion.width;				}			}		}	} else if ((cursorOrientation & SWT.RIGHT) != 0) {		if (bounds.width < -xChange) {			if ((style & SWT.LEFT) == 0) return;			cursorOrientation |= SWT.LEFT;			cursorOrientation &= ~SWT.RIGHT;			xChange += bounds.width;			bounds.width = 0;			if (proportions.length > 1) {				for (int i = 0; i < proportions.length; i++) {					Rectangle proportion = proportions [i];					proportion.x = 100 - proportion.x - proportion.width;				}			}		}	}	if ((cursorOrientation & SWT.UP) != 0) {		if (yChange > bounds.height) {			if ((style & SWT.DOWN) == 0) return;			cursorOrientation |= SWT.DOWN;			cursorOrientation &= ~SWT.UP;			bounds.y += bounds.height;			yChange -= bounds.height;			bounds.height = 0;			if (proportions.length > 1) {				for (int i = 0; i < proportions.length; i++) {					Rectangle proportion = proportions [i];					proportion.y = 100 - proportion.y - proportion.height;				}			}		}	} else if ((cursorOrientation & SWT.DOWN) != 0) {		if (bounds.height < -yChange) {			if ((style & SWT.UP) == 0) return;			cursorOrientation |= SWT.UP;			cursorOrientation &= ~SWT.DOWN;			yChange += bounds.height;			bounds.height = 0;			if (proportions.length > 1) {				for (int i = 0; i < proportions.length; i++) {					Rectangle proportion = proportions [i];					proportion.y = 100 - proportion.y - proportion.height;				}			}		}	}		// apply the bounds adjustment	if ((cursorOrientation & SWT.LEFT) != 0) {		bounds.x += xChange;		bounds.width -= xChange;	} else if ((cursorOrientation & SWT.RIGHT) != 0) {		bounds.width += xChange;	}	if ((cursorOrientation & SWT.UP) != 0) {		bounds.y += yChange;		bounds.height -= yChange;	} else if ((cursorOrientation & SWT.DOWN) != 0) {		bounds.height += yChange;	}		Rectangle [] newRects = new Rectangle [rectangles.length];	for (int i = 0; i < rectangles.length; i++) {		Rectangle proportion = proportions[i];		newRects[i] = new Rectangle (			proportion.x * bounds.width / 100 + bounds.x,			proportion.y * bounds.height / 100 + bounds.y,			proportion.width * bounds.width / 100,			proportion.height * bounds.height / 100);	}	rectangles = newRects;	}/** * Sets the <code>Cursor</code> of the Tracker.  If this cursor is <code>null</code> * then the cursor reverts to the default. * * @param newCursor the new <code>Cursor</code> to display *  * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setCursor(Cursor newCursor) {	checkWidget();	clientCursor = 0;	if (newCursor != null) {		clientCursor = newCursor.handle;		if (inEvent) OS.SetCursor (clientCursor);	}}/** * Specifies the rectangles that should be drawn, expressed relative to the parent * widget.  If the parent is a Display then these are screen coordinates. * * @param rectangles the bounds of the rectangles to be drawn * * @exception IllegalArgumentException <ul> *    <li>ERROR_NULL_ARGUMENT - if the set of rectangles is null or contains a null rectangle</li> * </ul> * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setRectangles (Rectangle [] rectangles) {	checkWidget ();	if (rectangles == null) error (SWT.ERROR_NULL_ARGUMENT);	int length = rectangles.length;	this.rectangles = new Rectangle [length];	for (int i = 0; i < length; i++) {		Rectangle current = rectangles [i];		if (current == null) error (SWT.ERROR_NULL_ARGUMENT);		this.rectangles [i] = new Rectangle (current.x, current.y, current.width, current.height);	}	proportions = computeProportions (rectangles);}/** * Changes the appearance of the line used to draw the rectangles. * * @param stippled <code>true</code> if rectangle should appear stippled * * @exception SWTException <ul> *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */public void setStippled (boolean stippled) {	checkWidget ();	this.stippled = stippled;}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人免费看| 国产成人精品一区二区三区四区| 精品少妇一区二区三区| 在线免费精品视频| a4yy欧美一区二区三区| 美腿丝袜亚洲综合| 亚洲综合激情小说| 一区二区理论电影在线观看| 久久久高清一区二区三区| 日韩精品一区在线| 在线精品视频免费播放| 色域天天综合网| 99久久伊人精品| 91美女蜜桃在线| 91麻豆精东视频| 9i在线看片成人免费| 成人福利视频网站| 成人av中文字幕| a级高清视频欧美日韩| eeuss鲁片一区二区三区在线看| 日韩国产精品久久久| 午夜精品福利一区二区蜜股av| 久久久久88色偷偷免费| 国产又粗又猛又爽又黄91精品| 日韩精品免费专区| 国产精品一区二区三区99| 成人免费看视频| 91色乱码一区二区三区| 欧美一区二区三区在线电影| 国产亚洲制服色| 亚洲亚洲人成综合网络| 精品在线一区二区| av电影在线观看一区| 欧美一级淫片007| 国产精品久久久久久久久动漫| 亚洲国产精品一区二区尤物区| 捆绑调教美女网站视频一区| 91丨porny丨首页| 精品日韩一区二区三区| 亚洲在线观看免费视频| 国产自产2019最新不卡| 在线观看日韩国产| 久久伊人中文字幕| 午夜精品视频一区| 波多野洁衣一区| 久久免费视频色| 亚洲成人精品在线观看| 99精品桃花视频在线观看| 欧美成人猛片aaaaaaa| 亚洲va中文字幕| 91蜜桃传媒精品久久久一区二区| 精品粉嫩aⅴ一区二区三区四区| 综合久久给合久久狠狠狠97色| 国产在线精品免费av| 91精品综合久久久久久| 一区二区三区电影在线播| 成人sese在线| 欧美国产一区二区| 国产一区二区三区免费看| 欧美一区二区三区思思人| 亚洲成a人片综合在线| 99久久久无码国产精品| 国产精品久久久久久亚洲毛片 | 91视频在线观看| 久久精品夜夜夜夜久久| 人人精品人人爱| 欧美欧美欧美欧美首页| 亚洲3atv精品一区二区三区| 成人性色生活片| 中日韩av电影| eeuss鲁片一区二区三区在线看| 国产日产欧美一区二区视频| 韩国视频一区二区| 日本一区二区三区视频视频| 国产高清久久久久| 久久午夜色播影院免费高清| 黄色资源网久久资源365| 精品久久99ma| 国产乱对白刺激视频不卡| 国产日韩欧美a| aaa亚洲精品| 亚洲福利电影网| 91精品国产全国免费观看| 免费在线视频一区| 久久精品夜色噜噜亚洲aⅴ| 国产aⅴ精品一区二区三区色成熟| 久久久久久久综合色一本| 国产99久久精品| 一区二区三区在线视频播放| 欧美三级视频在线| 久久综合综合久久综合| 久久久久88色偷偷免费| 91女人视频在线观看| 性感美女极品91精品| 日韩视频国产视频| 成人免费视频app| 亚洲欧美国产77777| 日韩一区和二区| 北条麻妃国产九九精品视频| 一区二区三区精品| 精品国产一区二区亚洲人成毛片| 成人免费黄色大片| 亚洲电影一区二区| 精品999久久久| 99综合电影在线视频| 天堂资源在线中文精品| 国产亚洲美州欧州综合国| 一本大道久久a久久综合| 三级在线观看一区二区| 国产精品色在线| 日韩视频一区二区三区在线播放| 高清不卡一区二区在线| 午夜成人免费视频| 国产精品激情偷乱一区二区∴| 欧美日韩国产高清一区二区三区| 国产不卡在线一区| 蜜臀久久99精品久久久久宅男| 国产精品全国免费观看高清| 欧美日产在线观看| av一区二区三区黑人| 青草国产精品久久久久久| 亚洲欧美日韩久久| 国产午夜精品久久久久久久| 欧美高清一级片在线| 91欧美激情一区二区三区成人| 九九久久精品视频| 日韩成人一区二区| 一区二区三区不卡在线观看| 国产偷国产偷精品高清尤物| 91精品国产综合久久精品麻豆| 91精品办公室少妇高潮对白| 成人免费视频网站在线观看| 激情五月婷婷综合| 奇米色777欧美一区二区| 一区二区三区精品视频| 亚洲欧洲成人自拍| 欧美韩日一区二区三区四区| 日韩欧美国产wwwww| 欧美顶级少妇做爰| 欧美人妖巨大在线| 欧美在线观看你懂的| 91久久香蕉国产日韩欧美9色| 成人高清视频在线观看| 成人一区二区三区视频在线观看| 男女性色大片免费观看一区二区| 婷婷久久综合九色综合伊人色| 一区二区欧美视频| 亚洲一区自拍偷拍| 一区二区三区精品在线| 一区二区三区在线不卡| 亚洲女人的天堂| 亚洲精选一二三| 夜夜亚洲天天久久| 亚洲v中文字幕| 日本vs亚洲vs韩国一区三区 | 国产精品亚洲第一区在线暖暖韩国 | 99精品国产热久久91蜜凸| 菠萝蜜视频在线观看一区| 成人av免费在线播放| 色综合色狠狠天天综合色| 欧美在线观看视频一区二区| 欧美色成人综合| 欧美大白屁股肥臀xxxxxx| 26uuu亚洲婷婷狠狠天堂| 久久久久久久综合日本| 国产精品对白交换视频| 亚洲乱码国产乱码精品精的特点| 亚洲精品国产精华液| 天天综合天天做天天综合| 欧美96一区二区免费视频| 国产九色sp调教91| 91亚洲男人天堂| 欧美理论片在线| 91麻豆自制传媒国产之光| 欧美日韩亚洲综合在线 | 欧美不卡一二三| 国产精品久久免费看| 亚洲影视在线观看| 久99久精品视频免费观看| 91视频在线观看| 日韩欧美国产一区二区三区| 亚洲精品在线观看网站| 一区二区国产盗摄色噜噜| 精品制服美女久久| 一本色道亚洲精品aⅴ| 日韩欧美国产一区在线观看| 国产精品精品国产色婷婷| 免费观看日韩av| 91国模大尺度私拍在线视频| 91麻豆精品国产| 综合婷婷亚洲小说| 久久成人免费日本黄色| 色视频欧美一区二区三区| 精品1区2区在线观看| 亚洲成av人片在www色猫咪| 成人动漫一区二区| 欧美va亚洲va在线观看蝴蝶网| 一区二区三区高清| 99久久伊人网影院| xnxx国产精品|