diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2012-07-20 02:30:35 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2012-07-20 02:30:35 +0000 |
commit | 57f71763e147eee43b8f0d44bc6ff307d06031b6 (patch) | |
tree | 7d37525566c4d321c784632ff34a0c1838a957e6 /src | |
parent | 9976c65a7d89ebfab375c9623d3c400cb09b7a42 (diff) |
terminology: always animate the right selector border.
SVN revision: 74200
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/termio.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c index dc8e169..48a0ce8 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c | |||
@@ -537,6 +537,21 @@ _smart_apply(Evas_Object *obj) | |||
537 | 537 | ||
538 | t = start_x; start_x = end_x; end_x = t; | 538 | t = start_x; start_x = end_x; end_x = t; |
539 | t = start_y; start_y = end_y; end_y = t; | 539 | t = start_y; start_y = end_y; end_y = t; |
540 | |||
541 | if (sd->top_left) | ||
542 | { | ||
543 | sd->top_left = EINA_FALSE; | ||
544 | sd->bottom_right = EINA_TRUE; | ||
545 | edje_object_signal_emit(sd->cur.selo_theme, "mouse,out", "zone.top_left"); | ||
546 | edje_object_signal_emit(sd->cur.selo_theme, "mouse,in", "zone.bottom_right"); | ||
547 | } | ||
548 | else if (sd->bottom_right) | ||
549 | { | ||
550 | sd->top_left = EINA_TRUE; | ||
551 | sd->bottom_right = EINA_FALSE; | ||
552 | edje_object_signal_emit(sd->cur.selo_theme, "mouse,out", "zone.bottom_right"); | ||
553 | edje_object_signal_emit(sd->cur.selo_theme, "mouse,in", "zone.top_left"); | ||
554 | } | ||
540 | } | 555 | } |
541 | 556 | ||
542 | size_top = start_x * sd->font.chw; | 557 | size_top = start_x * sd->font.chw; |