wiki:FRAME_OPACITY_R0

Version 7 (modified by deyan, 16 years ago) (diff)

--

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

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

The user should be able to change the opacity of a frame.

  • The default frame opacity is 100.
  • All frames elements should be drawn according to the common opacity.
  • A tree structure can visualize the problem
    Frame opacity
    - Frame border opacity
    - Frame filling opacity 
    - Frame content opacity
    

Each of these has own opacity. The slider for the frame however should move the sliders of the sub-elements. This means that the opacity should be kept for each element, even if it has no value. When some of the sub-opacities reachs 0 or 100, it remains there until the parent slider is moved again in + or - direction.

Task requirements

  • Implement opacity for a whole frame (for this revision - frame border and filling)
  • Optional - Implement opacity for the content
  • Add a slider bar in the frame appearance hud for controlling the whole HUD opacity. For now, this should control the whole frame opacity, but later this should control other sliders.

Task result

The result of this task is source code.

Implementation idea

Add a slider bar to the frame appearance hud which values could change from 0 to 100% and a label showing what is the chosen opacity. When creating the scene elements in the frame view multiply all elements color opacity with the frame common opacity.

FRAME_APPEARANCE_HALO_AND_HUD_R0

How to demo

  • Demonstrate how a frame becomes lighter when the opacity is closer to 0.

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