Last modified 16 years ago
Last modified on 02/13/09 11:55:18
Analysis
Overview
should have tile, cascade, (maybe show desktop), and a list of the open documents with icons and check for the current one
The window menu should contain list of opened books and the functionality close to the opened books tabbar. Window menu entries should be:
- Show desktop - acts like minimize all
- Arrange (submenu)
- Cascade
- Tile
- Minimize - Hides the current book window. It can be shown again via clicking the button in the tabbar.
- Minimize/Restore All - When not all of the book windows are minimized, the minimize menu item appears. When all book windows are minimized, the restore all options appears. Minimize all acts just like the minimize but for all opened books.
- Restore (Maximize when restored) - Restore Reduces the book window to the size of the book. If both width and height are bigger than the work area, the book window reduces to the work area including the book title bar. If the book window was previously restored and it's window was resized, it's restored to this position and size. Maximize maximizes the book window - the book title bar is not shown and takes the whole work area.
- Menu separator
- List of opened books ordered by time of opening/creating.
- The active book window should be marked. Probably the best way to do this is to use a thick before the book window name. A good idea is the menu items to be with left displacement of one character so the list is arranged well.
- Clicking on a menu item of this list should focus the window
- Changed books titles must be marked by a * in front of the title.
Task requirements
- Review existing code, make sure proper extension points and extensions are used.
- Remove the new book entry as it doesn't belong there
- Create menu entries for the mentioned functionalities in the task overview.
- Implement markers for active book and changed book. Note that on save the * should disappear.
- If you implement this task in parallel with OPEN_BOOKS_TABBAR_R0 implement common functionalities.
Task result
The result of this task is source code
Implementation idea
Implement this task in parallel with OPEN_BOOKS_TABBAR_R0 as they provide same functionality.
Related
OPEN_BOOKS_TABBAR_R0
OPENED_BOOKS_PALETTE_R0
How to demo
Demonstrate book switching using the window menu.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))