home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
thx
/
source
/
theatrix
/
mmfold.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-25
|
489b
|
29 lines
#include "standard.h"
#include "mmfold.h"
void MousemoveFolder::register_mousemove(Hand* hand,callback cb)
{
list.add(hand,cb);
}
void MousemoveFolder::unregister_mousemove(Hand* hand,callback cb)
{
list.del(hand,cb);
}
void MousemoveFolder::delHand(Hand* h)
{
list.delHand(h);
}
void MousemoveFolder::reset()
{
list.reset();
}
void MousemoveFolder::dispatch(int x, int y, int button)
{
list.execute_callbacks(x,y,button);
}