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

Returns the index of the layer for the screen specified.

C
LIB_EXPORT int32_t laScreen_GetLayerIndex(
    laScreen* scr, 
    laLayer* layer
);
Parameters
Parameters 
Description 
laScreen* scr 
the screen to reference 
laLayer* layer 
the layer to search for 
Returns

uint32_t - the index of the layer

MPLAB® Harmony Graphics Suite