Home |
Windowing Interface Terminology Class PegPresentationManager |
Class PegPresentationManagerPegPresentationManager keeps track of all of the windows and sub-objects present on the display device. In addition, it maintains which object has the input focus (i.e. which object should receive user input such as keyboard input), and which objects are on top of other objects. There is no limit to the number of windows and controls and other objects that may be present on the screen at any one time. PegPresentationManager keeps track of all of those windows and their children and grandchildren through the use of tree structured lists. Intrinsic to the design of RTPEG-32, all objects that can be displayed are derived from the common base class PegThing, described further below. Two important members of PegThing are a pointer to each PegThing's first child object, and a pointer to each PegThing's next sibling. Using these two pointers, PegPresentationManager maintains all objects in lists. PegPresentationManager is also derived from PegWindow, which is derived from PegThing. This means that PegPresentationManager is more or less just another window, although in this case the window has no border, can often appear invisible, and always fills the entire screen or display. In essence, PegPresentationManager is the great-great-grandfather of all windows, dialogs, and controls. The complete API documentation of class PegPresentationManager is included in the RTPEG-32 Reference Manual.
|