Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

做题总结

Posted by Magic347 at 2010-10-05 16:50:00 on Problem 1567
前前后后总共debug了3处出错的地方:
(1)当鼠标释放的时候,也就是读到UP指令时,如果当前选中窗口是在move状态,要继续move,直到当前位置。
(2)窗口id的自增问题,每新建一个窗口,id都自增1,且id从0开始计。窗口的关闭只影响窗口队列中当前的窗口总数,而不影响id的自增。
(3)当选中当前窗口时,那么当前窗口将成为窗口队列的队顶元素。而队列中其余窗口成员的相对位置关系保持不变。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator