MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laRadialMenuWidget_SetTouchArea Function
MPLAB® Harmony Graphics Suite
laRadialMenuWidget_SetTouchArea Function

Sets the area that touch input is permitted. This area has to be at or smaller than the rectangular area of the entire radial menu widget. The default is the bottom half of the widget.

C
LIB_EXPORT laResult laRadialMenuWidget_SetTouchArea(
    laRadialMenuWidget* mn, 
    int32_t x, 
    int32_t y, 
    int32_t width, 
    int32_t height
);
Parameters
Parameters 
Description 
laRadialMenuWidget* mn 
the widget 
GFX_Rect rect 
rectangular area, x-y represents offsets in local space 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite