home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / CSAPE32.ARJ / SOURCE / CSSRC / SDGETHW.C < prev    next >
C/C++ Source or Header  |  1990-03-28  |  702b  |  38 lines

  1. /*
  2.     sdgethw.c
  3.  
  4.     % sed_GetHeight, sed_GetWidth
  5.  
  6.     C-scape 3.2
  7.     Copyright (c) 1988, by Oakland Group, Inc.
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Revision History:
  11.     -----------------
  12.     12/16/88 jmd    turned into functions
  13.  
  14.      3/28/90 jmd    ansi-fied
  15. */
  16.  
  17. #include "sed.h"
  18.  
  19. int sed_GetHeight(sed_type sed)
  20. /*
  21.     Returns the height of the sed.
  22.     Note: the height does not include the border
  23.     use sed_GetBorderHeight to find the total height of the sed.
  24. */
  25. {
  26.     return(win_GetHeight(sed));
  27. }
  28.  
  29. int sed_GetWidth(sed_type sed)
  30. /*
  31.     Returns the width of the sed.
  32.     Note: the width does not include the border
  33.     use sed_GetBorderWidth to find the total width of the sed.
  34. */
  35. {
  36.     return(win_GetWidth(sed));
  37. }
  38.