muimaster
Index
APTR MUI_AddClipping(
struct MUI_RenderInfo * mri,
WORD left,
WORD top,
WORD width,
WORD height );
APTR MUI_AddClipRegion(
struct MUI_RenderInfo * mri,
struct Region * r );
APTR MUI_AllocAslRequest(
ULONG reqType,
struct TagItem * tagList );
APTR MUI_AllocAslRequestTags(
ULONG reqType,
TAG tag, ... );
Interface to asl.library.
see asl.library/AllocAslRequest()
BOOL MUI_AslRequest(
APTR requester,
struct TagItem * tagList );
BOOL MUI_AslRequestTags(
APTR requester,
TAG tag, ... );
Interface to asl.library.
BOOL MUI_BeginRefresh(
struct MUI_RenderInfo * mri,
ULONG flags );
struct MUI_CustomClass * MUI_CreateCustomClass(
struct Library * base,
ClassID supername,
struct MUI_CustomClass * supermcc,
ULONG datasize,
APTR dispatcher );
BOOL MUI_DeleteCustomClass(
struct MUI_CustomClass * mcc );
Delete private or public custom classes.
mcc - pointer from MUI_CreateCustomClass()
TRUE : success
FALSE : some objects or sub classes were still in use.
VOID MUI_DisposeObject(
Object * obj );
Deletes MUI object and its child objects.
obj - pointer to MUI object created with MUI_NewObject. May be NULL,
in which case this function has no effect.
VOID MUI_EndRefresh(
struct MUI_RenderInfo * mri,
ULONG flags );
Obsolete function. Use SetIoErr()/IoErr() instead.
VOID MUI_FreeAslRequest(
APTR requester );
VOID MUI_FreeClass(
Class * cl );
Frees a class returned by MUI_GetClass(). This function is
obsolete. Use MUI_DeleteCustomClass() instead.
cl - The pointer to the class.
struct IClass * MUI_GetClass(
ClassID classid );
Get a pointer to a MUI Class.
The main use for this function is to retrieve the pointer to a MUI class
for use by intuition.library/MakeClass() as superclass pointer. However,
this function is obsolete since MUI V8, so DO NOT USE IT, use
MUI_CreateCustomClass() instead.
classid - the ID of the class whose pointer is to be retrieved.
The class pointer is returned. DO NOT use it for any other reason that
as an argument of intuition.library/MakeClass(). DO NOT assume anything
about its content.
Once the pointer is not needed anymore, do not forget to call MUI_FreeClass().
This function is OBSOLETE, don't use it, use MUI_CreateCustomClass instead.
BOOL MUI_Layout(
Object * obj,
LONG left,
LONG top,
LONG width,
LONG height,
ULONG flags );
Object * MUI_MakeObjectA(
LONG type,
IPTR * params );
Object * MUI_MakeObject(
LONG type,
TAG tag, ... );
Create an object from the builtin object collection.
See file libraries/mui.h for a list of available objects
and their parameters. Note that this is not a taglist.
type - kind of builtin object
params - additional parameters for object
Object * MUI_NewObjectA(
ClassID classid,
struct TagItem * tags );
Object * MUI_NewObject(
ClassID classid,
TAG tag, ... );
Create object from MUI class.
classid - case sensitive name/ID string of a MUI class.
taglist - attribute/value pairs for the new object.
Pointer to object. NULL means failure.
LONG MUI_ObtainPen(
struct MUI_RenderInfo * mri,
struct MUI_PenSpec * spec,
ULONG flags );
Turns struct MUI_PenSpec (the result of a Poppen object) into
a pen for SetAPen().
VOID MUI_Redraw(
Object * obj,
ULONG flags );
VOID MUI_RejectIDCMP(
Object * obj,
ULONG flags );
The function itself is a bug ;-) Remove it!
VOID MUI_ReleasePen(
struct MUI_RenderInfo * mri,
LONG pen );
VOID MUI_RemoveClipping(
struct MUI_RenderInfo * mri,
APTR handle );
VOID MUI_RemoveClipRegion(
struct MUI_RenderInfo * mri,
APTR handle );
sba: This function frees the region given in MUI_AddClipRegion, but this seems wrong to me.
MUI_AddClipRegion should better duplicate the region.
LONG MUI_RequestA(
APTR app,
APTR win,
LONGBITS flags,
CONST_STRPTR title,
CONST_STRPTR gadgets,
CONST_STRPTR format,
APTR params );
LONG MUI_Request(
APTR app,
APTR win,
LONGBITS flags,
CONST_STRPTR title,
CONST_STRPTR gadgets,
CONST_STRPTR format,
TAG tag, ... );
VOID MUI_RequestIDCMP(
Object * obj,
ULONG flags );
For custom class implementors. Valid between MUIM_Setup/MUIM_Cleanup.
Indicates that this object wants to receive some events. MUIM_HandleInput
will then be called on this object whenever there's a matching event.
obj - an object whose class is derived from Area
flags - IDCMP flags
Deprecated in favor of MUIM_Window_AddEventHandler and MUIM_HandleEvent
event handling model (introduced in MUI V16).
LONG MUI_SetError(
LONG num );
|
|