CompuServe Thread

Forum unknown · Programming

ModIntuiText structure

1 messages in this thread
#23679From: John MesiavechJun 21, 1986 4:57 AM
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!