next up previous contents
Next: Viewport Priority Up: Viewports Viewport Priority Previous: Graphics Viewports

Default Viewports

UIPACK assigns the following Viewports automatically. The Viewport ID corresponding to each of them is given in the Parameter Definition Include File described in Appendix B.3.

Menu Viewport
This is the default Viewport within which Menus and Help Information will be displayed in Text Viewport and Graphics Modes of Operation. In Text Viewport Mode this Viewport is configured by default to fill the entire width of the screen, and almost the whole height, leaving room for the Title and Scroll (Input) Viewports. In Graphics Mode this Viewport is configured by default as a panel down the left-hand side of the screen. These defaults may be overridden by the Application Program.
Title Viewport
This Viewport is setup by default to span the width of the screen at the top (being one line high) and is suitable for displaying the Title of an Application Program.
Input (Scroll) Viewport
This Viewport is used for echoing User Input and performing normal prompted input during Text Viewport and Graphics Modes of operation. In Text Viewport Mode it covers the complete terminal screen but has a lower priority than any other visible Viewport, being occluded by them. In Graphics Mode it is setup by default to span the entire width of the screen at the bottom, being 3 lines high by default.
Main (Help) Viewport
This Viewport is setup to be the default Help Display Viewport and also the default User accessible Viewport (although others may of course be defined). In Text Viewport Mode it is setup by default to be the same size and position as the Menu Viewport described above. In Graphics Mode it is setup by default to be the largest square region of the screen that doesn't overlap the other Viewports described above. Thus it abutts the Menu Viewport to the right.

None of the above Viewports is made visible by default and they can be reconfigured prior to being made visible, or other Viewports may be defined by the Application Programmer.

next up previous contents
Next: Viewport Priority Up: Viewports Viewport Priority Previous: Graphics Viewports



Liz Buckle
Fri Jan 13 17:49:20 CST 1995