r00tat / wificompass

Automatically exported from code.google.com/p/wificompass
9 stars 10 forks source link

implement handling of super and sub MultiTouch Objects #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To which component is this related?
UI

Describe the task:

The MultiTouchView and MultiTouchViewObject should handle sub and super objects 
and relative positions. I.e. a sub drawable should be moved and transformed 
with its master Drawable.

Original issue reported on code.google.com by paul.woe...@gmail.com on 10 Feb 2012 at 9:08

GoogleCodeExporter commented 9 years ago

Original comment by paul.woe...@gmail.com on 10 Feb 2012 at 9:09

GoogleCodeExporter commented 9 years ago
checked in some revisions, r38 looks good as a starting point. There are still 
some issues, to be solved:

If a drawable got a super drawable, it is moved arround correctly. If the sub 
drawable should not be scaled and the super gets scaled, the sub drawable will 
change too. 

If a super drawable gets scaled, the position of the sub drawable should be 
modified according to the relative position of the sub and super drawable.

Original comment by paul.woe...@gmail.com on 11 Feb 2012 at 10:03

GoogleCodeExporter commented 9 years ago
there are still some issue with sub and super objects ;-9

first issue is that the subobjects won't get moved out of the screen if the 
superobject is scaled. the crosses on the left and right border of the screen 
should not be visible and out of the area to display. -> see first screenshot

second issue is that icon5 of ProjectSiteActivity, which was checked in in r41, 
stays where it is, instead of moving with its parent object. -> see second 
screenshot

fixed in r41 the initial draw of the objects

Original comment by paul.woe...@gmail.com on 13 Feb 2012 at 7:35

Attachments:

GoogleCodeExporter commented 9 years ago
The second issue of comment 3 is fixed in revision 42 - there was an 
embarrassing bug in the calculation of the radius of the subobject seen from 
the center point of the main object (Pythagoras is my friend again).

Original comment by tkon...@gmx.net on 13 Feb 2012 at 9:56

GoogleCodeExporter commented 9 years ago
First issue of the third comment (objects won't get moved out of the screen) is 
fixed in revision 43. I removed the check of the subobject position against the 
screen size in the "setPos()" function.

Original comment by tkon...@gmx.net on 13 Feb 2012 at 10:02

GoogleCodeExporter commented 9 years ago
hmm, this works fine now, don't know which revision fixed all this, but there 
was very much work done on this job.

Original comment by paul.woe...@gmail.com on 11 Mar 2012 at 7:48