WinClr Function (ROM Call 0xC)

wingraph.h

void WinClr (WINDOW *w);

Clears a window.

WinClr clears the client area (i.e. area without the border and without the optional title bar) of the window pointed to by w (using the current clip region), and resets the current (x, y) position to the home of the client region. The current background pattern (set using WinBackground) is used to fill the client area.


Uses: DrawWinBorder, WinHome, BitmapSize, ScrRect, ScrRectFill, memset
Used by: WinActivate, WinChar, WinOpen, WinRemove, cmd_clrhome, cmd_clrio, cmd_disp, cmd_input, cmd_inputstr, cmd_output, cmd_pause, cmd_prompt, cmd_showstat, ABT_dialog, EV_defaultHandler, handleVarLinkKey, GR3_paint3d, gdb_recall, HomeExecute, HelpKeys, EV_quit, GR3_addContours, GR3_handleEvent, Regraph, UpdateWindows