Changes between Version 20 and Version 21 of BOOK_FULL_SCREEN_MODE_R0


Ignore:
Timestamp:
05/02/09 12:52:14 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_FULL_SCREEN_MODE_R0

    v20 v21  
    5151 * Create menu items in the View menu 
    5252  * Normal mode 
    53   * Presentation mode 
    54   * Full Screen mode 
     53  * Presentation mode (F5) 
     54  * Full Screen mode (F11) 
    5555 
    5656 * Make the main window's JFrame in full screen when the value of the screenMode() is not !ScreenMode.NORMAL 
     
    8080  
    8181 * When the screenMode() of !MainWindow is !ScreenMode.PRESENTATION 
    82   * Create class !PresentationWindow in {{{org.sophie2.app.commons.fullscreen}}} - the window of the current document when is in !ScreenMode.PRESENTATION. It is implemented as Dialog.  
    83   * Create class PresentationWindowInput which is the dialog input. 
     82  * The contents of the Global Container's Frame are cleared and only the swing component of current document window is added. 
     83  * Current book's window: 
     84   * Displays the book zoomed to fit the screen size (preserving the aspect ratio). Previous zoom level is saved so it will be restored when returning from presentation mode. 
     85   * Displays the book centered: 
     86    * {{{offsetX = (zoom * pageSize.width - screenSize.width) / 2;}}}, analogically offsetY. 
     87    * set {{{wantedViewRect}}} of {{{workArea}}}'s {{{sceneVisual}}} to a rectangle (offsetX, offsetY, screen width, screen height). This also makes the whole area around the page to be gray. 
     88   * Displays the page work area's swing component instead of the scroll area, because scrollbars should be hidden. 
    8489 
    8590= Implementation =