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


   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>