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

  1. #include "standard.h"
  2. #include "mmfold.h"
  3.  
  4. void MousemoveFolder::register_mousemove(Hand* hand,callback cb)
  5.   {
  6.   list.add(hand,cb);
  7.   }
  8.  
  9. void MousemoveFolder::unregister_mousemove(Hand* hand,callback cb)
  10.   {
  11.   list.del(hand,cb);
  12.   }
  13.  
  14. void MousemoveFolder::delHand(Hand* h)
  15.   {
  16.   list.delHand(h);
  17.   }
  18.  
  19. void MousemoveFolder::reset()
  20.   {
  21.   list.reset();
  22.   }
  23.  
  24. void MousemoveFolder::dispatch(int x, int y, int button)
  25.   {
  26.   list.execute_callbacks(x,y,button);
  27.   }
  28.  
  29.