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

Developer

API Reference

ICONTROLLER_SETHORIZONTALTHRESHOLDRELEASECRITERIA()

Brew Release
Brew MP 1.0.2
See Also
IController ThresholdReleaseCriteria IWidget_ReleaseCapture
Description
This function is used to enable and set the horizontal threshold value for a widget releasing its own pointer event capturing.
Horizontal threshold(in pixels) is the minimum distance that should be covered by EVT_POINTER_MOVE events in horizontal direction before the widget starts releasing its pointer stream capturing.
Params
pif
[]:
[in] Pointer to the IController interface object.
relcriteria
[]:
[in] Structure that defines the release criteria.
Interface
Prototype
  • int IController_SetHorizontalThresholdReleaseCriteria(IController *pif, 
                                                       ThresholdReleaseCriteria relcriteria);
    
Return
  •    AEE_SUCCESS - If the controller is able to set ReleaseCriteria successfully
       AEE_EFAILED - If the controller is not able to set the ReleaseCriteria successfully
    
Side Effect
  • None
Comments
Application can use this function to set release criteria on vertical lists, grids and vertical viewports.