MPLAB® Harmony Graphics Suite
|
Enumeration: laWidgetOptimizationFlags_t
Specifies the different draw optimization flags for a widget
typedef enum laWidgetOptimizationFlags_t { LA_WIDGET_OPT_LOCAL_REDRAW = 0x1, LA_WIDGET_OPT_DRAW_ONCE = 0x2, LA_WIDGET_OPT_OPAQUE = 0x4 } laWidgetOptimizationFlags;
Members |
Description |
LA_WIDGET_OPT_LOCAL_REDRAW = 0x1 |
local redraw If a widget has no background then normally the parent would need to redraw to erase the contents of the widget. This flag indicates to the renderer to not redraw the parent event if the widget has no background |
LA_WIDGET_OPT_DRAW_ONCE = 0x2 |
draw once Indicates that a widget should draw once per screen show event all other attempts to invalidate or paint a widget will be rejected |
LA_WIDGET_OPT_OPAQUE = 0x4 |
opaque Indicates that a widget is fully opaque regardless of its background setting. This is often used for cases like image widgets where the image fills the entire widget space but you don't want the overhead of drawing a background behind it as well. This flag helps widgets without backgrounds to pass occlusion tests. |
None.
MPLAB® Harmony Graphics Suite
|