home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / CSAPE32.ARJ / SOURCE / OWLSCR / BORDCLOS.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-28  |  626 b   |  34 lines

  1. /*
  2.     bordclos.c   2/87
  3.  
  4.     % bord_Close
  5.  
  6.     OWL 1.2
  7.     Copyright (c) 1986, 1987, 1988, by Oakland Group, Inc.
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Revision History:
  11.     -----------------
  12.     10/31/88 Ted    Removed linking.
  13.  
  14.     12/10/89 jmd    made win_GetBorder macro
  15.      3/28/90 jmd    ansi-fied
  16. */
  17.  
  18. #include "oakhead.h"
  19. #include "disppriv.h"
  20. #include "bordobj.h"
  21.  
  22. void bord_Close(win_type win)
  23. /*
  24.     Close a window's border object.
  25. */
  26. {
  27.     if (win != NULL && win_GetBorder(win) != NULL) {
  28.         obj_Close(win_GetBorder(win));
  29.         win_setbd(win, NULL);
  30.     }
  31. }
  32. /* -------------------------------------------------------------------------- */
  33.  
  34.