home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-06 | 51.7 KB | 2,297 lines |
- TABLE OF CONTENTS
-
- egsgadbox.library/EB_AddFirstSon
- egsgadbox.library/EB_AddLastSon
- egsgadbox.library/EB_AllocMemCon
- egsgadbox.library/EB_CWidth
- egsgadbox.library/EB_CalcGadgetGfx
- egsgadbox.library/EB_CalcMinMax
- egsgadbox.library/EB_CalcPositions
- egsgadbox.library/EB_CalcRealSize
- egsgadbox.library/EB_ConnectGadgets
- egsgadbox.library/EB_CreateActionGadget
- egsgadbox.library/EB_CreateArrow
- egsgadbox.library/EB_CreateArrowGfx
- egsgadbox.library/EB_CreateBackBorder
- egsgadbox.library/EB_CreateBoolGadget
- egsgadbox.library/EB_CreateBorder
- egsgadbox.library/EB_CreateBox
- egsgadbox.library/EB_CreateBoxedMultiText
- egsgadbox.library/EB_CreateButton24
- egsgadbox.library/EB_CreateButtonGadget
- egsgadbox.library/EB_CreateCenterText
- egsgadbox.library/EB_CreateCheckMarkGadget
- egsgadbox.library/EB_CreateDoubleBorder
- egsgadbox.library/EB_CreateDropGadget
- egsgadbox.library/EB_CreateFillBox
- egsgadbox.library/EB_CreateFrontBorder
- egsgadbox.library/EB_CreateGadContext
- egsgadbox.library/EB_CreateGroupBorder
- egsgadbox.library/EB_CreateHorizBox
- egsgadbox.library/EB_CreateHorizFill
- egsgadbox.library/EB_CreateHorizProp
- egsgadbox.library/EB_CreateHorizTable
- egsgadbox.library/EB_CreateInfoBox
- egsgadbox.library/EB_CreateIntegerGadget
- egsgadbox.library/EB_CreateLateBox
- egsgadbox.library/EB_CreateMaster
- egsgadbox.library/EB_CreateMasterWindow
- egsgadbox.library/EB_CreateMultiAction
- egsgadbox.library/EB_CreateMultiAction2
- egsgadbox.library/EB_CreateMultiActionV
- egsgadbox.library/EB_CreateMultiText
- egsgadbox.library/EB_CreateNameIntegerGadget
- egsgadbox.library/EB_CreateNameRealGadget
- egsgadbox.library/EB_CreateNameStringGadget
- egsgadbox.library/EB_CreateRealGadget
- egsgadbox.library/EB_CreateResponseBox
- egsgadbox.library/EB_CreateStringGadget
- egsgadbox.library/EB_CreateSuperHorizProp
- egsgadbox.library/EB_CreateSuperVertiProp
- egsgadbox.library/EB_CreateText
- egsgadbox.library/EB_CreateTextAction
- egsgadbox.library/EB_CreateTextBoolean
- egsgadbox.library/EB_CreateUText
- egsgadbox.library/EB_CreateVertiBox
- egsgadbox.library/EB_CreateVertiFill
- egsgadbox.library/EB_CreateVertiProp
- egsgadbox.library/EB_CreateVertiTable
- egsgadbox.library/EB_CreateWindow
- egsgadbox.library/EB_DeleteGadContext
- egsgadbox.library/EB_FindGadget
- egsgadbox.library/EB_FreeMemCon
- egsgadbox.library/EB_GetStringData
- egsgadbox.library/EB_LinkStringGadgets
- egsgadbox.library/EB_LinkStringGadgetsID
- egsgadbox.library/EB_MAX
- egsgadbox.library/EB_MIN
- egsgadbox.library/EB_NewFixHeight
- egsgadbox.library/EB_NewFixWidth
- egsgadbox.library/EB_NewHotKey
- egsgadbox.library/EB_NewMaxHeight
- egsgadbox.library/EB_NewMaxWidth
- egsgadbox.library/EB_NewMinHeight
- egsgadbox.library/EB_NewMinWidth
- egsgadbox.library/EB_NewPri
- egsgadbox.library/EB_NewSameSize
- egsgadbox.library/EB_ProcessGadBoxes
- egsgadbox.library/EB_ProcessGadBoxesSize
- egsgadbox.library/EB_PutIntData
- egsgadbox.library/EB_PutRealData
- egsgadbox.library/EB_PutStringData
- egsgadbox.library/EB_SMatch
- egsgadbox.library/EB_SWidth
- egsgadbox.library/EB_SetPropBackMap
- egsgadbox.library/EB_WriteInfoBox
- egsgadbox.library/EB_WriteInfoBoxInt
-
- egsgadbox.library/EB_AddFirstSon egsgadbox.library/EB_AddFirstSon
-
- NAME
- EB_AddFirstSon -- Add son to gadbox
-
- SYNOPSIS
- EB_AddFirstSon(father, son)
- A0 A1
-
- void EB_AddFirstSon(EB_GadBoxPtr, EB_GadBoxPtr)
-
- FUNCTION
- Add an gadbox as first son to an other gadbox.
-
- INPUTS
- father -
- son -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_AddLastSon egsgadbox.library/EB_AddLastSon
-
- NAME
- EB_AddLastSon -- Add son to gadbox
-
- SYNOPSIS
- EB_AddLastSon(father, son)
- A0 A1
-
- void EB_AddLastSon(EB_GadBoxPtr, EB_GadBoxPtr)
-
- FUNCTION
- Add an gadbox as last son to an other gadbox.
-
- INPUTS
- father -
- son -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_AllocMemCon egsgadbox.library/EB_AllocMemCon
-
- NAME
- EB_AllocMemCon -- Allocate memory to context
-
- SYNOPSIS
- EB_AllocMemCon(con, size)
- A0 D0
-
- APTR EB_AllocMemCon(EB_ContextPtr, LONG)
-
- FUNCTION
- Allocate memory which is tracked using a context. The memory must be
- freed using EB_FreeMemCon or using EB_DeleteGadContext.
-
- INPUTS
- con : pointer to context
- size : size in bytes
-
- RESULT
- pointer to memory or NULL if failed
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CWidth egsgadbox.library/EB_CWidth
-
- NAME
- EB_CWidth -- evaluate width of character
-
- SYNOPSIS
- EB_CWidth(char, font)
- D2 A1
-
- WORD EB_CWidth(char, EG_EFontPtr)
-
- FUNCTION
- Evaluates the width of one character.
-
- INPUTS
- char -
- font -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CalcGadgetGfx egsgadbox.library/EB_CalcGadgetGfx
-
- NAME
- EB_CalcGadgetGfx -- calculate gadgets graphics
-
- SYNOPSIS
- EB_CalcGadgetGfx(con, box)
- A0 A1
-
- ULONG EB_CalcGadgetGfx(EB_GadContext, EB_GadBoxPtr)
-
- FUNCTION
- Calculates and creates the rendering commands for the gadgets (see
- also EB_ProcessGadBoxes). Normaly you need not call this function, as
- it is part of EB_ProcessGadBoxes.
-
- INPUTS
- con : pointer to gadget context
- box : pointer to root of gadbox tree
-
- RESULT
- FALSE if fails, see con->error field for more information
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CalcMinMax egsgadbox.library/EB_CalcMinMax
-
- NAME
- EB_CalcMinMax -- calculates gadgets min and max
-
- SYNOPSIS
- EB_CalcMinMax(box)
- A0
-
- ULONG EB_CalcMinMax(EB_GadBoxPtr)
-
- FUNCTION
- Calculates the real minimum and maximum values of a gadbox tree,
- according to their given min and max values. Normaly you need not
- call this function, as it is part of EB_ProcessGadBoxes.
-
- INPUTS
- box : pointer to root of gadbox tree
-
- RESULT
- FALSE if fails, see con->error field for more informations
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CalcPositions egsgadbox.library/EB_CalcPositions
-
- NAME
- EB_CalcPositions -- calculate gadgets position
-
- SYNOPSIS
- EB_CalcPositions(box, x, y)
- A0 D0 D1
-
- ULONG EB_CalcPositions(EB_GadBoxPtr, WORD, WORD)
-
- FUNCTION
- Calculates the real positions of gadgets and rendering of a gadbox
- tree, according to their minimal sizes. Normaly you need not call
- this function, as it is part of EB_ProcessGadBoxes.
-
- INPUTS
- box : pointer to root of gadbox tree
- x, y : upper left relative coordinates
-
- RESULT
- FALSE if fails, see con->error field for more informations
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CalcRealSize egsgadbox.library/EB_CalcRealSize
-
- NAME
- EB_CalcRealSize -- calculate gadgets sizes
-
- SYNOPSIS
- EB_CalcRealSize(box)
- A0
-
- ULONG EB_CalcRealSize(EB_GadBoxPtr)
-
- FUNCTION
- Calculates the real size of every member in a gadbox tree, according
- to their minimal and maximal values. Normaly you need not call this
- function, as it is part of EB_ProcessGadBoxes.
-
- INPUTS
- box : pointer to root of gadbox tree
-
- RESULT
- FALSE if fails, see con->error field for more informations
-
- SEE ALSO
-
-
- egsgadbox.library/EB_ConnectGadgets egsgadbox.library/EB_ConnectGadgets
-
- NAME
- EB_ConnectGadgets -- connect gadgets of gadbox tree
-
- SYNOPSIS
- EB_ConnectGadgets(box, first, num)
- A0 A1 A2
-
- void EB_ConnectGadgets(EB_GadBoxPtr, EI_GadgetPtr *, WORD *)
-
- FUNCTION
- Connects the gadgets of a gadbox tree to a gadget list (or tree if
- master gadgets are used). Normaly you need not call this function, as
- it is part of EB_ProcessGadBoxes.
-
- INPUTS
- box : pointer to root of gadbox tree
- first : pointer to EI_GadgetPtr, in which to store the first gadget
- num : pointer to WORD, in which to store the number of primary gadgets
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateActionGadgetegsgadbox.library/EB_CreateActionGadget
-
- NAME
- EB_CreateActionGadget -- create an action gadget
-
- SYNOPSIS
- EB_CreateActionGadget(con, width, id)
- A0 A1 D0
-
- EB_GadBoxPtr EB_CreateActionGadget(EB_GadContext, EB_GadBoxPtr, LONG)
-
- FUNCTION
- Creates an action gadget around a gadbox subtree using the id. The
- subtree may only contain rendering information, which is used for the
- gadgets active field. The gadget has flag EI_stdHighlight set, so you
- need no extra border around the gadget.
-
- INPUTS
- con : pointer to gadcontext
- with : subtree, describing the gadgets graphic
- id : gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateArrow egsgadbox.library/EB_CreateArrow
-
- NAME
- EB_CreateArrow -- create an arrow gadget
-
- SYNOPSIS
- EB_CreateArrow(con, dest, id)
- A0 D0 D1
-
- EB_GadBoxPtr EB_CreateArrow(EB_GadContext, WORD, LONG)
-
- FUNCTION
- Creates an arrow gadget, pointing in direction dest (see
- EI_arrow..).
-
- INPUTS
- con : pointer to gadcontext
- dest : pointers destination
- id : gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateArrowGfx egsgadbox.library/EB_CreateArrowGfx
-
- NAME
- EB_CreateArrowGfx -- creates an arrow
-
- SYNOPSIS
- EB_CreateArrowGfx(con, dest)
- A0 D0
-
- EB_GadBoxPtr EB_CreateArrowGfx(EB_GadContext, UBYTE)
-
- FUNCTION
- Creates the graphics for an arrow, pointing in direction dest (see
- EI_arrow..).
-
- INPUTS
- con : pointer to gadcontext
- dest : pointers destination
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateBackBorder egsgadbox.library/EB_CreateBackBorder
-
- NAME
- EB_CreateBackBorder -- creates a back border
-
- SYNOPSIS
- EB_CreateBackBorder(con, around, fill)
- A0 A1 D0
-
- EB_GadBoxPtr EB_CreateBackBorder(EB_GadContext, EB_GadBoxPtr, UBYTE)
-
- FUNCTION
- Creates a border which seems to go into the screen around an
- existing gadbox subtree. This function also creates a little space
- between the inner graphics and the border.
-
- INPUTS
- con : pointer to gadcontext
- around : subtree, around which to build the border
- fill : flags, which determine, if the borderspace is allowed to expand
- if needed
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateBoolGadget egsgadbox.library/EB_CreateBoolGadget
-
- NAME
- EB_CreateBoolGadget -- create boolean gadget
-
- SYNOPSIS
- EB_CreateBoolGadget(con , with, id)
- A0 A1 D0
-
- EB_GadBoxPtr EB_CreateBoolGadget(EB_GadContext, EB_GadBoxPtr, LONG)
-
- FUNCTION
- Creates an boolean gadget around a gadbox subtree using the id. The
- subtree may only contain rendering information, which is used for the
- gadgets active field. The gadget has flag EI_stdHighlight set, so you
- need no extra border around the gadget.
-
- INPUTS
- con : pointer to gadcontext
- with : subtree, describing the gadgets graphic
- id : gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateBorder egsgadbox.library/EB_CreateBorder
-
- NAME
- EB_CreateBorder -- create space around graphics
-
- SYNOPSIS
- EB_CreateBorder(con, around, fill)
- A0 A1 D0
-
- EB_GadBoxPtr EB_CreateBorder(EB_GadContext, EB_GadBoxPtr, UBYTE)
-
- FUNCTION
- Creates a little space around a subtree on each side.
-
- INPUTS
- con : pointer to gadcontext
- around : subtree, around which to build the border
- fill : flags, which determine, if the borderspace is allowed to expand
- if needed
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateBox egsgadbox.library/EB_CreateBox
-
- NAME
- EB_CreateBox -- create gadbox
-
- SYNOPSIS
- EB_CreateBox(con, orient, minWidth, maxWidth, minHeight, maxHeight)
- A0 D0 D1 D2 D3 D4
-
- EB_GadBoxPtr EB_CreateBox(EB_GadContext, UBYTE, WORD, WORD, WORD, WORD)
-
- FUNCTION
- Creates a simple gadbox.
-
- INPUTS
- con : pointer to gadcontext
- orient : orientation of the gadbox:
- EB_horizontal : the box may have several sons, which are
- ordered horizontal
- EB_vertical : the box may have several sons, which are
- ordered vertical
- EB_unknown : the box may have only one son
- EB_horizTable : the box may have several sons, whih may
- either be unknown, or vertical. All vertical
- sons must have the same number of sons,
- because the grandsons are ordered in a table.
- EB_vertiTable : the box may have several sons, whih may
- either be unknown, or horizontal. All
- horizontal sons must have the same number of
- sons, because the grandsons are ordered in a
- table.
- EB_select : the box may have several sons, which all lay
- at the same location.
-
- minWidth,
- minHeight : minimal size of the box, EB_min for any
- maxWidth,
- maxHeight : maximal size of the box, EB_max for any
-
- RESULT
- NULL if fails, else pointer to new gadbox
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateBoxedMultiTextegsgadbox.library/EB_CreateBoxedMultiText
-
- NAME
- EB_CreateBoxedMultiText -- create text in box
-
- SYNOPSIS
- EB_CreateBoxedMultiText(con, text)
- A0 A1
-
- EB_GadBoxPtr EB_CreateBoxedMultiText(EB_GadContext, EB_StrArrayPtr)
-
- FUNCTION
- Creates several lines of text in a back bordered box.
-
- INPUTS
- con : pointer to gadcontext
- text : Array of pointers to strings, which build the lines. The last entry
- must contain NULL, for termination.
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateButton24 egsgadbox.library/EB_CreateButton24
-
- NAME
- EB_CreateButton24 -- creates 24 bit button
-
- SYNOPSIS
- EB_CreateButton24(con, around, color, back, fill)
- A0 A1 D0 D1 D2
-
- EB_GadBoxPtr EB_CreateButton24(EB_GadContext, EB_GadBoxPtr, ULONG, ULONG, UBYTE)
-
- FUNCTION
- Creates the graphics for a special three dimensional button, which
- may be used for bool or action gadgets.
-
- INPUTS
- con : pointer to gad context
- around : the buttons text or image
- color : the buttons color
- back : the color of the background, surrounding the button
- fill : flags, defining where to fill around the image
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateButtonGadgetegsgadbox.library/EB_CreateButtonGadget
-
- NAME
- EB_CreateButtonGadget -- creates a round radio button
-
- SYNOPSIS
- EB_CreateButtonGadget(context, id)
- A0 D0
-
- EB_GadBoxPtr EB_CreateButtonGadget(EB_GadContext, LONG)
-
- FUNCTION
- Creates the gadget and graphics for a radio gadget, that is a round
- 3d style gadget with a center that is filled on activation. Normally
- these are used in the radio buttons (gbradio.library).
-
- INPUTS
- con : pointer to gad context
- id : id of the gadget
-
- RESULT
- box : the resulting box or NULL if fails
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateCenterText egsgadbox.library/EB_CreateCenterText
-
- NAME
- EB_CreateCenterText -- create centered text
-
- SYNOPSIS
- EB_CreateCenterText(con, str)
- A0 A1
-
- EB_GadBoxPtr EB_CreateCenterText(EB_GadContext, char *)
-
- FUNCTION
- Creates a text that is centered using surrounding boxes.
-
- INPUTS
- con -
- str -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateCheckMarkGadgetegsgadbox.library/EB_CreateCheckMarkGadget
-
- NAME
- EB_CreateCheckMarkGadget -- make a checkmark gadget
-
- SYNOPSIS
- EB_CreateCheckMarkGadget(context, id)
- A0 D0
-
- EB_GadBoxPtr EB_CreateCheckMarkGadget(EB_GadContext, LONG)
-
- FUNCTION
- Creates an boolean gadget with a graphic that looks like a
- check-mark. This gadget starts in the off state and comes complete
- with border and everything.
-
- INPUTS
- con : pointer to gadcontext
- with : subtree, describing the gadgets graphic
- id : gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateDoubleBorderegsgadbox.library/EB_CreateDoubleBorder
-
- NAME
- EB_CreateDoubleBorder -- create double border
-
- SYNOPSIS
- EB_CreateDoubleBorder(con, around, fill)
- A0 A1 D0
-
- EB_GadBoxPtr EB_CreateDoubleBorder(EB_GadContext, EB_GadBoxPtr, UBYTE)
-
- FUNCTION
- Creates a double border, normaly used for string/integer gadgets.
-
- INPUTS
- con -
- around -
- fill -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateDropGadget egsgadbox.library/EB_CreateDropGadget
-
- NAME
- EB_CreateDropGadget --
-
- SYNOPSIS
- EB_CreateDropGadget(con, with, accept, flags, id)
- A0 A1 A2 D0 D1
-
- EB_GadBoxPtr EB_CreateDropGadget(EB_GadContext, EB_GadBoxPtr, EI_AcceptListPtr, ULONG, LONG)
-
- FUNCTION
-
- INPUTS
- con -
- with -
- accept -
- flags -
- id -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateFillBox egsgadbox.library/EB_CreateFillBox
-
- NAME
- EB_CreateFillBox -- create fill box
-
- SYNOPSIS
- EB_CreateFillBox(con, pri)
- A0 D0
-
- EB_GadBoxPtr EB_CreateFillBox(EB_GadContext, BYTE)
-
- FUNCTION
- Creates a box, that can fill unused areas. It can be used for
- spacing around fixed sized images when changing font size.
-
- INPUTS
- con -
- pri -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateFrontBorder egsgadbox.library/EB_CreateFrontBorder
-
- NAME
- EB_CreateFrontBorder -- creates a front border
-
- SYNOPSIS
- EB_CreateFrontBorder(con, around, fill)
- A0 A1 D0
-
- EB_GadBoxPtr EB_CreateFrontBorder(EB_GadContext, EB_GadBoxPtr, UBYTE)
-
- FUNCTION
- Creates a border which seems to come out of the screen around an
- existing gadbox subtree. This function also creates a little space
- between the inner graphics and the border.
-
- INPUTS
- con : pointer to gadcontext
- around : subtree, around which to build the border
- fill : flags, that determine, if the borderspace is allowed to expand
- if needed
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateGadContext egsgadbox.library/EB_CreateGadContext
-
- NAME
- EB_CreateGadContext -- create gadget context
-
- SYNOPSIS
- EB_CreateGadContext(font, tfont, color, back)
- A0 A1 D0 D1
-
- EB_GadContext EB_CreateGadContext(EG_EFontPtr, EG_EFontPtr, LONG, LONG)
-
- FUNCTION
- Creates a gadget context. This structure keeps track of all
- structures that are allocated to create a gadbox tree, and all
- gadgets and substructures. This structure also contains information
- obout the fonts and colors of the gadgets. The structure has to be
- deleted using EB_DeleteGadContext, after the requester/window has
- been closed. This will also delete all associated structures and
- gadgets.
-
- INPUTS
- font : normal font, if NULL the system window font is used
- tfont : text gadget font, if NULL the system default font is used
- color,
- back : colors for 24 bit gadgets, -1 if normal gadgets are to be used
-
- RESULT
- NULL if fails, else pointer to new gadget context
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateGroupBorder egsgadbox.library/EB_CreateGroupBorder
-
- NAME
- EB_CreateGroupBorder -- creates a nice looking border with text around a box
-
- SYNOPSIS
- EB_CreateGroupBorder(con, around, fill, name)
- A0 A1 D0 A2
-
- EB_GadBoxPtr EB_CreateGroupBorder(EB_GadContext, EB_GadBoxPtr, LONG, char *)
-
- FUNCTION
- This function will create a 3D border around a box. The top line will
- be broken in the middle and in that break, the name is displayed,
- like this: +---- Name ----+ | |
- | Box Contents | | | +--------------+
-
- INPUTS
- con : pointer to gadcontext
- around : pointer to the interior
- fill : where you want fill space
- name : null-terminated string
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateHorizBox egsgadbox.library/EB_CreateHorizBox
-
- NAME
- EB_CreateHorizBox -- creates horizontal box
-
- SYNOPSIS
- EB_CreateHorizBox(con)
- A0
-
- EB_GadBoxPtr EB_CreateHorizBox(EB_GadContext)
-
- FUNCTION
- Creates a box that combines several other boxes horizontal. All son
- boxes of a horizontal box are places one besides the other, and build
- a row.
-
- INPUTS
- con : pointer to gadcontext
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateHorizFill egsgadbox.library/EB_CreateHorizFill
-
- NAME
- EB_CreateHorizFill -- create horizontal pad
-
- SYNOPSIS
- EB_CreateHorizFill(con, fill, pri)
- A0 D0 D1
-
- EB_GadBoxPtr EB_CreateHorizFill(EB_GadContext, ULONG, BYTE)
-
- FUNCTION
- Creates a fill element for horizontal boxes. This should be used, to
- separate gadgets or gadget groups, or to create paddings betweeen
- borders.
-
- INPUTS
- con : pointer to gadcontext
- fill : flag, that determines, if the fill box is allowed to expand if needed
- pri : the boxes priority
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateHorizProp egsgadbox.library/EB_CreateHorizProp
-
- NAME
- EB_CreateHorizProp -- create horizontal propgadget
-
- SYNOPSIS
- EB_CreateHorizProp(con, maximum, size, val, id)
- A0 D0 D1 D2 D3
-
- EB_GadBoxPtr EB_CreateHorizProp(EB_GadContext, WORD, WORD, WORD, LONG)
-
- FUNCTION
- Creates a horizontal proportional gadget, and all needed graphics.
-
- INPUTS
- con : pointer to gadcontext
- maximum : maximum value of slider
- size : size of slider
- val : value of slider
- id : the gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateHorizTable egsgadbox.library/EB_CreateHorizTable
-
- NAME
- EB_CreateHorizTable -- create horizontal table
-
- SYNOPSIS
- EB_CreateHorizTable(con)
- A0
-
- EB_GadBoxPtr EB_CreateHorizTable(EB_GadContext)
-
- FUNCTION
- Creates a horizontal table, that may contain several vertical boxes,
- and arranges their elements in a table.
-
- INPUTS
- con -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateInfoBox egsgadbox.library/EB_CreateInfoBox
-
- NAME
- EB_CreateInfoBox -- creates information box
-
- SYNOPSIS
- EB_CreateInfoBox(con, info, font, minWidth, maxWidth, justify)
- A0 A1 A2 D0 D1 D2
-
- EB_GadBoxPtr EB_CreateInfoBox(EB_GadContext, EB_InfoBoxPtr, EG_EFontPtr, WORD, WORD, UBYTE)
-
- FUNCTION
- Creates an information box. This type of box is used, to display
- text in an allready rendered window/gadget. The function modifies a
- given structure by setting real coordinates and real dimensions after
- calculating.
-
- INPUTS
- con : pointer to gadcontext
- info : pointer to info box, that is modified
- font : font, in which to display the text
- minWidth,
- maxWidth : minimum and maximum dimensions in characters
- justify : justification of displayed text
-
- RESULT
- NULL if fails, else pointer to new gadbox
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateIntegerGadgetegsgadbox.library/EB_CreateIntegerGadget
-
- NAME
- EB_CreateIntegerGadget -- creates an integer gadget
-
- SYNOPSIS
- EB_CreateIntegerGadget(con, minChar, digits, id)
- A0 D0 D1 D2
-
- EB_GadBoxPtr EB_CreateIntegerGadget(EB_GadContext, WORD, WORD, LONG)
-
- FUNCTION
- Creates an integer gadget and associated graphics.
-
- INPUTS
- con : pointer to gad context
- minChar : minimum number of chars to display
- digits : number of digits in integer number
- id : the gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateLateBox egsgadbox.library/EB_CreateLateBox
-
- NAME
- EB_CreateLateBox -- create late calculation box
-
- SYNOPSIS
- EB_CreateLateBox(con, create, minWidth, maxWidth, minHeight, maxHeight)
- A0 A1 D0 D1 D2 D3
-
- EB_GadBoxPtr EB_CreateLateBox(EB_GadContext, APTR, WORD, WORD, WORD, WORD)
-
- FUNCTION
- Creates a late construction box. The interiour of this type of box
- is created during calculation, by a call to EB_GBCreate. This
- function is called with a pointer to the box in A0. At this time the
- real size of the box is allready calculated and resides in
- box->minWidth and box->maxWidth.
-
- INPUTS
- con  : pointer to gad context
- create : constructor procedure.
- minWidth,
- minHeight : minimal dimensions
- maxWidth,
- maxHeight : maximum dimensions
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateMaster egsgadbox.library/EB_CreateMaster
-
- NAME
- EB_CreateMaster -- create a master gadget
-
- SYNOPSIS
- EB_CreateMaster(con, type, id)
- A0 D0 D1
-
- EB_GadBoxPtr EB_CreateMaster(EB_GadContext, LONG, LONG)
-
- FUNCTION
- Creates a master gadget. A master gadget is a gadget, that contains
- several other gadgets. E.g. a prop gadget with arrows is a master
- gadget, containing to action gadgets an a normal prop gadget.
-
- INPUTS
- con : pointer to gadget context
- type : custom type id
- id : gadget id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateMasterWindowegsgadbox.library/EB_CreateMasterWindow
-
- NAME
- EB_CreateMasterWindow -- creates a master window
-
- SYNOPSIS
- EB_CreateMasterWindow(con, win, width)
- A0 A1 A2
-
- EB_GadBoxPtr EB_CreateMasterWindow(EB_GadContext, EI_WindowPtr, EB_GadBoxPtr)
-
- FUNCTION
- Creates a window (or uses an exisiting one) that contains only one
- gadget, a master gadget, that includes all rendering and subgadgets,
- so it can easily be removed, resized, and added again.
-
- INPUTS
- con -
- win -
- width -
-
- RESULT
- NULL if fails, else pointer to new tree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateMultiAction egsgadbox.library/EB_CreateMultiAction
-
- NAME
- EB_CreateMultiAction -- creates several action gadgets
-
- SYNOPSIS
- EB_CreateMultiAction(con, names, ids, fill)
- A0 A1 D0 D1
-
- EB_GadBoxPtr EB_CreateMultiAction(EB_GadContext, EB_StrArrayPtr, LONG, UBYTE)
-
- FUNCTION
- Creates several action gadgets in a row. The names of the gadgets
- must be supplied in an array of pointers to string. The last element
- in the array must be a NULL for termination.
-
- INPUTS
- con : pointer to gadget context
- names : pointer to array of pointers to string.
- ids : first gadgets id, following gadgets have successing numbers
- fill : flags, if filling is allowed
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateMultiAction2egsgadbox.library/EB_CreateMultiAction2
-
- NAME
- EB_CreateMultiAction2 -- creates a table of action gadgets
-
- SYNOPSIS
- EB_CreateMultiAction2(con, names, ids)
- A0 A1 D0
-
- EB_GadBoxPtr EB_CreateMultiAction2(EB_GadContext, EB_StrArray2Ptr, LONG)
-
- FUNCTION
- Creates a table of action gadgets. The names of the gadgets must be
- provided in an array of pointers to arrays of pointers to strings.
- The last elements in the arrays must be NULL for termination.
-
- INPUTS
- con : pointer to gadget context
- names : pointer to array of pointers to arrays of pointers to strings
- ids : The number of the top left gadgets. Gadget ids from left to
- right increase by one, from top to bottom by 0x100.
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateMultiActionVegsgadbox.library/EB_CreateMultiActionV
-
- NAME
- EB_CreateMultiActionV -- creates several action gadgets
-
- SYNOPSIS
- EB_CreateMultiActionV(con, names, ids, fill)
- A0 A1 D0 D1
-
- EB_GadBoxPtr EB_CreateMultiActionV(EB_GadContext, EB_StrArrayPtr, LONG, UBYTE)
-
- FUNCTION
- Creates several action gadgets in a collumn. The names of the
- gadgets must be provided in an array of pointers to string. The last
- element in the array must be a NULL for termination.
-
- INPUTS
- con : pointer to gadget context
- names : pointer to array of pointers to string.
- ids : first gadgets id, following gadgets have successing numbers
- fill : flags, if filling is allowed
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateMultiText egsgadbox.library/EB_CreateMultiText
-
- NAME
- EB_CreateMultiText --
-
- SYNOPSIS
- EB_CreateMultiText(con, text)
- A0 A1
-
- EB_GadBoxPtr EB_CreateMultiText(EB_GadContext, EB_StrArrayPtr)
-
- FUNCTION
- Creates several lines of text;
-
- INPUTS
- con : pointer to gadcontext
- text : Array of pointers to strings, which build the lines. The last entry
- must contain NULL, for termination.
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateNameIntegerGadget egsgadbox.library/EB_CreateNameIntegerGadget
-
- NAME
- EB_CreateNameIntegerGadget -- create integer gadget with name
-
- SYNOPSIS
- EB_CreateNameIntegerGadget(con, name, minChar, digits, id)
- A0 A1 D0 D1 D2
-
- EB_GadBoxPtr EB_CreateNameIntegerGadget(EB_GadContext, char *, WORD, WORD, LONG)
-
- FUNCTION
- Creates an integer gadget with a name on its left side (see
- EB_CreateIntegerGadget for more information)
-
- INPUTS
- con -
- name -
- minChar -
- digits -
- id -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateNameRealGadgetegsgadbox.library/EB_CreateNameRealGadget
-
- NAME
- EB_CreateNameRealGadget -- create a real gadget with a name
-
- SYNOPSIS
- EB_CreateNameRealGadget(con, name, minChar, digits, id)
- A0 A1 D0 D1 D2
-
- EB_GadBoxPtr EB_CreateNameRealGadget(EB_GadContext, char *, WORD, WORD, LONG)
-
- FUNCTION
- Creates an longreal gadget with a name on its left side (see
- EB_CreateRealGadget for more information)
-
- INPUTS
- con -
- name -
- minChar -
- digits -
- id -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateNameStringGadgetegsgadbox.library/EB_CreateNameStringGadget
-
- NAME
- EB_CreateNameStringGadget -- creates a string gadget with name
-
- SYNOPSIS
- EB_CreateNameStringGadget(con, name, minChar, buffLen, justify, id)
- A0 A1 D0 D1 D2 D3
-
- EB_GadBoxPtr EB_CreateNameStringGadget(EB_GadContext, char *, WORD, WORD, UBYTE, LONG)
-
- FUNCTION
- Creates an string gadget with a name on its left side (see
- EB_CreateStringGadget for more information)
-
- INPUTS
- con -
- name -
- minChar -
- buffLen -
- justify -
- id -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateRealGadget egsgadbox.library/EB_CreateRealGadget
-
- NAME
- EB_CreateRealGadget -- creates a longreal gadget
-
- SYNOPSIS
- EB_CreateRealGadget(con, minChar, digits, id)
- A0 D0 D1 D2
-
- EB_GadBoxPtr EB_CreateRealGadget(EB_GadContext, WORD, WORD, LONG)
-
- FUNCTION
- Creates an longreal gadget and associated graphics.
-
- INPUTS
- con : pointer to gad context
- minChar : minimum number of chars to display
- digits : number of digits in real number
- id : the gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateResponseBox egsgadbox.library/EB_CreateResponseBox
-
- NAME
- EB_CreateResponseBox -- creates a response box
-
- SYNOPSIS
- EB_CreateResponseBox(con, response, minWidth, maxWidth, minHeight, maxHeight)
- A0 A1 D0 D1 D2 D3
-
- EB_GadBoxPtr EB_CreateResponseBox(EB_GadContext, EB_ResBoxPtr, WORD, WORD, WORD, WORD)
-
- FUNCTION
- Creates a response box. This box contains a pointer to a structur,
- in which the resulting coordinates of this box are written. This type
- is usefull for input and output elements, which are not easy to fit
- in gadgets and or rendering.
-
- INPUTS
- con : pointer to gadcontext
- response : pointer to response box. In this box the resulting coordinates are
- written.
- minWidth,
- minHeight : minimum dimensions
- maxWidth,
- maxHeight : maximum dimensions.
-
- RESULT
- NULL if fails, else pointer to new gadbox
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateStringGadgetegsgadbox.library/EB_CreateStringGadget
-
- NAME
- EB_CreateStringGadget -- create a string gadget
-
- SYNOPSIS
- EB_CreateStringGadget(con, minChar, buffLen, justify, id)
- A0 D0 D1 D2 D3
-
- EB_GadBoxPtr EB_CreateStringGadget(EB_GadContext, WORD, WORD, UBYTE, LONG)
-
- FUNCTION
- Creates a string gadget, and associated graphics.
-
- INPUTS
- con : pointer to gadget context
- minChar : minimal number of characters to be displayed
- buffLen : size of buffer
- justify : jsutification of string
- id : the gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateSuperHorizPropegsgadbox.library/EB_CreateSuperHorizProp
-
- NAME
- EB_CreateSuperHorizProp -- create prop gadget with arrows
-
- SYNOPSIS
- EB_CreateSuperHorizProp(con, maximum, size, value, id, flags)
- A0 D0 D1 D2 D3 D4
-
- EB_GadBoxPtr EB_CreateSuperHorizProp(EB_GadContext, WORD, WORD, WORD, LONG, UBYTE)
-
- FUNCTION
- Creates a proportional gadget with arrows for increasing and
- decreasing. The arrows work without additional programming. They may
- be located on any side of the gadgets, determined by the contents of
- flags. (See EB_CreateHorizProp for further information)
-
- INPUTS
- con -
- maximum -
- size -
- value -
- id -
- flags -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateSuperVertiPropegsgadbox.library/EB_CreateSuperVertiProp
-
- NAME
- EB_CreateSuperVertiProp -- create prop gadget with arrows
-
- SYNOPSIS
- EB_CreateSuperVertiProp(con, maximum, size, value, id, flags)
- A0 D0 D1 D2 D3 D4
-
- EB_GadBoxPtr EB_CreateSuperVertiProp(EB_GadContext, WORD, WORD, WORD, LONG, UBYTE)
-
- FUNCTION
- Creates a proportional gadget with arrows for increasing and
- decreasing. The arrows work without additional programming. They may
- be located on any side of the gadgets, determined by the contents of
- flags. (See EB_CreateVertiProp for further information)
-
- INPUTS
- con -
- maximum -
- size -
- value -
- id -
- flags -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateText egsgadbox.library/EB_CreateText
-
- NAME
- EB_CreateText -- creates a line of text
-
- SYNOPSIS
- EB_CreateText(con, str)
- A0 A1
-
- EB_GadBoxPtr EB_CreateText(EB_GadContext, char *)
-
- FUNCTION
- Creates one line of text in the contexts font.
-
- INPUTS
- con -
- str -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateTextAction egsgadbox.library/EB_CreateTextAction
-
- NAME
- EB_CreateTextAction -- create action gadget
-
- SYNOPSIS
- EB_CreateTextAction(con, name, id, fill)
- A0 A1 D0 D1
-
- EB_GadBoxPtr EB_CreateTextAction(EB_GadContext, char *, LONG, UBYTE)
-
- FUNCTION
- Creates an action gadget around a text.
-
- INPUTS
- con -
- name -
- id -
- fill -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateTextBoolean egsgadbox.library/EB_CreateTextBoolean
-
- NAME
- EB_CreateTextBoolean -- creates boolean gadget
-
- SYNOPSIS
- EB_CreateTextBoolean(con, name, id, fill)
- A0 A1 D0 D1
-
- EB_GadBoxPtr EB_CreateTextBoolean(EB_GadContext, char *, LONG, UBYTE)
-
- FUNCTION
- Creates an boolean gadget around a text.
-
- INPUTS
- con -
- name -
- id -
- fill -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateUText egsgadbox.library/EB_CreateUText
-
- NAME
- EB_CreateUText --
-
- SYNOPSIS
- EB_CreateUText(con, s, c)
- A0 A1 A2
-
- EB_GadBoxPtr EB_CreateUText(EB_GadContext, char *, char)
-
- FUNCTION
-
- INPUTS
- con -
- s -
- c -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateVertiBox egsgadbox.library/EB_CreateVertiBox
-
- NAME
- EB_CreateVertiBox -- create vertical box
-
- SYNOPSIS
- EB_CreateVertiBox(con)
- A0
-
- EB_GadBoxPtr EB_CreateVertiBox(EB_GadContext)
-
- FUNCTION
- Creates a box that combines several other boxes vertical. All son
- boxes of a vertical box are placed one below the other, and build a
- column.
-
- INPUTS
- con -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateVertiFill egsgadbox.library/EB_CreateVertiFill
-
- NAME
- EB_CreateVertiFill -- create vertical fill element
-
- SYNOPSIS
- EB_CreateVertiFill(con, fill, pri)
- A0 D0 D1
-
- EB_GadBoxPtr EB_CreateVertiFill(EB_GadContext, ULONG, BYTE)
-
- FUNCTION
- Creates a fill element for vertical boxes. This should be used, to
- separate gadgets or gadget groups, or to create paddings betweeen
- borders.
-
- INPUTS
- con : pointer to gadcontext
- fill : flag, that determines, if the fill box is allowed to expand if needed
- pri : the boxes priority
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateVertiProp egsgadbox.library/EB_CreateVertiProp
-
- NAME
- EB_CreateVertiProp -- creates a vertical prop gadget
-
- SYNOPSIS
- EB_CreateVertiProp(con, maximum, size, val, id)
- A0 D0 D1 D2 D3
-
- EB_GadBoxPtr EB_CreateVertiProp(EB_GadContext, WORD, WORD, WORD, LONG)
-
- FUNCTION
- Creates a vertical proportional gadget, and all needed graphics.
-
- INPUTS
- con : pointer to gadcontext
- maximum : maximum value of slider
- size : size of slider
- val : value of slider
- id : the gadgets id
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateVertiTable egsgadbox.library/EB_CreateVertiTable
-
- NAME
- EB_CreateVertiTable -- creates a table
-
- SYNOPSIS
- EB_CreateVertiTable(con)
- A0
-
- EB_GadBoxPtr EB_CreateVertiTable(EB_GadContext)
-
- FUNCTION
- Creates a vertical table, that may contain several horizontal boxes,
- and arranges their elements in a table.
-
- INPUTS
- con -
-
- RESULT
- NULL if fails, else pointer to new subtree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_CreateWindow egsgadbox.library/EB_CreateWindow
-
- NAME
- EB_CreateWindow -- creates a window
-
- SYNOPSIS
- EB_CreateWindow(con, left, top)
- A0 D0 D1
-
- EB_GadBoxPtr EB_CreateWindow(EB_GadContext, WORD, WORD)
-
- FUNCTION
- Creates a EI_NewWindow structure, associoated to a gadget box. The
- window will open at left/top, and include all gadboxes, which are
- added to it. Normally this function is not needed, because it is
- included in EB_ProcessGadBoxes.
-
- INPUTS
- con -
- left -
- top -
-
- RESULT
- NULL if fails, else pointer to new tree
-
- SEE ALSO
-
-
- egsgadbox.library/EB_DeleteGadContext egsgadbox.library/EB_DeleteGadContext
-
- NAME
- EB_DeleteGadContext -- delete a gad context
-
- SYNOPSIS
- EB_DeleteGadContext(con)
- A0
-
- void EB_DeleteGadContext(EB_GadContext)
-
- FUNCTION
- Deletes a gadget context and the two included contexts. All memory
- which has been allocated to create the gadgets, and the gadgets self
- are deallocated.
-
- INPUTS
- con -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_FindGadget egsgadbox.library/EB_FindGadget
-
- NAME
- EB_FindGadget -- find a gadget
-
- SYNOPSIS
- EB_FindGadget(first, num, id)
- A0 D0 D1
-
- EI_GadgetPtr EB_FindGadget(EI_GadgetPtr, WORD, LONG)
-
- FUNCTION
- Finds a gadget in a gadgetlist by its id.
-
- INPUTS
- first : pointer to first gadget in the list
- num : number of gadgets in the list
- id : the gadgets id
-
- RESULT
- pointer to the gadget, or NULL if it was not found
-
- SEE ALSO
-
-
- egsgadbox.library/EB_FreeMemCon egsgadbox.library/EB_FreeMemCon
-
- NAME
- EB_FreeMemCon -- deallocate memory
-
- SYNOPSIS
- EB_FreeMemCon(mem)
- A0
-
- void EB_FreeMemCon(APTR)
-
- FUNCTION
- Deallocates memory that was allocated using EB_AllocMemCon.
-
- INPUTS
- mem -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_GetStringData egsgadbox.library/EB_GetStringData
-
- NAME
- EB_GetStringData -- extract string from gadget buffer
-
- SYNOPSIS
- EB_GetStringData(gad, str)
- A0 A1
-
- void EB_GetStringData(EI_GadgetPtr, char *)
-
- FUNCTION
- Extracts a string from a gadgets string buffer.
-
- INPUTS
- gad -
- str -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_LinkStringGadgets egsgadbox.library/EB_LinkStringGadgets
-
- NAME
- EB_LinkStringGadgets -- links two string gadgets
-
- SYNOPSIS
- EB_LinkStringGadgets(con, from, to)
- A0 A1 A2
-
- ULONG EB_LinkStringGadgets(EB_GadContext, EB_GadBoxPtr, EB_GadBoxPtr)
-
- FUNCTION
- Links two string gadgets so that the user can move from one to the
- other using TAB and SHIFT+TAB. The routine searches for the next
- string gadget in the subtree.
-
- INPUTS
- con : pointer to gadget context
- from : subtree that contains the first string gadget
- to : subtree that contains the second string gadget
-
- RESULT
- FALSE if failed, see error field in context for more information
-
- SEE ALSO
-
-
- egsgadbox.library/EB_LinkStringGadgetsIDegsgadbox.library/EB_LinkStringGadgetsID
-
- NAME
- EB_LinkStringGadgetsID -- links two string gadgets
-
- SYNOPSIS
- EB_LinkStringGadgetsID(con, from, to, frist, num)
- A0 D0 D1 A1 D2
-
- ULONG EB_LinkStringGadgetsID(EB_GadContext, LONG, LONG, EI_GadgetPtr, WORD)
-
- FUNCTION
- Links two string gadgets so that the user can move from one to the
- other using TAB and SHIFT+TAB. The routine searches for the gadgets
- in a gadget list. If num is -1 the routine takes the list provided by
- the gadget context.
-
- INPUTS
- con : pointer to gadget context
- from, to : the gadgets ids
- first : first gadget in the list
- num : number of gadgets in the list, or -1
-
- RESULT
- FALSE if failed, see error field in context for more information
-
- SEE ALSO
-
-
- egsgadbox.library/EB_MAX egsgadbox.library/EB_MAX
-
- NAME
- EB_MAX --
-
- SYNOPSIS
- EB_MAX(a, b)
- D0 D1
-
- WORD EB_MAX(WORD, WORD)
-
- FUNCTION
- Finds the largest value of a and b
-
- INPUTS
- a, b: Numbers to compare
-
- RESULT
- max - the largest number of a and b.
-
- SEE ALSO
-
-
- egsgadbox.library/EB_MIN egsgadbox.library/EB_MIN
-
- NAME
- EB_MIN --
-
- SYNOPSIS
- EB_MIN(a, b)
- D0 D1
-
- WORD EB_MIN(WORD, WORD)
-
- FUNCTION
- Finds the smaller of a and b
-
- INPUTS
- a, b: numbers to compare
-
- RESULT
- min - the smaller of a and b.
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewFixHeight egsgadbox.library/EB_NewFixHeight
-
- NAME
- EB_NewFixHeight -- modify a box to fixed height
-
- SYNOPSIS
- EB_NewFixHeight(box)
- A0
-
- EB_GadBoxPtr EB_NewFixHeight(EB_GadBoxPtr)
-
- FUNCTION
- Modifies a gadbox so that its maximum height equals its minimum
- height, which has the effect, that the gadbox size is locked to its
- minimum.
-
- INPUTS
- box : pointer to gadbox
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewFixWidth egsgadbox.library/EB_NewFixWidth
-
- NAME
- EB_NewFixWidth -- modify a box to fixed width
-
- SYNOPSIS
- EB_NewFixWidth(box)
- A0
-
- EB_GadBoxPtr EB_NewFixWidth(EB_GadBoxPtr)
-
- FUNCTION
- Modifies a gadbox so that its maximum width equals its minimum
- width, which has the effect, that the gadbox size is locked to its
- minimum.
-
- INPUTS
- box : pointer to gadbox
- width : the new height of the box
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewHotKey egsgadbox.library/EB_NewHotKey
-
- NAME
- EB_NewHotKey --
-
- SYNOPSIS
- EB_NewHotKey(box, key)
- A0 D0
-
- EB_GadBoxPtr EB_NewHotKey(EB_GadBoxPtr, char)
-
- FUNCTION
-
- INPUTS
- box -
- key -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewMaxHeight egsgadbox.library/EB_NewMaxHeight
-
- NAME
- EB_NewMaxHeight -- modifies a box maximum height
-
- SYNOPSIS
- EB_NewMaxHeight(box, height)
- A0 D0
-
- EB_GadBoxPtr EB_NewMaxHeight(EB_GadBoxPtr, WORD)
-
- FUNCTION
- Modifies the maximum height of a gadbox
-
- INPUTS
- box : pointer to gadbox
- height : the new height of the box
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewMaxWidth egsgadbox.library/EB_NewMaxWidth
-
- NAME
- EB_NewMaxWidth -- modifies a box maximum width
-
- SYNOPSIS
- EB_NewMaxWidth(box, width)
- A0 D0
-
- EB_GadBoxPtr EB_NewMaxWidth(EB_GadBoxPtr, WORD)
-
- FUNCTION
- Modifies the maximum width of a gadbox
-
- INPUTS
- box : pointer to gadbox
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewMinHeight egsgadbox.library/EB_NewMinHeight
-
- NAME
- EB_NewMinHeight -- modifies a box minimum height
-
- SYNOPSIS
- EB_NewMinHeight(box, height)
- A0 D0
-
- EB_GadBoxPtr EB_NewMinHeight(EB_GadBoxPtr, WORD)
-
- FUNCTION
- Modifies the minimum height of a gadbox
-
- INPUTS
- box : pointer to gadbox
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewMinWidth egsgadbox.library/EB_NewMinWidth
-
- NAME
- EB_NewMinWidth -- modifies a box minimum width
-
- SYNOPSIS
- EB_NewMinWidth(box, width)
- A0 D0
-
- EB_GadBoxPtr EB_NewMinWidth(EB_GadBoxPtr, WORD)
-
- FUNCTION
- Modifies the minimum width of a gadbox
-
- INPUTS
- box : pointer to gadbox
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewPri egsgadbox.library/EB_NewPri
-
- NAME
- EB_NewPri -- modifies a boxes priority
-
- SYNOPSIS
- EB_NewPri(box, pri)
- A0 D0
-
- EB_GadBoxPtr EB_NewPri(EB_GadBoxPtr, BYTE)
-
- FUNCTION
- Modifies the priority of a box.
-
- INPUTS
- box : pointer to gadbox
- pri : new priority
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_NewSameSize egsgadbox.library/EB_NewSameSize
-
- NAME
- EB_NewSameSize -- changes all boxes in list to be same size
-
- SYNOPSIS
- EB_NewSameSize(box)
- A0
-
- EB_GadBoxPtr EB_NewSameSize(EB_GadBoxPtr)
-
- FUNCTION
- Distributes the running length (width for horizontal boxes, height
- for vertical boxes) evenly to the boxes in
-
- INPUTS
- box : pointer to gadbox
-
- RESULT
- the same pointer as box
-
- SEE ALSO
-
-
- egsgadbox.library/EB_ProcessGadBoxes egsgadbox.library/EB_ProcessGadBoxes
-
- NAME
- EB_ProcessGadBoxes -- make a window out of a gad box tree
-
- SYNOPSIS
- EB_ProcessGadBoxes(con, root)
- A0 A1
-
- ULONG EB_ProcessGadBoxes(EB_GadContext, EB_GadBoxPtr)
-
- FUNCTION
- Builds up a new window structure and a list of gadgets out of a gad
- box tree. Calls EB_CreateWindow, CalcMinMax, CalcRealSize,
- CalcPositions, CalcGadgetGfx, ConnectGadgets and deletes the
- tempororay context. The tree is deleted by this operation. If it
- succeeds, you can open a window, using the EI_NewWindow pointer in
- the EB_GadContext, and get all rendering and gadgets displayed and
- ready to use. You may modify the windows flags, but you should not
- modify its size.
-
- INPUTS
- con : pointer to gadget context
- root : pointer to root of gadbox tree (is disposed during operation)
-
- RESULT
- FALSE if fails, see error field in gadget context for more information
-
- SEE ALSO
-
-
- egsgadbox.library/EB_ProcessGadBoxesSizeegsgadbox.library/EB_ProcessGadBoxesSize
-
- NAME
- EB_ProcessGadBoxesSize -- fits gadboxes into boxes
-
- SYNOPSIS
- EB_ProcessGadBoxesSize(con, root, width, height)
- A0 A1 D0 D1
-
- BOOL EB_ProcessGadBoxesSize(EB_GadContext, EB_GadBoxPtr, WORD, WORD)
-
- FUNCTION
- Builds up a new window structure and a list of gadgets out of a gad
- box tree, very much like EB_ProcessGadBoxes with the difference that
- the tree is attempted to be fitted into an area of width,height.
-
- INPUTS
- con : pointer to gadget context
- root : pointer to root of gadbox tree (is disposed during operation)
- width : desired minimum width
- height : desired minimum height
-
- RESULT
- FALSE if fails, see error field in gadget context for more information
-
- SEE ALSO
-
-
- egsgadbox.library/EB_PutIntData egsgadbox.library/EB_PutIntData
-
- NAME
- EB_PutIntData -- put integer value into gadget
-
- SYNOPSIS
- EB_PutIntData(win, gad, val)
- A0 A1 D0
-
- void EB_PutIntData(EI_WindowPtr, EI_GadgetPtr, LONG)
-
- FUNCTION
- Puts an integer value in an integer gadget, and refreshes it, if the
- window is allready open.
-
- INPUTS
- win : pointer to the gadgets window or NULL, for no refresh
- gad : pointer to integer gadget
- val : value for gadget
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_PutRealData egsgadbox.library/EB_PutRealData
-
- NAME
- EB_PutRealData --
-
- SYNOPSIS
- EB_PutRealData(win, gad, val, field, digits, exp)
- A0 A1 D0 D2 D3 D4
-
- void EB_PutRealData(EI_WindowPtr, EI_GadgetPtr, double, WORD, WORD, ULONG)
-
- FUNCTION
-
- INPUTS
- win -
- gad -
- val -
- field -
- digits -
- exp -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_PutStringData egsgadbox.library/EB_PutStringData
-
- NAME
- EB_PutStringData -- puts string in gadget
-
- SYNOPSIS
- EB_PutStringData(win, gad, str)
- A0 A1 A2
-
- void EB_PutStringData(EI_WindowPtr, EI_GadgetPtr, char *)
-
- FUNCTION
- Puts a string in a string gadget and refreshes it if the window is
- allready open.
-
- INPUTS
- win : pointer to the gadgets window or NULL, for no refresh
- gad : pointer to integer gadget
- str : string for gadget
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_SMatch egsgadbox.library/EB_SMatch
-
- NAME
- EB_SMatch -- number of chars that match in field
-
- SYNOPSIS
- EB_SMatch(str, font, width)
- A0 A1 D2
-
- WORD EB_SMatch(char *, EG_EFontPtr, WORD)
-
- FUNCTION
- Evaluates how many characters of a given string match into a text
- field.
-
- INPUTS
- str : pointer to string
- font : font for which to evaluate
- width : width of the field
-
- RESULT
- number of chars that match into the field, if all characters match, returns
- the strings length.
-
- SEE ALSO
-
-
- egsgadbox.library/EB_SWidth egsgadbox.library/EB_SWidth
-
- NAME
- EB_SWidth -- evaluate width of string
-
- SYNOPSIS
- EB_SWidth(str, font)
- A0 A1
-
- WORD EB_SWidth(char *, EG_EFontPtr)
-
- FUNCTION
- Evaluates how width a string would be in a given font.
-
- INPUTS
- str : pointer to string
- font : pointer to font
-
- RESULT
- width in pixel
-
- SEE ALSO
-
-
- egsgadbox.library/EB_SetPropBackMap egsgadbox.library/EB_SetPropBackMap
-
- NAME
- EB_SetPropBackMap --
-
- SYNOPSIS
- EB_SetPropBackMap(con, win, gad, map)
- A0 A1 A2 A3
-
- void EB_SetPropBackMap(EB_GadContext, EI_WindowPtr, EI_PropGadPtr, E_EBitMapPtr)
-
- FUNCTION
-
- INPUTS
- con -
- win -
- gad -
- map -
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_WriteInfoBox egsgadbox.library/EB_WriteInfoBox
-
- NAME
- EB_WriteInfoBox -- write text in info box
-
- SYNOPSIS
- EB_WriteInfoBox(info, win, str)
- A0 A1 A2
-
- void EB_WriteInfoBox(EB_InfoBoxPtr, EI_WindowPtr, char *)
-
- FUNCTION
- Writes a text into an info box (see EB_CreateInfoBox), if the string
- does not fit into the box, it is truncated.
-
- INPUTS
- info : pointer to info box, initialized by EB_CreateInfoBox
- win : pointer to window
- str : pointer to string
-
- RESULT
-
- SEE ALSO
-
-
- egsgadbox.library/EB_WriteInfoBoxInt egsgadbox.library/EB_WriteInfoBoxInt
-
- NAME
- EB_WriteInfoBoxInt -- write number into info box
-
- SYNOPSIS
- EB_WriteInfoBoxInt(info, win, val)
- A0 A1 D0
-
- void EB_WriteInfoBoxInt(EB_InfoBoxPtr, EI_WindowPtr, LONG)
-
- FUNCTION
- Writes a number into an info box (see EB_CreateInfoBox), if the
- number does not fit into the box, it is truncated.
-
- INPUTS
- info : pointer to info box, initialized by EB_CreateInfoBox
- win : pointer to window
- val : number
-
- RESULT
-
- SEE ALSO
-
-
-