ADVANCED TOPICS

Display Lists

There are two display lists maintained by Pad++, the regular display list and the sticky display list. Items are put on the regular display list by default. The actual size and location of the items on the screen depends upon the view. Items put on the sticky display list are unaffected by the view and thus seem to stick to the screen. Sticky items act as if the view is always (0, 0) with a magnification of 1.0. Items can be moved between the display lists with the -sticky itemconfiguration option.

Each display list maintains its own sense of drawing order. Items that are created later are drawn later, and thus appear over other items. All sticky items are rendered after (i.e., on top of) non-sticky items. Drawing order within display lists can be changed with the raise and lower commands.


Pad++ Programmer's Guide - 10 JUN 1996

Generated with Harlequin WebMaker

Web Accessibility