From 57f71763e147eee43b8f0d44bc6ff307d06031b6 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 20 Jul 2012 02:30:35 +0000 Subject: [PATCH] terminology: always animate the right selector border. SVN revision: 74200 --- src/bin/termio.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/bin/termio.c b/src/bin/termio.c index dc8e169a..48a0ce8b 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -537,6 +537,21 @@ _smart_apply(Evas_Object *obj) t = start_x; start_x = end_x; end_x = t; t = start_y; start_y = end_y; end_y = t; + + if (sd->top_left) + { + sd->top_left = EINA_FALSE; + sd->bottom_right = EINA_TRUE; + edje_object_signal_emit(sd->cur.selo_theme, "mouse,out", "zone.top_left"); + edje_object_signal_emit(sd->cur.selo_theme, "mouse,in", "zone.bottom_right"); + } + else if (sd->bottom_right) + { + sd->top_left = EINA_TRUE; + sd->bottom_right = EINA_FALSE; + edje_object_signal_emit(sd->cur.selo_theme, "mouse,out", "zone.bottom_right"); + edje_object_signal_emit(sd->cur.selo_theme, "mouse,in", "zone.top_left"); + } } size_top = start_x * sd->font.chw;