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

Developer

API Reference

IWIDGET_CANTAKETOUCH()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IWidget Widget Events
Description
This function will return whether or not the widget can take a touch event with particular coordinates. It passes the event EVT_WDG_CANTAKETOUCH to the widget's handle event function.
Params
pif
[]:
[in] Pointer to the IWidget interface object
x
[]:
[in] Value of the x coordinate for the touch event
y
[]:
[in] Value of the y coordinate for the touch event
pbCanTakeTouch
[]:
[out] Pointer to a boolean in memory which will be set to TRUE if the widget can take the touch event or FALSE if it cannot.
Interface
Prototype
  •    int IWidget_CanTakeTouch(IWidget *pif, int x, int y, boolean *pbCanTakeTouch);
    
Return
  • AEE_SUCCESS : The event was handled by the widget, and pbCanTakeFocus was set. AEE_EFAILED : The event was not handled by the widget, and pbCanTakeFocus was not set.
Side Effect
  • None.
Comments
None.