wiki:FRAME_FILLING_SOLID_R0
Last modified 3 years ago Last modified on 02/03/09 01:28:47

Ticket Summary Owner Status Type Component Priority Effort Importance
#768 FRAME_FILLING_SOLID_R0 mira closed planned_task FRAME_PROPERTIES 3 0.5 0

Reported by Astea, 4 years ago.

Description

wiki page: FRAME_FILLING_SOLID_R0 - effort: 0.5d

Analysis_owners

mira

Analysis_reviewers

kyli

Analysis_score

3.5

Design_owners

pav

Design_reviewers

pap

Design_score

2

Imp._owners

pav, pav

Imp._reviewers

pap,pap

Imp._score

0

Test_score

0

Analysis

Overview

The frame could be filled with one SOLID color chosen by a color picker in the frame appearance hud.

Task requirements

  • If the STRONG filling is chosen, frame should be filled with the filling color.
  • Every time the user chooses filling color from the hud the frames filling changes.
  • The default option for filling is NONE.
  • If the user chooses the NONE filling type it should behave as STRONG filling with white color, opacity 1. This should not affect the first color in the frame model.

Task result

The result of this task is source code.

Implementation idea

The scene elements color should be auto calculated from the filling color in the frame model. Use the java.awt.Graphics2D methods to setPaint and fill the frame.

FRAME_APPEARANCE_HALO_AND_HUD_R0
FRAME_FILLING_GRADIENT_R0
FRAME_FILLING_PATTERN_R0
FRAME_FILLING_IMAGE_R0

How to demo

  • Demonstrate changing the color of the frames filling.
  • Change the filling type to NONE and then return it back to SOLID. Demonstrate that the previously chosen color is kept.

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