NAME GU_GetVisualInfoA -- Get information GadTools needs for visuals. SYNOPSIS vi = GU_GetVisualInfoA(screen, taglist) D0 A0 A1 APTR GU_GetVisualInfoA(struct Screen *, struct TagItem *); FUNCTION Get a pointer to a (private) block of data containing various bits of information that GadTools needs to ensure the best quality visuals. Use the result in the NewGadget structure of any gadget you create, or as a parameter to the various menu calls. Once the gadgets/menus are no longer needed (after the last CloseWindow()), call FreeVisualInfo(). INPUTS screen - pointer to the screen you will be opening on. This parameter may be NULL, in which case this function fails. tagList - pointer to an array of tags providing optional extra parameters, or NULL. RESULT vi - pointer to private data, or NULL for failure NOTES See gadtools/GetVisualInfoA() for more information. SEE ALSO GU_FreeVisualInfo(), gadtools/FreeVisualInfo(), intuition/LockPubScreen(), intuition/UnlockPubScreen()
Converted on 19 Jul 1996 with RexxDoesAmigaGuide2HTML by Michael Ranner.