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

Developer

API Reference

IWIDGET_GETTOUCHSUPPORT()

Brew Release
Brew MP 1.0.2
See Also
Description
This function is used to get the touch support of a widget. A widget's touch support states the kind of pointer events it wants to receive. It can be one of the following:
   AEEWIDGET_TOUCH_SUPPORT_SINGLE_POINTER - The widget only supports single pointer events.
                                            It can only handle pointer events describing
                                            pointer 1
   AEEWIDGET_TOUCH_SUPPORT_MULTIPLE_POINTERS - The widget supports pointer events describing
                                               multiple pointers at a time

Params
pif
[in]:
Pointer to the IWidget interface object.
pbFocus
[out]:
This parameter will get the touch support of the widget .
Interface
Prototype
  •    int IWidget_GetTouchSupport(IWidget* pif, int* pnTouchSupport)
      
Return
  •    AEE_SUCCESS - If the touch support retrieval succeeded.
       AEE_EFAILED - If the touch support retrieval failed.
    
Side Effect
  • None
Comments
The touch support of a widget cannot be set. It is "get only"