summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-11-21 13:00:55 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-11-21 13:00:55 +0900
commitc28f08a477f7bce7b514b8f9aa58904234be1e03 (patch)
treebdfc97e7d84d0bd1e6e91969d9a563d9e8d24089
parent63c01cbb2a01a09a40d22fa47454a82c8b31183f (diff)
edje - use Eina_Bool.
-rw-r--r--src/lib/edje/edje_calc.c8
-rw-r--r--src/lib/edje/edje_callbacks.c16
-rw-r--r--src/lib/edje/edje_embryo.c2
-rw-r--r--src/lib/edje/edje_private.h4
-rw-r--r--src/lib/edje/edje_program.c16
-rw-r--r--src/lib/edje/edje_util.c38
6 files changed, 42 insertions, 42 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 2f9f1d287c..017c199b3d 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -131,7 +131,7 @@ _edje_part_pos_set(Edje *ed, Edje_Real_Part *ep, int mode, FLOAT_T pos, FLOAT_T
131 ed->dirty = EINA_TRUE; 131 ed->dirty = EINA_TRUE;
132 ed->recalc_call = EINA_TRUE; 132 ed->recalc_call = EINA_TRUE;
133#ifdef EDJE_CALC_CACHE 133#ifdef EDJE_CALC_CACHE
134 ep->invalidate = 1; 134 ep->invalidate = EINA_TRUE;
135#endif 135#endif
136} 136}
137 137
@@ -607,7 +607,7 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
607 ed->dirty = EINA_TRUE; 607 ed->dirty = EINA_TRUE;
608 ed->recalc_call = EINA_TRUE; 608 ed->recalc_call = EINA_TRUE;
609#ifdef EDJE_CALC_CACHE 609#ifdef EDJE_CALC_CACHE
610 ep->invalidate = 1; 610 ep->invalidate = EINA_TRUE;
611#endif 611#endif
612} 612}
613 613
@@ -846,7 +846,7 @@ _edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y)
846 } 846 }
847 847
848#ifdef EDJE_CALC_CACHE 848#ifdef EDJE_CALC_CACHE
849 ep->invalidate = 1; 849 ep->invalidate = EINA_TRUE;
850#endif 850#endif
851 _edje_recalc(ed); /* won't do anything if dirty flag isn't set */ 851 _edje_recalc(ed); /* won't do anything if dirty flag isn't set */
852} 852}
@@ -3969,7 +3969,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
3969 if (ep->calculated == FLAG_XY) 3969 if (ep->calculated == FLAG_XY)
3970 { 3970 {
3971 ep->state = ed->state; 3971 ep->state = ed->state;
3972 ep->invalidate = 0; 3972 ep->invalidate = EINA_FALSE;
3973 } 3973 }
3974#else 3974#else
3975 eina_cow_free(_edje_calc_params_map_cow, (const Eina_Cow_Data **) &lp1.map); 3975 eina_cow_free(_edje_calc_params_map_cow, (const Eina_Cow_Data **) &lp1.map);
diff --git a/src/lib/edje/edje_callbacks.c b/src/lib/edje/edje_callbacks.c
index 9a508c78e1..5ea7efbd05 100644
--- a/src/lib/edje/edje_callbacks.c
+++ b/src/lib/edje/edje_callbacks.c
@@ -151,7 +151,7 @@ _edje_mouse_down_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc
151 { 151 {
152 rp->clicked_button = ev->button; 152 rp->clicked_button = ev->button;
153 if (!(ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD)) 153 if (!(ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD))
154 rp->still_in = 1; 154 rp->still_in = EINA_TRUE;
155 } 155 }
156// _edje_recalc_do(ed); 156// _edje_recalc_do(ed);
157 _edje_thaw(ed); 157 _edje_thaw(ed);
@@ -209,7 +209,7 @@ _edje_mouse_up_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc E
209 ed->recalc_call = EINA_TRUE; 209 ed->recalc_call = EINA_TRUE;
210 ed->dirty = EINA_TRUE; 210 ed->dirty = EINA_TRUE;
211#ifdef EDJE_CALC_CACHE 211#ifdef EDJE_CALC_CACHE
212 rp->invalidate = 1; 212 rp->invalidate = EINA_TRUE;
213#endif 213#endif
214 if (!ignored && rp->drag->started) 214 if (!ignored && rp->drag->started)
215 _edje_emit(ed, "drag,stop", rp->part->name); 215 _edje_emit(ed, "drag,stop", rp->part->name);
@@ -225,7 +225,7 @@ _edje_mouse_up_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc E
225 _edje_emit(ed, buf, rp->part->name); 225 _edje_emit(ed, buf, rp->part->name);
226 } 226 }
227 rp->clicked_button = 0; 227 rp->clicked_button = 0;
228 rp->still_in = 0; 228 rp->still_in = EINA_FALSE;
229 229
230// _edje_recalc_do(ed); 230// _edje_recalc_do(ed);
231 _edje_thaw(ed); 231 _edje_thaw(ed);
@@ -262,7 +262,7 @@ _edje_mouse_move_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc
262 { 262 {
263 263
264 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) 264 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD)
265 rp->still_in = 0; 265 rp->still_in = EINA_FALSE;
266 else 266 else
267 { 267 {
268 Evas_Coord x, y, w, h; 268 Evas_Coord x, y, w, h;
@@ -270,7 +270,7 @@ _edje_mouse_move_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc
270 evas_object_geometry_get(obj, &x, &y, &w, &h); 270 evas_object_geometry_get(obj, &x, &y, &w, &h);
271 if ((ev->cur.canvas.x < x) || (ev->cur.canvas.y < y) || 271 if ((ev->cur.canvas.x < x) || (ev->cur.canvas.y < y) ||
272 (ev->cur.canvas.x >= (x + w)) || (ev->cur.canvas.y >= (y + h))) 272 (ev->cur.canvas.x >= (x + w)) || (ev->cur.canvas.y >= (y + h)))
273 rp->still_in = 0; 273 rp->still_in = EINA_FALSE;
274 } 274 }
275 } 275 }
276 else 276 else
@@ -282,7 +282,7 @@ _edje_mouse_move_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc
282 evas_object_geometry_get(obj, &x, &y, &w, &h); 282 evas_object_geometry_get(obj, &x, &y, &w, &h);
283 if ((ev->cur.canvas.x >= x) && (ev->cur.canvas.y >= y) && 283 if ((ev->cur.canvas.x >= x) && (ev->cur.canvas.y >= y) &&
284 (ev->cur.canvas.x < (x + w)) && (ev->cur.canvas.y < (y + h))) 284 (ev->cur.canvas.x < (x + w)) && (ev->cur.canvas.y < (y + h)))
285 rp->still_in = 1; 285 rp->still_in = EINA_TRUE;
286 } 286 }
287 } 287 }
288 _edje_freeze(ed); 288 _edje_freeze(ed);
@@ -297,7 +297,7 @@ _edje_mouse_move_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc
297 ed->recalc_call = EINA_TRUE; 297 ed->recalc_call = EINA_TRUE;
298 ed->dirty = EINA_TRUE; 298 ed->dirty = EINA_TRUE;
299#ifdef EDJE_CALC_CACHE 299#ifdef EDJE_CALC_CACHE
300 rp->invalidate = 1; 300 rp->invalidate = EINA_TRUE;
301#endif 301#endif
302 } 302 }
303 _edje_recalc_do(ed); 303 _edje_recalc_do(ed);
@@ -321,7 +321,7 @@ _edje_mouse_move_signal_cb(void *data, Eo *obj, const Eo_Event_Description *desc
321 ed->recalc_call = EINA_TRUE; 321 ed->recalc_call = EINA_TRUE;
322 ed->dirty = EINA_TRUE; 322 ed->dirty = EINA_TRUE;
323#ifdef EDJE_CALC_CACHE 323#ifdef EDJE_CALC_CACHE
324 rp->invalidate = 1; 324 rp->invalidate = EINA_TRUE;
325#endif 325#endif
326 _edje_recalc_do(ed); 326 _edje_recalc_do(ed);
327 } 327 }
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index b9686af0cc..a57fd992c9 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -2408,7 +2408,7 @@ _edje_embryo_fn_set_state_val(Embryo_Program *ep, Embryo_Cell *params)
2408 } 2408 }
2409 2409
2410#ifdef EDJE_CALC_CACHE 2410#ifdef EDJE_CALC_CACHE
2411 rp->invalidate = 1; 2411 rp->invalidate = EINA_TRUE;
2412#endif 2412#endif
2413 ed->dirty = EINA_TRUE; 2413 ed->dirty = EINA_TRUE;
2414 return 0; 2414 return 0;
diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h
index 7fc53fb61f..b6e0db909b 100644
--- a/src/lib/edje/edje_private.h
+++ b/src/lib/edje/edje_private.h
@@ -1590,9 +1590,9 @@ struct _Edje_Real_Part
1590 unsigned char type; // 1 1590 unsigned char type; // 1
1591 unsigned char calculated : 2; // 1 1591 unsigned char calculated : 2; // 1
1592 unsigned char calculating : 2; // 0 1592 unsigned char calculating : 2; // 0
1593 unsigned char still_in : 1; // 0 1593 Eina_Bool still_in : 1; // 0
1594#ifdef EDJE_CALC_CACHE 1594#ifdef EDJE_CALC_CACHE
1595 unsigned char invalidate : 1; // 0 1595 Eina_Bool invalidate : 1; // 0
1596#endif 1596#endif
1597}; // 128 1597}; // 128
1598// WITH EDJE_CALC_CACHE: 407 1598// WITH EDJE_CALC_CACHE: 407
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
index 69acfbab30..3608a4ee1b 100644
--- a/src/lib/edje/edje_program.c
+++ b/src/lib/edje/edje_program.c
@@ -1728,7 +1728,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1728 if (rp->drag->val.x == FROM_DOUBLE(d)) return EINA_TRUE; 1728 if (rp->drag->val.x == FROM_DOUBLE(d)) return EINA_TRUE;
1729 rp->drag->val.x = FROM_DOUBLE(d); 1729 rp->drag->val.x = FROM_DOUBLE(d);
1730#ifdef EDJE_CALC_CACHE 1730#ifdef EDJE_CALC_CACHE
1731 rp->invalidate = 1; 1731 rp->invalidate = EINA_TRUE;
1732#endif 1732#endif
1733 _edje_dragable_pos_set 1733 _edje_dragable_pos_set
1734 (ed, rp, rp->drag->val.x, rp->drag->val.y); 1734 (ed, rp, rp->drag->val.x, rp->drag->val.y);
@@ -1747,7 +1747,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1747 if (rp->drag->val.y == FROM_DOUBLE(d)) return EINA_TRUE; 1747 if (rp->drag->val.y == FROM_DOUBLE(d)) return EINA_TRUE;
1748 rp->drag->val.y = FROM_DOUBLE(d); 1748 rp->drag->val.y = FROM_DOUBLE(d);
1749#ifdef EDJE_CALC_CACHE 1749#ifdef EDJE_CALC_CACHE
1750 rp->invalidate = 1; 1750 rp->invalidate = EINA_TRUE;
1751#endif 1751#endif
1752 _edje_dragable_pos_set 1752 _edje_dragable_pos_set
1753 (ed, rp, rp->drag->val.x, rp->drag->val.y); 1753 (ed, rp, rp->drag->val.x, rp->drag->val.y);
@@ -1763,7 +1763,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1763 ed->recalc_call = EINA_TRUE; 1763 ed->recalc_call = EINA_TRUE;
1764 ed->dirty = EINA_TRUE; 1764 ed->dirty = EINA_TRUE;
1765#ifdef EDJE_CALC_CACHE 1765#ifdef EDJE_CALC_CACHE
1766 rp->invalidate = 1; 1766 rp->invalidate = EINA_TRUE;
1767#endif 1767#endif
1768 _edje_recalc(ed); 1768 _edje_recalc(ed);
1769 return EINA_TRUE; 1769 return EINA_TRUE;
@@ -1776,7 +1776,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1776 ed->recalc_call = EINA_TRUE; 1776 ed->recalc_call = EINA_TRUE;
1777 ed->dirty = EINA_TRUE; 1777 ed->dirty = EINA_TRUE;
1778#ifdef EDJE_CALC_CACHE 1778#ifdef EDJE_CALC_CACHE
1779 rp->invalidate = 1; 1779 rp->invalidate = EINA_TRUE;
1780#endif 1780#endif
1781 _edje_recalc(ed); 1781 _edje_recalc(ed);
1782 return EINA_TRUE; 1782 return EINA_TRUE;
@@ -1788,7 +1788,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1788 return EINA_FALSE; 1788 return EINA_FALSE;
1789 rp->drag->step.x = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0)); 1789 rp->drag->step.x = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0));
1790#ifdef EDJE_CALC_CACHE 1790#ifdef EDJE_CALC_CACHE
1791 rp->invalidate = 1; 1791 rp->invalidate = EINA_TRUE;
1792#endif 1792#endif
1793 return EINA_TRUE; 1793 return EINA_TRUE;
1794 } 1794 }
@@ -1798,7 +1798,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1798 return EINA_FALSE; 1798 return EINA_FALSE;
1799 rp->drag->step.y = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0)); 1799 rp->drag->step.y = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0));
1800#ifdef EDJE_CALC_CACHE 1800#ifdef EDJE_CALC_CACHE
1801 rp->invalidate = 1; 1801 rp->invalidate = EINA_TRUE;
1802#endif 1802#endif
1803 return EINA_TRUE; 1803 return EINA_TRUE;
1804 } 1804 }
@@ -1809,7 +1809,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1809 return EINA_FALSE; 1809 return EINA_FALSE;
1810 rp->drag->page.x = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0)); 1810 rp->drag->page.x = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0));
1811#ifdef EDJE_CALC_CACHE 1811#ifdef EDJE_CALC_CACHE
1812 rp->invalidate = 1; 1812 rp->invalidate = EINA_TRUE;
1813#endif 1813#endif
1814 return EINA_TRUE; 1814 return EINA_TRUE;
1815 } 1815 }
@@ -1819,7 +1819,7 @@ _edje_param_native_set(Edje *ed, Edje_Real_Part *rp, const char *name, const Edj
1819 return EINA_FALSE; 1819 return EINA_FALSE;
1820 rp->drag->page.y = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0)); 1820 rp->drag->page.y = FROM_DOUBLE(CLAMP(param->d, 0.0, 1.0));
1821#ifdef EDJE_CALC_CACHE 1821#ifdef EDJE_CALC_CACHE
1822 rp->invalidate = 1; 1822 rp->invalidate = EINA_TRUE;
1823#endif 1823#endif
1824 return EINA_TRUE; 1824 return EINA_TRUE;
1825 } 1825 }
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 08182f64ef..d161f15b15 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -105,7 +105,7 @@ _edje_user_definition_free(Edje_User_Defined *eud)
105 eud->ed->dirty = EINA_TRUE; 105 eud->ed->dirty = EINA_TRUE;
106 eud->ed->recalc_call = EINA_TRUE; 106 eud->ed->recalc_call = EINA_TRUE;
107#ifdef EDJE_CALC_CACHE 107#ifdef EDJE_CALC_CACHE
108 rp->invalidate = 1; 108 rp->invalidate = EINA_TRUE;
109#endif 109#endif
110 _edje_recalc_do(eud->ed); 110 _edje_recalc_do(eud->ed);
111 } 111 }
@@ -1287,7 +1287,7 @@ _edje_object_part_text_raw_set(Edje *ed, Evas_Object *obj, Edje_Real_Part *rp, c
1287 ed->recalc_call = EINA_TRUE; 1287 ed->recalc_call = EINA_TRUE;
1288 ed->recalc_hints = EINA_TRUE; 1288 ed->recalc_hints = EINA_TRUE;
1289#ifdef EDJE_CALC_CACHE 1289#ifdef EDJE_CALC_CACHE
1290 rp->invalidate = 1; 1290 rp->invalidate = EINA_TRUE;
1291#endif 1291#endif
1292 _edje_recalc(ed); 1292 _edje_recalc(ed);
1293 if (ed->text_change.func) 1293 if (ed->text_change.func)
@@ -1324,7 +1324,7 @@ _edje_object_part_text_raw_append(Edje *ed, Evas_Object *obj, Edje_Real_Part *rp
1324 ed->dirty = EINA_TRUE; 1324 ed->dirty = EINA_TRUE;
1325 ed->recalc_call = 1; 1325 ed->recalc_call = 1;
1326#ifdef EDJE_CALC_CACHE 1326#ifdef EDJE_CALC_CACHE
1327 rp->invalidate = 1; 1327 rp->invalidate = EINA_TRUE;
1328#endif 1328#endif
1329 _edje_recalc(ed); 1329 _edje_recalc(ed);
1330 if (ed->text_change.func) 1330 if (ed->text_change.func)
@@ -1360,7 +1360,7 @@ _part_text_style_user_push(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
1360 evas_textblock_style_free(ts); 1360 evas_textblock_style_free(ts);
1361 ed->recalc_hints = EINA_TRUE; 1361 ed->recalc_hints = EINA_TRUE;
1362#ifdef EDJE_CALC_CACHE 1362#ifdef EDJE_CALC_CACHE
1363 rp->invalidate = 1; 1363 rp->invalidate = EINA_TRUE;
1364#endif 1364#endif
1365 _edje_recalc(ed); 1365 _edje_recalc(ed);
1366} 1366}
@@ -1387,7 +1387,7 @@ _part_text_style_user_pop(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
1387 evas_object_textblock_style_user_pop(rp->object); 1387 evas_object_textblock_style_user_pop(rp->object);
1388 ed->recalc_hints = EINA_TRUE; 1388 ed->recalc_hints = EINA_TRUE;
1389#ifdef EDJE_CALC_CACHE 1389#ifdef EDJE_CALC_CACHE
1390 rp->invalidate = 1; 1390 rp->invalidate = EINA_TRUE;
1391#endif 1391#endif
1392 _edje_recalc(ed); 1392 _edje_recalc(ed);
1393} 1393}
@@ -1905,7 +1905,7 @@ _part_text_insert(Eo *obj, void *_pd, va_list *list)
1905 ed->recalc_call = EINA_TRUE; 1905 ed->recalc_call = EINA_TRUE;
1906 ed->recalc_hints = EINA_TRUE; 1906 ed->recalc_hints = EINA_TRUE;
1907#ifdef EDJE_CALC_CACHE 1907#ifdef EDJE_CALC_CACHE
1908 rp->invalidate = 1; 1908 rp->invalidate = EINA_TRUE;
1909#endif 1909#endif
1910 _edje_recalc(ed); 1910 _edje_recalc(ed);
1911 if (ed->text_change.func) 1911 if (ed->text_change.func)
@@ -1936,7 +1936,7 @@ _part_text_append(Eo *obj, void *_pd, va_list *list)
1936 ed->recalc_call = EINA_TRUE; 1936 ed->recalc_call = EINA_TRUE;
1937 ed->recalc_hints = EINA_TRUE; 1937 ed->recalc_hints = EINA_TRUE;
1938#ifdef EDJE_CALC_CACHE 1938#ifdef EDJE_CALC_CACHE
1939 rp->invalidate = 1; 1939 rp->invalidate = EINA_TRUE;
1940#endif 1940#endif
1941 _edje_recalc(ed); 1941 _edje_recalc(ed);
1942 if (ed->text_change.func) 1942 if (ed->text_change.func)
@@ -3759,7 +3759,7 @@ _part_unswallow(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
3759 ed->dirty = EINA_TRUE; 3759 ed->dirty = EINA_TRUE;
3760 ed->recalc_call = EINA_TRUE; 3760 ed->recalc_call = EINA_TRUE;
3761#ifdef EDJE_CALC_CACHE 3761#ifdef EDJE_CALC_CACHE
3762 rp->invalidate = 1; 3762 rp->invalidate = EINA_TRUE;
3763#endif 3763#endif
3764 _edje_recalc_do(ed); 3764 _edje_recalc_do(ed);
3765 return; 3765 return;
@@ -4288,7 +4288,7 @@ _part_drag_value_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
4288 rp->drag->val.x = FROM_DOUBLE(dx); 4288 rp->drag->val.x = FROM_DOUBLE(dx);
4289 rp->drag->val.y = FROM_DOUBLE(dy); 4289 rp->drag->val.y = FROM_DOUBLE(dy);
4290#ifdef EDJE_CALC_CACHE 4290#ifdef EDJE_CALC_CACHE
4291 rp->invalidate = 1; 4291 rp->invalidate = EINA_TRUE;
4292#endif 4292#endif
4293 _edje_dragable_pos_set(ed, rp, rp->drag->val.x, rp->drag->val.y); 4293 _edje_dragable_pos_set(ed, rp, rp->drag->val.x, rp->drag->val.y);
4294 _edje_emit(ed, "drag,set", rp->part->name); 4294 _edje_emit(ed, "drag,set", rp->part->name);
@@ -4401,7 +4401,7 @@ _part_drag_size_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
4401 ed->dirty = EINA_TRUE; 4401 ed->dirty = EINA_TRUE;
4402 ed->recalc_call = EINA_TRUE; 4402 ed->recalc_call = EINA_TRUE;
4403#ifdef EDJE_CALC_CACHE 4403#ifdef EDJE_CALC_CACHE
4404 rp->invalidate = 1; 4404 rp->invalidate = EINA_TRUE;
4405#endif 4405#endif
4406 _edje_recalc(ed); 4406 _edje_recalc(ed);
4407 if (ret) *ret = EINA_TRUE; 4407 if (ret) *ret = EINA_TRUE;
@@ -4500,7 +4500,7 @@ _part_drag_step_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
4500 rp->drag->step.x = FROM_DOUBLE(dx); 4500 rp->drag->step.x = FROM_DOUBLE(dx);
4501 rp->drag->step.y = FROM_DOUBLE(dy); 4501 rp->drag->step.y = FROM_DOUBLE(dy);
4502#ifdef EDJE_CALC_CACHE 4502#ifdef EDJE_CALC_CACHE
4503 rp->invalidate = 1; 4503 rp->invalidate = EINA_TRUE;
4504#endif 4504#endif
4505 if (ret) *ret = EINA_TRUE; 4505 if (ret) *ret = EINA_TRUE;
4506} 4506}
@@ -4598,7 +4598,7 @@ _part_drag_page_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
4598 rp->drag->page.x = FROM_DOUBLE(dx); 4598 rp->drag->page.x = FROM_DOUBLE(dx);
4599 rp->drag->page.y = FROM_DOUBLE(dy); 4599 rp->drag->page.y = FROM_DOUBLE(dy);
4600#ifdef EDJE_CALC_CACHE 4600#ifdef EDJE_CALC_CACHE
4601 rp->invalidate = 1; 4601 rp->invalidate = EINA_TRUE;
4602#endif 4602#endif
4603 if (ret) *ret = EINA_TRUE; 4603 if (ret) *ret = EINA_TRUE;
4604} 4604}
@@ -4705,7 +4705,7 @@ _part_drag_step(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
4705 return; 4705 return;
4706 } 4706 }
4707#ifdef EDJE_CALC_CACHE 4707#ifdef EDJE_CALC_CACHE
4708 rp->invalidate = 1; 4708 rp->invalidate = EINA_TRUE;
4709#endif 4709#endif
4710 _edje_dragable_pos_set(ed, rp, rp->drag->val.x, rp->drag->val.y); 4710 _edje_dragable_pos_set(ed, rp, rp->drag->val.x, rp->drag->val.y);
4711 _edje_emit(ed, "drag,step", rp->part->name); 4711 _edje_emit(ed, "drag,step", rp->part->name);
@@ -4770,7 +4770,7 @@ _part_drag_page(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
4770 return; 4770 return;
4771 } 4771 }
4772#ifdef EDJE_CALC_CACHE 4772#ifdef EDJE_CALC_CACHE
4773 rp->invalidate = 1; 4773 rp->invalidate = EINA_TRUE;
4774#endif 4774#endif
4775 _edje_dragable_pos_set(ed, rp, rp->drag->val.x, rp->drag->val.y); 4775 _edje_dragable_pos_set(ed, rp, rp->drag->val.x, rp->drag->val.y);
4776 _edje_emit(ed, "drag,page", rp->part->name); 4776 _edje_emit(ed, "drag,page", rp->part->name);
@@ -5141,7 +5141,7 @@ _edje_child_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *child, void *ei
5141 ed->dirty = EINA_TRUE; 5141 ed->dirty = EINA_TRUE;
5142 ed->recalc_call = EINA_TRUE; 5142 ed->recalc_call = EINA_TRUE;
5143#ifdef EDJE_CALC_CACHE 5143#ifdef EDJE_CALC_CACHE
5144 rp->invalidate = 1; 5144 rp->invalidate = EINA_TRUE;
5145#endif 5145#endif
5146 _edje_recalc(ed); 5146 _edje_recalc(ed);
5147} 5147}
@@ -5155,7 +5155,7 @@ _edje_child_add(Edje *ed, Edje_Real_Part *rp, Evas_Object *child)
5155 ed->dirty = EINA_TRUE; 5155 ed->dirty = EINA_TRUE;
5156 ed->recalc_call = EINA_TRUE; 5156 ed->recalc_call = EINA_TRUE;
5157#ifdef EDJE_CALC_CACHE 5157#ifdef EDJE_CALC_CACHE
5158 rp->invalidate = 1; 5158 rp->invalidate = EINA_TRUE;
5159#endif 5159#endif
5160 _edje_recalc(ed); 5160 _edje_recalc(ed);
5161} 5161}
@@ -5169,7 +5169,7 @@ _edje_child_remove(Edje *ed, Edje_Real_Part *rp, Evas_Object *child)
5169 ed->dirty = EINA_TRUE; 5169 ed->dirty = EINA_TRUE;
5170 ed->recalc_call = EINA_TRUE; 5170 ed->recalc_call = EINA_TRUE;
5171#ifdef EDJE_CALC_CACHE 5171#ifdef EDJE_CALC_CACHE
5172 rp->invalidate = 1; 5172 rp->invalidate = EINA_TRUE;
5173#endif 5173#endif
5174 _edje_recalc(ed); 5174 _edje_recalc(ed);
5175} 5175}
@@ -6358,7 +6358,7 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp)
6358 } 6358 }
6359 6359
6360#ifdef EDJE_CALC_CACHE 6360#ifdef EDJE_CALC_CACHE
6361 rp->invalidate = 1; 6361 rp->invalidate = EINA_TRUE;
6362#endif 6362#endif
6363} 6363}
6364 6364
@@ -6431,7 +6431,7 @@ _edje_real_part_swallow(Edje *ed,
6431 } 6431 }
6432 } 6432 }
6433#ifdef EDJE_CALC_CACHE 6433#ifdef EDJE_CALC_CACHE
6434 rp->invalidate = 1; 6434 rp->invalidate = EINA_TRUE;
6435#endif 6435#endif
6436 if (!obj_swallow) return; 6436 if (!obj_swallow) return;
6437 rp->typedata.swallow->swallowed_object = obj_swallow; 6437 rp->typedata.swallow->swallowed_object = obj_swallow;