API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

MOVERDESC_INIT()

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.
Params
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
Comments
None