Developer

API Reference

IWidget_SetTouchTransparencyThreshold()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_GetTouchTransparencyThreshold
Description
Sets the transparency threshold of the widget. This threshold value is tied to TOUCH_MODE_TRANSPARENCY. So, when transparency threshold is set, any pointer event at a coordinate with a transparency value less than or equal to this threshold limit passes through while anything above transparency threshold is caught by the widget. By default, threshold is set to 0.
Threshold value 255 indicates 100 percent transparent and 128 indicates 50 percent transparent.
Note that transparency threshold values above 255 will not be accepted and widget will return AEE_EFAILED.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • nThreshold
    []:
    [in] Transparency Threshold to be set.
Interface
Prototype
   int IWidget_SetTouchTransparencyThreshold(IWidget *pif, int nThreshold);
Return
   AEE_SUCCESS - Successfully set transparency threshold on a widget.
   AEE_EFAILED - Failed to set transparency threshold on a widget.
Side Effect
None
Comment
None
  • Follow