annotate include/mb_basic_types.h @ 679:799c852b9065

Extract event info from C object to JS object
author Thinker K.F. Li <thinker@branda.to>
date Fri, 06 Aug 2010 19:31:37 +0800
parents e813ac222f48
children b42d69ab8857 586e50f82c1f
rev   line source
480
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 #ifndef __MB_BASIC_TYPES_H_
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 #define __MB_BASIC_TYPES_H_
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4 typedef float co_aix;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 typedef float co_comp_t;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6 typedef struct _grad_stop {
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
7 co_aix offset;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 co_comp_t r, g, b, a;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9 } grad_stop_t;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
10
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
11 #endif /* __MB_BASIC_TYPES_H_ */