1 #include "w-input-stt-button.edc"
3 #define VOICE_CANDIDATE_AREA_HEIGHT 56
13 param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP";
14 /* 2014.06.11 updated from libsvi(feedback)
15 Above plugin will run below external function:
16 int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern);
18 param1: feedback_type_e
19 FEEDBACK_TYPE_NONE = 0,
20 FEEDBACK_TYPE_SOUND = 1,
21 FEEDBACK_TYPE_VIBRATION,
26 FEEDBACK_PATTERN_TAP = 0,
28 FEEDBACK_PATTERN_SIP_BACKSPACE,
29 FEEDBACK_PATTERN_SIP_FUNCTION,
30 FEEDBACK_PATTERN_SIP_FJKEY,
33 * Fore information, please refer the libsvi libraries.
34 * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi
35 * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi
41 param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP";
47 image, "./bg/B13_mic_bg.png" COMP;
48 image, "./icon/B13_mic.png" COMP;
49 image, "./icon/B13_mic_Que.png" COMP;
50 image, "./icon/B13_mic_Que_01.png" COMP;
51 image, "./icon/B13_mic_procecessing_bg.png" COMP;
52 image, "./text_downdrop.#.png" COMP;
53 image, "./text_downdrop_press.#.png" COMP;
55 image, "./input_ic_voice_mic.png" COMP;
56 image, "./w_sip_mask_bg.png" COMP;
57 image, "./tw_bottom_btn_bg.png" COMP;
59 image, "./w_mode_ic_bg.png" COMP;
61 image, "./b_stt_text_fade_out.png" COMP;
62 image, "./b_stt_icon_btn.png" COMP;
63 image, "./b_stt_confirm_icon.png" COMP;
64 image, "./b_stt_send_icon.png" COMP;
162 color: 163 163 163 100;
167 color: 97 12 117 255;
177 color: 110 110 110 100;
192 color: 122 122 122 100;
302 color: 102 102 102 100;
388 color: 128 128 128 100;
439 style { name, "textblock_style";
440 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
443 tag, "hilight" "+ font=Tizen:style=Bold";
444 tag, "b" "+ font=Tizen:style=Bold";
447 style { name, "textblock_style_bottom";
448 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
451 tag, "hilight" "+ font=Tizen:style=Bold";
452 tag, "b" "+ font=Tizen:style=Bold";
469 state, "default" 0.0;
479 color_class, "AO0118";
489 state, "default" 0.0;
511 state, "default" 0.0;
532 name, "left_panel_area";
536 state, "default" 0.0;
559 state, "default" 0.0;
572 image.normal, "./tw_bottom_btn_bg.png";
573 color: 128 128 128 128;
577 state, "pressed" 0.0;
578 inherit, "default" 0.0;
579 color: 128 128 128 128;
584 inherit, "default" 0.0;
585 color: 128 128 128 128;
591 name, "EFFECT_BG_AREA";
595 state, "default" 0.0;
619 state, "default" 0.0;
624 to, "EFFECT_BG_AREA";
629 to, "EFFECT_BG_AREA";
634 state, "default" 0.1;
635 inherit, "default" 0.0;
648 state, "default" 0.0;
653 relative, 155/360 26/100;
658 relative, 205/360 76/100;
661 image.normal, "./input_ic_voice_mic.png";
665 state, "recording" 0.0;
666 inherit, "default" 0.0;
671 state, "processing" 0.0;
672 inherit, "default" 0.0;
677 state, "message" 0.0;
678 inherit, "default" 0.0;
681 relative, 155/360 41/100;
686 relative, 205/360 91/100;
695 //Part for mic button
703 state, "default" 0.0;
709 relative, 35/360 0.0;
714 relative, 325/360 1.0;
721 name, "PROGRESS_BAR";
726 state, "default" 0.0;
732 relative, 155/360 27/100;
737 relative, 205/360 77/100;
743 state, "message" 0.0;
744 inherit, "default" 0.0;
748 state, "processing" 0.0;
749 inherit, "default" 0.0;
756 name, "guide_text_block";
760 state, "default" 0.0;
764 relative, 39/360 140/360;
769 relative, (360-39)/360 (140+42)/360;
779 relative, 74/360 (360-91)/360;
784 relative, (360-74)/360 (360-57)/360;
798 state, "default" 0.0;
801 rel1.to, "guide_text_block";
802 rel2.to, "guide_text_block";
806 style, "textblock_style";
808 color, 120 120 120 120;
813 inherit, "default" 0.0;
817 style, "textblock_style_bottom";
819 color, 120 120 120 120;
828 name, "initial_view";
829 signal, "mouse,clicked,1";
830 source, "background";
832 after, "emit_signal1";
837 name, "emit_signal1";
838 action, SIGNAL_EMIT "idle,state,pulse,visible" "";
844 signal, "elm,state,listening";
846 action, STATE_SET "recording" 0.0;
852 name, "start_processing";
853 signal, "elm,state,processing";
855 action, STATE_SET "processing" 0.0;
856 target, "PROGRESS_BAR";
858 transition, DECELERATE 0.3;
864 signal, "elm,state,init";
866 action, STATE_SET "default" 0.0;
867 target, "PROGRESS_BAR";
869 transition, DECELERATE 0.3;
873 name, "idle_message";
874 signal, "elm,state,init_message";
876 action, STATE_SET "message" 0.0;
877 target, "PROGRESS_BAR";
884 signal, "idle,state,text,visible";
886 action, STATE_SET "expand" 0.0;
893 signal, "idle,state,text,hidden";
895 action, STATE_SET "default" 0.0;
900 name, "show_effect_part";
901 signal, "elm,state,eq,show";
903 action, STATE_SET "default" 0.1;
909 name, "hide_effect_part";
910 signal, "elm,state,eq,hide";
912 action, STATE_SET "default" 0.0;
918 name, "guide_text_up";
919 signal, "idle,state,guide_text,up";
921 action, STATE_SET "default" 0.0;
922 target, "guide_text_block";
926 name, "guide_text_bottom";
927 signal, "idle,state,guide_text,bottom";
929 action, STATE_SET "bottom" 0.0;
930 target, "guide_text_block";
939 name: "option_more_index";
949 state: "default" 0.0;
961 state: "default" 0.0;
973 state: "default" 0.0;
979 rel1.relative: 0.0 0.0;
981 rel2.relative: 1.0 0.0;
989 name, "language_list";
999 state, "default" 0.0;
1021 state, "default" 0.0;
1038 name: "layout_textblock";
1041 public timer_cb(val) {
1042 run_program(PROGRAM:"do_scroll");
1054 state, "default" 0.0;
1066 part { name: "elm.swallow.content";
1069 description { state: "default" 0.0;
1071 color, 120 120 120 120;
1079 signal, "scrolling";
1082 timer(3/10, "timer_cb", 0);
1088 action, SIGNAL_EMIT "do_scroll" "entry";
1093 group{ name: "entry_focused_layout";
1102 state, "default" 0.0;
1112 color, 120 120 120 120;
1115 part { name: "padding_top";
1119 state: "default" 0.0;
1121 rel1.relative: 0.0 0.0;
1122 rel2.relative: 1.0 0.0;
1127 part { name: "padding_left";
1131 state: "default" 0.0;
1133 rel1.relative: 0.0 0.0;
1134 rel2.relative: 0.0 1.0;
1139 part { name: "padding_right";
1143 state: "default" 0.0;
1145 rel1.relative: 1.0 0.0;
1146 rel2.relative: 1.0 1.0;
1156 state: "default" 0.0;
1157 rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
1158 rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";}
1169 #define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50
1172 name: "elm/progressbar/horizontal/voice_input/process/small";
1174 image: "style/tw_loading_small_00.png" COMP;
1175 image: "style/tw_loading_small_01.png" COMP;
1176 image: "style/tw_loading_small_02.png" COMP;
1177 image: "style/tw_loading_small_03.png" COMP;
1178 image: "style/tw_loading_small_04.png" COMP;
1179 image: "style/tw_loading_small_05.png" COMP;
1180 image: "style/tw_loading_small_06.png" COMP;
1181 image: "style/tw_loading_small_07.png" COMP;
1182 image: "style/tw_loading_small_08.png" COMP;
1183 image: "style/tw_loading_small_09.png" COMP;
1184 image: "style/tw_loading_small_10.png" COMP;
1185 image: "style/tw_loading_small_11.png" COMP;
1186 image: "style/tw_loading_small_12.png" COMP;
1187 image: "style/tw_loading_small_13.png" COMP;
1188 image: "style/tw_loading_small_14.png" COMP;
1189 image: "style/tw_loading_small_15.png" COMP;
1190 image: "style/tw_loading_small_16.png" COMP;
1191 image: "style/tw_loading_small_17.png" COMP;
1192 image: "style/tw_loading_small_18.png" COMP;
1193 image: "style/tw_loading_small_19.png" COMP;
1194 image: "style/tw_loading_small_20.png" COMP;
1195 image: "style/tw_loading_small_21.png" COMP;
1196 image: "style/tw_loading_small_22.png" COMP;
1197 image: "style/tw_loading_small_23.png" COMP;
1198 image: "style/tw_loading_small_24.png" COMP;
1199 image: "style/tw_loading_small_25.png" COMP;
1200 image: "style/tw_loading_small_26.png" COMP;
1201 image: "style/tw_loading_small_27.png" COMP;
1202 image: "style/tw_loading_small_28.png" COMP;
1203 image: "style/tw_loading_small_29.png" COMP;
1204 image: "style/tw_loading_small_30.png" COMP;
1205 image: "style/tw_loading_small_31.png" COMP;
1206 image: "style/tw_loading_small_32.png" COMP;
1207 image: "style/tw_loading_small_33.png" COMP;
1208 image: "style/tw_loading_small_34.png" COMP;
1209 image: "style/tw_loading_small_35.png" COMP;
1210 image: "style/tw_loading_small_36.png" COMP;
1211 image: "style/tw_loading_small_37.png" COMP;
1212 image: "style/tw_loading_small_38.png" COMP;
1213 image: "style/tw_loading_small_39.png" COMP;
1214 image: "style/tw_loading_small_40.png" COMP;
1215 image: "style/tw_loading_small_41.png" COMP;
1216 image: "style/tw_loading_small_42.png" COMP;
1217 image: "style/tw_loading_small_43.png" COMP;
1218 image: "style/tw_loading_small_44.png" COMP;
1219 image: "style/tw_loading_small_45.png" COMP;
1220 image: "style/tw_loading_small_46.png" COMP;
1221 image: "style/tw_loading_small_47.png" COMP;
1222 image: "style/tw_loading_small_48.png" COMP;
1223 image: "style/tw_loading_small_49.png" COMP;
1224 image: "style/tw_loading_small_50.png" COMP;
1225 image: "style/tw_loading_small_51.png" COMP;
1226 image: "style/tw_loading_small_52.png" COMP;
1227 image: "style/tw_loading_small_53.png" COMP;
1228 image: "style/tw_loading_small_54.png" COMP;
1229 image: "style/tw_loading_small_55.png" COMP;
1230 image: "style/tw_loading_small_56.png" COMP;
1231 image: "style/tw_loading_small_57.png" COMP;
1232 image: "style/tw_loading_small_58.png" COMP;
1233 image: "style/tw_loading_small_59.png" COMP;
1234 image: "style/tw_loading_small_60.png" COMP;
1235 image: "style/tw_loading_small_61.png" COMP;
1236 image: "style/tw_loading_small_62.png" COMP;
1237 image: "style/tw_loading_small_63.png" COMP;
1238 image: "style/tw_loading_small_64.png" COMP;
1246 state: "default" 0.0;
1252 name: "elm.background.progressbar";
1257 state: "default" 0.0;
1264 clip_to: "elm.background.progressbar";
1266 state: "default" 0.0;
1267 min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1268 max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1271 aspect_preference: BOTH;
1272 image.normal: "style/tw_loading_small_00.png";
1273 image.tween: "style/tw_loading_small_01.png";
1274 image.tween: "style/tw_loading_small_02.png";
1275 image.tween: "style/tw_loading_small_03.png";
1276 image.tween: "style/tw_loading_small_04.png";
1277 image.tween: "style/tw_loading_small_05.png";
1278 image.tween: "style/tw_loading_small_06.png";
1279 image.tween: "style/tw_loading_small_07.png";
1280 image.tween: "style/tw_loading_small_08.png";
1281 image.tween: "style/tw_loading_small_09.png";
1282 image.tween: "style/tw_loading_small_10.png";
1283 image.tween: "style/tw_loading_small_11.png";
1284 image.tween: "style/tw_loading_small_12.png";
1285 image.tween: "style/tw_loading_small_13.png";
1286 image.tween: "style/tw_loading_small_14.png";
1287 image.tween: "style/tw_loading_small_15.png";
1288 image.tween: "style/tw_loading_small_16.png";
1289 image.tween: "style/tw_loading_small_17.png";
1290 image.tween: "style/tw_loading_small_18.png";
1291 image.tween: "style/tw_loading_small_19.png";
1292 image.tween: "style/tw_loading_small_20.png";
1293 image.tween: "style/tw_loading_small_21.png";
1294 image.tween: "style/tw_loading_small_22.png";
1295 image.tween: "style/tw_loading_small_23.png";
1296 image.tween: "style/tw_loading_small_24.png";
1297 image.tween: "style/tw_loading_small_25.png";
1298 image.tween: "style/tw_loading_small_26.png";
1299 image.tween: "style/tw_loading_small_27.png";
1300 image.tween: "style/tw_loading_small_28.png";
1301 image.tween: "style/tw_loading_small_29.png";
1302 image.tween: "style/tw_loading_small_30.png";
1303 image.tween: "style/tw_loading_small_31.png";
1304 image.tween: "style/tw_loading_small_32.png";
1305 image.tween: "style/tw_loading_small_33.png";
1306 image.tween: "style/tw_loading_small_34.png";
1307 image.tween: "style/tw_loading_small_35.png";
1308 image.tween: "style/tw_loading_small_36.png";
1309 image.tween: "style/tw_loading_small_37.png";
1310 image.tween: "style/tw_loading_small_38.png";
1311 image.tween: "style/tw_loading_small_39.png";
1312 image.tween: "style/tw_loading_small_40.png";
1313 image.tween: "style/tw_loading_small_41.png";
1314 image.tween: "style/tw_loading_small_42.png";
1315 image.tween: "style/tw_loading_small_43.png";
1316 image.tween: "style/tw_loading_small_44.png";
1317 image.tween: "style/tw_loading_small_45.png";
1318 image.tween: "style/tw_loading_small_46.png";
1319 image.tween: "style/tw_loading_small_47.png";
1320 image.tween: "style/tw_loading_small_48.png";
1321 image.tween: "style/tw_loading_small_48.png";
1322 image.tween: "style/tw_loading_small_49.png";
1323 image.tween: "style/tw_loading_small_50.png";
1324 image.tween: "style/tw_loading_small_51.png";
1325 image.tween: "style/tw_loading_small_52.png";
1326 image.tween: "style/tw_loading_small_53.png";
1327 image.tween: "style/tw_loading_small_54.png";
1328 image.tween: "style/tw_loading_small_55.png";
1329 image.tween: "style/tw_loading_small_56.png";
1330 image.tween: "style/tw_loading_small_57.png";
1331 image.tween: "style/tw_loading_small_58.png";
1332 image.tween: "style/tw_loading_small_59.png";
1333 image.tween: "style/tw_loading_small_60.png";
1334 image.tween: "style/tw_loading_small_61.png";
1335 image.tween: "style/tw_loading_small_62.png";
1336 image.tween: "style/tw_loading_small_63.png";
1337 image.tween: "style/tw_loading_small_64.png";
1338 color: 128 128 128 128;
1344 name: "start_pulse";
1345 signal: "elm,state,pulse,start";
1347 action: STATE_SET "default" 0.0;
1349 transition: LINEAR 1.8;
1350 after: "start_pulse";
1354 signal: "elm,state,pulse,stop";
1356 action: ACTION_STOP;
1357 target: "start_pulse";
1358 after: "init_pulse";
1360 program { name: "init_pulse";
1361 action: STATE_SET "default" 0.0;
1368 #define BUTTON_PADDING_SIZE_INC 20 0
1369 #define BUTTON_HEIGHT_INC 122
1370 #define BUTTON_ICON_SIZE_INC 60 60
1371 group { name: "elm/button/base/default";
1373 public mouse_down = 0;
1374 public multi_down = 0;
1380 description { state: "default" 0.0;
1381 min: 0 BUTTON_HEIGHT_INC;
1382 color_class: "W011";
1384 description { state: "pressed" 0.0;
1385 inherit: "default" 0.0;
1386 color_class: "W011P";
1388 description { state: "disabled" 0.0;
1389 inherit: "default" 0.0;
1390 color_class: "W011D";
1393 part { name: "padding_left_top";
1396 description { state: "default" 0.0;
1398 rel2.relative: 0.0 0.0;
1399 min: BUTTON_PADDING_SIZE_INC;
1403 part { name: "padding_right_bottom";
1406 description { state: "default" 0.0;
1408 rel1.relative: 1.0 1.0;
1409 min: BUTTON_PADDING_SIZE_INC;
1413 part { name: "icon_rect";
1416 description { state: "default" 0.0;
1420 to: "padding_left_top";
1424 to_x: "padding_left_top";
1425 to_y: "padding_right_bottom";
1430 description { state: "visible" 0.0;
1431 inherit: "default" 0.0;
1432 min: BUTTON_ICON_SIZE_INC;
1433 max: BUTTON_ICON_SIZE_INC;
1437 part { name: "elm.swallow.content";
1439 clip_to: "elm.swallow.content.clip";
1441 description { state: "default" 0.0;
1446 to: "padding_left_top";
1450 to_x: "padding_left_top";
1451 to_y: "padding_right_bottom";
1455 description { state: "visible" 0.0;
1457 min: BUTTON_ICON_SIZE_INC;
1458 max: BUTTON_ICON_SIZE_INC;
1463 to_y: "padding_left_top";
1468 to_y: "padding_right_bottom";
1471 description { state: "icononly" 0.0;
1472 min: BUTTON_ICON_SIZE_INC;
1473 max: BUTTON_ICON_SIZE_INC;
1476 part { name: "elm.text";
1480 description { state: "default" 0.0;
1485 to_y: "padding_left_top";
1489 to: "padding_right_bottom";
1493 style: "button_general_text_normal";
1496 description { state: "disabled" 0.0;
1497 inherit: "default" 0.0;
1498 text.style: "button_general_text_dim";
1500 description { state: "pressed" 0.0;
1501 inherit: "default" 0.0;
1502 text.style: "button_general_text_press";
1505 part { name: "elm.swallow.content.clip";
1508 description { state: "default" 0.0;
1509 color_class: "F022L1i";
1511 description { state: "disabled" 0.0;
1512 inherit: "default" 0.0;
1513 color_class: "F022L1iD";
1516 part { name: "event";
1519 description { state: "default" 0.0;
1527 program { name: "pressed";
1528 signal: "mouse,down,1*";
1531 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1533 set_int(mouse_down, 1);
1534 run_program(PROGRAM:"button_press1");
1538 program { name: "button_press1";
1542 get_state(PART:"bg", st, 30, vl);
1543 if (strcmp(st, "disabled")) {
1544 set_state(PART:"bg", "pressed", 0.0);
1545 set_state(PART:"elm.text", "pressed", 0.0);
1546 emit("elm,action,press", "");
1550 program { name: "unpressed";
1551 signal: "mouse,up,1";
1554 if (get_int(mouse_down) == 1) {
1555 set_int(mouse_down, 0);
1556 run_program(PROGRAM:"button_unpress1");
1560 program { name: "button_unpress1";
1564 get_state(PART:"bg", st, 30, vl);
1565 if (strcmp(st, "disabled")) {
1566 set_state(PART:"bg", "default", 0.0);
1567 set_state(PART:"elm.text", "default", 0.0);
1568 emit("elm,action,unpress", "");
1572 program { name: "touch_snd";
1573 signal: "mouse,clicked,1";
1578 if (get_int(multi_down) == 0) {
1579 get_state(PART:"bg", st, 30, vl);
1580 if (strcmp(st, "disabled")) {
1581 //run_program(PROGRAM:"play_sample");
1582 emit("elm,action,click", "");
1588 name: "play_sample";
1589 action: RUN_PLUGIN "touch_sound";
1591 program { name: "text_show";
1592 signal: "elm,state,text,visible";
1597 get_state(PART:"elm.swallow.content", st, 30, vl);
1598 if (!strcmp(st, "icononly"))
1600 set_state(PART:"elm.swallow.content", "visible", 0.0);
1601 set_state(PART:"icon_rect", "visible", 0.0);
1603 get_state(PART:"bg", st, 30, vl);
1604 if (strcmp(st, "disabled"))
1605 set_state(PART:"elm.text", "default", 0.0);
1607 set_state(PART:"elm.text", "disabled", 0.0);
1610 program { name: "text_hide";
1611 signal: "elm,state,text,hidden";
1616 get_state(PART:"elm.swallow.content", st, 30, vl);
1617 if (!strcmp(st, "visible"))
1619 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1620 set_state(PART:"icon_rect", "default", 0.0);
1622 set_state(PART:"elm.text", "default", 0.0);
1625 program { name: "icon_show";
1626 signal: "elm,state,icon,visible";
1628 action: STATE_SET "visible" 0.0;
1629 target: "elm.swallow.content";
1630 target: "icon_rect";
1632 program { name: "icon_hide";
1633 signal: "elm,state,icon,hidden";
1635 action: STATE_SET "default" 0.0;
1636 target: "elm.swallow.content";
1637 target: "icon_rect";
1639 program { name: "disable";
1640 signal: "elm,state,disabled";
1642 action: STATE_SET "disabled" 0.0;
1644 target: "elm.swallow.content.clip";
1647 program { name: "enable";
1648 signal: "elm,state,enabled";
1650 action: STATE_SET "default" 0.0;
1652 target: "elm.swallow.content.clip";
1655 program { name: "multi_down";
1656 signal: "elm,action,multi,down";
1659 set_int(multi_down, 1);
1662 program { name: "multi_up";
1663 signal: "elm,action,multi,up";
1666 set_int(multi_down, 0);
1672 group { name: "elm/button/base/ime_transparent";
1673 inherit: "elm/button/base/default";
1678 description { state: "default" 0.0;
1682 description { state: "pressed" 0.0;
1683 inherit: "default" 0.0;
1685 description { state: "disabled" 0.0;
1686 inherit: "default" 0.0;
1692 group { name: "elm/button/base/ime_button";
1693 alias: "elm/button/base/ime_button_stt";
1694 inherit: "elm/button/base/default";
1699 description { state: "default" 0.0;
1701 color_class: "AO01153L1";
1703 image.normal: "./w_mode_ic_bg.png";
1705 description { state: "pressed" 0.0;
1706 inherit: "default" 0.0;
1707 color_class: "AO01153L1P";
1709 description { state: "disabled" 0.0;
1710 inherit: "default" 0.0;
1711 color_class: "W011D";
1714 part { name: "elm.swallow.content";
1717 clip_to: "elm.swallow.content.clip";
1718 description { state: "default" 0.0;
1721 rel1 { relative: 0.0 0.0; to: "bg";}
1722 rel2 { relative: 1.0 1.0; to: "bg";}
1725 description { state: "visible" 0.0;
1726 inherit: "default" 0.0;
1729 description { state: "icononly" 0.0;
1730 inherit: "default" 0.0;
1737 program { name: "pressed";
1738 signal: "mouse,down,1*";
1741 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1743 set_int(mouse_down, 1);
1744 run_program(PROGRAM:"button_press1");
1748 program { name: "button_press1";
1752 get_state(PART:"bg", st, 30, vl);
1753 if (strcmp(st, "disabled")) {
1754 set_state(PART:"bg", "pressed", 0.0);
1755 set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1756 emit("elm,action,press", "");
1760 program { name: "unpressed";
1761 signal: "mouse,up,1";
1764 if (get_int(mouse_down) == 1) {
1765 set_int(mouse_down, 0);
1766 run_program(PROGRAM:"button_unpress1");
1770 program { name: "button_unpress1";
1774 get_state(PART:"bg", st, 30, vl);
1775 if (strcmp(st, "disabled")) {
1776 set_state(PART:"bg", "default", 0.0);
1777 set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1778 emit("elm,action,unpress", "");
1785 group { name: "elm/button/base/ime_button_emoticon";
1786 inherit: "elm/button/base/ime_button";
1791 description { state: "default" 0.0;
1793 color_class: "AO01154L1";
1795 image.normal: "./w_mode_ic_bg.png";
1797 description { state: "pressed" 0.0;
1798 inherit: "default" 0.0;
1799 color_class: "AO01154L1P";
1801 description { state: "disabled" 0.0;
1802 inherit: "default" 0.0;
1803 color_class: "W011D";
1809 group { name: "elm/button/base/ime_button_keyboard";
1810 inherit: "elm/button/base/ime_button";
1815 description { state: "default" 0.0;
1817 color_class: "AO01155L1";
1819 image.normal: "./w_mode_ic_bg.png";
1821 description { state: "pressed" 0.0;
1822 inherit: "default" 0.0;
1823 color_class: "AO01155L1P";
1825 description { state: "disabled" 0.0;
1826 inherit: "default" 0.0;
1827 color_class: "W011D";
1833 group { name: "elm/button/base/ime_button_template";
1834 inherit: "elm/button/base/ime_button";
1839 description { state: "default" 0.0;
1842 color_class: "AO01161";
1844 image.normal: "./w_mode_ic_bg.png";
1846 description { state: "pressed" 0.0;
1847 inherit: "default" 0.0;
1848 color_class: "AO01161P";
1850 description { state: "disabled" 0.0;
1851 inherit: "default" 0.0;
1852 color_class: "AO01161D";
1855 part { name: "elm.swallow.content.clip";
1858 description { state: "default" 0.0;
1859 color_class: "AO01153L3";
1861 description { state: "pressed" 0.0;
1862 inherit: "default" 0.0;
1863 color_class: "AO01153L3P";
1865 description { state: "disabled" 0.0;
1866 inherit: "default" 0.0;
1867 color_class: "AO01153L3D";
1873 group { name: "elm/button/base/ime_button_stt_confirm";
1874 inherit: "elm/button/base/ime_button";
1879 description { state: "default" 0.0;
1881 color_class: "AO015L2";
1883 image.normal: "./b_stt_icon_btn.png";
1885 description { state: "pressed" 0.0;
1886 inherit: "default" 0.0;
1887 color_class: "AO015L2P";
1889 description { state: "disabled" 0.0;
1890 inherit: "default" 0.0;
1891 color_class: "AO015L2D";
1894 part { name: "elm.swallow.content.clip";
1897 description { state: "default" 0.0;
1898 color_class: "AO015L2";
1900 description { state: "pressed" 0.0;
1901 inherit: "default" 0.0;
1902 color_class: "AO015L2P";
1904 description { state: "disabled" 0.0;
1905 inherit: "default" 0.0;
1906 color_class: "AO015L2D";
1912 group { name: "elm/button/base/touch_area";
1913 inherit: "elm/button/base/default";
1918 description { state: "default" 0.0;
1923 description { state: "pressed" 0.0;
1924 inherit: "default" 0.0;
1926 description { state: "disabled" 0.0;
1927 inherit: "default" 0.0;
1932 program { name: "touch_snd";
1933 signal: "mouse,clicked,1";
1938 if (get_int(multi_down) == 0) {
1939 get_state(PART:"bg", st, 30, vl);
1940 if (strcmp(st, "disabled")) {
1941 run_program(PROGRAM:"play_sample");
1942 emit("elm,action,click", "");
1950 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
1951 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
1952 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
1953 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
1954 #define ACTIONBAR_PADDING_SIZE_INC 64
1955 #define ACTIONBAR_HEIGHT_INC 115
1956 #define ACTIONBAR_TEXT_SIZE_INC 39
1957 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
1958 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
1959 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
1960 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
1961 #define HIDDEN_BUTTON_HEIGHT_INC 88
1963 #define STYLE_TAG_MATCH \
1964 tag: "match" "+ color=#ffffff color_class=T0212";
1967 style { name: "action_bar_title";
1968 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
1973 group { name: "elm_naviframe_item_basic_customized";
1974 data.item: "tizen_zoom" 1;
1976 public g_mirrored = 0; //Mirrored on/off status
1977 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
1979 public g_duration_1st;
1980 public g_duration_2nd;
1983 public g_sliding_start;
1985 public title_text_fade_out() {
1988 if (get_int(g_text_fade_out_calc_timer)) {
1989 cancel_timer(g_text_fade_out_calc_timer);
1990 set_int(g_text_fade_out_calc_timer, 0);
1993 get_geometry(PART:"elm.text.title", x, y, w, h);
1994 get_geometry(PART:"title_text_bg", x, y, w2, h);
1999 set_float(g_duration_1st, 0);
2000 set_float(g_duration_2nd, 0);
2001 set_int(g_timer_id, 0);
2002 set_int(g_anim_id, 0);
2003 set_int(g_sliding_start, 0);
2005 public slide_first_anim(val, Float:pos) {
2006 set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2008 cancel_anim(get_int(g_anim_id));
2009 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2012 public slide_second_anim(val, Float:pos) {
2013 set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2017 public slide_first() {
2019 if (get_int(g_sliding_start)) {
2020 set_state(PART:"elm.text.title", "slide", 0.0);
2022 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2025 public slide_start() {
2026 set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2028 public slide_stop() {
2029 cancel_anim(get_int(g_anim_id));
2030 set_state(PART:"elm.text.title", "default", 0.0);
2031 set_int(g_sliding_start, 0);
2033 public check_size() {
2035 get_geometry(PART:"elm.text.title", x, y, w, h);
2036 get_geometry(PART:"title_text_clip", x, y, w1, h);
2038 set_int(g_sliding_start, 1);
2041 set_int(g_sliding_start, 0);
2044 public get_duration() {
2046 get_geometry(PART:"elm.text.title", x, y, w, h);
2047 get_geometry(PART:"title_text_clip", x, y, w1, h);
2048 set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2049 set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2053 part { name: "clipper";
2055 description { state: "default" 0.0;
2058 description { state: "hide" 0.0;
2062 part { name: "base";
2067 description { state: "default" 0.0;
2068 color: 128 128 128 128;
2071 part { name: "title_expand";
2076 description { state: "default" 0.0;
2077 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2078 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2082 color: 255 255 255 0;
2083 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2084 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2086 description { state: "show" 0.0;
2087 inherit: "default" 0.0;
2092 part { name: "title_clip";
2095 description { state: "default" 0.0;
2097 rel1.to: "title_bg";
2098 rel2.to: "title_bg";
2100 description { state: "hide" 0.0;
2101 inherit: "default" 0.0;
2105 part { name: "title_bg";
2108 clip_to: "title_clip";
2109 description { state: "default" 0.0;
2110 min: 0 ACTIONBAR_HEIGHT_INC;
2111 max: -1 ACTIONBAR_HEIGHT_INC;
2114 rel1 { relative: 0.0 0.0; to: "base"; }
2115 rel2 { relative: 1.0 0.0; to: "base"; }
2116 color: 255 255 255 0;
2118 description { state: "hide_trans" 0.0;
2119 inherit: "default" 0.0;
2122 description { state: "hide" 0.0;
2123 inherit: "default" 0.0;
2128 part { name: "title_text_bg";
2131 description { state: "default" 0.0;
2132 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2133 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2137 part { name: "title_text_clip";
2140 clip_to: "title_clip";
2141 description { state: "default" 0.0;
2142 rel1.to: "title_text_bg";
2143 rel2.to: "title_text_bg";
2146 part { name: "elm.text.title";
2149 clip_to: "title_text_clip";
2150 description { state: "default" 0.0;
2155 // fade_ellipsis: 1.0;
2156 style: "action_bar_title";
2160 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2162 description { state: "slide" 0.0;
2163 inherit: "default" 0.0;
2167 to_x: "left_padding";
2168 to_y: "top_padding";
2172 to_x: "left_padding";
2173 to_y: "bottom_padding";
2177 description { state: "slide_1" 0.0;
2178 inherit: "default" 0.0;
2182 to_x: "left_padding";
2183 to_y: "top_padding";
2187 to_x: "left_padding";
2188 to_y: "bottom_padding";
2192 description { state: "slide_2" 0.0;
2193 inherit: "default" 0.0;
2197 to_x: "right_padding";
2198 to_y: "top_padding";
2202 to_x: "right_padding";
2203 to_y: "bottom_padding";
2208 part { name: "left_padding";
2211 description { state: "default" 0.0;
2212 min: ACTIONBAR_PADDING_SIZE_INC 0;
2213 max: ACTIONBAR_PADDING_SIZE_INC -1;
2216 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2217 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2220 part { name: "right_padding";
2223 description { state: "default" 0.0;
2224 min: ACTIONBAR_PADDING_SIZE_INC 0;
2225 max: ACTIONBAR_PADDING_SIZE_INC -1;
2228 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2229 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2232 part { name: "click_event_area";
2234 ignore_flags: ON_HOLD;
2235 description { state: "default" 0.0;
2236 rel1 { to: "title_bg"; }
2237 rel2 { to: "title_bg"; }
2241 part { name: "access.title";
2244 description { state: "default" 0.0;
2245 rel1.to: "title_bg";
2246 rel2.to: "title_bg";
2250 part { name: "top_padding";
2253 description { state: "default" 0.0;
2256 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2257 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2258 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2259 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2262 part { name: "bottom_padding";
2265 description { state: "default" 0.0;
2268 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2269 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2270 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2271 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2274 part { name: "elm.swallow.content";
2279 description { state: "default" 0.0;
2280 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2281 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2284 part { name: "elm.swallow.circle_bg";
2289 description { state: "default" 0.0; }
2291 part { name: "elm.swallow.circle";
2296 description { state: "default" 0.0; }
2298 part { name: "button_padding";
2301 description { state: "default" 0.0;
2306 rel1 {relative: 0.0 1.0; to: "base"; }
2307 rel2 {relative: 1.0 1.0; to: "base"; }
2312 program { name: "visible";
2313 signal: "elm,state,visible";
2316 set_state(PART:"base", "default", 0.0);
2317 set_state(PART:"clipper", "default", 0.0);
2320 run_program(PROGRAM:"title_text_fade_out");
2323 program { name: "invisible";
2324 signal: "elm,state,invisible";
2327 set_state(PART:"clipper", "hide", 0.0);
2330 program { name: "title_hide";
2331 signal: "elm,state,title,hide";
2334 set_state(PART:"title_bg", "hide", 0.0);
2335 set_state(PART:"title_clip", "hide", 0.0);
2338 program { name: "title_hide_trans";
2339 signal: "elm,action,title,hide";
2344 get_state(PART:"title_bg", st, 32, vl);
2345 if (!strcmp(st, "default")) {
2346 run_program(PROGRAM:"title_hide_trans2");
2350 program { name: "title_hide_trans2";
2351 action: STATE_SET "hide_trans" 0.0;
2353 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2354 after: "title_hide_trans3";
2356 program { name: "title_hide_trans3";
2358 run_program(PROGRAM:"title_hide");
2360 after: "title_trans_finished";
2362 program { name: "title_trans_finished";
2363 action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2365 program { name: "title_show";
2366 signal: "elm,state,title,show";
2369 set_state(PART:"title_bg", "default", 0.0);
2370 set_state(PART:"title_clip", "default", 0.0);
2371 run_program(PROGRAM:"title_text_fade_out");
2374 program { name: "title_show_trans";
2375 signal: "elm,action,title,show";
2380 get_state(PART:"title_bg", st, 32, vl);
2381 if (!strcmp(st, "hide")) {
2382 set_state(PART:"title_bg", "hide_trans", 0.0);
2383 set_state(PART:"title_clip", "default", 0.0);
2384 run_program(PROGRAM:"title_show_trans2");
2388 program { name: "title_show_trans2";
2389 action: STATE_SET "default" 0.0;
2391 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2392 after: "title_trans_finished";
2394 program { name: "title_label_show";
2395 signal: "elm,state,title_label,show";
2398 run_program(PROGRAM:"title_text_fade_out");
2401 program { name: "title_label_hide";
2402 signal: "elm,state,title_label,hide";
2405 program { name: "title_expand_show";
2406 signal: "elm,state,title_expand,show";
2409 set_state(PART:"title_expand", "show", 0.0);
2412 program { name: "title_expand_hide";
2413 signal: "elm,state,title_expand,hide";
2416 set_state(PART:"title_expand", "default", 0.0);
2419 program { name: "hidden_btn_show_trans";
2420 signal: "elm,action,title_expand,show";
2422 action: STATE_SET "show" 0.0;
2423 target: "title_expand";
2424 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2426 program { name: "title_expand_hide_trans";
2427 signal: "elm,action,title_expand,hide";
2429 action: STATE_SET "default" 0.0;
2430 target: "title_expand";
2431 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2433 program { name: "title_clicked";
2434 signal: "mouse,clicked,1";
2435 source: "click_event_area";
2436 action: SIGNAL_EMIT "elm,action,title,clicked" "";
2439 name: "mirrored_on";
2440 signal: "edje,state,rtl";
2443 set_int(g_mirrored, 1);
2444 run_program(PROGRAM:"title_text_fade_out");
2448 name: "mirrored_off";
2449 signal: "edje,state,ltr";
2452 set_int(g_mirrored, 0);
2453 run_program(PROGRAM:"title_text_fade_out");
2457 name: "title_text_fade_out";
2459 if (get_int(g_text_fade_out_calc_timer)) {
2460 cancel_timer(g_text_fade_out_calc_timer);
2461 set_int(g_text_fade_out_calc_timer, 0);
2463 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2469 //////////////////////////////////////////////////////////////////////////////////
2470 // Customizing panel for send button.
2471 //////////////////////////////////////////////////////////////////////////////////
2473 // ***************************** Panel*****************************************/
2474 #define PANEL_LEFT_PADDING_SIZE_INC 8
2475 #define PANEL_RIGHT_PADDING_SIZE_INC 6
2476 #define PANEL_LEFT_IMAGE_SIZE_INC 29 36
2477 #define PANEL_RIGHT_IMAGE_SIZE_INC 16 36
2478 #define PANEL_RIGHT_CUE_SIZE_INC 32 158
2479 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158
2480 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140
2481 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140
2482 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200
2483 #define PANEL_LAYOUT_SIZE_INC 360 360
2486 image, "./b_more_option.png" COMP;
2487 image, "./b_more_option_ef.png" COMP;
2488 image, "./b_more_option_bg.png" COMP;
2489 image, "./b_ic_press_full_circle_bg.png" COMP;
2492 group { name: "elm/panel/right1/default";
2494 public mouse_down = 0;
2495 public mouse_click = 0;
2496 public multi_down = 0;
2497 public click_cnt = 0;
2498 public event_down = 0;
2499 public cue_hide = 0;
2500 public timer0(val) {
2502 run_program(PROGRAM:"change_opacity");
2504 run_program(PROGRAM:"change_opacity2");
2511 description { state: "default" 0.0;
2512 min: PANEL_LAYOUT_SIZE_INC;
2513 max: PANEL_LAYOUT_SIZE_INC;
2514 //color_class: "transparent";
2518 part { name: "cue.padding";
2520 description { state: "default" 0.0;
2522 rel1.relative: 1.0 0.0;
2524 rel2.relative: 1.0 1.0;
2526 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2527 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2532 description { state: "default" 0.0;
2533 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2534 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2536 image.normal: "./b_more_option.png";
2537 color: 128 128 128 128;
2538 rel1.to: "cue.padding";
2539 rel1.relative: 0.0 0.0;
2540 rel2.to: "cue.padding";
2541 rel2.relative: 0.0 1.0;
2544 description { state: "hidden" 0.0;
2545 inherit: "default" 0.0;
2548 description { state: "disabled" 0.0;
2549 inherit: "default" 0.0;
2550 color: 128 128 128 128;
2553 part { name: "cue_ef";
2554 description { state: "default" 0.0;
2555 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2556 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2558 image.normal: "./b_more_option_ef.png";
2559 color: 128 128 128 128;
2563 description { state: "hidden" 0.0;
2564 inherit: "default" 0.0;
2568 part { name: "effect_bg";
2570 clip_to: "effect_bg_clip";
2572 description { state: "default" 0.0;
2573 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2574 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2576 rel1.relative: 1.0 0.0;
2578 rel2.relative: 1.0 1.0;
2581 image.normal: "./b_ic_press_full_circle_bg.png";
2582 color: 128 128 128 128;
2585 description { state: "pressed" 0.0;
2586 inherit: "default" 0.0;
2587 color: 128 128 128 128;
2593 description { state: "disabled" 0.0;
2594 inherit: "default" 0.0;
2596 description { state: "start_persp" 0.0;
2597 inherit: "default" 0.0;
2598 color: 128 128 128 128;
2605 part { name: "effect_bg_clip";
2609 description { state: "default" 0.0;
2610 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2611 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2613 rel1.relative: 1.0 0.0;
2615 rel2.relative: 1.0 1.0;
2618 color: 255 255 255 0;
2620 description { state: "pressed" 0.0;
2621 inherit: "default" 0.0;
2622 color: 255 255 255 255;
2624 description { state: "disabled" 0.0;
2625 inherit: "default" 0.0;
2628 part { name: "effect_bg2";
2630 clip_to: "effect_bg_clip2";
2632 description { state: "default" 0.0;
2633 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2634 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2636 rel1.relative: 1.0 0.0;
2638 rel2.relative: 1.0 1.0;
2641 image.normal: "./b_ic_press_full_circle_bg.png";
2642 //color_class: "transparent";
2646 description { state: "pressed" 0.0;
2647 inherit: "default" 0.0;
2648 color: 128 128 128 128;
2654 description { state: "disabled" 0.0;
2655 inherit: "default" 0.0;
2657 description { state: "start_persp" 0.0;
2658 inherit: "default" 0.0;
2659 color: 128 128 128 128;
2666 part { name: "effect_bg_clip2";
2670 description { state: "default" 0.0;
2671 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2672 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2674 rel1.relative: 1.0 0.0;
2676 rel2.relative: 1.0 1.0;
2679 color: 255 255 255 0;
2681 description { state: "pressed" 0.0;
2682 inherit: "default" 0.0;
2683 color: 255 255 255 255;
2685 description { state: "disabled" 0.0;
2686 inherit: "default" 0.0;
2689 part { name: "cue.event";
2692 description { state: "default" 0.0;
2693 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2694 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2696 //color_class: "transparent";
2699 rel1.relative: 1.0 0.0;
2701 rel2.relative: 1.0 1.0;
2704 description { state: "hidden" 0.0;
2705 inherit: "default" 0.0;
2709 part { name: "cue.release.event";
2712 description { state: "default" 0.0;
2713 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2714 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2716 //color_class: "transparent";
2719 rel1.relative: 1.0 0.0;
2721 rel2.relative: 1.0 1.0;
2724 description { state: "hidden" 0.0;
2725 inherit: "default" 0.0;
2729 part { name: "base";
2731 description { state: "default" 0.0;
2738 image.normal: "./b_more_option_bg.png";
2739 color: 128 128 128 128;
2752 description { state: "show" 0.0;
2753 inherit: "default" 0.0;
2760 color[0]: 255 255 255 255;
2761 color[1]: 255 255 255 255;
2762 color[2]: 255 255 255 255;
2763 color[3]: 255 255 255 255;
2767 part { name: "elm.swallow.content";
2769 description { state: "default" 0.0;
2786 description { state: "show" 0.0;
2787 inherit: "default" 0.0;
2794 color[0]: 255 255 255 255;
2795 color[1]: 255 255 255 255;
2796 color[2]: 255 255 255 255;
2797 color[3]: 255 255 255 255;
2803 program { name: "pressed";
2804 signal: "mouse,down,1*";
2805 source: "cue.event";
2807 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2809 set_int(mouse_down, 1);
2810 set_int(event_down, 1);
2811 run_program(PROGRAM:"button_press1");
2815 program { name: "button_press1";
2819 get_state(PART:"effect_bg", st, 30, vl);
2820 if (strcmp(st, "disabled")) {
2821 emit("elm,action,press", "");
2822 run_program(PROGRAM:"haptic");
2823 if(get_int(click_cnt) == 0) {
2824 set_state(PART:"effect_bg", "pressed", 0.0);
2825 set_state(PART:"effect_bg_clip", "pressed", 0.0);
2826 run_program(PROGRAM:"start_persp");
2827 timer(0.3, "timer0", 1);
2829 else if(get_int(click_cnt) == 1) {
2830 set_state(PART:"effect_bg2", "pressed", 0.0);
2831 set_state(PART:"effect_bg_clip2", "pressed", 0.0);
2832 run_program(PROGRAM:"start_persp2");
2833 timer(0.3, "timer0", 2);
2838 program { name: "unpressed";
2839 signal: "mouse,up,1";
2840 source: "cue.event";
2842 if (get_int(mouse_down) == 1) {
2843 set_int(mouse_down, 0);
2844 run_program(PROGRAM:"button_unpress1");
2848 program { name: "button_unpress1";
2852 get_state(PART:"effect_bg", st, 30, vl);
2853 if (strcmp(st, "disabled")) {
2854 if(get_int(click_cnt) == 0)
2855 set_int(click_cnt, 1);
2857 set_int(click_cnt, 0);
2861 program { name: "release.event_clicked";
2862 signal: "mouse,clicked,*";
2863 source: "cue.release.event";
2865 if (get_int(event_down) == 1) {
2866 set_int(event_down, 0);
2867 emit("cue,clicked", "elm");
2868 run_program(PROGRAM:"panel_toggle");
2869 run_program(PROGRAM:"play_sample");
2874 name: "play_sample";
2875 action: RUN_PLUGIN "touch_sound";
2877 program { name: "panel_toggle";
2878 action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
2882 action: RUN_PLUGIN "haptic_tap";
2884 program { name: "disable";
2885 signal: "elm,state,disabled";
2888 if (get_int(cue_hide) == 0)
2889 set_state(PART:"cue", "disabled", 0.0);
2890 set_state(PART:"effect_bg", "disabled", 0.0);
2891 set_state(PART:"cue.event", "hidden", 0.0);
2892 set_state(PART:"cue.release.event", "hidden", 0.0);
2895 program { name: "enable";
2896 signal: "elm,state,enabled";
2899 if (get_int(cue_hide) == 1) {
2900 set_state(PART:"cue", "hidden", 0.0);
2901 set_state(PART:"cue.event", "hidden", 0.0);
2902 set_state(PART:"cue.release.event", "hidden", 0.0);
2905 set_state(PART:"cue", "default", 0.0);
2906 set_state(PART:"cue.event", "default", 0.0);
2907 set_state(PART:"cue.release.event", "default", 0.0);
2909 set_state(PART:"effect_bg", "default", 0.0);
2912 program { name: "multi_down";
2913 signal: "elm,action,multi,down";
2916 set_int(multi_down, 1);
2919 program { name: "multi_up";
2920 signal: "elm,action,multi,up";
2923 set_int(multi_down, 0);
2926 program { name: "start_persp";
2927 action: STATE_SET "start_persp" 0.0;
2928 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2929 target: "effect_bg";
2931 program { name: "change_opacity";
2932 action: STATE_SET "default" 0.0;
2933 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2934 target: "effect_bg_clip";
2936 program { name: "start_persp2";
2937 action: STATE_SET "start_persp" 0.0;
2938 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2939 target: "effect_bg2";
2941 program { name: "change_opacity2";
2942 action: STATE_SET "default" 0.0;
2943 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
2944 target: "effect_bg_clip2";
2947 signal: "elm,action,show";
2949 action: STATE_SET "show" 0.0;
2950 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2951 target: "elm.swallow.content";
2953 after: "active,finished";
2956 signal: "elm,action,hide";
2958 action: STATE_SET "default" 0.0;
2959 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
2960 target: "elm.swallow.content";
2962 after: "inactive,finished";
2964 program { name: "active,finished";
2965 action: SIGNAL_EMIT "elm,state,active,finished" "elm";
2967 program { name: "inactive,finished";
2968 action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
2970 program { name: "cue,hide";
2974 set_int(cue_hide, 1);
2975 set_state(PART:"cue", "hidden", 0.0);
2976 set_state(PART:"cue_ef", "hidden", 0.0);
2977 set_state(PART:"cue.event", "hidden", 0.0);
2978 set_state(PART:"cue.release.event", "hidden", 0.0);
2981 program { name: "cue,show";
2985 set_int(cue_hide, 0);
2986 set_state(PART:"cue", "default", 0.0);
2987 set_state(PART:"cue_ef", "default", 0.0);
2988 set_state(PART:"cue.event", "default", 0.0);
2989 set_state(PART:"cue.release.event", "default", 0.0);
2995 group { name: "elm/panel/left1/default";
2996 inherit: "elm/panel/right1/default";
2998 part { name: "cue.padding";
3000 description { state: "default" 0.0;
3002 rel1.relative: 0.0 0.0;
3004 rel2.relative: 0.0 1.0;
3006 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3007 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3012 description { state: "default" 0.0;
3013 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3014 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3016 image.normal: "./b_more_option.png";
3017 color: 128 128 128 128;
3018 rel1.to: "cue.padding";
3019 rel1.relative: 1.0 0.0;
3020 rel2.to: "cue.padding";
3021 rel2.relative: 1.0 1.0;
3024 description { state: "hidden" 0.0;
3025 inherit: "default" 0.0;
3028 description { state: "disabled" 0.0;
3029 inherit: "default" 0.0;
3030 color: 128 128 128 128;
3033 part { name: "cue_ef";
3034 description { state: "default" 0.0;
3035 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3036 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3038 image.normal: "./b_more_option_ef.png";
3039 color: 128 128 128 128;
3043 description { state: "hidden" 0.0;
3044 inherit: "default" 0.0;
3048 part { name: "effect_bg";
3050 clip_to: "effect_bg_clip";
3052 description { state: "default" 0.0;
3053 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3054 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3056 rel1.relative: 0.0 0.0;
3058 rel2.relative: 0.0 1.0;
3061 image.normal: "./b_ic_press_full_circle_bg.png";
3062 color: 128 128 128 128;
3065 description { state: "pressed" 0.0;
3066 inherit: "default" 0.0;
3067 color: 128 128 128 128;
3073 description { state: "disabled" 0.0;
3074 inherit: "default" 0.0;
3076 description { state: "start_persp" 0.0;
3077 inherit: "default" 0.0;
3078 color: 128 128 128 128;
3085 part { name: "effect_bg_clip";
3089 description { state: "default" 0.0;
3090 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3091 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3093 rel1.relative: 0.0 0.0;
3095 rel2.relative: 0.0 1.0;
3098 color: 255 255 255 0;
3100 description { state: "pressed" 0.0;
3101 inherit: "default" 0.0;
3102 color: 255 255 255 255;
3104 description { state: "disabled" 0.0;
3105 inherit: "default" 0.0;
3108 part { name: "effect_bg2";
3110 clip_to: "effect_bg_clip2";
3112 description { state: "default" 0.0;
3113 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3114 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3116 rel1.relative: 0.0 0.0;
3118 rel2.relative: 0.0 1.0;
3121 image.normal: "./b_ic_press_full_circle_bg.png";
3122 //color_class: "transparent";
3126 description { state: "pressed" 0.0;
3127 inherit: "default" 0.0;
3128 color: 128 128 128 128;
3134 description { state: "disabled" 0.0;
3135 inherit: "default" 0.0;
3137 description { state: "start_persp" 0.0;
3138 inherit: "default" 0.0;
3139 color: 128 128 128 128;
3146 part { name: "effect_bg_clip2";
3150 description { state: "default" 0.0;
3151 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3152 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3154 rel1.relative: 0.0 0.0;
3156 rel2.relative: 0.0 1.0;
3159 color: 255 255 255 0;
3161 description { state: "pressed" 0.0;
3162 inherit: "default" 0.0;
3163 color: 255 255 255 255;
3165 description { state: "disabled" 0.0;
3166 inherit: "default" 0.0;
3169 part { name: "cue.event";
3171 description { state: "default" 0.0;
3172 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3173 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3175 //color_class: "transparent";
3178 rel1.relative: 0.0 0.0;
3180 rel2.relative: 0.0 1.0;
3183 description { state: "hidden" 0.0;
3184 inherit: "default" 0.0;
3188 part { name: "cue.release.event";
3191 description { state: "default" 0.0;
3192 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3193 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3195 //color_class: "transparent";
3198 rel1.relative: 0.0 0.0;
3200 rel2.relative: 0.0 1.0;
3203 description { state: "hidden" 0.0;
3204 inherit: "default" 0.0;
3211 group { name: "elm/panel/left_sending/default";
3212 inherit: "elm/panel/left1/default";
3214 part { name: "cue.padding";
3216 description { state: "default" 0.0;
3218 rel1.relative: 0.0 0.0;
3220 rel2.relative: 0.0 1.0;
3222 min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3223 max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3228 description { state: "default" 0.0;
3229 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3230 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3232 image.normal: "./b_stt_send_icon.png";
3233 color: 128 128 128 128;
3234 rel1.to: "cue.padding";
3235 rel1.relative: 1.0 0.0;
3236 rel2.to: "cue.padding";
3237 rel2.relative: 1.0 1.0;
3240 description { state: "hidden" 0.0;
3241 inherit: "default" 0.0;
3244 description { state: "disabled" 0.0;
3245 inherit: "default" 0.0;
3246 color_class: "AO015L2D";//"B052L1D";
3249 part { name: "cue_ef";
3250 description { state: "default" 0.0;
3251 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3252 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3255 image.normal: "./b_more_option_ef.png";
3256 color: 128 128 128 128;
3260 description { state: "hidden" 0.0;
3261 inherit: "default" 0.0;
3268 group { name: "elm/panel/left_confirm/default";
3269 inherit: "elm/panel/left_sending/default";
3272 description { state: "default" 0.0;
3273 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3274 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3276 image.normal: "./b_stt_confirm_icon.png";
3277 color: 128 128 128 128;
3278 rel1.to: "cue.padding";
3279 rel1.relative: 1.0 0.0;
3280 rel2.to: "cue.padding";
3281 rel2.relative: 1.0 1.0;
3284 description { state: "hidden" 0.0;
3285 inherit: "default" 0.0;
3288 description { state: "disabled" 0.0;
3289 inherit: "default" 0.0;
3290 color_class: "AO015L2D";//"B052L1D";