annotate src/mbaf/mbobject.c @ 612:b1d1b6c5af90 openvg

Implements setting pattern matrix for OpenVG
author Thinker K.F. Li <thinker@branda.to>
date Wed, 07 Jul 2010 18:44:17 +0800
parents f894b30676e9
children 586e50f82c1f
rev   line source
303
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
1 #include "mb_types.h"
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
2 #include "mb_obj.h"
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
3
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
4
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
5 void mb_obj_set_pos(mb_obj_t *obj, co_aix x, co_aix y)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
6 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
7 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
8 coord_x(((coord_t *) obj)) = x;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
9 coord_y(((coord_t *) obj)) = y;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
10 } else if (MBO_TYPE(obj) == MBO_TEXT) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
11 sh_text_set_pos((shape_t *) obj, x, y);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
12 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
13 return;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
14 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
15
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
16 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
17
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
18 void mb_obj_get_pos(mb_obj_t *obj, co_aix *x, co_aix *y)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
19 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
20 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
21 *x = coord_x((coord_t *) obj);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
22 *y = coord_y((coord_t *) obj);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
23 } else if (MBO_TYPE(obj) == MBO_TEXT) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
24 sh_text_get_pos((shape_t *) obj, x, y);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
25 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
26 return;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
27 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
28
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
29 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
30
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
31 void mb_obj_set_text(mb_obj_t *obj, const char *text)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
32 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
33 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
34 geo_t *geo;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
35 shape_t *shape;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
36 coord_t *g = (coord_t *) obj;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
37
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
38 FOR_COORD_MEMBERS(g, geo) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
39 shape = geo_get_shape(geo);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
40 if(shape->obj.obj_type == MBO_TEXT) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
41 sh_text_set_text(shape, text);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
42 return;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
43 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
44 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
45 } else if (MBO_TYPE(obj) == MBO_TEXT) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
46 sh_text_set_text((shape_t *) obj,text);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
47 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
48 return;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
49 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
50
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
51 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
52
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
53
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
54 void mb_obj_get_text(mb_obj_t *obj, char *text,int size)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
55 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
56 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
57 geo_t *geo;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
58 shape_t *shape;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
59 coord_t *g = (coord_t *) obj;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
60
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
61 FOR_COORD_MEMBERS(g, geo) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
62 shape = geo_get_shape(geo);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
63 if(shape->obj.obj_type == MBO_TEXT) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
64 sh_text_get_text(shape, text,size);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
65 return;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
66 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
67 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
68 } else if (MBO_TYPE(obj) == MBO_TEXT) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
69 sh_text_get_text((shape_t *) obj,text,size);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
70 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
71 *text = 0;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
72 return;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
73 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
74 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
75
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
76 void mb_obj_set_scalex(mb_obj_t *obj,int scale)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
77 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
78 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
79 coord_set_scalex((coord_t *) obj, scale);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
80 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
81 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
82 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
83
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
84 int mb_obj_get_scalex(mb_obj_t *obj)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
85 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
86 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
87 return coord_scalex((coord_t *) obj);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
88 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
89 return 100;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
90 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
91 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
92
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
93 void mb_obj_set_scaley(mb_obj_t *obj,int scale)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
94 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
95 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
96 coord_set_scaley((coord_t *) obj, scale);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
97 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
98 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
99 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
100 int mb_obj_get_scaley(mb_obj_t *obj)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
101 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
102 if (MBO_TYPE(obj) == MBO_COORD) {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
103 return coord_scaley((coord_t *) obj);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
104 } else {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
105 return 100;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
106 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
107 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
108
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
109 void mb_obj_set_rotation(mb_obj_t *obj, int degree)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
110 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
111 printf("%s is not implemented yet\n",__FUNCTION__);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
112 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
113
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
114 int mb_obj_get_rotation(mb_obj_t *obj)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
115 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
116 printf("%s is not implemented yet\n",__FUNCTION__);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
117 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
118
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
119
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
120
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
121 void mb_obj_set_color(mb_obj_t *obj, int color)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
122 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
123 printf("%s is not implemented yet\n",__FUNCTION__);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
124 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
125
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
126
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
127 int mb_obj_get_color(mb_obj_t *obj)
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
128 {
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
129 printf("%s is not implemented yet\n",__FUNCTION__);
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
130 return 0;
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
131 }
f894b30676e9 Add MBAF object suport. This is still work in progress yet. However, it won't affect other features. Therefore, it is checked in before it become mature.
wycc
parents:
diff changeset
132