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

  1. /* wmdimen.c (emx+gcc) -- Copyright (c) 1987-1993 by Eberhard Mattes */
  2.  
  3. #include <stdlib.h>
  4. #include <sys/winmgr.h>
  5. #include "winmgr2.h"
  6.  
  7. void wm_dimen (wm_handle wh, int *width, int *height)
  8. {
  9.   if (width != NULL)
  10.     *width = wh->width;
  11.   if (height != NULL)
  12.     *height = wh->height;
  13. }
  14.