Deck(3I) | InterViews Reference Manual | Deck(3I) |
Deck - a stack of interactors on top of each other
#include <InterViews/deck.h>
A deck is a scene containing interactors that are conceptually stacked on top of each other. Only one interactor is visible at a time. A deck is useful to implement ``paging'' through a document, or where only one of several similar components should be visible at a time, as in applications using alternate tool pallets or menus with alternate entries.
A deck will try to stretch or shrink the visible interactor to fill the total space. The natural size of a deck is the maximum of its components.
A deck uses its perspective to specify which component is visible. The components are numbered in the order in which they are inserted into the deck, starting with one. A scroller or other interactor which operates on the perspective can be used to allow a user to specify the component to view. Either horizontal or vertical scrolling can be used.
Interactor(3I), Scene(3I), Shape(3I)
13 December 1987 | InterViews |