Changes between Version 3 and Version 4 of FRAME_ROTATION_R1


Ignore:
Timestamp:
05/30/09 02:10:55 (16 years ago)
Author:
sriggins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_ROTATION_R1

    v3 v4  
    1515 * Rotate around the topLeft corner of the frame (ie 0,0, so later when the coordinates change, the rotation works as expected) 
    1616 * Make sure the halo button moves with the frame.  Currently halos lay out around the unrotated bounding box enclosing the rotated frame 
    17  * Position the halo button at the bottom right corner of the frame 
     17 * Position the halo button at the bottom right corner of the frame, along a vector that extends from the topLeft corner, offset from the outside of the frame by 15,15 pixels (hard coded, changeable) 
    1818 
    1919== Task result == 
     
    3434 
    3535= Design = 
    36 ^(Describe your design here.)^ 
     36 
     37 * Define class FrameRotateButton: 
     38 
     39{{{ 
     40public class FrameRotateButton extends MoveHaloButton { 
     41        private static void defineSkin(ElementSkinPart part); 
     42        public Prop<FrameRotateHaloMenu> parent(); 
     43        protected MouseCapture captureClick(MouseEvent e); 
     44        protected boolean computeVisible(); 
     45        public Prop<PageWorkArea> workArea(); 
     46} 
     47}}} 
     48 
     49 * Update FrameRotateHaloMenu 
     50 
     51    FrameRotateHaloMenu currently defines it's location as the topRIght of the selection bounds, but that is no longer valid.   It should define  
     52 
    3753 
    3854= Implementation = 
     
    4460= Comments = 
    4561 
     62== Rotating Selection 
     63 
     64We need to think about what rotation means for 3 selected frames, where does the halo go, where doe the rotation center, on the temporary group or on each frame, each rotating potentially differently (one topLeft, one center, one bottomRight?) I checked out pages, and while they do not have an onscreen rotation widget (it is in a palette), it sets the rotation of each object, thus if you select 3 boxes, which rotate on center, then change the rotation, they all spin at the same time, and are set to the same rotation.  If we are to do this, we likely will need a non-rectangular selection, which will take more time, and then the effect on the other halo menus is in question - sriggins 
     65 
    4666== Future Revisions == 
    4767 
    48 Put the discreet rotation buttons into the hud.  Change the halo menu button to show the halo hud if single clicked. 
     68Put the discreet rotation buttons into the hud.  Change the halo menu button to show the halo hud if single clicked. -sriggins