Important: The information in this document is obsolete and should not be used for new development.
DrawNew
The Window Manager uses theDrawNew
procedure to erase and update changed window regions.
PROCEDURE DrawNew (window: WindowPeek; update: Boolean);
window
- A pointer to the window's complete window record.
update
- A Boolean value that determines whether the regions are updated.
DESCRIPTION
TheDrawNew
procedure erases the parts of a window's structure and content regions that are part of the window's former state and part of its new state but not both. That is,
(OldStructure XOR NewStructure) UNION (OldContent XOR NewContent
)If the update parameter is set to
TRUE
,DrawNew
also updates the erased regions.
- WARNING
- In Pascal,
SaveOld
andDrawNew
are not nestable.ASSEMBLY-LANGUAGE INFORMATION
In assembly language, you can nestSaveOld
andDrawNew
if you save and restore the values of the global variablesOldStructure
andOldContent
.