Changes between Initial Version and Version 1 of FRAME_BOUNDS_R0


Ignore:
Timestamp:
12/14/08 23:40:57 (16 years ago)
Author:
mira
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified FRAME_BOUNDS_R0

    v1 v1  
     1[[BackLinksMenu]] 
     2 
     3[[TicketQuery(summary=FRAME_BOUNDS_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|)]] 
     4 
     5 
     6= Analysis = 
     7 
     8== Overview == 
     9The frame bounds are the frame size, position and Z order. There are 5 modes in which frame`s bounds could be calculated - Margins mode, Out-Border mode, Mid-Border mode, Padding mode (which is the same as In-Border mode) and Context mode.(see the picture) Those modes determine the rectangular all coordinates are related to. The default mode is the Content mode.  
     10There are also 9 special points that colud be observed when calculating frame coordinates - TOP_LEFT, TOP_MIDDLE, TOP_RIGHT, MIDDLE_LEFT, MIDDLE, MIDDLE_RIGHT,BOTTOM_LEFT, BOTTOM_MIDDLE, BOTTOM_RIGHT. The default one is the TOP_LEFT. For example in Padding mode and for TOP_RIGHT special point, the frames position is the position of the upper right point of the padding rectangular and the frame size is calculated including the paddings.  
     11 
     12== Task requirements == 
     13 * There should be representation of those modes and points. 
     14 * There should be a communal hud for setting the frame bounds. 
     15 * There should be options for setting and getting the bounds in all modes and relating to all special points. 
     16 
     17== Task result == 
     18  The result of this task is source code. 
     19 
     20== Implementation idea == 
     21 * Create needed enums representing the needed modes and points.  
     22 
     23== Related == 
     24 
     25 * [source:trunk/sophie2-platform/doc/spec-diagrams/FrameBounds.png] 
     26 * [wiki:FRAME_SIZE_R0] 
     27 * [wiki:FRAME_POSITION_R0] 
     28 * [wiki:FRAME_INSETS_R0] 
     29 
     30== How to demo == 
     31 * Demonstrate the enums.  
     32 
     33= Design = 
     34 
     35= Implementation = 
     36^(Implementation results should be described and linked here (from the wiki or the repository))^ 
     37 
     38= Testing = 
     39 
     40= Comments = 
     41^(Write comments for this or later revisions here.)