# define MXDEBUG_ALLOCTAG(p)
Tag an allocation (debug)
This macro tags a pointer to memory with the current filename and source line.
If the pointer does not exist the the current allocation list then this macro does nothing.
If memory debugging is off (MXMODULE_ALLOC undefined or NDEBUG is defined) then
this macro compiles to nothing.
(../include/deds/alloc.h)
(library deds : module alloc)
# define MXDEBUG_ALLOCCHECK()
Check all allocations
This macro causes all allocations to be checked for over/under writing.
If memory debugging is off (MXMODULE_ALLOC undefined or NDEBUG is defined) then
this macro compiles to nothing.
(../include/deds/alloc.h)
(library deds : module alloc)
# define MXATOM(v)
Convert to MX_ATOM
This macro return the base MX_ATOM for an object derived from MX_ATOM.
(../include/deds/atom.h)
(library deds : module atom)
# define mx_atom(a,d,s)
Construct an MX_ATOM
This macro constructs a MX_ATOM which is a base object for reference counting.
(../include/deds/atom.h)
(library deds : module atom)
# define mx_delete(a)
Destroy an MX_ATOM
This macro causes an object to be marked for destruction. If no locks (MX_LOCK)
or references (MX_REF) exist for this object then the object is destroyed and
if appropitae the memory is released.
(../include/deds/atom.h)
(library deds : module atom)
# define mx_locked(a)
Find out if an object is locked or not
(../include/deds/atom.h)
(library deds : module atom)
# define mx_lock(l,a)
Construct a MX_LOCK
This macro creates a lock for an object derived from MX_ATOM. The locked
MX_ATOM is guaranteed not to be deleted while a valid lock exists.
(../include/deds/atom.h)
(library deds : module atom)
# define MX_REF(type)
A reference type, a typed MX_LOCK
This macro defines a MX_LOCK where the target is of some defined type.
A reference functions the same way as a MX_LOCK except the locked (i.e. referenced)
object is available in a typesafe way. A pointer to the reference target is
available with the MXREF macro.
(../include/deds/atom.h)
(library deds : module atom)
# define mx_ref(r,t)
Construct a MX_REF
The macro constructs a MX_REF to an object.
(../include/deds/atom.h)
(library deds : module atom)
# define mx_unref(r)
Destruct a MX_REF
The macro destroys a MX_REF to an object. The object may
be deleted in the dereference, see the mx_unlock() macro.
(../include/deds/atom.h)
(library deds : module atom)
# define MXREF(r)
Return the object behind a MX_REF
Return the object behind the MX_REF to an object.
(../include/deds/atom.h)
(library deds : module atom)
#define MX_DLLIST(type)
Double linked list
This macro declares a double linked list structure. The list
surrounding type can then be manipulated by the other mx_dllist_* and
MX_DLLIST_* macros. The type should be initialized with all zeros.
(../include/deds/dllist.h)
(library deds : module dllist)
#define MX_DLLIST_ELEM(type)
Elements for a double linked list
This macro declares elements for a double linked list structure.
This delcaration must be included in a struct with an appropriate type. The
surrounding type can then be manipulated by the other mx_dllist_* and
MX_DLLIST_* macros. The surrounding type should be initialized with all
zeros.
(../include/deds/dllist.h)
(library deds : module dllist)
#define MX_DLLIST_NODE(type,list)
Elements for a double linked list node
This macro declares elements for a double linked list node
structure. This delcaration must be included in a struct with an appropriate
type. The surrounding type can then be manipulated by the other mx_dllist_*
and MX_DLLIST_* macros. The surrounding type should be initialized with all
zeros.
(../include/deds/dllist.h)
(library deds : module dllist)
#define MX_DLLIST_APPEND(o,p)
Insert a double linked element into a double linked list
The inserted element is placed at the end of the list.
(../include/deds/dllist.h)
(library deds : module dllist)
#define MX_DLLIST_PREPEND(o,p)
Insert a double linked element into a double linked list
The inserted element is placed at the beginning of the list.
(../include/deds/dllist.h)
(library deds : module dllist)
#define MX_DLLIST_REMOVE(o)
Remove a double linked list element from its list
(../include/deds/dllist.h)
(library deds : module dllist)
#define mx_dllist_first(o)
First element of a double linked list.
(../include/deds/dllist.h)
(library deds : module dllist)
#define mx_dllist_last(o)
Last element of a double linked list.
(../include/deds/dllist.h)
(library deds : module dllist)
#define mx_dllist_next(o)
Next element in the double linked list.
(../include/deds/dllist.h)
(library deds : module dllist)
#define mx_dllist_prev(o)
Previous element in the double linked list.
(../include/deds/dllist.h)
(library deds : module dllist)
#define mx_dllist_list(o)
List that an element is contained in.
(../include/deds/dllist.h)
(library deds : module dllist)
#define MX_MAX(x,y)
The maximum of two values.
(../include/deds/maxmin.h)
(library deds : module maxmin)
#define MX_MIN(x,y)
The minimum of two values.
(../include/deds/maxmin.h)
(library deds : module maxmin)
#define MX_MID(x,y,z)
The middle of three values.
(../include/deds/maxmin.h)
(library deds : module maxmin)
# define MXRECT_VALID(A)
Is MX_RECT valid?
This macro returns non-zero if the upper-left of the rectangle is
above and to the right of the lower-left of the rectangle, zero otherwise.
(../include/deds/rect.h)
(library deds : module rect)
# define MXRECT_INTERSECT(A, B, R)
Find intersection of two rectangles
This macro finds the intersection of two rectangles.
(../include/deds/rect.h)
(library deds : module rect)
# define MXRECT_UNION(A, B, R)
Union of two rectangles.
(../include/deds/rect.h)
(library deds : module rect)
# define MXRECT_CONTAINS(R, X, Y)
Point contained in MX_RECT
This macro return non-zero if a given x,y point is indose the
rectangel error, zero otherwise.
(../include/deds/rect.h)
(library deds : module rect)
# define MXRECTS_OVERLAP(A, B)
Do MX_RECT overlap?
This macro return non-zero if two rectangels overlap, zero otherwise.
(../include/deds/rect.h)
(library deds : module rect)
# define MXRECT(b)
Typesafe conversion between a class derived from MX_RECTATOM to a MX_RECT.
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_rectatom(r,d,s)
Construct a MX_RECTATOM
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_rectatom_place(r, rect)
Place a MX_RECTAOM at some specific rectangle.
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_x1(r)
MX_RECTATOM x1 value.
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_y1(r)
MX_RECTATOM y1 value.
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_x2(r)
MX_RECTATOM x2 value.
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_y2(r)
MX_RECTATOM y2 value.
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_w(r)
MX_RECTATOM width.
(../include/deds/rectatom.h)
(library deds : module rectatom)
# define mx_h(r)
MX_RECTATOM height.
(../include/deds/rectatom.h)
(library deds : module rectatom)
#define MX_TREE(type)
Declare elements for a tree structure
This macro declares elements for a tree structure. This
delcaration must be included in a struct with an appropriate type. The
surrounding type can then be manupulated by the other mx_tree_* functions.
(../include/deds/tree.h)
(library deds : module tree)
#define MX_TREE_INSERT(o,p)
Insert a tree element into a parent.
The inserted element is placed after the existing children of the parent. An tree element
cannot be inserted into itself.
(../include/deds/tree.h)
(library deds : module tree)
#define MX_TREE_REMOVE(o)
Remove a tree element from a parent.
(../include/deds/tree.h)
(library deds : module tree)
#define mx_tree_first(o)
The first child element of a parent.
(../include/deds/tree.h)
(library deds : module tree)
#define mx_tree_last(o)
The last child element of a parent.
(../include/deds/tree.h)
(library deds : module tree)
#define mx_tree_next(o)
The next child element with the same parent.
(../include/deds/tree.h)
(library deds : module tree)
#define mx_tree_prev(o)
The previous child element with the same parent.
(../include/deds/tree.h)
(library deds : module tree)
#define mx_tree_parent(o)
The parent tree element.
(../include/deds/tree.h)
(library deds : module tree)
#define MX_VECTOR(type)
A 100% typesafe generic vector for C
This macro functions as a type delaration for a vector of user-defined
type.
(../include/deds/vector.h)
(library deds : module vector)
#define MX_VECTOR_ITERATOR(type)
An iterator for a MX_VECTOR
This macro functions as a type declaration for an iterator for a
similarly typed MX_VECTOR.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector(mxvect)
Construct a MX_VECTOR
This macro constructs a MX_VECTOR object. This must be called first before any other mx_vector_* functions are called.
MX_VECTOR is correctly initialized with a 0 bit pattern. So static
MX_VECTOR are correctly initialized and dont necessarily need a call to the
constructor.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_free(mxvect)
Destruct a MX_VECTOR
This macro destroys an MX_VECTOR object by releasing any memory
that has been allocated. It should be the last call to any mx_vector_*
functions. Access of the MX_VECTOR object after destruction should not be done.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_at(mxvect, mxn)
Return an element from a MX_VECTOR at a specific index
This macro returns elements from a MX_VECTOR at a specific index.
It is safer than accessing the underlying pointer because it wont allow
access outside the correct range for the vector.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_back(mxvect)
Return the last element from a MX_VECTOR
This macro returns the last element from a MX_VECTOR.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_begin(mxvect)
Pointer to first element
This macro returns a pointer to the first data element in the MX_VECTOR object.
If the MX_VECTOR contains no data elements then 0 is returned.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_capacity(mxvect)
Capacity
This macro returns the capacity of an MX_VECTOR object. This is the
number of elements that the vector can contain without reqriring any internal
memory management.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_clear(mxvect)
Clear
This macro deletes all the objects from a MX_VECTOR
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_empty(mxvect)
Empty
This macro deletes all the objects from a MX_VECTOR
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_end(mxvect)
Pointer one-past last element
This macro returns a pointer one-past the last data element in the MX_VECTOR object.
If the MX_VECTOR contains no data elements then 0 is returned.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_erase(mxvect, mxiter)
Erase an element
This macro removes a data element from an MX_VECTOR object.
If there are data elements at indicies higher than those removed then they
are are moved to lower indicies.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_push_back(mxvect, mxdat)
Push an element onto the back of the MX_VECTOR
This macro makes a bitwise copy of a single data element and appends
the copy onto an existing MX_VECTOR object. The size of the vector is expanded
to hold the new data elements.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_size(mxvect)
Number of elements
This macro returns the size of an MX_VECTOR object. This is the number
of data elements that can be safely accessed.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_resize(mxvect, n)
Resize
This macro resizes a MX_VECTOR object. If the MX_VECTOR does not have
sufficient capacity to hold the new number of elements then new space is
reserved using mx_vector_reserve().
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_reserve(mxvect, n)
Set capacity
This macro reserves space in a MX_VECTOR object for later copying or
appending of data elements. If enough space is reserved the insertion or appending
of elements does not require memory management (realloc of internal buffer) and
will be fast. If enough space is already reserved this macro does nothing.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_extend(mxvect, n)
Increase capacity
This macro reserves space for additional data elements in a MX_VECTOR object.
If enough space is reserved then future insertion or appending may not require memory
management (realloc of internal buffer) and will therefore be fast. If enough space
is already reserved this macro does nothing.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_contract(mxvect)
Reduce capacity to minimum
This macro reduces the memory used by a MX_VECTOR object to the
minimum required to safely contain the data elements contained. This function can
cause memory management (realloc of internal buffer) to occur.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_append1(mxvect, dat)
Append 1 element (bitwise copy)
This macro makes a bitwise copy of a single data element and appends
the copy onto an existing MX_VECTOR object. The size of the vector is expanded
to hold the new data elements.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_append(mxvect, dat, n)
Append a number of elements (bitwise copy)
This macro makes a bitwise copy of a number of data elements and appends the copies
onto an existing MX_VECTOR object. More than one data element can be appended at once.
If necessary the size of the vector is expanded to hold the new data elements.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_insert1(mxvect, dat, ind)
Insert 1 element (bitwise copy)
This macro makes a bitwise copy of one data element and inserts the
copy into an existing MX_VECTOR object. If necessary the size of the vector
is expanded to hold the new data element.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_insert(mxvect, dat, n, ind)
Insert a number of elements (bitwise copy)
This macro makes a bitwise copy of a number of data elements and inserts the
copies into an existing MX_VECTOR object at sepcific indicies. More than one data
element can be inserted at once. If necessary the size of the vector is expanded
to hold the new data elements.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_vector_remove_last(mxvect)
Remove last element
This macro removes only the last object from a vector. The size of the MX_VECTOR
is reduced by one.
(../include/deds/vector.h)
(library deds : module vector)
#define mx_iter(x,y)
Get an iterator to a given position on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_getpixel(x,y)
Return the pixel at a given position on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_pixel(x,y,c)
Draw a pixel on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_vline(x,y1,y2,c)
Draw a vertical line on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_hline(x1,y,x2,c)
Draw a horizontal line on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_line(x1,y1,x2,y2,c)
Draw a line on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_rectfill(x1,y1,x2,y2,c)
Draw a filled rectangle on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_clear(c)
Clear the screen to a solid color
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_blit(s,sx,sy,dx,dy,w,h)
Blit a bitmap onto the screen
This function uses the pixel transparency of the source bitmap
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_blitcopy(s,sx,sy,dx,dy,w,h)
Blit a bitmap onto the screen
This function uses no transparency
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_blittrans(s,sx,sy,dx,dy,w,h,t)
Blit a bitmap onto the screen
This function uses the a single transparency level
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_blitstretch(s,sx,sy,sw,sh,dx,dy,dw,dh)
Stretch-blit a bitmap onto the screen
This function uses the pixel transparency of the source bitmap
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_box(x1,y1,x2,y2,w,l,d)
Draw a box on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_frame(x1,y1,x2,y2,w,l,d,f)
Draw a frame on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define mx_decorate(s,x,y,x1,y1,x2,y2)
Blitting function for drawing gui objects on the screen
(../include/degfx/bitmap.h)
(library degfx : module bitmap)
#define MXRGB(r, g, b)
Construct a pixel out of a r, g, b
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXRGBT(r, g, b, a)
Construct a pixel out of a r, g, b and transparency
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXT(c)
The transparency of a pixel
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXR(c)
Red component of a pixel
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXG(c)
Green component of a pixel
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXB(c)
Blue component of a pixel
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXTRANS(c, a)
Set pixel transparency
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXBLENDT(c1, c2, a1)
Blend two pixels with transparency
(../include/degfx/colors.h)
(library degfx : module colors)
#define MXBLEND(c1, c2)
Blend two pixels using the transparency component of the first pixel.
(../include/degfx/colors.h)
(library degfx : module colors)
#define mx_font_draw(f,t,l,x,y,fore)
Draw text onto the screen
(../include/degfx/font.h)
(library degfx : module font)
#define mx_font_drawblock(f,t,l,x,y,fore)
Draw a block of text onto the screen
(../include/degfx/font.h)
(library degfx : module font)
# define mx_alert(id)
Create a basic alert window.
(../include/depui/alert.h)
(library depui : module alert)
# define mx_event(o,t,d,l)
Send an event
This macro sends an event to an object.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_eventmatch(e,o)
Check if two events match with type and destination
This macro is useful in window event handler to recognize events for
different objects.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_dirty(o,c)
Mark an object for later redraw
This macro marks an object derived from MX_OBJ and optionally its
children as for later redraw.
(../include/depui/corepui.h)
(library depui : module corepui)
# define MXOBJ(o)
Convert to base MX_OBJ class
(../include/depui/corepui.h)
(library depui : module corepui)
# define MXID(o)
Get an objects ID number
This macro returns the id number associated with an object.
(../include/depui/corepui.h)
(library depui : module corepui)
# define MXCLASS(o)
Return an objects class
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_x(o)
Return the X-coordinate of an MX_OBJ
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_y(o)
Return the Y-coordinate of an MX_OBJ
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_place(o,r)
Place an MX_OBJ at a given recyangle
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_position(o,x,y,w,h)
Position an MX_OBJ at given coordinates
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_move(o,x,y)
Move an MX_OBJ to a given poistion
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_resize(o,w,h)
Resize an MX_OBJ to a given width and height
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_geometry(o)
Make an object check/correct its geometry
This macro causes a MX_GEOMETRY event to be sent to an object. The
object should do any internal processing necessary so the object functions properly
with the current poistion and size.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_defaultrect(o,r)
Find out what size/position and object wants to have
This macro causes a MX_DEFAULTRECT event to be sent to an object derived
from MX_OBJ.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_layout(o,f,r,x,y)
Set the layout of an MX_OBJ
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_armed(o)
Return if an MX_OBJ is armed or not
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_selected(o)
Return if an MX_OBJ is selected or not
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_select(o,s)
Select an MX_OBJ
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_disable(o,d)
Disable an MXOBJ
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_disabled(o)
Return if a MX_OBJ is disabled or not
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_wantmove(o,w)
Determine if an object recieves MX_POINTER_MOVE events
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_wantpointer(o,w)
Determine if an object will recieve MX_POINTER_* events
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_haspointer(o)
Determine if an object has the pointer
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_wantfocus(o,w)
Determine if an object wants the focus or not
This function return non-zero if the focus was changed. In this case the
object probaly needs to be marked as dirty.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_focused(o)
Return if an MX_OBJ is focused or not
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_focus_default(o)
Set a object to be the default focus object
This function returns non-zero if the object immediatly received the focus
i.e. no other object has the focus at that moment.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_obj(o,c,s,p,i)
Construct an MX_OBJ object
(../include/depui/corepui.h)
(library depui : module corepui)
# define MXTEXTUAL(o)
Convert to MX_TEXTUAL base class
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_text_set(o,t,l,f)
Set the text of a MX_TEXTUAL object
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_text_setcopy(o,t,l)
Set the text of a MX_TEXTUAL object to a copy of some text
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_text_font(o,f)
Set the font associated with the MX_TEXTUAL object
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_text(o,l)
Return the text of a MX_TEXTUAL object
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_text_align(o,a)
Set the alignment associated with the MX_TEXTUAL object
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_text_align_get(o)
Return the alignment associated with the MX_TEXTUAL object
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_textual(m,s,p,i)
Construct a MX_TEXTUAL object
(../include/depui/corepui.h)
(library depui : module corepui)
# define MXBUTTON(o)
Convert to MX_BUTTON base class
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_button(m,s,p,i)
Construct a button
(../include/depui/corepui.h)
(library depui : module corepui)
# define MXWIN(o)
Convert to base MX_WIN class
This macro does a typesafe conversion between an object derived from MX_WINDOW
and the underlying window.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_win(w,s,h,i)
Construct a standard window (and border)
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_basicwin(w,s,h,i)
Construct a basic window (no boprder)
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_active(w)
Is window active?
This function returns non-zero if an object derivded from MX_WIN is the
active window. This macro is just a wrapper for mx_win_active().
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_win_dirty(w)
Mark a window for later redraw
This function marks a window and its border for redraw
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_modal(w)
Make a window modal
This macro marks a window as modal. This means that no interaction can take
place with a parent window while a child modal window is open.
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_winborder(b,s,o,i)
Create a border for a window
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_win_noresize(w,res)
Make a window resizeable/unresizable
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_win_noclose(w,res)
Make a window closeable/uncloseable
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_win_nomove(w,res)
Make a window moveable/unmoveable
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_win_notitle(w,res)
Make a window have no title
(../include/depui/corepui.h)
(library depui : module corepui)
# define mx_win_rootchild(w)
Make a window a child of the root window
(../include/depui/corepui.h)
(library depui : module corepui)
# define MXEDITTEXT(o)
Convert to base MX_EDITTEXT object
(../include/depui/edittext.h)
(library depui : module edittext)
# define mx_edittext(m,s,p,i)
Create an editable text object
This macro creates an editable textual object as a child of another object.
(../include/depui/edittext.h)
(library depui : module edittext)
# define mx_edittext_zeroterminate(e)
Force zero termination if internal string
This function forces the editable text to be zero terminated.
(../include/depui/edittext.h)
(library depui : module edittext)
# define mx_edittext_cursorpos(e,p)
Set cursor position
This function sets the cursor position in the editable text.
(../include/depui/edittext.h)
(library depui : module edittext)
# define mx_edittext_cursorscroll(e)
Make the MX_EDITTEXT request a scroll to make the cursor visible
(../include/depui/edittext.h)
(library depui : module edittext)
# define mx_filesel(id)
Create a file selector window
This macro creates a file selector with the given id number.
(../include/depui/filesel.h)
(library depui : module filesel)
# define mx_fontsel(id)
Create a font selector window
This macro creates a font selector with the specified id number.
(../include/depui/fontsel.h)
(library depui : module fontsel)
# define mx_gfxsel(id)
Create a graphics mode and theme selector.
(../include/depui/gfxsel.h)
(library depui : module gfxsel)
# define MXLISTELEM(o)
Convert to MX_LISTELEM base object
(../include/depui/list.h)
(library depui : module list)
# define mx_listelem(l,s,p,i)
Construct a list element
(../include/depui/list.h)
(library depui : module list)
# define MXLIST(o)
Convert to MX_LIST base class
(../include/depui/list.h)
(library depui : module list)
# define mx_list(m,s,p,i)
Create a MX_LIST object
(../include/depui/list.h)
(library depui : module list)
# define mx_list_append(l,t,le,f,id)
Append list element from text
(../include/depui/list.h)
(library depui : module list)
# define mx_list_multiple(l,m)
Determine if a list allows multiple selected items
(../include/depui/list.h)
(library depui : module list)
# define mx_list_select_id(l,i,d)
Select list elements with a given ID number
(../include/depui/list.h)
(library depui : module list)
# define mx_list_selected(l,p)
Return first selection in list
(../include/depui/list.h)
(library depui : module list)
# define mx_list_selected_id(l)
Return the ID number of the first selection
(../include/depui/list.h)
(library depui : module list)
# define mx_list_first(l)
Return the first list element
(../include/depui/list.h)
(library depui : module list)
# define mx_list_last(l)
Return the last list element
(../include/depui/list.h)
(library depui : module list)
# define mx_list_empty(l)
Remove all list elements
(../include/depui/list.h)
(library depui : module list)
# define mx_list_next(l)
Return the following list element
(../include/depui/list.h)
(library depui : module list)
# define mx_list_prev(l)
Return the previous list element
(../include/depui/list.h)
(library depui : module list)
# define MXSCROLL(o)
Convert to MX_SCROLL base object
(../include/depui/scroll.h)
(library depui : module scroll)
# define mx_scroll(s,si,p,i)
Create scrollable area
This macro creates an scrollable area object as a child of another object.
(../include/depui/scroll.h)
(library depui : module scroll)
# define mx_scroll_reset(s)
Reset a MX_SCROLL area
This macro resets the scroll area to the upper left corner.
(../include/depui/scroll.h)
(library depui : module scroll)
# define MXSCROLL2(o)
Convert to MX_SCROLL2 base object
(../include/depui/scroll.h)
(library depui : module scroll)
# define MXSLIDER(o)
Convert to MX_SLIDER base object
(../include/depui/slider.h)
(library depui : module slider)
# define mx_slider_set(s,r,si,v)
Set the slider range size and value
(../include/depui/slider.h)
(library depui : module slider)
# define mx_slider_to(s,v)
Move slider to a given position
(../include/depui/slider.h)
(library depui : module slider)
# define mx_slider_value(s)
Return the slider value
(../include/depui/slider.h)
(library depui : module slider)
# define mx_vslider(s,si,p,i)
Create vertical slider
This function creates a vertical slider as a child of another object.
(../include/depui/slider.h)
(library depui : module slider)
# define mx_hslider(s,si,p,i)
Create horizontal slider
This function creates a horozontal slider as a child of another object.
(../include/depui/slider.h)
(library depui : module slider)
# define mx_texteditor(id)
Create a text editor window.
(../include/depui/textedit.h)
(library depui : module textedit)
# define mx_themesel(id)
Create a theme selector window
This macro creates a theme selector with the specified id number.
(../include/depui/themesel.h)
(library depui : module themesel)
#define MX_BITFIELD(a)
Portable bitfield
A macro to define a bitfield variable.
(../include/detk/bitfield.h)
(library detk : module bitfield)
Generated by MXDOC 2.2 on Sun Feb 4 15:16:26 2007