Changes between Version 31 and Version 32 of PREVIEW_MODE_R0


Ignore:
Timestamp:
05/14/09 16:05:34 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PREVIEW_MODE_R0

    v31 v32  
    6161 
    6262= Design = 
    63  
     63 * The reader work area is currently used in preview mode, but it does not clip the frames outside the page borders. To do so, in the ReaderPageWorkArea should be provided logic to control the clip of the frameConpositeElement : in PageWorkArea add ability to clip the frameConposite element, with default value - clip nothing, then override the method in ReaderPageWorkArea. There is a bug with the clipping - in ElementHelper, the getEffectiveClip() method should transform by the inverse matrix of what is now. Fix this, also. 
     64*  Make a new class in main.app.commons.book.panels- PreviewModeButton. It must extends BaseVisualElement and implement BookPanel element. It will have 2 LogicR3 buttons inside of it, displaying just one of them, depending on the inPreviewMode() property. Each of them will fire different event, respectively START_PREVIEW and STOP_PREVIEW. They will be handled in a newly created enum PreviewButtonOperation, implementing OperationDef. the first event will call BookLogic.userSetPreviewMode, the second one will close the current book. To do all of these, first move LogicR3Button from resourceMetaPalette to base.commons.gui.LogicR3Button and fix the problems. Add the corresponding login in the OutlineFramesCheckBox in order to hide it in preview mode. 
    6465 * Disable the menus that should not be active: 
    6566  * Show connections - done