Changes between Version 10 and Version 11 of FRAME_SIZE_R1


Ignore:
Timestamp:
06/08/09 09:17:25 (16 years ago)
Author:
deni
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_SIZE_R1

    v10 v11  
    7777   The user may want rotation with a different center and the View will be responsible for the necessary transformations. It turns out that rotation with an arbitrary center is equivalent to rotation around contentLocation with the same angle + translation with the vector (newContentLocation - contentLocation), where newContentLocation is the point where contentLocation is sent by the original rotation. So all we need to do is calculate newContentLocation and set it to Frame.contentLocation and update Frame.rotationAngle. 
    7878 * rotationPosition and rotationCenter properties will be added to FrameRotationPropertiesHud. 
     79 * The rotation logic will be moved from the rotation halos to a controller. [[BR]] 
     80   An enumeration consisting of a single event id will be created in FrameRotateHaloMenu.[[BR]] 
     81   A new controller will be created in org.sophie2.main.app.halos.frame.rotate package - FrameRotateLogicR3 with a single operation - rotate.[[BR]] 
     82   It will be registered in MainAppHalosModule. 
    7983 
    8084For testing purposes we need to '''add test mode to MouseCapture'''. When in this mode it will not add a listener, but will allow us to execute its methods manually.