Hi,
I have been looking at the widgets to be used for the small OLED display on the LM4F232 Eval Kit.
I have already declared the widgets as show:
//Graphics Widget
extern tCanvasWidget g_sBackground;
//background widget
Canvas(g_sBackground,
WIDGET_ROOT,
0,
0 ,
&g_sCFAL96x64x16,
0,
0,
96,
64,
CANVAS_STYLE_FILL,
ClrBlue,
0,
0,
0,
0,
0,
0);
and in the Main, I have initialize the canvas and add it onto the Root Widget:
CanvasInit(&g_sBackground,&g_sCFAL96x64x16,0,0,96,64);
WidgetAdd(WIDGET_ROOT,(tWidget *)&g_sBackground);
However, when I tried the WidgetPaint:
WidgetPaint((tWidget *)&g_sBackground);
The display did not move. Is there any settings that I did not do correctly?