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

Developer

API Reference

FADERDESC_INIT()

Brew Release
Brew MP 1.0.2
See Also
Description
This macro initializes each of the fields of a FaderDesc data structure. An application implementing a fader transition should call FADERDESC_Init() after creating an instance of the fader object.
Params
f
[]:
Pointer to a FaderDesc data structure, into which the macro will copy the remaining parameters.
w
[]:
Pointer to the widget that will be the target of fader transitions.
s
[]:
Specifies the initial transparency level to be applied to the widget wrapped by the fader object when the transition is started. A value of 0 would start that transition by drawing the widget as fully opaque object. A value of 1 would add a small degree of transparency to the widget, 2 a little more, 3 a little more, and so on... A value of 255 would indicate complete transparency.
e
[]:
Specifies the transparency level that will end the fadeout transition.
Prototype
  •    FADERDESC_Init(FaderDesc *f, IWidget *w, uint8 s, uint8 e);
    
Return
  • None
Side Effect
  • None
Comments
None