Changes between Version 56 and Version 57 of BOOK_WINDOW_R1


Ignore:
Timestamp:
05/26/09 16:55:52 (16 years ago)
Author:
sriggins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_WINDOW_R1

    v56 v57  
    6565  3. The default position of the page work area should be at the center of the book window 
    6666         
    67     3.1 Because of the changes to sizing the page work area to the window, and the page is centered on the page work area, this requested functionality happens by default 
     67    3.1 The scene positions what it renders in the swing by calling SceneToSwing on every coordinate.  Change SimpleSceneVisual actualViewRect to center minimalViewRect's coordinates around the scene's coordinates.  Thus, as minimalViewRect grows, the scene will render centered in the window.  Do this by taking the delta of the widths and heights of the minimalViewRect and the scene rect and subtracting half them from the location of the scene rect, while setting the width and height of the scene rect to the larger of the scene rect or minimalViewRect. 
    6868 
    6969  4.    Change the page work area to consider the size of the book window as well as the page 
     
    118118  5. Define minimum size of the book window, so that scroll bars for the controls (bottom book panel) do not appear 
    119119 
     120== Unit Tests == 
     121 
     122 [2834] - Updated BookViewUnitTest to test the BookDocumentWindow (which implements BookView interface) 
     123 
    120124= Testing = 
    121125 
    122  [2834] - Updated BookViewUnitTest to test the BookDocumentWindow (which implements BookView interface) 
    123126 
    124127= Comments =