11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIXAJAM Documentation:Alternative ScrollingBy default, storage of scrolling arrays is handled internally by Panther, which storesthem in its own memory buffers. It is also possible for this data to be stored by theapplication, external to Panther–for example, in memory or disk. In this case, theapplication must install a scrolling driver which is called by Panther with an interfacedefined by Panther. Installation of a scrolling driver replaces Panther's default scrolldriver. The driver is called to initialize the array, get and put occurrences, and so on.You can write your own scrolling function; an alternative scroll driver can reduceapplication memory usage when used to control the scrolling of large arrays. Scrolldrivers can be freely mixed on a screen. Each driver can be specified to manage anynumber of arrays and any number of drivers can be used at once.Panther Interaction with Scrolling DriversWhen Panther initializes an application, it calls all scrolling drivers, and installs them.Similarly, when the application exits, Panther calls the driver for clean up. While thedriver is active, Panther calls the routine once for each new scrolling array that Panthercreates–for example, on screen open–telling it to initialize the array.While the array is active, Panther moves data back and forth between itself and thedriver and informs the driver of other changes to the array–for example, insertion ordeletion of occurrences.When the array is destroyed–for example, its window closes–the driver is called torelease all the data associated with the array.<strong>Upgrade</strong> <strong>Guide</strong> A-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!