Developer

API Reference

MOVERDESC_Init()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
Description
This macro initializes each of the fields of a MoverDesc data structure. An applet implementing a mover transition should call MOVERDESC_Init() after creating an instance of the mover object.
Parameters
  • f
    []:
    Pointer to a MoverDesc data structure, into which the macro will copy the remaining parameters.
  • w
    []:
    Pointer to the widget that will be the target of mover transitions.
  • c
    []:
    Pointer to the container object that defined the coordinate plane for the transition object's movements
  • sx
    []:
    Specifies the starting x coordinate for the target object. The mover will place the target object at this location (relative to the container, "c") at the start of the move transition.
  • sy
    []:
    Specifies the starting y coordinate for the target object. The mover will place the target object at this location (relative to the container, "c") at the start of the move transition.
  • ex
    []:
    Specifies the finishing x coordinate for the target object. The mover will gradually move the target object in a linear direction towards this point until (ex, ey) is reached.
  • ey
    []:
    Specifies the finishing y coordinate for the target object. The mover will gradually move the target object in a linear direction towards this point until (ex, ey) is reached.
Prototype
 MOVERDESC_Init(MoverDesc *f, IWidget *w, IXYContainer *c, int16 sx, int16 sy, int16 ex, int16 ey);
Return
None
Side Effect
None
Comment
None
  • Follow