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

  1. /* wmgetpos.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_get_pos (wm_handle wh, int *x, int *y)
  8. {
  9.   if (x != NULL)
  10.     *x = wh->x0;
  11.   if (y != NULL)
  12.     *y = wh->y0;
  13. }
  14.