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

Developer

API Reference

ICONTROLLER_GETWIDGETPRESSEDSTATE()

Brew Release
Brew MP 1.0.2
See Also
IController IController_SetWidgetPressedState
Description
This function is used to gets the state of a button widget or check widget whether is pressed or not.
Params
pif
[]:
[in] Pointer to the IController interface object.
pbPressed
[]:
[in] Contains the current Button/Check Widget Pressed status
Interface
Prototype
  •    int IController_GetWidgetPressedState(IController *pif, boolean *pbPressed);
    
Return
  •    AEE_SUCCESS - If controller is able to retrieve widget's pressed state value.
       AEE_EFAILED - If controller is not able to retrieve widget's pressed state value.
    
Side Effect
  • None
Comments
Use IWidget_SetTouchController() to set the touch controller associated with button/check widget.