Hi Preethi,
you can do the following modification within the file ewmain.c - there you will find the function EwUpdate(). Just add the line with the call to CoreGroup__InvalidateArea:
bitmap = EwBeginUpdate( aViewport );
/* let's redraw the dirty area of the screen. Cover the returned bitmap
objects within a canvas, so Mosaic can draw to it. */
if ( bitmap && canvas )
{
GraphicsCanvas__AttachBitmap( canvas, (XUInt32)bitmap );
CoreGroup__InvalidateArea( aApplication, EwNewRect( 0, 0, FRAME_BUFFER_WIDTH, FRAME_BUFFER_HEIGHT ));
updateRect = CoreRoot__UpdateGE20( aApplication, canvas );
GraphicsCanvas__DetachBitmap( canvas );
}
/* complete the update */
if ( bitmap )
EwEndUpdate( aViewport, updateRect );
As a result, every update will be done for the entire screen.
Best regards,
Manfred.