Mercurial > MadButterfly
comparison src/observer.h @ 76:8706356a61b4
-
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 19 Aug 2008 19:14:01 +0800 |
parents | 9ab15ebc9061 |
children | 3645e29e4986 |
comparison
equal
deleted
inserted
replaced
75:23bc382d9683 | 76:8706356a61b4 |
---|---|
35 event_t event; | 35 event_t event; |
36 int x, y; | 36 int x, y; |
37 int button; | 37 int button; |
38 }; | 38 }; |
39 | 39 |
40 #define MOUSE_BUT1 0x1 | |
41 #define MOUSE_BUT2 0x2 | |
42 #define MOUSE_BUT3 0x4 | |
43 | |
40 /*! \brief Observer factory. | 44 /*! \brief Observer factory. |
41 * | 45 * |
42 * It provides functions for allocation of subject and observer objects, | 46 * It provides functions for allocation of subject and observer objects, |
43 * and strategy function for getting the subject of parent coord object. | 47 * and strategy function for getting the subject of parent coord object. |
44 */ | 48 */ |