elementary tooltip: adjust arrow if tooltip was moved
authorMinkyu Kang <mk7.kang@samsung.com>
Mon, 27 Feb 2017 11:13:06 +0000 (20:13 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 27 Feb 2017 11:13:06 +0000 (20:13 +0900)
commita2dd9fc99dbddc1c6612381d0544c7ced17965ec
treec170555c3495dfdeb5f453dea7d2609b38da798f
parent62455a8d414b9df787806f1f4527ecde47957c20
elementary tooltip: adjust arrow if tooltip was moved

Summary:
If orientation is TOP, BOTTOM, LEFT and RIGHT and
tooltip was moved due to located out of screen,
adjust location of arrow so that can indicate right position.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Test Plan: elementary_test -to tooltip4

Reviewers: cedric, Hermet, jpeg

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4554
src/bin/elementary/test.c
src/bin/elementary/test_tooltip.c
src/lib/elementary/els_tooltip.c