diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/edje/src/lib/edje_callbacks.c | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to 'libraries/edje/src/lib/edje_callbacks.c')
-rw-r--r-- | libraries/edje/src/lib/edje_callbacks.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/edje/src/lib/edje_callbacks.c b/libraries/edje/src/lib/edje_callbacks.c index e0b0eae..2b02891 100644 --- a/libraries/edje/src/lib/edje_callbacks.c +++ b/libraries/edje/src/lib/edje_callbacks.c | |||
@@ -134,6 +134,7 @@ _edje_mouse_down_signal_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, voi | |||
134 | _edje_emit(ed, buf, events->part->name); | 134 | _edje_emit(ed, buf, events->part->name); |
135 | } | 135 | } |
136 | ed->dirty = 1; | 136 | ed->dirty = 1; |
137 | ed->recalc_call = 1; | ||
137 | #ifdef EDJE_CALC_CACHE | 138 | #ifdef EDJE_CALC_CACHE |
138 | rp->invalidate = 1; | 139 | rp->invalidate = 1; |
139 | #endif | 140 | #endif |
@@ -157,6 +158,7 @@ _edje_mouse_down_signal_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, voi | |||
157 | rp->drag->val.y = dy; | 158 | rp->drag->val.y = dy; |
158 | if (!ignored) | 159 | if (!ignored) |
159 | _edje_emit(ed, "drag", rp->part->name); | 160 | _edje_emit(ed, "drag", rp->part->name); |
161 | ed->recalc_call = 1; | ||
160 | ed->dirty = 1; | 162 | ed->dirty = 1; |
161 | #ifdef EDJE_CALC_CACHE | 163 | #ifdef EDJE_CALC_CACHE |
162 | rp->invalidate = 1; | 164 | rp->invalidate = 1; |
@@ -235,6 +237,7 @@ _edje_mouse_up_signal_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void | |||
235 | if (rp->drag->down.count == 0) | 237 | if (rp->drag->down.count == 0) |
236 | { | 238 | { |
237 | rp->drag->need_reset = 1; | 239 | rp->drag->need_reset = 1; |
240 | ed->recalc_call = 1; | ||
238 | ed->dirty = 1; | 241 | ed->dirty = 1; |
239 | #ifdef EDJE_CALC_CACHE | 242 | #ifdef EDJE_CALC_CACHE |
240 | rp->invalidate = 1; | 243 | rp->invalidate = 1; |
@@ -314,6 +317,7 @@ _edje_mouse_move_signal_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, voi | |||
314 | rp->drag->tmp.x = ev->cur.canvas.x - rp->drag->down.x; | 317 | rp->drag->tmp.x = ev->cur.canvas.x - rp->drag->down.x; |
315 | if (rp->part->dragable.y) | 318 | if (rp->part->dragable.y) |
316 | rp->drag->tmp.y = ev->cur.canvas.y - rp->drag->down.y; | 319 | rp->drag->tmp.y = ev->cur.canvas.y - rp->drag->down.y; |
320 | ed->recalc_call = 1; | ||
317 | ed->dirty = 1; | 321 | ed->dirty = 1; |
318 | #ifdef EDJE_CALC_CACHE | 322 | #ifdef EDJE_CALC_CACHE |
319 | rp->invalidate = 1; | 323 | rp->invalidate = 1; |
@@ -332,6 +336,7 @@ _edje_mouse_move_signal_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, voi | |||
332 | rp->drag->val.y = dy; | 336 | rp->drag->val.y = dy; |
333 | if (!ignored) | 337 | if (!ignored) |
334 | _edje_emit(ed, "drag", rp->part->name); | 338 | _edje_emit(ed, "drag", rp->part->name); |
339 | ed->recalc_call = 1; | ||
335 | ed->dirty = 1; | 340 | ed->dirty = 1; |
336 | #ifdef EDJE_CALC_CACHE | 341 | #ifdef EDJE_CALC_CACHE |
337 | rp->invalidate = 1; | 342 | rp->invalidate = 1; |