Version 1 (modified by mira, 16 years ago) (diff) |
---|
Analysis
Overview
All frames have a frame anchoring halo which allows a frame to be anchored. This means that the frame will be associated with a particular point in another frame. There are different modes defining how the frame should move according to the frame it is anchored to.
Task requirements
- When a frame is selected the rightmost of the halos that appear over it should be the frame anchoring halo. It is going to be represented as a small anchor icon.
- The user should be able to drag the halo to the a place where the frame should be anchored.
- A subsidiary line should be drawn between the two frames. It should not be visible in Reader mode.
- When the anchoring halo is dropped an anchoring hud is displayed allowing choice between the different anchoring modes – CHARACTER, INLINE, LINE, PARAGRAPH, FRAME, PAGE.
Task result
The result of this task is source code.
Implementation idea
Add new halo to the frame halos. Create hud with the six different anchoring modes. Draw a line when the halo is dragged and open the hud when it is dropped.
How to demo
- Select a frame and show the anchoring halo. Drag it into another frame and show the line connecting the two frames. When dropping it show the anchoring hud.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)