Functions | |
short | mt_objc_add (OBJECT *, short Parent, short Child, short *global) |
short | mt_objc_change (OBJECT *, short Object, short Res, short Cx, short Cy, short Cw, short Ch, short NewState, short Redraw, short *global_aes) |
short | mt_objc_delete (OBJECT *, short Object, short *global_aes) |
short | mt_objc_draw (OBJECT *, short Start, short Depth, short Cx, short Cy, short Cw, short Ch, short *global_aes) |
short | mt_objc_draw_grect (OBJECT *, short Start, short Depth, const GRECT *r, short *global_aes) |
short | mt_objc_edit (OBJECT *, short Object, short Char, short *Index, short Kind, short *global_aes) |
short | mt_objc_find (OBJECT *, short Start, short Depth, short Mx, short My, short *global_aes) |
short | mt_objc_xfind (OBJECT *, short Start, short Depth, short Mx, short My, short *global_aes) |
short | mt_objc_offset (OBJECT *, short Object, short *X, short *Y, short *global_aes) |
short | mt_objc_order (OBJECT *, short Object, short NewPos, short *global_aes) |
short | mt_objc_sysvar (short mode, short which, short in1, short in2, short *out1, short *out2, short *global_aes) |
void | mt_objc_wchange (OBJECT *tree, short obj, short new_state, GRECT *clip, short whandle, short *global) |
void | mt_objc_wdraw (OBJECT *tree, short start, short depth, GRECT *clip, short whandle, short *global) |
short | mt_objc_wedit (OBJECT *tree, short obj, short key, short *idx, short kind, short whandle, short *global) |
short | mt_objc_xedit (OBJECT *tree, short obj, short key, short *xpos, short subfn, GRECT *r, short *global) |
The Object Library is responsible for the drawing and manipulation of AES objects such as boxes, strings, icons, etc. See earlier in this chapter for a complete discussion of AES objects.
|
establishes a child object's relationship to its parent.
|
|
changes the display state of an object.
|
|
removes an object from an object tree.
|
|
renders an AES object tree on screen.
|
|
see mt_objc_draw()
|
|
allows manual control of an editable text field.
|
|
determines which object is found at a given coordinate.
|
|
calculates the true (absolute) screen coordinates of an object.
The values returned by mt_objc_offset() coupled with the ob_width and ob_height members do not take into account negative borders, shadowing, or sculpturing. When redrawing an object you are responsible for using these values to and the object's state to compensate for a correct clipping rectangle.
|
|
changes the position of an object relative to other child objects of the same parent.
|
|
returns/modifies information about the color and placement of 3D object effects.
Applications should not use mt_objc_sysvar() to change these settings since all changes are global. Only CPXs or Desk Accessories designed to modify these parameters should. |
|
Alter object status and redraw object
|
|
Draw object(tree)
|
|
Text field input for window dialogs
|
|
|
|
determines which object is found at a given coordinate.
|