wiki:PAGE_HALO_AND_HUD_R0
Last modified 14 years ago Last modified on 02/02/09 19:56:32

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=PAGE_HALO_AND_HUD_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

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.

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.)