Introduce the event register & dispatching framework. (not finished)
authorRui Guo <firemeteor.guo@gmail.com>
Wed, 3 Jun 2009 04:01:06 +0000 (12:01 +0800)
committerRui Guo <firemeteor.guo@gmail.com>
Wed, 3 Jun 2009 04:01:06 +0000 (12:01 +0800)
commite67ddbc4540b63f143151e8ea76c949b9dfd122a
tree6e8458c3e6d7d67a3e09167762e6e6ff419e6734
parentf5c2ef3cb05c9b2b3f53237b5c6bff72ceaf9cf5
Introduce the event register & dispatching framework. (not finished)

1. Define the script_event structure, lookup table etc.
2. Implement the event lookup logic.
3. Some sample events defined.
src/script.c
src/script.h
src/window.h