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

Developer

API Reference

ICONTROLLER_SETWIDGETPRESSEDSTATE()

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