wiki:FRAME_APPEARANCE_HALO_AND_HUD_R0
Last modified 16 years ago Last modified on 02/03/09 01:01:02

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

Error: Macro TicketQuery(summary=FRAME_APPEARANCE_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

All frames have a frame appearance halo which opens a frame appearance hud giving the user control over the background, shadow and insets(border, margins, padding) of the frame.

Task requirements

  • When a frame is selected the leftmost of the halos that appear over it should be the frame appearance halo. It is going to be represented as a small square icon.
  • From the appearance hud a user should be able to choose different left, right, bottom and top width for the frame insets. Those are the border, margins and padding insets.
  • From the appearance hud a user should be able to choose a filling for the background and the border.
  • The hud should present different options for filling – NONE (transparent), SOLID color, GRADIENT of colors, IMAGE or a PATTERN. The color picker square should be used for the options that involve color choosing.
  • The hud should also presents control over the shadow of the frame. For its color the user should be able to choose from a color picker. For the size and direction there should be two boxes “X” and “Y” whose values could vary between -10 and 10.

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

  • Create a new frame and show how its appearance changes according to the the hud.

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