Last modified 16 years ago
Last modified on 01/30/09 18:19:59
Analysis
Overview
Many of the operations over the resources will be executed through the palette where the resources are displayed. The scope of the resources will be changed through drag'n'drop from one palette to another. Dragging a resource and dropping it over a frame, it should change the content of a frame.
Task requirements
- Provide that resources can be drag'n'drop inside the palette and between palettes with resources.
- Provide that a resource can be deleted using 'Del'.
- Provide that a resource can be drag'n'drop from a palette to a frame and a content of the frame will be changed to this resource.
- Provide that a resource will be displayed in the palette when it is created.
Task result
- The result of this task should be source code.
Implementation idea
- Use BASE_DND_R0 to implement drag'n'drop functionality of the resources list.
- To create the palette use ListPalette.
Related
How to demo
- Run Sophie 2.0.
- Drag a local resource and drop it in the palette with book resources.
- The scope of the resource should be changed.
- Select a resource and press 'Del'.
- The resource should be deleted.
- Drag a resource and drop it over a frame.
- The content of the frame should be changed according to the new resource.
Design
(Describe your design here.)
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)