Changes between Version 12 and Version 13 of ANNOTATIONS_STICKIES_R1
- Timestamp:
- 06/25/09 15:45:06 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ANNOTATIONS_STICKIES_R1
v12 v13 54 54 55 55 * 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}}}). 57 58 * Create a class {{{StickyMoveHaloButton}}}. 58 59 * {{{FrameMoveHaloButton}}} and {{{StickyMoveHaloButton}}} should extend {{{PageElementMoveButton}}}. … … 63 64 * HotText: ........... 64 65 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/] 67 74 68 75 = Implementation =