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
DrawBevelBoxA -- draw a bevelled box. (V36) DrawBevelBox -- varargs stub for DrawBevelBoxA(). (V36)
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, ...);
This function renders a bevelled box of specified dimensions and type into the supplied RastPort.
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
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)
DrawBevelBox() is a rendering operation, not a gadget. That means you must refresh it at the appropriate time, like any other rendering operation.
GetVisualInfoA(), <libraries/gadtools.h>
|