Developer

API Reference

IWidget_GetTouchTransparencyThreshold()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_SetTouchTransparencyThreshold
Description
Gets 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.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • pnThreshold
    []:
    [out] Pointer to the value that holds the transparency threshold
Interface
Prototype
   int IWidget_GetTouchTransparencyThreshold(IWidget *pif, int *pnThreshold);
Return
   AEE_SUCCESS - Successfully retrieved transparency threshold.
   AEE_EFAILED - Could not retrieve transparency threshold.
Side Effect
None
Comment
None
  • Follow