MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > i) Widget Functions > leDrawSurfaceWidget_New Function
MPLAB® Harmony Graphics Suite
leDrawSurfaceWidget_New Function

Allocates memory for a new DrawSurface widget. The application is responsible for the managment of this memory until the widget is added to a widget tree.

C
LIB_EXPORT leDrawSurfaceWidget* leDrawSurfaceWidget_New();
Returns

leDrawSurfaceWidget*

Remarks

Use leWidget_Delete() to free this pointer.

MPLAB® Harmony Graphics Suite