[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()