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

Developer

API Reference

IWIDGET_SETTOUCHOBSERVER()

Brew Release
Brew MP 1.0.2
See Also
IWidget_SetPropertyEx IWidget_GetTouchObserver
Description
This routine is used to set the touch observer on the Root Container. Touch Observer will receive all touch event which Root Container receives.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
piTouchObserver
[]:
[in] Pointer to the touch observer.
Interface
Prototype
  •    int IWidget_SetTouchObserver(IWidget *pif, IObserver *piTouchObserver);
    
Return
  •    AEE_SUCCESS - If the widget is able to set the touch observer.
       AEE_EFAILED - If the widget failed to set the touch observer.
    
Side Effect
  • None
Comments
Applications should use this function to attach touch observer to Root Container.