Wiki > Main > ViewPorts (compare)
Difference: ViewPorts (r5 vs. r4)
A ViewPortsDesign Proposal
Currently, WPS layouts in Rockbox are line based, and contain information to be displayed across the whole screen. This makes laying out information on the screen when doing initial design quite tedious, as you have to keep trying different numbers of carriage returns to get your positioning right. With the Viewports concept it is possible to divide the DAP's screen into discrete areas which can contain different information. The line-based theme is kept within each Viewport to make backwards compatibilty easier - but the concept should allow per-pixel placement of the Viewport boundaries.
Currently the user interface as implemented in rockbox is a seperate screen for each type of content within Rockbox. The concept of Viewports is to try to divide the screen of a given DAP up into discrete windows, or virtual screens which can be written to seperately by various Rockbox tasks, and have that information displayed all in one place (i.e. the physical screen on the DAP).
This may be seen as analogous to the original implementation of Windows, which divided the screen of a PC up into seperate areas.
Further enhancements to Viewports down the line might include the ability to overlap these areas - but the initial implementation will probably not include this feature.
This initial "concept artwork" is probably a long way off, as it includes both WPS elements, and the main menu. The first attempt at Viewporting will probably only apply to the WPS screen itself, and the elements currently available for display on it.
See also ViewDrawing
r7 - 01 Feb 2008 - 03:54:54 - MarcGuayRevision r5 - 18 Dec 2007 - 08:24 - BryanChilds
Revision r4 - 13 Jul 2007 - 13:23 - EddyComan
Copyright © by the contributing authors.