Version 31 (modified by alex, 16 years ago) (diff) |
---|
Analysis
Overview
Image content view is a view for images which supports scenes and advanced features such as cropping, zooming, rotation and etc.
Task requirements
- Define an image content view.
- It should contain a basic (supporting no advanced features) scene element representing an image.
Task result
The result of this task should be source code.
Implementation idea
- Create ImageContentView which is image content view.
- It should inherit ContentView.
- It should be able to construct an ImageSceneElement.
Related
How to demo
- Create a FrameView containing a Frame with ImageFrameContent.
- The FrameView should contain an ImageContentView.
- We should be able to view a frame with an image using scenes and the scene element from the FrameView.
Design
- Create ImageContentView class extending ContentView.
- It's concrete implementation of ContentView for image content.
- It should implement the model property of ContentView with template type ImageFrameContent.
- It should implement the element property of ContentView with template type ImageSceneElement.
- It should implement the contentHaloMenu property of ContentView with template type ImageContentHaloMenu.
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.)