1 #include "w-input-stt-button.edc"
3 #define VOICE_CANDIDATE_AREA_HEIGHT 56
4 #define BUTTON_TEXT_SIZE_INC 85
14 param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP";
15 /* 2014.06.11 updated from libsvi(feedback)
16 Above plugin will run below external function:
17 int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern);
19 param1: feedback_type_e
20 FEEDBACK_TYPE_NONE = 0,
21 FEEDBACK_TYPE_SOUND = 1,
22 FEEDBACK_TYPE_VIBRATION,
27 FEEDBACK_PATTERN_TAP = 0,
29 FEEDBACK_PATTERN_SIP_BACKSPACE,
30 FEEDBACK_PATTERN_SIP_FUNCTION,
31 FEEDBACK_PATTERN_SIP_FJKEY,
34 * Fore information, please refer the libsvi libraries.
35 * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi
36 * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi
42 param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP";
48 image, "./bg/B13_mic_bg.png" COMP;
49 image, "./icon/B13_mic.png" COMP;
50 image, "./icon/B13_mic_Que.png" COMP;
51 image, "./icon/B13_mic_Que_01.png" COMP;
52 image, "./icon/B13_mic_procecessing_bg.png" COMP;
53 image, "./text_downdrop.#.png" COMP;
54 image, "./text_downdrop_press.#.png" COMP;
56 image, "./input_ic_voice_mic.png" COMP;
57 image, "./w_sip_mask_bg.png" COMP;
58 image, "./tw_bottom_btn_bg.png" COMP;
60 image, "./w_mode_ic_bg.png" COMP;
62 image, "./b_stt_text_fade_out.png" COMP;
63 image, "./b_stt_icon_btn.png" COMP;
64 image, "./b_stt_confirm_icon.png" COMP;
65 image, "./b_stt_send_icon.png" COMP;
163 color: 163 163 163 100;
168 color: 97 12 117 255;
178 color: 110 110 110 100;
193 color: 122 122 122 100;
303 color: 102 102 102 100;
389 color: 128 128 128 100;
440 style { name, "textblock_style";
441 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
444 tag, "hilight" "+ font=Tizen:style=Bold";
445 tag, "b" "+ font=Tizen:style=Bold";
448 style { name, "textblock_style_bottom";
449 base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0";
452 tag, "hilight" "+ font=Tizen:style=Bold";
453 tag, "b" "+ font=Tizen:style=Bold";
456 style { name: "button_general_text_dim";
457 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed";
459 style { name: "button_general_text_press";
460 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#888888 ellipsis=0.0 wrap=mixed";
462 style { name: "button_general_text_normal";
463 base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed";
479 state, "default" 0.0;
489 color_class, "AO0118";
499 state, "default" 0.0;
521 state, "default" 0.0;
542 name, "left_panel_area";
546 state, "default" 0.0;
569 state, "default" 0.0;
582 image.normal, "./tw_bottom_btn_bg.png";
583 color: 128 128 128 128;
587 state, "pressed" 0.0;
588 inherit, "default" 0.0;
589 color: 128 128 128 128;
594 inherit, "default" 0.0;
595 color: 128 128 128 128;
601 name, "EFFECT_BG_AREA";
605 state, "default" 0.0;
631 relative, 0 (360+64)/360;
637 relative, 1 (360+64)/360;
652 state, "default" 0.0;
657 to, "EFFECT_BG_AREA";
662 to, "EFFECT_BG_AREA";
667 state, "default" 0.1;
668 inherit, "default" 0.0;
681 state, "default" 0.0;
686 relative, 155/360 26/100;
691 relative, 205/360 76/100;
694 image.normal, "./input_ic_voice_mic.png";
698 state, "recording" 0.0;
699 inherit, "default" 0.0;
704 state, "processing" 0.0;
705 inherit, "default" 0.0;
710 state, "message" 0.0;
711 inherit, "default" 0.0;
714 relative, 155/360 41/100;
719 relative, 205/360 91/100;
728 //Part for mic button
736 state, "default" 0.0;
742 relative, 35/360 0.0;
747 relative, 325/360 1.0;
754 name, "PROGRESS_BAR";
759 state, "default" 0.0;
765 relative, 155/360 27/100;
770 relative, 205/360 77/100;
776 state, "message" 0.0;
777 inherit, "default" 0.0;
781 state, "processing" 0.0;
782 inherit, "default" 0.0;
789 name, "guide_text_block";
793 state, "default" 0.0;
797 relative, 39/360 140/360;
802 relative, (360-39)/360 (140+42)/360;
812 relative, 74/360 (360-91)/360;
817 relative, (360-74)/360 (360-57)/360;
831 state, "default" 0.0;
834 rel1.to, "guide_text_block";
835 rel2.to, "guide_text_block";
839 style, "textblock_style";
841 color, 120 120 120 120;
846 inherit, "default" 0.0;
850 style, "textblock_style_bottom";
852 color, 120 120 120 120;
861 name, "initial_view";
862 signal, "mouse,clicked,1";
863 source, "background";
865 after, "emit_signal1";
870 name, "emit_signal1";
871 action, SIGNAL_EMIT "idle,state,pulse,visible" "";
877 signal, "elm,state,listening";
879 action, STATE_SET "recording" 0.0;
885 name, "start_processing";
886 signal, "elm,state,processing";
888 action, STATE_SET "processing" 0.0;
889 target, "PROGRESS_BAR";
891 transition, DECELERATE 0.3;
897 signal, "elm,state,init";
899 action, STATE_SET "default" 0.0;
900 target, "PROGRESS_BAR";
902 transition, DECELERATE 0.3;
906 name, "idle_message";
907 signal, "elm,state,init_message";
909 action, STATE_SET "message" 0.0;
910 target, "PROGRESS_BAR";
917 signal, "idle,state,text,visible";
919 action, STATE_SET "expand" 0.0;
926 signal, "idle,state,text,hidden";
928 action, STATE_SET "default" 0.0;
934 name, "show_effect_part";
935 signal, "elm,state,eq,show";
937 action, STATE_SET "default" 0.1;
943 name, "hide_effect_part";
944 signal, "elm,state,eq,hide";
946 action, STATE_SET "default" 0.0;
952 name, "guide_text_up";
953 signal, "idle,state,guide_text,up";
955 action, STATE_SET "default" 0.0;
956 target, "guide_text_block";
960 name, "guide_text_bottom";
961 signal, "idle,state,guide_text,bottom";
963 action, STATE_SET "bottom" 0.0;
964 target, "guide_text_block";
973 name: "option_more_index";
983 state: "default" 0.0;
995 state: "default" 0.0;
1007 state: "default" 0.0;
1013 rel1.relative: 0.0 0.0;
1015 rel2.relative: 1.0 0.0;
1023 name, "language_list";
1033 state, "default" 0.0;
1055 state, "default" 0.0;
1072 name: "layout_textblock";
1075 public timer_cb(val) {
1076 run_program(PROGRAM:"do_scroll");
1088 state, "default" 0.0;
1100 part { name: "elm.swallow.content";
1103 description { state: "default" 0.0;
1105 color, 120 120 120 120;
1113 signal, "scrolling";
1116 timer(3/10, "timer_cb", 0);
1122 action, SIGNAL_EMIT "do_scroll" "entry";
1127 group{ name: "entry_focused_layout";
1136 state, "default" 0.0;
1146 color, 120 120 120 120;
1149 part { name: "padding_top";
1153 state: "default" 0.0;
1155 rel1.relative: 0.0 0.0;
1156 rel2.relative: 1.0 0.0;
1161 part { name: "padding_left";
1165 state: "default" 0.0;
1167 rel1.relative: 0.0 0.0;
1168 rel2.relative: 0.0 1.0;
1173 part { name: "padding_right";
1177 state: "default" 0.0;
1179 rel1.relative: 1.0 0.0;
1180 rel2.relative: 1.0 1.0;
1190 state: "default" 0.0;
1191 rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
1192 rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";}
1203 #define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50
1206 name: "elm/progressbar/horizontal/voice_input/process/small";
1208 image: "style/tw_loading_small_00.png" COMP;
1209 image: "style/tw_loading_small_01.png" COMP;
1210 image: "style/tw_loading_small_02.png" COMP;
1211 image: "style/tw_loading_small_03.png" COMP;
1212 image: "style/tw_loading_small_04.png" COMP;
1213 image: "style/tw_loading_small_05.png" COMP;
1214 image: "style/tw_loading_small_06.png" COMP;
1215 image: "style/tw_loading_small_07.png" COMP;
1216 image: "style/tw_loading_small_08.png" COMP;
1217 image: "style/tw_loading_small_09.png" COMP;
1218 image: "style/tw_loading_small_10.png" COMP;
1219 image: "style/tw_loading_small_11.png" COMP;
1220 image: "style/tw_loading_small_12.png" COMP;
1221 image: "style/tw_loading_small_13.png" COMP;
1222 image: "style/tw_loading_small_14.png" COMP;
1223 image: "style/tw_loading_small_15.png" COMP;
1224 image: "style/tw_loading_small_16.png" COMP;
1225 image: "style/tw_loading_small_17.png" COMP;
1226 image: "style/tw_loading_small_18.png" COMP;
1227 image: "style/tw_loading_small_19.png" COMP;
1228 image: "style/tw_loading_small_20.png" COMP;
1229 image: "style/tw_loading_small_21.png" COMP;
1230 image: "style/tw_loading_small_22.png" COMP;
1231 image: "style/tw_loading_small_23.png" COMP;
1232 image: "style/tw_loading_small_24.png" COMP;
1233 image: "style/tw_loading_small_25.png" COMP;
1234 image: "style/tw_loading_small_26.png" COMP;
1235 image: "style/tw_loading_small_27.png" COMP;
1236 image: "style/tw_loading_small_28.png" COMP;
1237 image: "style/tw_loading_small_29.png" COMP;
1238 image: "style/tw_loading_small_30.png" COMP;
1239 image: "style/tw_loading_small_31.png" COMP;
1240 image: "style/tw_loading_small_32.png" COMP;
1241 image: "style/tw_loading_small_33.png" COMP;
1242 image: "style/tw_loading_small_34.png" COMP;
1243 image: "style/tw_loading_small_35.png" COMP;
1244 image: "style/tw_loading_small_36.png" COMP;
1245 image: "style/tw_loading_small_37.png" COMP;
1246 image: "style/tw_loading_small_38.png" COMP;
1247 image: "style/tw_loading_small_39.png" COMP;
1248 image: "style/tw_loading_small_40.png" COMP;
1249 image: "style/tw_loading_small_41.png" COMP;
1250 image: "style/tw_loading_small_42.png" COMP;
1251 image: "style/tw_loading_small_43.png" COMP;
1252 image: "style/tw_loading_small_44.png" COMP;
1253 image: "style/tw_loading_small_45.png" COMP;
1254 image: "style/tw_loading_small_46.png" COMP;
1255 image: "style/tw_loading_small_47.png" COMP;
1256 image: "style/tw_loading_small_48.png" COMP;
1257 image: "style/tw_loading_small_49.png" COMP;
1258 image: "style/tw_loading_small_50.png" COMP;
1259 image: "style/tw_loading_small_51.png" COMP;
1260 image: "style/tw_loading_small_52.png" COMP;
1261 image: "style/tw_loading_small_53.png" COMP;
1262 image: "style/tw_loading_small_54.png" COMP;
1263 image: "style/tw_loading_small_55.png" COMP;
1264 image: "style/tw_loading_small_56.png" COMP;
1265 image: "style/tw_loading_small_57.png" COMP;
1266 image: "style/tw_loading_small_58.png" COMP;
1267 image: "style/tw_loading_small_59.png" COMP;
1268 image: "style/tw_loading_small_60.png" COMP;
1269 image: "style/tw_loading_small_61.png" COMP;
1270 image: "style/tw_loading_small_62.png" COMP;
1271 image: "style/tw_loading_small_63.png" COMP;
1272 image: "style/tw_loading_small_64.png" COMP;
1280 state: "default" 0.0;
1286 name: "elm.background.progressbar";
1291 state: "default" 0.0;
1298 clip_to: "elm.background.progressbar";
1300 state: "default" 0.0;
1301 min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1302 max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1305 aspect_preference: BOTH;
1306 image.normal: "style/tw_loading_small_00.png";
1307 image.tween: "style/tw_loading_small_01.png";
1308 image.tween: "style/tw_loading_small_02.png";
1309 image.tween: "style/tw_loading_small_03.png";
1310 image.tween: "style/tw_loading_small_04.png";
1311 image.tween: "style/tw_loading_small_05.png";
1312 image.tween: "style/tw_loading_small_06.png";
1313 image.tween: "style/tw_loading_small_07.png";
1314 image.tween: "style/tw_loading_small_08.png";
1315 image.tween: "style/tw_loading_small_09.png";
1316 image.tween: "style/tw_loading_small_10.png";
1317 image.tween: "style/tw_loading_small_11.png";
1318 image.tween: "style/tw_loading_small_12.png";
1319 image.tween: "style/tw_loading_small_13.png";
1320 image.tween: "style/tw_loading_small_14.png";
1321 image.tween: "style/tw_loading_small_15.png";
1322 image.tween: "style/tw_loading_small_16.png";
1323 image.tween: "style/tw_loading_small_17.png";
1324 image.tween: "style/tw_loading_small_18.png";
1325 image.tween: "style/tw_loading_small_19.png";
1326 image.tween: "style/tw_loading_small_20.png";
1327 image.tween: "style/tw_loading_small_21.png";
1328 image.tween: "style/tw_loading_small_22.png";
1329 image.tween: "style/tw_loading_small_23.png";
1330 image.tween: "style/tw_loading_small_24.png";
1331 image.tween: "style/tw_loading_small_25.png";
1332 image.tween: "style/tw_loading_small_26.png";
1333 image.tween: "style/tw_loading_small_27.png";
1334 image.tween: "style/tw_loading_small_28.png";
1335 image.tween: "style/tw_loading_small_29.png";
1336 image.tween: "style/tw_loading_small_30.png";
1337 image.tween: "style/tw_loading_small_31.png";
1338 image.tween: "style/tw_loading_small_32.png";
1339 image.tween: "style/tw_loading_small_33.png";
1340 image.tween: "style/tw_loading_small_34.png";
1341 image.tween: "style/tw_loading_small_35.png";
1342 image.tween: "style/tw_loading_small_36.png";
1343 image.tween: "style/tw_loading_small_37.png";
1344 image.tween: "style/tw_loading_small_38.png";
1345 image.tween: "style/tw_loading_small_39.png";
1346 image.tween: "style/tw_loading_small_40.png";
1347 image.tween: "style/tw_loading_small_41.png";
1348 image.tween: "style/tw_loading_small_42.png";
1349 image.tween: "style/tw_loading_small_43.png";
1350 image.tween: "style/tw_loading_small_44.png";
1351 image.tween: "style/tw_loading_small_45.png";
1352 image.tween: "style/tw_loading_small_46.png";
1353 image.tween: "style/tw_loading_small_47.png";
1354 image.tween: "style/tw_loading_small_48.png";
1355 image.tween: "style/tw_loading_small_48.png";
1356 image.tween: "style/tw_loading_small_49.png";
1357 image.tween: "style/tw_loading_small_50.png";
1358 image.tween: "style/tw_loading_small_51.png";
1359 image.tween: "style/tw_loading_small_52.png";
1360 image.tween: "style/tw_loading_small_53.png";
1361 image.tween: "style/tw_loading_small_54.png";
1362 image.tween: "style/tw_loading_small_55.png";
1363 image.tween: "style/tw_loading_small_56.png";
1364 image.tween: "style/tw_loading_small_57.png";
1365 image.tween: "style/tw_loading_small_58.png";
1366 image.tween: "style/tw_loading_small_59.png";
1367 image.tween: "style/tw_loading_small_60.png";
1368 image.tween: "style/tw_loading_small_61.png";
1369 image.tween: "style/tw_loading_small_62.png";
1370 image.tween: "style/tw_loading_small_63.png";
1371 image.tween: "style/tw_loading_small_64.png";
1372 color: 128 128 128 128;
1378 name: "start_pulse";
1379 signal: "elm,state,pulse,start";
1381 action: STATE_SET "default" 0.0;
1383 transition: LINEAR 1.8;
1384 after: "start_pulse";
1388 signal: "elm,state,pulse,stop";
1390 action: ACTION_STOP;
1391 target: "start_pulse";
1392 after: "init_pulse";
1394 program { name: "init_pulse";
1395 action: STATE_SET "default" 0.0;
1402 #define BUTTON_PADDING_SIZE_INC 20 0
1403 #define BUTTON_HEIGHT_INC 122
1404 #define BUTTON_ICON_SIZE_INC 60 60
1405 group { name: "elm/button/base/default";
1407 public mouse_down = 0;
1408 public multi_down = 0;
1414 description { state: "default" 0.0;
1415 min: 0 BUTTON_HEIGHT_INC;
1416 color_class: "W011";
1418 description { state: "pressed" 0.0;
1419 inherit: "default" 0.0;
1420 color_class: "W011P";
1422 description { state: "disabled" 0.0;
1423 inherit: "default" 0.0;
1424 color_class: "W011D";
1427 part { name: "padding_left_top";
1430 description { state: "default" 0.0;
1432 rel2.relative: 0.0 0.0;
1433 min: BUTTON_PADDING_SIZE_INC;
1437 part { name: "padding_right_bottom";
1440 description { state: "default" 0.0;
1442 rel1.relative: 1.0 1.0;
1443 min: BUTTON_PADDING_SIZE_INC;
1447 part { name: "icon_rect";
1450 description { state: "default" 0.0;
1454 to: "padding_left_top";
1458 to_x: "padding_left_top";
1459 to_y: "padding_right_bottom";
1464 description { state: "visible" 0.0;
1465 inherit: "default" 0.0;
1466 min: BUTTON_ICON_SIZE_INC;
1467 max: BUTTON_ICON_SIZE_INC;
1471 part { name: "elm.swallow.content";
1473 clip_to: "elm.swallow.content.clip";
1475 description { state: "default" 0.0;
1480 to: "padding_left_top";
1484 to_x: "padding_left_top";
1485 to_y: "padding_right_bottom";
1489 description { state: "visible" 0.0;
1491 min: BUTTON_ICON_SIZE_INC;
1492 max: BUTTON_ICON_SIZE_INC;
1497 to_y: "padding_left_top";
1502 to_y: "padding_right_bottom";
1505 description { state: "icononly" 0.0;
1506 min: BUTTON_ICON_SIZE_INC;
1507 max: BUTTON_ICON_SIZE_INC;
1510 part { name: "elm.text";
1514 description { state: "default" 0.0;
1519 to_y: "padding_left_top";
1523 to: "padding_right_bottom";
1527 style: "button_general_text_normal";
1530 description { state: "disabled" 0.0;
1531 inherit: "default" 0.0;
1532 text.style: "button_general_text_dim";
1534 description { state: "pressed" 0.0;
1535 inherit: "default" 0.0;
1536 text.style: "button_general_text_press";
1539 part { name: "elm.swallow.content.clip";
1542 description { state: "default" 0.0;
1543 color_class: "F022L1i";
1545 description { state: "disabled" 0.0;
1546 inherit: "default" 0.0;
1547 color_class: "F022L1iD";
1550 part { name: "event";
1553 description { state: "default" 0.0;
1561 program { name: "pressed";
1562 signal: "mouse,down,1*";
1565 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1567 set_int(mouse_down, 1);
1568 run_program(PROGRAM:"button_press1");
1572 program { name: "button_press1";
1576 get_state(PART:"bg", st, 30, vl);
1577 if (strcmp(st, "disabled")) {
1578 set_state(PART:"bg", "pressed", 0.0);
1579 set_state(PART:"elm.text", "pressed", 0.0);
1580 emit("elm,action,press", "");
1584 program { name: "unpressed";
1585 signal: "mouse,up,1";
1588 if (get_int(mouse_down) == 1) {
1589 set_int(mouse_down, 0);
1590 run_program(PROGRAM:"button_unpress1");
1594 program { name: "button_unpress1";
1598 get_state(PART:"bg", st, 30, vl);
1599 if (strcmp(st, "disabled")) {
1600 set_state(PART:"bg", "default", 0.0);
1601 set_state(PART:"elm.text", "default", 0.0);
1602 emit("elm,action,unpress", "");
1606 program { name: "touch_snd";
1607 signal: "mouse,clicked,1";
1612 if (get_int(multi_down) == 0) {
1613 get_state(PART:"bg", st, 30, vl);
1614 if (strcmp(st, "disabled")) {
1615 //run_program(PROGRAM:"play_sample");
1616 emit("elm,action,click", "");
1622 name: "play_sample";
1623 action: RUN_PLUGIN "touch_sound";
1625 program { name: "text_show";
1626 signal: "elm,state,text,visible";
1631 get_state(PART:"elm.swallow.content", st, 30, vl);
1632 if (!strcmp(st, "icononly"))
1634 set_state(PART:"elm.swallow.content", "visible", 0.0);
1635 set_state(PART:"icon_rect", "visible", 0.0);
1637 get_state(PART:"bg", st, 30, vl);
1638 if (strcmp(st, "disabled"))
1639 set_state(PART:"elm.text", "default", 0.0);
1641 set_state(PART:"elm.text", "disabled", 0.0);
1644 program { name: "text_hide";
1645 signal: "elm,state,text,hidden";
1650 get_state(PART:"elm.swallow.content", st, 30, vl);
1651 if (!strcmp(st, "visible"))
1653 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1654 set_state(PART:"icon_rect", "default", 0.0);
1656 set_state(PART:"elm.text", "default", 0.0);
1659 program { name: "icon_show";
1660 signal: "elm,state,icon,visible";
1662 action: STATE_SET "visible" 0.0;
1663 target: "elm.swallow.content";
1664 target: "icon_rect";
1666 program { name: "icon_hide";
1667 signal: "elm,state,icon,hidden";
1669 action: STATE_SET "default" 0.0;
1670 target: "elm.swallow.content";
1671 target: "icon_rect";
1673 program { name: "disable";
1674 signal: "elm,state,disabled";
1676 action: STATE_SET "disabled" 0.0;
1678 target: "elm.swallow.content.clip";
1681 program { name: "enable";
1682 signal: "elm,state,enabled";
1684 action: STATE_SET "default" 0.0;
1686 target: "elm.swallow.content.clip";
1689 program { name: "multi_down";
1690 signal: "elm,action,multi,down";
1693 set_int(multi_down, 1);
1696 program { name: "multi_up";
1697 signal: "elm,action,multi,up";
1700 set_int(multi_down, 0);
1706 group { name: "elm/button/base/ime_transparent";
1707 inherit: "elm/button/base/default";
1712 description { state: "default" 0.0;
1716 description { state: "pressed" 0.0;
1717 inherit: "default" 0.0;
1719 description { state: "disabled" 0.0;
1720 inherit: "default" 0.0;
1726 group { name: "elm/button/base/ime_button";
1727 alias: "elm/button/base/ime_button_stt";
1728 inherit: "elm/button/base/default";
1733 description { state: "default" 0.0;
1735 color_class: "AO01153L1";
1737 image.normal: "./w_mode_ic_bg.png";
1739 description { state: "pressed" 0.0;
1740 inherit: "default" 0.0;
1741 color_class: "AO01153L1P";
1743 description { state: "disabled" 0.0;
1744 inherit: "default" 0.0;
1745 color_class: "W011D";
1748 part { name: "elm.swallow.content";
1751 clip_to: "elm.swallow.content.clip";
1752 description { state: "default" 0.0;
1755 rel1 { relative: 0.0 0.0; to: "bg";}
1756 rel2 { relative: 1.0 1.0; to: "bg";}
1759 description { state: "visible" 0.0;
1760 inherit: "default" 0.0;
1763 description { state: "icononly" 0.0;
1764 inherit: "default" 0.0;
1771 program { name: "pressed";
1772 signal: "mouse,down,1*";
1775 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1777 set_int(mouse_down, 1);
1778 run_program(PROGRAM:"button_press1");
1782 program { name: "button_press1";
1786 get_state(PART:"bg", st, 30, vl);
1787 if (strcmp(st, "disabled")) {
1788 set_state(PART:"bg", "pressed", 0.0);
1789 set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1790 emit("elm,action,press", "");
1794 program { name: "unpressed";
1795 signal: "mouse,up,1";
1798 if (get_int(mouse_down) == 1) {
1799 set_int(mouse_down, 0);
1800 run_program(PROGRAM:"button_unpress1");
1804 program { name: "button_unpress1";
1808 get_state(PART:"bg", st, 30, vl);
1809 if (strcmp(st, "disabled")) {
1810 set_state(PART:"bg", "default", 0.0);
1811 set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1812 emit("elm,action,unpress", "");
1819 group { name: "elm/button/base/ime_button_emoticon";
1820 inherit: "elm/button/base/ime_button";
1825 description { state: "default" 0.0;
1827 color_class: "AO01154L1";
1829 image.normal: "./w_mode_ic_bg.png";
1831 description { state: "pressed" 0.0;
1832 inherit: "default" 0.0;
1833 color_class: "AO01154L1P";
1835 description { state: "disabled" 0.0;
1836 inherit: "default" 0.0;
1837 color_class: "W011D";
1843 group { name: "elm/button/base/ime_button_keyboard";
1844 inherit: "elm/button/base/ime_button";
1849 description { state: "default" 0.0;
1851 color_class: "AO01155L1";
1853 image.normal: "./w_mode_ic_bg.png";
1855 description { state: "pressed" 0.0;
1856 inherit: "default" 0.0;
1857 color_class: "AO01155L1P";
1859 description { state: "disabled" 0.0;
1860 inherit: "default" 0.0;
1861 color_class: "W011D";
1867 group { name: "elm/button/base/ime_button_template";
1868 inherit: "elm/button/base/ime_button";
1873 description { state: "default" 0.0;
1876 color_class: "AO01161";
1878 image.normal: "./w_mode_ic_bg.png";
1880 description { state: "pressed" 0.0;
1881 inherit: "default" 0.0;
1882 color_class: "AO01161P";
1884 description { state: "disabled" 0.0;
1885 inherit: "default" 0.0;
1886 color_class: "AO01161D";
1889 part { name: "elm.swallow.content.clip";
1892 description { state: "default" 0.0;
1893 color_class: "AO01153L3";
1895 description { state: "pressed" 0.0;
1896 inherit: "default" 0.0;
1897 color_class: "AO01153L3P";
1899 description { state: "disabled" 0.0;
1900 inherit: "default" 0.0;
1901 color_class: "AO01153L3D";
1907 group { name: "elm/button/base/ime_button_stt_confirm";
1908 inherit: "elm/button/base/ime_button";
1913 description { state: "default" 0.0;
1915 color_class: "AO015L2";
1917 image.normal: "./b_stt_icon_btn.png";
1919 description { state: "pressed" 0.0;
1920 inherit: "default" 0.0;
1921 color_class: "AO015L2P";
1923 description { state: "disabled" 0.0;
1924 inherit: "default" 0.0;
1925 color_class: "AO015L2D";
1928 part { name: "elm.swallow.content.clip";
1931 description { state: "default" 0.0;
1932 color_class: "AO015L2";
1934 description { state: "pressed" 0.0;
1935 inherit: "default" 0.0;
1936 color_class: "AO015L2P";
1938 description { state: "disabled" 0.0;
1939 inherit: "default" 0.0;
1940 color_class: "AO015L2D";
1946 group { name: "elm/button/base/touch_area";
1947 inherit: "elm/button/base/default";
1952 description { state: "default" 0.0;
1957 description { state: "pressed" 0.0;
1958 inherit: "default" 0.0;
1960 description { state: "disabled" 0.0;
1961 inherit: "default" 0.0;
1966 program { name: "touch_snd";
1967 signal: "mouse,clicked,1";
1972 if (get_int(multi_down) == 0) {
1973 get_state(PART:"bg", st, 30, vl);
1974 if (strcmp(st, "disabled")) {
1975 run_program(PROGRAM:"play_sample");
1976 emit("elm,action,click", "");
1984 group { name: "elm/button/base/emoticon";
1987 public mouse_down = 0;
1988 public multi_down = 0;
1994 description { state: "default" 0.0;
1997 description { state: "pressed" 0.0;
1998 inherit: "default" 0.0;
2000 description { state: "disabled" 0.0;
2001 inherit: "default" 0.0;
2004 part { name: "padding_left_top";
2007 description { state: "default" 0.0;
2009 rel2.relative: 0.0 0.0;
2013 //color: 255 0 0 100;
2016 part { name: "padding_right_bottom";
2019 description { state: "default" 0.0;
2021 rel1.relative: 1.0 1.0;
2025 //color: 0 255 0 100;
2028 part { name: "elm.text";
2032 description { state: "default" 0.0;
2036 to: "padding_left_top";
2040 to: "padding_right_bottom";
2044 style: "button_general_text_normal";
2047 description { state: "disabled" 0.0;
2048 inherit: "default" 0.0;
2049 text.style: "button_general_text_dim";
2051 description { state: "pressed" 0.0;
2052 inherit: "default" 0.0;
2053 text.style: "button_general_text_press";
2056 part { name: "event";
2059 description { state: "default" 0.0;
2067 program { name: "pressed";
2068 signal: "mouse,down,1*";
2071 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2073 set_int(mouse_down, 1);
2074 run_program(PROGRAM:"button_press1");
2078 program { name: "button_press1";
2082 get_state(PART:"bg", st, 30, vl);
2083 if (strcmp(st, "disabled")) {
2084 set_state(PART:"bg", "pressed", 0.0);
2085 set_state(PART:"elm.text", "pressed", 0.0);
2086 emit("elm,action,press", "");
2090 program { name: "unpressed";
2091 signal: "mouse,up,1";
2094 if (get_int(mouse_down) == 1) {
2095 set_int(mouse_down, 0);
2096 run_program(PROGRAM:"button_unpress1");
2100 program { name: "button_unpress1";
2104 get_state(PART:"bg", st, 30, vl);
2105 if (strcmp(st, "disabled")) {
2106 set_state(PART:"bg", "default", 0.0);
2107 set_state(PART:"elm.text", "default", 0.0);
2108 emit("elm,action,unpress", "");
2112 program { name: "touch_snd";
2113 signal: "mouse,clicked,1";
2118 if (get_int(multi_down) == 0) {
2119 get_state(PART:"bg", st, 30, vl);
2120 if (strcmp(st, "disabled")) {
2121 run_program(PROGRAM:"play_sample");
2122 emit("elm,action,click", "");
2128 name: "play_sample";
2129 action: RUN_PLUGIN "touch_sound";
2131 program { name: "disable";
2132 signal: "elm,state,disabled";
2134 action: STATE_SET "disabled" 0.0;
2138 program { name: "enable";
2139 signal: "elm,state,enabled";
2141 action: STATE_SET "default" 0.0;
2145 program { name: "multi_down";
2146 signal: "elm,action,multi,down";
2149 set_int(multi_down, 1);
2152 program { name: "multi_up";
2153 signal: "elm,action,multi,up";
2156 set_int(multi_down, 0);
2162 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
2163 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
2164 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
2165 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
2166 #define ACTIONBAR_PADDING_SIZE_INC 64
2167 #define ACTIONBAR_HEIGHT_INC 115
2168 #define ACTIONBAR_TEXT_SIZE_INC 39
2169 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
2170 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
2171 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
2172 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
2173 #define HIDDEN_BUTTON_HEIGHT_INC 88
2175 #define STYLE_TAG_MATCH \
2176 tag: "match" "+ color=#ffffff color_class=T0212";
2179 style { name: "action_bar_title";
2180 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
2185 group { name: "elm_naviframe_item_basic_customized";
2186 data.item: "tizen_zoom" 1;
2188 public g_mirrored = 0; //Mirrored on/off status
2189 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
2191 public g_duration_1st;
2192 public g_duration_2nd;
2195 public g_sliding_start;
2197 public title_text_fade_out() {
2200 if (get_int(g_text_fade_out_calc_timer)) {
2201 cancel_timer(g_text_fade_out_calc_timer);
2202 set_int(g_text_fade_out_calc_timer, 0);
2205 get_geometry(PART:"elm.text.title", x, y, w, h);
2206 get_geometry(PART:"title_text_bg", x, y, w2, h);
2211 set_float(g_duration_1st, 0);
2212 set_float(g_duration_2nd, 0);
2213 set_int(g_timer_id, 0);
2214 set_int(g_anim_id, 0);
2215 set_int(g_sliding_start, 0);
2217 public slide_first_anim(val, Float:pos) {
2218 set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2220 cancel_anim(get_int(g_anim_id));
2221 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2224 public slide_second_anim(val, Float:pos) {
2225 set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2229 public slide_first() {
2231 if (get_int(g_sliding_start)) {
2232 set_state(PART:"elm.text.title", "slide", 0.0);
2234 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2237 public slide_start() {
2238 set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2240 public slide_stop() {
2241 cancel_anim(get_int(g_anim_id));
2242 set_state(PART:"elm.text.title", "default", 0.0);
2243 set_int(g_sliding_start, 0);
2245 public check_size() {
2247 get_geometry(PART:"elm.text.title", x, y, w, h);
2248 get_geometry(PART:"title_text_clip", x, y, w1, h);
2250 set_int(g_sliding_start, 1);
2253 set_int(g_sliding_start, 0);
2256 public get_duration() {
2258 get_geometry(PART:"elm.text.title", x, y, w, h);
2259 get_geometry(PART:"title_text_clip", x, y, w1, h);
2260 set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2261 set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2265 part { name: "clipper";
2267 description { state: "default" 0.0;
2270 description { state: "hide" 0.0;
2274 part { name: "base";
2279 description { state: "default" 0.0;
2280 color: 128 128 128 128;
2283 part { name: "title_expand";
2288 description { state: "default" 0.0;
2289 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2290 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2294 color: 255 255 255 0;
2295 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2296 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2298 description { state: "show" 0.0;
2299 inherit: "default" 0.0;
2304 part { name: "title_clip";
2307 description { state: "default" 0.0;
2309 rel1.to: "title_bg";
2310 rel2.to: "title_bg";
2312 description { state: "hide" 0.0;
2313 inherit: "default" 0.0;
2317 part { name: "title_bg";
2320 clip_to: "title_clip";
2321 description { state: "default" 0.0;
2322 min: 0 ACTIONBAR_HEIGHT_INC;
2323 max: -1 ACTIONBAR_HEIGHT_INC;
2326 rel1 { relative: 0.0 0.0; to: "base"; }
2327 rel2 { relative: 1.0 0.0; to: "base"; }
2328 color: 255 255 255 0;
2330 description { state: "hide_trans" 0.0;
2331 inherit: "default" 0.0;
2334 description { state: "hide" 0.0;
2335 inherit: "default" 0.0;
2340 part { name: "title_text_bg";
2343 description { state: "default" 0.0;
2344 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2345 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2349 part { name: "title_text_clip";
2352 clip_to: "title_clip";
2353 description { state: "default" 0.0;
2354 rel1.to: "title_text_bg";
2355 rel2.to: "title_text_bg";
2358 part { name: "elm.text.title";
2361 clip_to: "title_text_clip";
2362 description { state: "default" 0.0;
2367 // fade_ellipsis: 1.0;
2368 style: "action_bar_title";
2372 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2374 description { state: "slide" 0.0;
2375 inherit: "default" 0.0;
2379 to_x: "left_padding";
2380 to_y: "top_padding";
2384 to_x: "left_padding";
2385 to_y: "bottom_padding";
2389 description { state: "slide_1" 0.0;
2390 inherit: "default" 0.0;
2394 to_x: "left_padding";
2395 to_y: "top_padding";
2399 to_x: "left_padding";
2400 to_y: "bottom_padding";
2404 description { state: "slide_2" 0.0;
2405 inherit: "default" 0.0;
2409 to_x: "right_padding";
2410 to_y: "top_padding";
2414 to_x: "right_padding";
2415 to_y: "bottom_padding";
2420 part { name: "left_padding";
2423 description { state: "default" 0.0;
2424 min: ACTIONBAR_PADDING_SIZE_INC 0;
2425 max: ACTIONBAR_PADDING_SIZE_INC -1;
2428 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2429 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2432 part { name: "right_padding";
2435 description { state: "default" 0.0;
2436 min: ACTIONBAR_PADDING_SIZE_INC 0;
2437 max: ACTIONBAR_PADDING_SIZE_INC -1;
2440 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2441 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2444 part { name: "click_event_area";
2446 ignore_flags: ON_HOLD;
2447 description { state: "default" 0.0;
2448 rel1 { to: "title_bg"; }
2449 rel2 { to: "title_bg"; }
2453 part { name: "access.title";
2456 description { state: "default" 0.0;
2457 rel1.to: "title_bg";
2458 rel2.to: "title_bg";
2462 part { name: "top_padding";
2465 description { state: "default" 0.0;
2468 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2469 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2470 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2471 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2474 part { name: "bottom_padding";
2477 description { state: "default" 0.0;
2480 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2481 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2482 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2483 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2486 part { name: "elm.swallow.content";
2491 description { state: "default" 0.0;
2492 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2493 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2496 part { name: "elm.swallow.circle_bg";
2501 description { state: "default" 0.0; }
2503 part { name: "elm.swallow.circle";
2508 description { state: "default" 0.0; }
2510 part { name: "button_padding";
2513 description { state: "default" 0.0;
2518 rel1 {relative: 0.0 1.0; to: "base"; }
2519 rel2 {relative: 1.0 1.0; to: "base"; }
2524 program { name: "visible";
2525 signal: "elm,state,visible";
2528 set_state(PART:"base", "default", 0.0);
2529 set_state(PART:"clipper", "default", 0.0);
2532 run_program(PROGRAM:"title_text_fade_out");
2535 program { name: "invisible";
2536 signal: "elm,state,invisible";
2539 set_state(PART:"clipper", "hide", 0.0);
2542 program { name: "title_hide";
2543 signal: "elm,state,title,hide";
2546 set_state(PART:"title_bg", "hide", 0.0);
2547 set_state(PART:"title_clip", "hide", 0.0);
2550 program { name: "title_hide_trans";
2551 signal: "elm,action,title,hide";
2556 get_state(PART:"title_bg", st, 32, vl);
2557 if (!strcmp(st, "default")) {
2558 run_program(PROGRAM:"title_hide_trans2");
2562 program { name: "title_hide_trans2";
2563 action: STATE_SET "hide_trans" 0.0;
2565 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2566 after: "title_hide_trans3";
2568 program { name: "title_hide_trans3";
2570 run_program(PROGRAM:"title_hide");
2572 after: "title_trans_finished";
2574 program { name: "title_trans_finished";
2575 action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2577 program { name: "title_show";
2578 signal: "elm,state,title,show";
2581 set_state(PART:"title_bg", "default", 0.0);
2582 set_state(PART:"title_clip", "default", 0.0);
2583 run_program(PROGRAM:"title_text_fade_out");
2586 program { name: "title_show_trans";
2587 signal: "elm,action,title,show";
2592 get_state(PART:"title_bg", st, 32, vl);
2593 if (!strcmp(st, "hide")) {
2594 set_state(PART:"title_bg", "hide_trans", 0.0);
2595 set_state(PART:"title_clip", "default", 0.0);
2596 run_program(PROGRAM:"title_show_trans2");
2600 program { name: "title_show_trans2";
2601 action: STATE_SET "default" 0.0;
2603 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2604 after: "title_trans_finished";
2606 program { name: "title_label_show";
2607 signal: "elm,state,title_label,show";
2610 run_program(PROGRAM:"title_text_fade_out");
2613 program { name: "title_label_hide";
2614 signal: "elm,state,title_label,hide";
2617 program { name: "title_expand_show";
2618 signal: "elm,state,title_expand,show";
2621 set_state(PART:"title_expand", "show", 0.0);
2624 program { name: "title_expand_hide";
2625 signal: "elm,state,title_expand,hide";
2628 set_state(PART:"title_expand", "default", 0.0);
2631 program { name: "hidden_btn_show_trans";
2632 signal: "elm,action,title_expand,show";
2634 action: STATE_SET "show" 0.0;
2635 target: "title_expand";
2636 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2638 program { name: "title_expand_hide_trans";
2639 signal: "elm,action,title_expand,hide";
2641 action: STATE_SET "default" 0.0;
2642 target: "title_expand";
2643 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2645 program { name: "title_clicked";
2646 signal: "mouse,clicked,1";
2647 source: "click_event_area";
2648 action: SIGNAL_EMIT "elm,action,title,clicked" "";
2651 name: "mirrored_on";
2652 signal: "edje,state,rtl";
2655 set_int(g_mirrored, 1);
2656 run_program(PROGRAM:"title_text_fade_out");
2660 name: "mirrored_off";
2661 signal: "edje,state,ltr";
2664 set_int(g_mirrored, 0);
2665 run_program(PROGRAM:"title_text_fade_out");
2669 name: "title_text_fade_out";
2671 if (get_int(g_text_fade_out_calc_timer)) {
2672 cancel_timer(g_text_fade_out_calc_timer);
2673 set_int(g_text_fade_out_calc_timer, 0);
2675 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2681 //////////////////////////////////////////////////////////////////////////////////
2682 // Customizing panel for send button.
2683 //////////////////////////////////////////////////////////////////////////////////
2685 // ***************************** Panel*****************************************/
2686 #define PANEL_LEFT_PADDING_SIZE_INC 8
2687 #define PANEL_RIGHT_PADDING_SIZE_INC 6
2688 #define PANEL_LEFT_IMAGE_SIZE_INC 29 36
2689 #define PANEL_RIGHT_IMAGE_SIZE_INC 16 36
2690 #define PANEL_RIGHT_CUE_SIZE_INC 32 158
2691 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158
2692 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140
2693 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140
2694 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200
2695 #define PANEL_LAYOUT_SIZE_INC 360 360
2698 image, "./b_more_option.png" COMP;
2699 image, "./b_more_option_ef.png" COMP;
2700 image, "./b_more_option_bg.png" COMP;
2701 image, "./b_ic_press_full_circle_bg.png" COMP;
2704 group { name: "elm/panel/right1/default";
2706 public mouse_down = 0;
2707 public mouse_click = 0;
2708 public multi_down = 0;
2709 public click_cnt = 0;
2710 public event_down = 0;
2711 public cue_hide = 0;
2712 public timer0(val) {
2714 run_program(PROGRAM:"change_opacity");
2716 run_program(PROGRAM:"change_opacity2");
2723 description { state: "default" 0.0;
2724 min: PANEL_LAYOUT_SIZE_INC;
2725 max: PANEL_LAYOUT_SIZE_INC;
2726 //color_class: "transparent";
2730 part { name: "cue.padding";
2732 description { state: "default" 0.0;
2734 rel1.relative: 1.0 0.0;
2736 rel2.relative: 1.0 1.0;
2738 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2739 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2744 description { state: "default" 0.0;
2745 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2746 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2748 image.normal: "./b_more_option.png";
2749 color: 128 128 128 128;
2750 rel1.to: "cue.padding";
2751 rel1.relative: 0.0 0.0;
2752 rel2.to: "cue.padding";
2753 rel2.relative: 0.0 1.0;
2756 description { state: "hidden" 0.0;
2757 inherit: "default" 0.0;
2760 description { state: "disabled" 0.0;
2761 inherit: "default" 0.0;
2762 color: 128 128 128 128;
2765 part { name: "cue_ef";
2766 description { state: "default" 0.0;
2767 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2768 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2770 image.normal: "./b_more_option_ef.png";
2771 color: 128 128 128 128;
2775 description { state: "hidden" 0.0;
2776 inherit: "default" 0.0;
2780 part { name: "effect_bg";
2782 clip_to: "effect_bg_clip";
2784 description { state: "default" 0.0;
2785 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2786 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2788 rel1.relative: 1.0 0.0;
2790 rel2.relative: 1.0 1.0;
2793 image.normal: "./b_ic_press_full_circle_bg.png";
2794 color: 128 128 128 128;
2797 description { state: "pressed" 0.0;
2798 inherit: "default" 0.0;
2799 color: 128 128 128 128;
2805 description { state: "disabled" 0.0;
2806 inherit: "default" 0.0;
2808 description { state: "start_persp" 0.0;
2809 inherit: "default" 0.0;
2810 color: 128 128 128 128;
2817 part { name: "effect_bg_clip";
2821 description { state: "default" 0.0;
2822 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2823 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2825 rel1.relative: 1.0 0.0;
2827 rel2.relative: 1.0 1.0;
2830 color: 255 255 255 0;
2832 description { state: "pressed" 0.0;
2833 inherit: "default" 0.0;
2834 color: 255 255 255 255;
2836 description { state: "disabled" 0.0;
2837 inherit: "default" 0.0;
2840 part { name: "effect_bg2";
2842 clip_to: "effect_bg_clip2";
2844 description { state: "default" 0.0;
2845 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2846 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2848 rel1.relative: 1.0 0.0;
2850 rel2.relative: 1.0 1.0;
2853 image.normal: "./b_ic_press_full_circle_bg.png";
2854 //color_class: "transparent";
2858 description { state: "pressed" 0.0;
2859 inherit: "default" 0.0;
2860 color: 128 128 128 128;
2866 description { state: "disabled" 0.0;
2867 inherit: "default" 0.0;
2869 description { state: "start_persp" 0.0;
2870 inherit: "default" 0.0;
2871 color: 128 128 128 128;
2878 part { name: "effect_bg_clip2";
2882 description { state: "default" 0.0;
2883 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2884 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2886 rel1.relative: 1.0 0.0;
2888 rel2.relative: 1.0 1.0;
2891 color: 255 255 255 0;
2893 description { state: "pressed" 0.0;
2894 inherit: "default" 0.0;
2895 color: 255 255 255 255;
2897 description { state: "disabled" 0.0;
2898 inherit: "default" 0.0;
2901 part { name: "cue.event";
2904 description { state: "default" 0.0;
2905 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2906 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2908 //color_class: "transparent";
2911 rel1.relative: 1.0 0.0;
2913 rel2.relative: 1.0 1.0;
2916 description { state: "hidden" 0.0;
2917 inherit: "default" 0.0;
2921 part { name: "cue.release.event";
2924 description { state: "default" 0.0;
2925 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2926 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2928 //color_class: "transparent";
2931 rel1.relative: 1.0 0.0;
2933 rel2.relative: 1.0 1.0;
2936 description { state: "hidden" 0.0;
2937 inherit: "default" 0.0;
2941 part { name: "base";
2943 description { state: "default" 0.0;
2950 image.normal: "./b_more_option_bg.png";
2951 color: 128 128 128 128;
2964 description { state: "show" 0.0;
2965 inherit: "default" 0.0;
2972 color[0]: 255 255 255 255;
2973 color[1]: 255 255 255 255;
2974 color[2]: 255 255 255 255;
2975 color[3]: 255 255 255 255;
2979 part { name: "elm.swallow.content";
2981 description { state: "default" 0.0;
2998 description { state: "show" 0.0;
2999 inherit: "default" 0.0;
3006 color[0]: 255 255 255 255;
3007 color[1]: 255 255 255 255;
3008 color[2]: 255 255 255 255;
3009 color[3]: 255 255 255 255;
3015 program { name: "pressed";
3016 signal: "mouse,down,1*";
3017 source: "cue.event";
3019 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
3021 set_int(mouse_down, 1);
3022 set_int(event_down, 1);
3023 run_program(PROGRAM:"button_press1");
3027 program { name: "button_press1";
3031 get_state(PART:"effect_bg", st, 30, vl);
3032 if (strcmp(st, "disabled")) {
3033 emit("elm,action,press", "");
3034 run_program(PROGRAM:"haptic");
3035 if(get_int(click_cnt) == 0) {
3036 set_state(PART:"effect_bg", "pressed", 0.0);
3037 set_state(PART:"effect_bg_clip", "pressed", 0.0);
3038 run_program(PROGRAM:"start_persp");
3039 timer(0.3, "timer0", 1);
3041 else if(get_int(click_cnt) == 1) {
3042 set_state(PART:"effect_bg2", "pressed", 0.0);
3043 set_state(PART:"effect_bg_clip2", "pressed", 0.0);
3044 run_program(PROGRAM:"start_persp2");
3045 timer(0.3, "timer0", 2);
3050 program { name: "unpressed";
3051 signal: "mouse,up,1";
3052 source: "cue.event";
3054 if (get_int(mouse_down) == 1) {
3055 set_int(mouse_down, 0);
3056 run_program(PROGRAM:"button_unpress1");
3060 program { name: "button_unpress1";
3064 get_state(PART:"effect_bg", st, 30, vl);
3065 if (strcmp(st, "disabled")) {
3066 if(get_int(click_cnt) == 0)
3067 set_int(click_cnt, 1);
3069 set_int(click_cnt, 0);
3073 program { name: "release.event_clicked";
3074 signal: "mouse,clicked,*";
3075 source: "cue.release.event";
3077 if (get_int(event_down) == 1) {
3078 set_int(event_down, 0);
3079 emit("cue,clicked", "elm");
3080 run_program(PROGRAM:"panel_toggle");
3081 run_program(PROGRAM:"play_sample");
3086 name: "play_sample";
3087 action: RUN_PLUGIN "touch_sound";
3089 program { name: "panel_toggle";
3090 action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
3094 action: RUN_PLUGIN "haptic_tap";
3096 program { name: "disable";
3097 signal: "elm,state,disabled";
3100 if (get_int(cue_hide) == 0)
3101 set_state(PART:"cue", "disabled", 0.0);
3102 set_state(PART:"effect_bg", "disabled", 0.0);
3103 set_state(PART:"cue.event", "hidden", 0.0);
3104 set_state(PART:"cue.release.event", "hidden", 0.0);
3107 program { name: "enable";
3108 signal: "elm,state,enabled";
3111 if (get_int(cue_hide) == 1) {
3112 set_state(PART:"cue", "hidden", 0.0);
3113 set_state(PART:"cue.event", "hidden", 0.0);
3114 set_state(PART:"cue.release.event", "hidden", 0.0);
3117 set_state(PART:"cue", "default", 0.0);
3118 set_state(PART:"cue.event", "default", 0.0);
3119 set_state(PART:"cue.release.event", "default", 0.0);
3121 set_state(PART:"effect_bg", "default", 0.0);
3124 program { name: "multi_down";
3125 signal: "elm,action,multi,down";
3128 set_int(multi_down, 1);
3131 program { name: "multi_up";
3132 signal: "elm,action,multi,up";
3135 set_int(multi_down, 0);
3138 program { name: "start_persp";
3139 action: STATE_SET "start_persp" 0.0;
3140 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3141 target: "effect_bg";
3143 program { name: "change_opacity";
3144 action: STATE_SET "default" 0.0;
3145 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3146 target: "effect_bg_clip";
3148 program { name: "start_persp2";
3149 action: STATE_SET "start_persp" 0.0;
3150 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3151 target: "effect_bg2";
3153 program { name: "change_opacity2";
3154 action: STATE_SET "default" 0.0;
3155 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3156 target: "effect_bg_clip2";
3159 signal: "elm,action,show";
3161 action: STATE_SET "show" 0.0;
3162 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3163 target: "elm.swallow.content";
3165 after: "active,finished";
3168 signal: "elm,action,hide";
3170 action: STATE_SET "default" 0.0;
3171 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3172 target: "elm.swallow.content";
3174 after: "inactive,finished";
3176 program { name: "active,finished";
3177 action: SIGNAL_EMIT "elm,state,active,finished" "elm";
3179 program { name: "inactive,finished";
3180 action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
3182 program { name: "cue,hide";
3186 set_int(cue_hide, 1);
3187 set_state(PART:"cue", "hidden", 0.0);
3188 set_state(PART:"cue_ef", "hidden", 0.0);
3189 set_state(PART:"cue.event", "hidden", 0.0);
3190 set_state(PART:"cue.release.event", "hidden", 0.0);
3193 program { name: "cue,show";
3197 set_int(cue_hide, 0);
3198 set_state(PART:"cue", "default", 0.0);
3199 set_state(PART:"cue_ef", "default", 0.0);
3200 set_state(PART:"cue.event", "default", 0.0);
3201 set_state(PART:"cue.release.event", "default", 0.0);
3207 group { name: "elm/panel/left1/default";
3208 inherit: "elm/panel/right1/default";
3210 part { name: "cue.padding";
3212 description { state: "default" 0.0;
3214 rel1.relative: 0.0 0.0;
3216 rel2.relative: 0.0 1.0;
3218 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3219 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3224 description { state: "default" 0.0;
3225 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3226 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3228 image.normal: "./b_more_option.png";
3229 color: 128 128 128 128;
3230 rel1.to: "cue.padding";
3231 rel1.relative: 1.0 0.0;
3232 rel2.to: "cue.padding";
3233 rel2.relative: 1.0 1.0;
3236 description { state: "hidden" 0.0;
3237 inherit: "default" 0.0;
3240 description { state: "disabled" 0.0;
3241 inherit: "default" 0.0;
3242 color: 128 128 128 128;
3245 part { name: "cue_ef";
3246 description { state: "default" 0.0;
3247 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3248 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3250 image.normal: "./b_more_option_ef.png";
3251 color: 128 128 128 128;
3255 description { state: "hidden" 0.0;
3256 inherit: "default" 0.0;
3260 part { name: "effect_bg";
3262 clip_to: "effect_bg_clip";
3264 description { state: "default" 0.0;
3265 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3266 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3268 rel1.relative: 0.0 0.0;
3270 rel2.relative: 0.0 1.0;
3273 image.normal: "./b_ic_press_full_circle_bg.png";
3274 color: 128 128 128 128;
3277 description { state: "pressed" 0.0;
3278 inherit: "default" 0.0;
3279 color: 128 128 128 128;
3285 description { state: "disabled" 0.0;
3286 inherit: "default" 0.0;
3288 description { state: "start_persp" 0.0;
3289 inherit: "default" 0.0;
3290 color: 128 128 128 128;
3297 part { name: "effect_bg_clip";
3301 description { state: "default" 0.0;
3302 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3303 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3305 rel1.relative: 0.0 0.0;
3307 rel2.relative: 0.0 1.0;
3310 color: 255 255 255 0;
3312 description { state: "pressed" 0.0;
3313 inherit: "default" 0.0;
3314 color: 255 255 255 255;
3316 description { state: "disabled" 0.0;
3317 inherit: "default" 0.0;
3320 part { name: "effect_bg2";
3322 clip_to: "effect_bg_clip2";
3324 description { state: "default" 0.0;
3325 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3326 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3328 rel1.relative: 0.0 0.0;
3330 rel2.relative: 0.0 1.0;
3333 image.normal: "./b_ic_press_full_circle_bg.png";
3334 //color_class: "transparent";
3338 description { state: "pressed" 0.0;
3339 inherit: "default" 0.0;
3340 color: 128 128 128 128;
3346 description { state: "disabled" 0.0;
3347 inherit: "default" 0.0;
3349 description { state: "start_persp" 0.0;
3350 inherit: "default" 0.0;
3351 color: 128 128 128 128;
3358 part { name: "effect_bg_clip2";
3362 description { state: "default" 0.0;
3363 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3364 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3366 rel1.relative: 0.0 0.0;
3368 rel2.relative: 0.0 1.0;
3371 color: 255 255 255 0;
3373 description { state: "pressed" 0.0;
3374 inherit: "default" 0.0;
3375 color: 255 255 255 255;
3377 description { state: "disabled" 0.0;
3378 inherit: "default" 0.0;
3381 part { name: "cue.event";
3383 description { state: "default" 0.0;
3384 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3385 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3387 //color_class: "transparent";
3390 rel1.relative: 0.0 0.0;
3392 rel2.relative: 0.0 1.0;
3395 description { state: "hidden" 0.0;
3396 inherit: "default" 0.0;
3400 part { name: "cue.release.event";
3403 description { state: "default" 0.0;
3404 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3405 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3407 //color_class: "transparent";
3410 rel1.relative: 0.0 0.0;
3412 rel2.relative: 0.0 1.0;
3415 description { state: "hidden" 0.0;
3416 inherit: "default" 0.0;
3423 group { name: "elm/panel/left_sending/default";
3424 inherit: "elm/panel/left1/default";
3426 part { name: "cue.padding";
3428 description { state: "default" 0.0;
3430 rel1.relative: 0.0 0.0;
3432 rel2.relative: 0.0 1.0;
3434 min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3435 max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3440 description { state: "default" 0.0;
3441 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3442 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3444 image.normal: "./b_stt_send_icon.png";
3445 color: 128 128 128 128;
3446 rel1.to: "cue.padding";
3447 rel1.relative: 1.0 0.0;
3448 rel2.to: "cue.padding";
3449 rel2.relative: 1.0 1.0;
3452 description { state: "hidden" 0.0;
3453 inherit: "default" 0.0;
3456 description { state: "disabled" 0.0;
3457 inherit: "default" 0.0;
3458 color_class: "AO015L2D";//"B052L1D";
3461 part { name: "cue_ef";
3462 description { state: "default" 0.0;
3463 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3464 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3467 image.normal: "./b_more_option_ef.png";
3468 color: 128 128 128 128;
3472 description { state: "hidden" 0.0;
3473 inherit: "default" 0.0;
3480 group { name: "elm/panel/left_confirm/default";
3481 inherit: "elm/panel/left_sending/default";
3484 description { state: "default" 0.0;
3485 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3486 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3488 image.normal: "./b_stt_confirm_icon.png";
3489 color: 128 128 128 128;
3490 rel1.to: "cue.padding";
3491 rel1.relative: 1.0 0.0;
3492 rel2.to: "cue.padding";
3493 rel2.relative: 1.0 1.0;
3496 description { state: "hidden" 0.0;
3497 inherit: "default" 0.0;
3500 description { state: "disabled" 0.0;
3501 inherit: "default" 0.0;
3502 color_class: "AO015L2D";//"B052L1D";