a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 gadtools.library
  CreateContext
  CreateGadgetA
  CreateMenusA
  DrawBevelBoxA
  FreeGadgets
  FreeMenus
  FreeVisualInfo
  GT_BeginRefresh
  GT_EndRefresh
  GT_FilterIMsg
  GT_GetGadgetAttrsA
  GT_GetIMsg
  GT_PostFilterIMsg
  GT_RefreshWindow
  GT_ReplyIMsg
  GT_SetGadgetAttrsA
  GetVisualInfoA
  LayoutMenuItemsA
  LayoutMenusA
Include
GuruMeditation
Docs » Autodocs » gadtools.library » GetVisualInfoA

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. This parameter
may be NULL, in which case this function fails.
tagList - pointer to an array of tags providing optional extra
parameters, or NULL.

TAGS

	There are currently no tags defined for this function.

RESULT

	vi - pointer to private data, or NULL for failure

SEE ALSO

FreeVisualInfo(), intuition/LockPubScreen, intuition/UnlockPubScreen

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Anarchy

AFL
SNT
ANA
TSL

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se