jackdanielz pushed a commit to branch master. http://git.enlightenment.org/tools/exactness.git/commit/?id=ef0b0ae89b2cfee513915e2968b66cb3488a5023
commit ef0b0ae89b2cfee513915e2968b66cb3488a5023 Author: Daniel Zaoui <daniel.za...@samsung.com> Date: Sun Feb 28 14:58:23 2016 +0200 Modify the verbose rectangle color on clicked and shot This is useful when looking at recorded scenarios to understand what is done. Sometimes, when scenarios are too old, click is not done on the right area, leading to weird behavior. --- src/lib/tsuite_evas_hook.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/tsuite_evas_hook.c b/src/lib/tsuite_evas_hook.c index ee3e7b7..288cea1 100644 --- a/src/lib/tsuite_evas_hook.c +++ b/src/lib/tsuite_evas_hook.c @@ -406,6 +406,7 @@ tsuite_feed_event(void *data) #ifdef DEBUG_TSUITE printf("%s evas_event_feed_mouse_down timestamp=<%u> t->n_evas=<%d>\n", __func__, t->timestamp, t->n_evas); #endif + if (rect) evas_object_color_set(rect, 255, 255, 0, 255); evas_event_feed_mouse_down(eina_list_nth(evas_list, t->n_evas), t->b, t->flags, time(NULL), NULL); @@ -423,6 +424,7 @@ tsuite_feed_event(void *data) evas_event_feed_mouse_up(eina_list_nth(evas_list, t->n_evas), t->b, t->flags, time(NULL), NULL); + if (rect) evas_object_color_set(rect, 255, 0, 0, 255); break; } @@ -439,6 +441,7 @@ tsuite_feed_event(void *data) if (rect) { evas_object_move(rect, t->x, t->y); + evas_object_color_set(rect, 255, 0, 0, 255); } break; } @@ -558,6 +561,7 @@ tsuite_feed_event(void *data) #ifdef DEBUG_TSUITE printf("%s take shot timestamp=<%u> t->n_evas=<%d>\n", __func__, t->timestamp, t->n_evas); #endif + if (rect) evas_object_color_set(rect, 0, 0, 255, 255); tsuite_shot_do(NULL, eina_list_nth(evas_list, t->n_evas)); /* Serial name based on test-name */ break; --