Changes between Version 32 and Version 33 of PREVIEW_MODE_R0
- Timestamp:
- 05/14/09 16:05:55 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PREVIEW_MODE_R0
v32 v33 62 62 = 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.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. 65 65 * Disable the menus that should not be active: 66 66 * Show connections - done