[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS commit: 'othersrc/mgl/mgl2/lib event_man.c mgl2.h'



Update of /cvsroot/othersrc/mgl/mgl2/lib
In directory mogu:/tmp/cvs-serv14310

Modified Files:
	event_man.c mgl2.h 
Log Message:


グラフィティのような キー入力をサポートするための準備

struct virtual_key に callback を追加。

callback が NULL でないとき callback を呼び出すが、
戻り値が 0 以外のときは、従来と同じ動きになる。

callback の引き数は、	(int ev,int x, int y)

ev は、create_virtual_key で指定したコード 
x,y は、virtual_key 相対座標。