Mercurial > MadButterfly
diff src/observer.h @ 123:9e2316dc6ecb
Program completion events
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 16 Sep 2008 14:19:26 +0800 |
parents | 17e97e92b76e |
children | 1c1f28c124c9 |
line wrap: on
line diff
--- a/src/observer.h Mon Sep 15 20:33:06 2008 +0800 +++ b/src/observer.h Tue Sep 16 14:19:26 2008 +0800 @@ -40,7 +40,7 @@ /*! \brief Flag that make a subject to propagate events to parents. */ #define SUBF_STOP_PROPAGATE 0x1 -enum {OBJT_GEO, OBJT_COORD, OBJT_KB}; +enum {OBJT_GEO, OBJT_COORD, OBJT_KB, OBJT_PROGM}; struct _mouse_event { event_t event; @@ -70,7 +70,7 @@ enum {EVT_MOUSE_OVER, EVT_MOUSE_OUT, EVT_MOUSE_MOVE, EVT_MOUSE_BUT_PRESS, EVT_MOUSE_BUT_RELEASE, - EVT_KB_PRESS, EVT_KB_RELEASE}; + EVT_KB_PRESS, EVT_KB_RELEASE, EVT_PROGM_COMPLETE}; extern subject_t *subject_new(ob_factory_t *factory, void *obj, int obj_type);