MPLAB® Harmony Graphics Suite
|
Sets the draw callback pointer for the draw surface widget. This callback will be called during Aria's paint loop and allows the application to perform HAL draw calls. The application should not adjust HAL layer, buffer, or context options in any way during this phase.
The callback should return GFX_TRUE if it has completed drawing. Returning GFX_FALSE will indicate to the renderer that the DrawSurface requires more time to draw and will call it again during the next paint loop.
LIB_EXPORT laResult laDrawSurfaceWidget_SetDrawCallback( laDrawSurfaceWidget* sfc, laDrawSurfaceWidget_DrawCallback cb );
Parameters |
Description |
laDrawSurfaceWidget* sfc |
the widget |
a valid callback pointer or NULL |
laResult - the result of the operation
MPLAB® Harmony Graphics Suite
|