Last modified 16 years ago
Last modified on 02/02/09 19:56:32
Analysis
Overview
Selecting the page in the page structure palette makes the page halo appear on the page.
Task requirements
- The page halo is a little gray square icon that appears in the upper leftmost corner of the page when it is selected. It opens the page hud.
- The user should be able to change the page width and height by the page hud. This should affect all pages in the book.
- The page hud should give the user ability to control the background filling of the page. It could be – NONE (solid white page), SOLID color, GRADIENT of colors, IMAGE or a PATTERN.
- The page hud should give the user ability to control the page border insets - border`s left, wight, top and bottom widths.
- The page hud should give the user ability to control the page border filling of the page. It could be – NONE (solid white page), SOLID color, GRADIENT of colors, IMAGE or a PATTERN.
- The hud should present color picker square for all options that involve color choosing. If the GRADIENT filling is choosen there should be two color picker squares.
Task result
The result of this task is source code.
Implementation idea
Use properties for the hud values, overriding their set and get methods to keep them synchronized with the frame model.
Related
How to demo
- Select a page and show its halo.
- Use the halo to open the page hud and ghange page`s size.
- Switch to other page and show that all pages have changes their size.
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.)