Platz Type mutableCallback
Jump to navigation
Jump to search
The mutCallback type is a function pointer that can be set by the Platz client in order to handle Mutable BG events.
Parameters:
- eventType: This can be either PLATZ_MUT_EV_DRAW, PLATZ_MUT_EV_ANIM, or PLATZ_MUT_EV_COLLISION.
- bgiPresentation: The Inner BG responsible for the presentation of the Mutable BG that fired the event.
- bgiPayload: The Inner BG that carries the Mutable BG's user-defined payload.
- extra: Extra information about the event. As of v1.1, this holds the Outer BG that contains the Mutable BG responsible for the event.
typedef u8 (*mutCallback)(u8 eventType, bgInner *bgiPresentation, bgInner *bgiPayload, void *extra);