From d56ed1f0232259809499bc874b1d58b2d47fa3cb Mon Sep 17 00:00:00 2001 From: tasn Date: Tue, 8 Feb 2011 12:08:35 +0000 Subject: [PATCH] Elementary theme: Adjusted the elementary theme for better UI-mirroring support. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@56804 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- data/themes/Makefile.am | 6 +- data/themes/default.edc | 544 ++++++++++++++++++++++++++++++++++----- data/themes/tog_base.png | Bin 868 -> 0 bytes data/themes/tog_base_off.png | Bin 0 -> 527 bytes data/themes/tog_base_on.png | Bin 0 -> 473 bytes data/themes/tog_dis_base.png | Bin 2148 -> 0 bytes data/themes/tog_dis_base_off.png | Bin 0 -> 807 bytes data/themes/tog_dis_base_on.png | Bin 0 -> 1442 bytes 8 files changed, 487 insertions(+), 63 deletions(-) delete mode 100644 data/themes/tog_base.png create mode 100644 data/themes/tog_base_off.png create mode 100644 data/themes/tog_base_on.png delete mode 100644 data/themes/tog_dis_base.png create mode 100644 data/themes/tog_dis_base_off.png create mode 100644 data/themes/tog_dis_base_on.png diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 4e36cc0..d24fcfa 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -65,8 +65,10 @@ head.png \ sb_runnerh.png \ sb_runnerv.png \ shelf_inset.png \ -tog_base.png \ -tog_dis_base.png \ +tog_base_on.png \ +tog_base_off.png \ +tog_dis_base_on.png \ +tog_dis_base_off.png \ shad_circ.png \ bt_dis_base.png \ bt_dis_hilight.png \ diff --git a/data/themes/default.edc b/data/themes/default.edc index 3180d8b..d3ee8a1 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -3060,8 +3060,13 @@ collections { image: "bt_basew.png" COMP; image: "bt_bases.png" COMP; image: "bt_hilightw.png" COMP; - image: "tog_base.png" COMP; - image: "tog_dis_base.png" COMP; + image: "tog_base_on.png" COMP; + image: "tog_base_off.png" COMP; + image: "tog_dis_base_on.png" COMP; + image: "tog_dis_base_off.png" COMP; + } + script { + public is_rtl; } parts { part { name: "bg"; @@ -3126,7 +3131,7 @@ collections { } } part { name: "onrect"; - type: RECT; + type: IMAGE; scale: 1; clip_to: "clipper"; mouse_events: 0; @@ -3134,35 +3139,30 @@ collections { rel1.to: "button"; rel1.relative: -5.0 0.0; rel2.to: "button"; - rel2.relative: 0.0 1.0; - color: 0 0 0 0; + rel2.relative: 0.5 1.0; + image.normal: "tog_base_on.png"; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "tog_dis_base_on.png"; + } } part { name: "offrect"; - type: RECT; + type: IMAGE; scale: 1; clip_to: "clipper"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "button"; - rel1.relative: 1.0 0.0; + rel1.relative: 0.5 0.0; rel2.to: "button"; rel2.relative: 6.0 1.0; - color: 0 0 0 0; - } - } - part { name: "togbase"; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "onrect"; - rel2.to: "offrect"; - image.normal: "tog_base.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tog_dis_base.png"; + image.normal: "tog_base_off.png"; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "tog_dis_base_off.png"; + } } part { name: "elm.offtext"; type: TEXT; @@ -3171,7 +3171,8 @@ collections { clip_to: "clipper"; description { state: "default" 0.0; fixed: 1 1; - rel1.to_x: "offrect"; + rel1.to_x: "button"; + rel1.relative: 1.0 0.0; rel2.to_x: "offrect"; color: 0 0 0 255; text { @@ -3197,8 +3198,9 @@ collections { fixed: 1 1; rel1.to_x: "onrect"; rel1.offset: 1 1; - rel2.to_x: "onrect"; + rel2.to_x: "button"; rel2.offset: 0 0; + rel2.relative: 0.0 1.0; color: 224 224 224 255; color3: 0 0 0 64; text { @@ -3359,27 +3361,47 @@ collections { if (dx > 0.5) { set_drag(PART:"button", 1.0, 0.0); - emit("elm,action,toggle,on", ""); } else { set_drag(PART:"button", 0.0, 0.0); - emit("elm,action,toggle,off", ""); } + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + emit("elm,action,toggle,on", ""); + } + else { + emit("elm,action,toggle,off", ""); + } + } } program { name: "toggle_on"; signal: "elm,state,toggle,on"; source: "elm"; script { - set_drag(PART:"button", 100.0, 0.0); + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 100.0; + } + else { + drag = 0.0; + } + set_drag(PART:"button", drag, 0.0); } } program { name: "toggle_off"; signal: "elm,state,toggle,off"; source: "elm"; script { - set_drag(PART:"button", 0.0, 0.0); + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 0.0; + } + else { + drag = 100.0; + } + set_drag(PART:"button", drag, 0.0); } } program { name: "text_show"; @@ -3410,9 +3432,10 @@ collections { signal: "elm,state,disabled"; source: "elm"; action: STATE_SET "disabled" 0.0; - target: "togbase"; target: "elm.offtext"; target: "elm.ontext"; + target: "onrect"; + target: "offrect"; target: "disabler"; after: "disable_text"; } @@ -3438,6 +3461,8 @@ collections { source: "elm"; action: STATE_SET "default" 0.0; target: "disabler"; + target: "onrect"; + target: "offrect"; after: "enable_text"; } program { name: "enable_text"; @@ -3457,6 +3482,20 @@ collections { set_state(PART:"elm.swallow.content", "default", 0.0); } } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(is_rtl, 1); + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(is_rtl, 0); + } + } } } @@ -4752,6 +4791,7 @@ collections { image: "bt_dis_base.png" COMP; image: "bt_dis_hilight.png" COMP; image: "arrow_right.png" COMP; + image: "arrow_left.png" COMP; } script { public menu_text_visible; //0:hide (default), 1:visible @@ -4808,6 +4848,10 @@ collections { normal: "arrow_right.png"; } } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + } } part { name: "elm.swallow.content"; type: SWALLOW; @@ -5108,6 +5152,18 @@ collections { set_int(menu_disable, 0); } } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "arrow"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } } } @@ -8959,7 +9015,9 @@ collections { alias: "elm/bubble/base/default"; images { image: "bubble_3.png" COMP; + image: "bubble_4.png" COMP; image: "bubble_shine3.png" COMP; + image: "bubble_shine4.png" COMP; } parts { part { name: "event"; @@ -9105,6 +9163,13 @@ collections { } fill.smooth: 0; } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_shine4.png"; + border: 5 36 14 0; + } + } } } programs { @@ -9321,6 +9386,13 @@ collections { } fill.smooth: 0; } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_shine3.png"; + border: 36 5 14 0; + } + } } } programs { @@ -17580,6 +17652,7 @@ collections { image: "bt_sm_hilight.png" COMP; image: "ilist_1.png" COMP; image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_left.png" COMP; image: "icon_arrow_right.png" COMP; image: "icon_arrow_down.png" COMP; } @@ -17697,10 +17770,18 @@ collections { } image.normal: "icon_arrow_right.png"; } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } description { state: "active" 0.0; inherit: "default" 0.0; image.normal: "icon_arrow_down.png"; } + description { state: "active" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } } part { name: "elm.swallow.icon"; clip_to: "disclip"; @@ -17876,15 +17957,47 @@ collections { name: "go_expanded"; signal: "elm,state,expanded"; source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "active", vl); + } } program { name: "go_contracted"; signal: "elm,state,contracted"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "default", vl); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow", st, 0.0); + } + } } } } @@ -17901,6 +18014,7 @@ collections { image: "bt_sm_hilight.png" COMP; image: "ilist_1.png" COMP; image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_left.png" COMP; image: "icon_arrow_right.png" COMP; image: "icon_arrow_down.png" COMP; } @@ -18018,10 +18132,18 @@ collections { } image.normal: "icon_arrow_right.png"; } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } description { state: "active" 0.0; inherit: "default" 0.0; image.normal: "icon_arrow_down.png"; } + description { state: "active" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } } part { name: "elm.swallow.icon"; clip_to: "disclip"; @@ -18197,15 +18319,47 @@ collections { name: "go_expanded"; signal: "elm,state,expanded"; source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "active", vl); + } } program { name: "go_contracted"; signal: "elm,state,contracted"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "default", vl); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow", st, 0.0); + } + } } } } @@ -18221,6 +18375,7 @@ collections { image: "bt_sm_shine.png" COMP; image: "bt_sm_hilight.png" COMP; image: "ilist_2.png" COMP; + image: "icon_arrow_left.png" COMP; image: "icon_arrow_right.png" COMP; image: "icon_arrow_down.png" COMP; } @@ -18314,10 +18469,18 @@ collections { } image.normal: "icon_arrow_right.png"; } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } description { state: "active" 0.0; inherit: "default" 0.0; image.normal: "icon_arrow_down.png"; } + description { state: "active" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } } part { name: "elm.swallow.icon"; clip_to: "disclip"; @@ -18493,15 +18656,47 @@ collections { name: "go_expanded"; signal: "elm,state,expanded"; source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "active", vl); + } } program { name: "go_contracted"; signal: "elm,state,contracted"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "default", vl); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow", st, 0.0); + } + } } } } @@ -18517,6 +18712,7 @@ collections { image: "bt_sm_shine.png" COMP; image: "bt_sm_hilight.png" COMP; image: "ilist_2.png" COMP; + image: "icon_arrow_left.png" COMP; image: "icon_arrow_right.png" COMP; image: "icon_arrow_down.png" COMP; } @@ -18610,10 +18806,18 @@ collections { } image.normal: "icon_arrow_right.png"; } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } description { state: "active" 0.0; inherit: "default" 0.0; image.normal: "icon_arrow_down.png"; } + description { state: "active" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } } part { name: "elm.swallow.icon"; clip_to: "disclip"; @@ -18789,15 +18993,47 @@ collections { name: "go_expanded"; signal: "elm,state,expanded"; source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "active", vl); + } } program { name: "go_contracted"; signal: "elm,state,contracted"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "default", vl); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow", st, 0.0); + } + } } } } @@ -28039,6 +28275,10 @@ collections { aspect_preference: BOTH; image.normal: "sp_bt_l.png"; } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_r.png"; + } } part { name: "right_bt_icon"; repeat_events: 1; @@ -28053,6 +28293,10 @@ collections { aspect_preference: BOTH; image.normal: "sp_bt_r.png"; } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_l.png"; + } } part { name: "elm.text"; type: TEXT; @@ -28381,6 +28625,20 @@ collections { source: "button_events"; action: SIGNAL_EMIT "elm,action,entry,toggle" ""; } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } } } @@ -29110,8 +29368,8 @@ collections { } rel2 { to: "base"; - relative: 1.0 1.0; - offset: -5 -5; + relative: 0.5 1.0; + offset: -1 -1; } color: 0 0 0 128; text { @@ -29119,7 +29377,7 @@ collections { size: 10; min: 1 1; // min: 0 1; - align: 0.0 0.5; + align: 0.5 0.5; } } description { state: "active" 0.0; @@ -29186,8 +29444,8 @@ collections { } rel2 { to: "base"; - relative: 1.0 1.0; - offset: -5 -5; + relative: 0.5 1.0; + offset: -1 -1; } color: 0 0 0 128; text { @@ -29195,7 +29453,7 @@ collections { size: 10; min: 1 1; // min: 0 1; - align: 0.0 0.5; + align: 0.5 0.5; } } description { state: "active" 0.0; @@ -31575,6 +31833,13 @@ collections { image.middle: SOLID; fill.smooth: 0; } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_4.png"; + border: 11 36 18 9; + } + } } part { name: "elm.swallow.content"; type: SWALLOW; @@ -31809,18 +32074,36 @@ collections { fixed: 1 1; } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + } description { state: "anim_1" 0.0; inherit: "default" 0.0; color: 255 255 255 200; rel1.offset: (45/2 + 10) -45/2; rel2.offset: (45/2 +10) 45/2; } + description { state: "anim_1" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + color: 255 255 255 200; + rel1.offset: (45/2 + 10) -45/2; + rel2.offset: (45/2 +10) 45/2; + } description { state: "anim_2" 0.0; inherit: "default" 0.0; color: 255 255 255 0; rel1.offset: (45/2 + 20) -45/2; rel2.offset: (45/2 + 20) 45/2; } + description { state: "anim_2" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + color: 255 255 255 0; + rel1.offset: (45/2 + 20) -45/2; + rel2.offset: (45/2 + 20) 45/2; + } } part { name: "arrow_left"; @@ -31842,18 +32125,36 @@ collections { fixed: 1 1; } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_right.png"; + } description { state: "anim_1" 0.0; inherit: "default" 0.0; color: 255 255 255 200; rel1.offset: (-45/2 - 10) -45/2; rel2.offset: (-45/2 - 10) 45/2; } + description { state: "anim_1" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_right.png"; + color: 255 255 255 200; + rel1.offset: (-45/2 - 10) -45/2; + rel2.offset: (-45/2 - 10) 45/2; + } description { state: "anim_2" 0.0; inherit: "default" 0.0; color: 255 255 255 0; rel1.offset: (-45/2 - 20) -45/2; rel2.offset: (-45/2 - 20) 45/2; } + description { state: "anim_2" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_right.png"; + color: 255 255 255 0; + rel1.offset: (-45/2 - 20) -45/2; + rel2.offset: (-45/2 - 20) 45/2; + } } } @@ -31915,42 +32216,141 @@ collections { //arrows animation program { name: "arrow_anim_start"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.0) { + run_program(PROGRAM:"arrow_anim_start_ltr"); + } + else { + run_program(PROGRAM:"arrow_anim_start_rtl"); + } + } + } + program { + name: "arrow_anim_stop"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.0) { + run_program(PROGRAM:"arrow_anim_stop_ltr"); + } + else { + run_program(PROGRAM:"arrow_anim_stop_rtl"); + } + } + } + + program { + name: "arrow_anim_start_ltr"; action: STATE_SET "anim_1" 0.0; target: "arrow_right"; target: "arrow_left"; transition: LINEAR 0.6; - after: "arrow_anim_1"; + after: "arrow_anim_1_ltr"; } program { - name: "arrow_anim_1"; + name: "arrow_anim_1_ltr"; action: STATE_SET "anim_2" 0.0; target: "arrow_right"; target: "arrow_left"; transition: LINEAR 0.6; - after: "arrow_anim_2"; + after: "arrow_anim_2_ltr"; } program { - name: "arrow_anim_2"; + name: "arrow_anim_2_ltr"; action: STATE_SET "default" 0.0; target: "arrow_right"; target: "arrow_left"; - after: "arrow_anim_start"; + after: "arrow_anim_start_ltr"; } program { - name: "arrow_anim_stop"; + name: "arrow_anim_stop_ltr"; action: ACTION_STOP; - target: "arrow_anim_start"; - target: "arrow_anim_1"; - target: "arrow_anim_2"; - after: "arrow_anim_stop_1"; + target: "arrow_anim_start_ltr"; + target: "arrow_anim_1_ltr"; + target: "arrow_anim_2_ltr"; + after: "arrow_anim_stop_1_ltr"; } program { - name: "arrow_anim_stop_1"; + name: "arrow_anim_stop_1_ltr"; action: STATE_SET "default" 0.0; target: "arrow_right"; target: "arrow_left"; transition: DECELERATE 0.4; } + program { + name: "arrow_anim_start_rtl"; + action: STATE_SET "anim_1" 0.1; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_1_rtl"; + } + program { + name: "arrow_anim_1_rtl"; + action: STATE_SET "anim_2" 0.1; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_2_rtl"; + } + program { + name: "arrow_anim_2_rtl"; + action: STATE_SET "default" 0.1; + target: "arrow_right"; + target: "arrow_left"; + after: "arrow_anim_start_rtl"; + } + program { + name: "arrow_anim_stop_rtl"; + action: ACTION_STOP; + target: "arrow_anim_start_rtl"; + target: "arrow_anim_1_rtl"; + target: "arrow_anim_2_rtl"; + after: "arrow_anim_stop_1_rtl"; + } + program { + name: "arrow_anim_stop_1_rtl"; + action: STATE_SET "default" 0.1; + target: "arrow_right"; + target: "arrow_left"; + transition: DECELERATE 0.4; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow_left", st, 0.1); + } + get_state(PART:"arrow_right", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow_right", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow_left", st, 0.0); + } + get_state(PART:"arrow_right", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow_right", st, 0.0); + } + } + } } } @@ -33544,6 +33944,10 @@ collections { max: 16 16; image.normal: "sp_bt_l.png"; } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_r.png"; + } } part { name: "right_bt_icon"; repeat_events: 1; @@ -33555,6 +33959,10 @@ collections { max: 16 16; image.normal: "sp_bt_r.png"; } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_l.png"; + } } part { name: "month_text"; type: TEXT; @@ -33669,6 +34077,20 @@ collections { transition: DECELERATE 0.5; target: "right_over3"; } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } } } diff --git a/data/themes/tog_base.png b/data/themes/tog_base.png deleted file mode 100644 index 25b9bc48de42ccb8f9703235ad41fb6c19ae7a50..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 868 zcmV-q1DpJbP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iOW6 z1vDlNDsY7W000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2HM@dakSAh-}0008NNkl9*xJM z4$Os|{8?|U^%c<+-)q<-zOU$U2Ml}kw5@kuQxX%#r3y7XMe(AdRj#dMXe$E0W-huzKE=<-om6~}T$=)KUgA6U?1%WlBmH1q7pBJh0P)DsE*C3) zIsT~JF?CIvi4TCQXGF#nJU;ri(Da7(F$TZN+o!?jf;$(#>*qE88B-WOI9xBH&Obz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I3VA0`B>>lYhCXXkmAQp~K3ukI+>Il42R`E6f~?&o#6?dps7#u0kH6}6~( z+D9CbgOZUCe^ga@i}F>YRlBX!R^?}8CzZcrx8-nu(N{jb1X0;Bc}vUW#SeUz^JRD~ z@Z1sr&nvc1v9~)7h>tTL19y~vFzw|v&uH!|udVqFnI||O@9>?p-ye9S_#>|ZZA0W! zfwvhR$WD?Em0uTZOpS7#Pm=!&d~~1ZU4X3=+v=hoo`fF(V6{ndWvdftqdh#lTL?gI zX0z~%${{$Pe+y#w`M1QLK;93$rKei?gcn)@47r)@4!oJST8!roJ!AV2zhHiiytaMl zkh|IiA=~4_46^-<^63+VJ&#%EUBJiEJ{t8dAqjjRI!g96838GOE|7CR^34Y!=od~F P00000NkvXXu0mjf4P3=f literal 0 HcmV?d00001 diff --git a/data/themes/tog_dis_base.png b/data/themes/tog_dis_base.png deleted file mode 100644 index 7f6865d801cd7ec1d76e2416f4e164c115a94e64..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2148 zcmV-q2%GnbP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iXY? z3l%YJp;ROQ000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2HM@dakSAh-}000NSNklT%?pDe~0cih3gl$TJnj3Z^vF`!9nBX`b zaq_5ZQA^qvrPc^_UJB)MLH~RJ2+96=mQu{M1~z?P6GS`LWA(hz2Jyx|Gj?`8+mJ`k z(^zWnpKa{fhPj#vx>eZG(;v!a8I5ug8i>$aR-}yJp*o?=5Jqzgc5(yywhlz|!A)=8 zqutcI#7{xLBhBlIP)gYh^zrc_*Xy+#M1wK{=?sw3JpcySnXxla=#AmWXV+Ke@Xw3h z;g;iSCL=9injy7)=xo}prXWxn01yDLniOz6Oo3n=tC*P$6&8vWsN5k;ecjO^9oP)Z z_zj@nQ9TwTh)D`bd4GSGhld9PC~YJUQf<5jJ`dIir22aMTW!k-#L>80m^GTiKhJ}8 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 zx7#EX`WgyVmyvSkRKa1#vJuCNPqsU-w0vcoKK5~)H~mY4wYzB+7*j~}HWvnIJ161< zf&hRV0|SakQ7jrAXPSpIkVZ|=5feq7>?_S4_cC2pBK1|Z)iP>(?$B=MdX=P9fqiIX z>kS-ZE4H?Te-LD<4Myoh41HAoa%ks$S5Qu;89Ha2RBpj84F#em zIO?1X?s-?Se0XWh#|vS}6Jx7gUlW4$GO2`Zn+1S;e0<3J`}@=lMga6NVaB8xcvs!) zt+C*l;z0Iwl2wlq0U9Lv`uZw=kFPnNo}T2_uV2%zGt9oC8+}!Ic73K(e)m^~zj_@a aBL4y_jC=UE7$oNa0000Px#32;bRa{vGf6951U69E94oEQKA00(qQO+^RV3>pqG99`$RC!!QW6E&u=D+UKfG z_OLp-UJn9J)@fa&s)>U?I1X$`y<9G9d0fk~jN7uV>(++%<9W!Ad;C}Zcuc;=JHC{x z*RIBi%*Qg(aag{UQcA7$`=PbcS}WYf?`y4_9Lk_9j=>l9ossq0XXhKbq5k|s8U78K ze!JaD?|qwKUDwiDE6cK!TIvAv>5!3g`@T)fhY zPzl9Ki**@Lt(ePW%rJK^miEzsU0wm10TtU2U^NdeGNN=gM5yo(0XS*|Tz^MOD}`r4 zWkpyiw(=REF)=)5sWxV2G|uCAo#O^}MDUPh5l}57C@)aTSQ}SF_N)+*>Ax|Qt>d}8 z1sE%%jIhU)nVmYTcowA0Ido%a*5y5>^1pI>#iodomNM^@jey;G5OgaGNb8<~QvGKc zdIsy>!R8l+M&l^DzX}D4k$;_`A(yupYGq3iP%Y3tnW56Y#LL*_~NHr@es~Fs^O1bCymW)^P z^lG7*`eei<_l{~m5m#R}CF?s11EvZd3RDa1OwDp8mSvI&wT_I(Dg$)>t~2{_Dhg^g lMrD}mDee`QXG4!N^cODWUf+7ti*5h_002ovPDHLkV1j#HaaaHV literal 0 HcmV?d00001 diff --git a/data/themes/tog_dis_base_on.png b/data/themes/tog_dis_base_on.png new file mode 100644 index 0000000000000000000000000000000000000000..4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