Last modified 16 years ago
Last modified on 02/03/09 00:34:07
Analysis
Overview
The Frames palette is a part of the components tab in the right flap of the main window. It contains templates of different kinds of frames that can be used in a Sophie book.
Task requirements
- The palette lists the templates – flow, non-flow, non-flow (template content), comment, comment (template content).
- The user should be able to drag the different types of frames and drop them into the book. This should create a new frame of this type into the book.
- If the user drops the frame template into the workspace a new book will be created and the frame will be added to it.
Task result
The result of this task is source code.
Implementation idea
Create a new frame according to the dragged template with content location - the location of the mouse cursor when the template is dropped.
Related
FRAMES_PALETTE_R0
FRAME_TEMPLATES_R0
PAGE_TEMPLATE_BEHAVIOUR
How to demo
- Drag and drop a frame template to create a new frame in the current book.
- Drop a template into the workspace to create a new book.
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.)