[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    GetVisualInfoA -- Get information GadTools needs for visuals. (V36)
    GetVisualInfo -- Varargs stub for GetVisualInfoA(). (V36)

SYNOPSIS
    vi = GetVisualInfoA(screen, taglist)
    D0                  A0      A1

    APTR vi = GetVisualInfoA(struct screen *, struct tagitem *);

    vi = GetVisualInfo(screen, firsttag, ...)

    APTR vi = GetVisualInfo(struct screen *, tag, ...);

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.
    taglist - Pointer to list of TagItems.

RESULT
    vi - Pointer to private data.

EXAMPLE

NOTES

BUGS

SEE ALSO
    freevisualinfo(), intuition/lockpubscreen(),
    intuition/unlockpubscreen()