DrawFrameStateA
Synopsis
DrawFrameStateA(rei, left, top, width, height, state, taglist)
A0 D0 D1 D2 D3 D4 A1C Prototype
void DrawFrameStateA(struct REI *rei, ULONG left, ULONG top, ULONG width, ULONG height, ULONG state, struct TagItem *taglist);Varargs stub:
void DrawFrameState(struct REI *rei, ULONG left, ULONG top, ULONG width, ULONG height, ULONG state, Tag firsttag, ...);Description
Draws a BOOPSI “frameiclass” object on a REI following a series of attributes passed in a TagItem list. DrawFrameStateA() performs essentially the same function as DrawBevelBoxA() from gadtools.library, but in a more complete form.
The state parameter allows you to change the drawing state of the object at equal image settings, controlling the way the object will be rendered:
IDS_NORMAL— LikeDrawImage()IDS_SELECTED— Represents the “selected state” of a GadgetIDS_DISABLED— The “ghosted state” of a gadgetIDS_BUSY— For future functionalityIDS_INDETERMINATE— For future functionalityIDS_INACTIVENORMAL— For gadgets in window borderIDS_INACTIVESELECTED— For gadgets in window borderIDS_INACTIVEDISABLED— For gadgets in window border
Inputs
- rei — Pointer to a REI structure.
- left — X coordinate of the upper-left corner of the object.
- top — Y coordinate of the upper-left corner of the object.
- width — Width of the object.
- height — Height of the object.
- state — Drawing state of the object (see values above).
- taglist — All tags for the “frameiclass” class are accepted. See
intuition/imageclass.hfor names and details.
Result
None.
See Also
intuition/imageclass.hgadtools.library/DrawBevelBoxA()
Last updated on