ModIntuiText structure
21-Jun-86 04:57:53
Sb: #23671-ModIntuiText structure
Fm: John Mesiavech 75076,1640
To: Larry Phillips/ICUG 74025,636
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
Oh. Well, to give you an idea of what I tried, I did this: In the IntuiText
structure defined in the manual, it specifies that ITextAttr is of type
TextAttrPtr, which points to a TextAttr structure. So..tried setting the
TextAttr up to use the ROMFont, Italic mode, left YSize at 8, and went thru
contortions making up my own BCPL pointer to the ROMFont. I got kicked back
at compile time with "Invalid Type" errors according to M2Error, with the
caret pointing right at the TextAttrPtr. Since I haqd used the one from the
Text library, (also IMPORTed the entire library), was kinda perplexed. So,
since TextAttr was a TYPE, defined globals to be of that type, and set it up
again, this time with a pointer to my own variable now] in the IntuiText
structure. This time, got out "Invalid Type" errors, so threw up me hands and
came here. Any help would be appreciated!