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 » DrawBevelBoxA

NAME

	DrawBevelBoxA -- draw a bevelled box. (V36)
DrawBevelBox -- varargs stub for DrawBevelBoxA(). (V36)

SYNOPSIS

	DrawBevelBoxA(rport, left, top, width, height, tagList);
A0 D0 D1 D2 D3 A1
VOID DrawBevelBoxA(struct RastPort *, WORD, WORD, WORD, WORD,
struct TagItem *taglist);
DrawBevelBox(rport, left, top, width, height, firsttag, ...);
VOID DrawBevelBox(struct RastPort *, WORD, WORD, WORD, WORD,
Tag, ...);

FUNCTION

	This function renders a bevelled box of specified dimensions
and type into the supplied RastPort.

INPUTS

	rport - RastPort into which the box is to be drawn.
left - left edge of the box.
top - top edge of the box.
width - width of the box.
height - height of the box.
tagList - pointer to an array of tags providing extra parameters

TAGS

	GTBB_Recessed (BOOL) - Set to anything for a recessed-looking box.
If absent, the box defaults, it would be raised. (V36)
GTBB_FrameType (ULONG) - Determines what kind of box this function
renders. BBFT_BUTTON generates a box like what is
used around GadTools BUTTON_KIND gadgets. BBFT_RIDGE
generates a box like what is used around GadTools
STRING_KIND gadgets. Finally, BBFT_ICONDROPBOX
generates a box suitable for a standard icon drop
box imagery. (defaults to BBFT_BUTTON). (V39)
GT_VisualInfo (APTR) - You MUST supply the value you obtained
from an earlier call to GetVisualInfoA() with this
tag. (V36)

NOTES

	DrawBevelBox() is a rendering operation, not a gadget. That
means you must refresh it at the appropriate time, like any
other rendering operation.

SEE ALSO

GetVisualInfoA(), <libraries/gadtools.h>

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:

The Silents

HZ
TRSI
PDX
TSL

Comments:

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