Changes between Version 12 and Version 13 of ANNOTATIONS_STICKIES_R1


Ignore:
Timestamp:
06/25/09 15:45:06 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ANNOTATIONS_STICKIES_R1

    v12 v13  
    5454 
    5555 * Create a class {{{org.sophie2.main.app.halos.pageelement.PageElementMoveHaloButton}}} which extends {{{MoveHaloButton}}}. 
    56  * Move the implementation of {{{FrameMoveHaloButton}}} to it. 
     56  * method {{{protected ImmRect translateRect(ImmRect bounds, int newX, int newY)}}} that translates a rectangle. 
     57  * pull up the property {{{workArea}}} (from {{{FrameMoveHaloButton}}}). 
    5758 * Create a class {{{StickyMoveHaloButton}}}. 
    5859 * {{{FrameMoveHaloButton}}} and {{{StickyMoveHaloButton}}} should extend {{{PageElementMoveButton}}}. 
     
    6364 * HotText: ........... 
    6465 
    65  * Use the following formula for the brightness: 
    66   * Y = 0.2126 R + 0.7152 G + 0.0722 B. 
     66 * Text color: 
     67  * Create {{{textColor}}} auto property of type ImmColor in {{{StickyView}}}. 
     68  * Return color according to the analysis requirements above. 
     69  * Use the following formula for the brightness: 
     70   * Y = 0.2126 R + 0.7152 G + 0.0722 B. 
     71  * Apply that color to the sticky's title. 
     72 
     73 * Source code: [source:/branches/private/mitex/annotations-r1/] 
    6774 
    6875= Implementation =