Developer

API Reference

FADERDESC_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 FaderDesc data structure. An application implementing a fader transition should call FADERDESC_Init() after creating an instance of the fader object.
Parameters
  • 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
Comment
None
  • Follow