home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / source / theatrix / mmsrvr.cpp < prev    next >
C/C++ Source or Header  |  1995-04-25  |  317b  |  21 lines

  1. #include <iostream.h>
  2. #include <fastgraf.h>
  3. #include <dos.h>
  4. #include "standard.h"
  5. #include "mmfold.h"
  6. #include "mmsrvr.h"
  7.  
  8.  
  9. void MousemoveServer::check(Folder& fld)
  10.   {
  11.   int x,y;
  12.   int b;
  13.   fg_mousepos(&x,&y,&b);
  14.   if (x!=ox || y!=oy)
  15.     {
  16.     fld.dispatch(x, y, b);
  17.     ox=x;
  18.     oy=y;
  19.     }
  20.   }
  21.