11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

attrvalidstextDisplay attribute to give to new occurrences.Validation bits to give to new occurrences.Text to put into new occurrences.AS_GDATA_FUNCAS_GDATA_FUNC expects a routine that gets the data of an occurrence in ascrolling array. The routine might be called because the occurrence scrolledonscreen, or in response to a request for data from a C or JPL routine, forexample, a call by sm_getfield.Occurrence data contains text, display attributes, and validation flags. Pantherallocates a buffer to hold this data and passes a pointer to the buffer in the textmember. The routine should update the attr, text, and valids members in thestructure with values previously passed in by the AS_PDATA_FUNC routine,although a clever driver can manufacture them.Return value of 0 indicates success; -1 indicates failure.Note:An empty occurrence must be blank-filled.Input parameters (and their descriptions) are:scrolldataitemlentextPointer to the driver's internal buffer.Occurrence number to get.Length of the occurrence. Represents the size ofPanther's buffer; the scrolling driver should notoverrun this length.Buffer to get the text.Output parameters (and their descriptions) are:attrtextDisplay attribute of the occurrence.The routine should fill the buffer pointed to by text withthe text of the occurrence as passed to the routine byPDATA.A-6 JAM Documentation: Alternative Scrolling

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

Saved successfully!

Ooh no, something went wrong!