Changes between Version 56 and Version 57 of BOOK_WINDOW_R1
- Timestamp:
- 05/26/09 16:55:52 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BOOK_WINDOW_R1
v56 v57 65 65 3. The default position of the page work area should be at the center of the book window 66 66 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 default67 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. 68 68 69 69 4. Change the page work area to consider the size of the book window as well as the page … … 118 118 5. Define minimum size of the book window, so that scroll bars for the controls (bottom book panel) do not appear 119 119 120 == Unit Tests == 121 122 [2834] - Updated BookViewUnitTest to test the BookDocumentWindow (which implements BookView interface) 123 120 124 = Testing = 121 125 122 [2834] - Updated BookViewUnitTest to test the BookDocumentWindow (which implements BookView interface)123 126 124 127 = Comments =