GrClearWindow

Name

GrClearWindow -- Clear the content of a window

Synopsis

void GrClearWindow (
  GR_WINDOW_ID wid,
  GR_BOOL      exposeflag
);
    

Parameters

wid

The window id of the window you want to clear.

exposeflag

If you set exposeflag to a nonzero value, the GrClearWindot function generates an exposure event for the window.

Description

The GrClearWindow function clears the wid window by filling the entire drawable area of the window with its background color. If you set exposeflag to a nonzero value, the window will also receive a GR_EVENT_TYPE_EXPOSE event.