home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / EMXLIB8F.ZIP / EMX / LIB / VIDEO / WMCLREOL.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-02  |  386 b   |  17 lines

  1. /* wmclreol.c (emx+gcc) -- Copyright (c) 1987-1993 by Eberhard Mattes */
  2.  
  3. #include <sys/winmgr.h>
  4. #include "winmgr2.h"
  5.  
  6. void wm_clr_eol (wm_handle wh, int x, int y)
  7. {
  8.   if (wh->used != WM_USED)
  9.     return;
  10.   _wm_clrline1 (wh, y+wh->ay, x+wh->ax, wh->width-1+wh->ax);
  11.   if (wh->display)
  12.     _wm_line1 (wh, y+wh->ay);
  13.   else
  14.     wh->update_req = TRUE;
  15.   _wm_cursor1 ();
  16. }
  17.