elementary tooltip: adjust arrow if tooltip was moved 01/117201/3
authorMinkyu Kang <mk7.kang@samsung.com>
Mon, 27 Feb 2017 11:13:06 +0000 (20:13 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 13 Mar 2017 07:07:57 +0000 (00:07 -0700)
commitfdb27aa211a5a57430883cbec15228a6abd46b7e
tree8602eba1c125a8bb2b1ecb2074d904ab98c5ccb8
parent55827aedd11f6f90f8e94a3d247f63e7a3c9d96e
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

Change-Id: I40854c2d4c0e8f435b00e5914eb23d491e02154b
src/bin/test.c
src/bin/test_tooltip.c
src/lib/els_tooltip.c