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;
933 name, "show_effect_part";
934 signal, "elm,state,eq,show";
936 action, STATE_SET "default" 0.1;
942 name, "hide_effect_part";
943 signal, "elm,state,eq,hide";
945 action, STATE_SET "default" 0.0;
951 name, "guide_text_up";
952 signal, "idle,state,guide_text,up";
954 action, STATE_SET "default" 0.0;
955 target, "guide_text_block";
959 name, "guide_text_bottom";
960 signal, "idle,state,guide_text,bottom";
962 action, STATE_SET "bottom" 0.0;
963 target, "guide_text_block";
972 name: "option_more_index";
982 state: "default" 0.0;
994 state: "default" 0.0;
1006 state: "default" 0.0;
1012 rel1.relative: 0.0 0.0;
1014 rel2.relative: 1.0 0.0;
1022 name, "language_list";
1032 state, "default" 0.0;
1054 state, "default" 0.0;
1071 name: "layout_textblock";
1074 public timer_cb(val) {
1075 run_program(PROGRAM:"do_scroll");
1087 state, "default" 0.0;
1099 part { name: "elm.swallow.content";
1102 description { state: "default" 0.0;
1104 color, 120 120 120 120;
1112 signal, "scrolling";
1115 timer(3/10, "timer_cb", 0);
1121 action, SIGNAL_EMIT "do_scroll" "entry";
1126 group{ name: "entry_focused_layout";
1135 state, "default" 0.0;
1145 color, 120 120 120 120;
1148 part { name: "padding_top";
1152 state: "default" 0.0;
1154 rel1.relative: 0.0 0.0;
1155 rel2.relative: 1.0 0.0;
1160 part { name: "padding_left";
1164 state: "default" 0.0;
1166 rel1.relative: 0.0 0.0;
1167 rel2.relative: 0.0 1.0;
1172 part { name: "padding_right";
1176 state: "default" 0.0;
1178 rel1.relative: 1.0 0.0;
1179 rel2.relative: 1.0 1.0;
1189 state: "default" 0.0;
1190 rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
1191 rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";}
1202 #define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50
1205 name: "elm/progressbar/horizontal/voice_input/process/small";
1207 image: "style/tw_loading_small_00.png" COMP;
1208 image: "style/tw_loading_small_01.png" COMP;
1209 image: "style/tw_loading_small_02.png" COMP;
1210 image: "style/tw_loading_small_03.png" COMP;
1211 image: "style/tw_loading_small_04.png" COMP;
1212 image: "style/tw_loading_small_05.png" COMP;
1213 image: "style/tw_loading_small_06.png" COMP;
1214 image: "style/tw_loading_small_07.png" COMP;
1215 image: "style/tw_loading_small_08.png" COMP;
1216 image: "style/tw_loading_small_09.png" COMP;
1217 image: "style/tw_loading_small_10.png" COMP;
1218 image: "style/tw_loading_small_11.png" COMP;
1219 image: "style/tw_loading_small_12.png" COMP;
1220 image: "style/tw_loading_small_13.png" COMP;
1221 image: "style/tw_loading_small_14.png" COMP;
1222 image: "style/tw_loading_small_15.png" COMP;
1223 image: "style/tw_loading_small_16.png" COMP;
1224 image: "style/tw_loading_small_17.png" COMP;
1225 image: "style/tw_loading_small_18.png" COMP;
1226 image: "style/tw_loading_small_19.png" COMP;
1227 image: "style/tw_loading_small_20.png" COMP;
1228 image: "style/tw_loading_small_21.png" COMP;
1229 image: "style/tw_loading_small_22.png" COMP;
1230 image: "style/tw_loading_small_23.png" COMP;
1231 image: "style/tw_loading_small_24.png" COMP;
1232 image: "style/tw_loading_small_25.png" COMP;
1233 image: "style/tw_loading_small_26.png" COMP;
1234 image: "style/tw_loading_small_27.png" COMP;
1235 image: "style/tw_loading_small_28.png" COMP;
1236 image: "style/tw_loading_small_29.png" COMP;
1237 image: "style/tw_loading_small_30.png" COMP;
1238 image: "style/tw_loading_small_31.png" COMP;
1239 image: "style/tw_loading_small_32.png" COMP;
1240 image: "style/tw_loading_small_33.png" COMP;
1241 image: "style/tw_loading_small_34.png" COMP;
1242 image: "style/tw_loading_small_35.png" COMP;
1243 image: "style/tw_loading_small_36.png" COMP;
1244 image: "style/tw_loading_small_37.png" COMP;
1245 image: "style/tw_loading_small_38.png" COMP;
1246 image: "style/tw_loading_small_39.png" COMP;
1247 image: "style/tw_loading_small_40.png" COMP;
1248 image: "style/tw_loading_small_41.png" COMP;
1249 image: "style/tw_loading_small_42.png" COMP;
1250 image: "style/tw_loading_small_43.png" COMP;
1251 image: "style/tw_loading_small_44.png" COMP;
1252 image: "style/tw_loading_small_45.png" COMP;
1253 image: "style/tw_loading_small_46.png" COMP;
1254 image: "style/tw_loading_small_47.png" COMP;
1255 image: "style/tw_loading_small_48.png" COMP;
1256 image: "style/tw_loading_small_49.png" COMP;
1257 image: "style/tw_loading_small_50.png" COMP;
1258 image: "style/tw_loading_small_51.png" COMP;
1259 image: "style/tw_loading_small_52.png" COMP;
1260 image: "style/tw_loading_small_53.png" COMP;
1261 image: "style/tw_loading_small_54.png" COMP;
1262 image: "style/tw_loading_small_55.png" COMP;
1263 image: "style/tw_loading_small_56.png" COMP;
1264 image: "style/tw_loading_small_57.png" COMP;
1265 image: "style/tw_loading_small_58.png" COMP;
1266 image: "style/tw_loading_small_59.png" COMP;
1267 image: "style/tw_loading_small_60.png" COMP;
1268 image: "style/tw_loading_small_61.png" COMP;
1269 image: "style/tw_loading_small_62.png" COMP;
1270 image: "style/tw_loading_small_63.png" COMP;
1271 image: "style/tw_loading_small_64.png" COMP;
1279 state: "default" 0.0;
1285 name: "elm.background.progressbar";
1290 state: "default" 0.0;
1297 clip_to: "elm.background.progressbar";
1299 state: "default" 0.0;
1300 min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1301 max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC;
1304 aspect_preference: BOTH;
1305 image.normal: "style/tw_loading_small_00.png";
1306 image.tween: "style/tw_loading_small_01.png";
1307 image.tween: "style/tw_loading_small_02.png";
1308 image.tween: "style/tw_loading_small_03.png";
1309 image.tween: "style/tw_loading_small_04.png";
1310 image.tween: "style/tw_loading_small_05.png";
1311 image.tween: "style/tw_loading_small_06.png";
1312 image.tween: "style/tw_loading_small_07.png";
1313 image.tween: "style/tw_loading_small_08.png";
1314 image.tween: "style/tw_loading_small_09.png";
1315 image.tween: "style/tw_loading_small_10.png";
1316 image.tween: "style/tw_loading_small_11.png";
1317 image.tween: "style/tw_loading_small_12.png";
1318 image.tween: "style/tw_loading_small_13.png";
1319 image.tween: "style/tw_loading_small_14.png";
1320 image.tween: "style/tw_loading_small_15.png";
1321 image.tween: "style/tw_loading_small_16.png";
1322 image.tween: "style/tw_loading_small_17.png";
1323 image.tween: "style/tw_loading_small_18.png";
1324 image.tween: "style/tw_loading_small_19.png";
1325 image.tween: "style/tw_loading_small_20.png";
1326 image.tween: "style/tw_loading_small_21.png";
1327 image.tween: "style/tw_loading_small_22.png";
1328 image.tween: "style/tw_loading_small_23.png";
1329 image.tween: "style/tw_loading_small_24.png";
1330 image.tween: "style/tw_loading_small_25.png";
1331 image.tween: "style/tw_loading_small_26.png";
1332 image.tween: "style/tw_loading_small_27.png";
1333 image.tween: "style/tw_loading_small_28.png";
1334 image.tween: "style/tw_loading_small_29.png";
1335 image.tween: "style/tw_loading_small_30.png";
1336 image.tween: "style/tw_loading_small_31.png";
1337 image.tween: "style/tw_loading_small_32.png";
1338 image.tween: "style/tw_loading_small_33.png";
1339 image.tween: "style/tw_loading_small_34.png";
1340 image.tween: "style/tw_loading_small_35.png";
1341 image.tween: "style/tw_loading_small_36.png";
1342 image.tween: "style/tw_loading_small_37.png";
1343 image.tween: "style/tw_loading_small_38.png";
1344 image.tween: "style/tw_loading_small_39.png";
1345 image.tween: "style/tw_loading_small_40.png";
1346 image.tween: "style/tw_loading_small_41.png";
1347 image.tween: "style/tw_loading_small_42.png";
1348 image.tween: "style/tw_loading_small_43.png";
1349 image.tween: "style/tw_loading_small_44.png";
1350 image.tween: "style/tw_loading_small_45.png";
1351 image.tween: "style/tw_loading_small_46.png";
1352 image.tween: "style/tw_loading_small_47.png";
1353 image.tween: "style/tw_loading_small_48.png";
1354 image.tween: "style/tw_loading_small_48.png";
1355 image.tween: "style/tw_loading_small_49.png";
1356 image.tween: "style/tw_loading_small_50.png";
1357 image.tween: "style/tw_loading_small_51.png";
1358 image.tween: "style/tw_loading_small_52.png";
1359 image.tween: "style/tw_loading_small_53.png";
1360 image.tween: "style/tw_loading_small_54.png";
1361 image.tween: "style/tw_loading_small_55.png";
1362 image.tween: "style/tw_loading_small_56.png";
1363 image.tween: "style/tw_loading_small_57.png";
1364 image.tween: "style/tw_loading_small_58.png";
1365 image.tween: "style/tw_loading_small_59.png";
1366 image.tween: "style/tw_loading_small_60.png";
1367 image.tween: "style/tw_loading_small_61.png";
1368 image.tween: "style/tw_loading_small_62.png";
1369 image.tween: "style/tw_loading_small_63.png";
1370 image.tween: "style/tw_loading_small_64.png";
1371 color: 128 128 128 128;
1377 name: "start_pulse";
1378 signal: "elm,state,pulse,start";
1380 action: STATE_SET "default" 0.0;
1382 transition: LINEAR 1.8;
1383 after: "start_pulse";
1387 signal: "elm,state,pulse,stop";
1389 action: ACTION_STOP;
1390 target: "start_pulse";
1391 after: "init_pulse";
1393 program { name: "init_pulse";
1394 action: STATE_SET "default" 0.0;
1401 #define BUTTON_PADDING_SIZE_INC 20 0
1402 #define BUTTON_HEIGHT_INC 122
1403 #define BUTTON_ICON_SIZE_INC 60 60
1404 group { name: "elm/button/base/default";
1406 public mouse_down = 0;
1407 public multi_down = 0;
1413 description { state: "default" 0.0;
1414 min: 0 BUTTON_HEIGHT_INC;
1415 color_class: "W011";
1417 description { state: "pressed" 0.0;
1418 inherit: "default" 0.0;
1419 color_class: "W011P";
1421 description { state: "disabled" 0.0;
1422 inherit: "default" 0.0;
1423 color_class: "W011D";
1426 part { name: "padding_left_top";
1429 description { state: "default" 0.0;
1431 rel2.relative: 0.0 0.0;
1432 min: BUTTON_PADDING_SIZE_INC;
1436 part { name: "padding_right_bottom";
1439 description { state: "default" 0.0;
1441 rel1.relative: 1.0 1.0;
1442 min: BUTTON_PADDING_SIZE_INC;
1446 part { name: "icon_rect";
1449 description { state: "default" 0.0;
1453 to: "padding_left_top";
1457 to_x: "padding_left_top";
1458 to_y: "padding_right_bottom";
1463 description { state: "visible" 0.0;
1464 inherit: "default" 0.0;
1465 min: BUTTON_ICON_SIZE_INC;
1466 max: BUTTON_ICON_SIZE_INC;
1470 part { name: "elm.swallow.content";
1472 clip_to: "elm.swallow.content.clip";
1474 description { state: "default" 0.0;
1479 to: "padding_left_top";
1483 to_x: "padding_left_top";
1484 to_y: "padding_right_bottom";
1488 description { state: "visible" 0.0;
1490 min: BUTTON_ICON_SIZE_INC;
1491 max: BUTTON_ICON_SIZE_INC;
1496 to_y: "padding_left_top";
1501 to_y: "padding_right_bottom";
1504 description { state: "icononly" 0.0;
1505 min: BUTTON_ICON_SIZE_INC;
1506 max: BUTTON_ICON_SIZE_INC;
1509 part { name: "elm.text";
1513 description { state: "default" 0.0;
1518 to_y: "padding_left_top";
1522 to: "padding_right_bottom";
1526 style: "button_general_text_normal";
1529 description { state: "disabled" 0.0;
1530 inherit: "default" 0.0;
1531 text.style: "button_general_text_dim";
1533 description { state: "pressed" 0.0;
1534 inherit: "default" 0.0;
1535 text.style: "button_general_text_press";
1538 part { name: "elm.swallow.content.clip";
1541 description { state: "default" 0.0;
1542 color_class: "F022L1i";
1544 description { state: "disabled" 0.0;
1545 inherit: "default" 0.0;
1546 color_class: "F022L1iD";
1549 part { name: "event";
1552 description { state: "default" 0.0;
1560 program { name: "pressed";
1561 signal: "mouse,down,1*";
1564 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1566 set_int(mouse_down, 1);
1567 run_program(PROGRAM:"button_press1");
1571 program { name: "button_press1";
1575 get_state(PART:"bg", st, 30, vl);
1576 if (strcmp(st, "disabled")) {
1577 set_state(PART:"bg", "pressed", 0.0);
1578 set_state(PART:"elm.text", "pressed", 0.0);
1579 emit("elm,action,press", "");
1583 program { name: "unpressed";
1584 signal: "mouse,up,1";
1587 if (get_int(mouse_down) == 1) {
1588 set_int(mouse_down, 0);
1589 run_program(PROGRAM:"button_unpress1");
1593 program { name: "button_unpress1";
1597 get_state(PART:"bg", st, 30, vl);
1598 if (strcmp(st, "disabled")) {
1599 set_state(PART:"bg", "default", 0.0);
1600 set_state(PART:"elm.text", "default", 0.0);
1601 emit("elm,action,unpress", "");
1605 program { name: "touch_snd";
1606 signal: "mouse,clicked,1";
1611 if (get_int(multi_down) == 0) {
1612 get_state(PART:"bg", st, 30, vl);
1613 if (strcmp(st, "disabled")) {
1614 //run_program(PROGRAM:"play_sample");
1615 emit("elm,action,click", "");
1621 name: "play_sample";
1622 action: RUN_PLUGIN "touch_sound";
1624 program { name: "text_show";
1625 signal: "elm,state,text,visible";
1630 get_state(PART:"elm.swallow.content", st, 30, vl);
1631 if (!strcmp(st, "icononly"))
1633 set_state(PART:"elm.swallow.content", "visible", 0.0);
1634 set_state(PART:"icon_rect", "visible", 0.0);
1636 get_state(PART:"bg", st, 30, vl);
1637 if (strcmp(st, "disabled"))
1638 set_state(PART:"elm.text", "default", 0.0);
1640 set_state(PART:"elm.text", "disabled", 0.0);
1643 program { name: "text_hide";
1644 signal: "elm,state,text,hidden";
1649 get_state(PART:"elm.swallow.content", st, 30, vl);
1650 if (!strcmp(st, "visible"))
1652 set_state(PART:"elm.swallow.content", "icononly", 0.0);
1653 set_state(PART:"icon_rect", "default", 0.0);
1655 set_state(PART:"elm.text", "default", 0.0);
1658 program { name: "icon_show";
1659 signal: "elm,state,icon,visible";
1661 action: STATE_SET "visible" 0.0;
1662 target: "elm.swallow.content";
1663 target: "icon_rect";
1665 program { name: "icon_hide";
1666 signal: "elm,state,icon,hidden";
1668 action: STATE_SET "default" 0.0;
1669 target: "elm.swallow.content";
1670 target: "icon_rect";
1672 program { name: "disable";
1673 signal: "elm,state,disabled";
1675 action: STATE_SET "disabled" 0.0;
1677 target: "elm.swallow.content.clip";
1680 program { name: "enable";
1681 signal: "elm,state,enabled";
1683 action: STATE_SET "default" 0.0;
1685 target: "elm.swallow.content.clip";
1688 program { name: "multi_down";
1689 signal: "elm,action,multi,down";
1692 set_int(multi_down, 1);
1695 program { name: "multi_up";
1696 signal: "elm,action,multi,up";
1699 set_int(multi_down, 0);
1705 group { name: "elm/button/base/ime_transparent";
1706 inherit: "elm/button/base/default";
1711 description { state: "default" 0.0;
1715 description { state: "pressed" 0.0;
1716 inherit: "default" 0.0;
1718 description { state: "disabled" 0.0;
1719 inherit: "default" 0.0;
1725 group { name: "elm/button/base/ime_button";
1726 alias: "elm/button/base/ime_button_stt";
1727 inherit: "elm/button/base/default";
1732 description { state: "default" 0.0;
1734 color_class: "AO01153L1";
1736 image.normal: "./w_mode_ic_bg.png";
1738 description { state: "pressed" 0.0;
1739 inherit: "default" 0.0;
1740 color_class: "AO01153L1P";
1742 description { state: "disabled" 0.0;
1743 inherit: "default" 0.0;
1744 color_class: "W011D";
1747 part { name: "elm.swallow.content";
1750 clip_to: "elm.swallow.content.clip";
1751 description { state: "default" 0.0;
1754 rel1 { relative: 0.0 0.0; to: "bg";}
1755 rel2 { relative: 1.0 1.0; to: "bg";}
1758 description { state: "visible" 0.0;
1759 inherit: "default" 0.0;
1762 description { state: "icononly" 0.0;
1763 inherit: "default" 0.0;
1770 program { name: "pressed";
1771 signal: "mouse,down,1*";
1774 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
1776 set_int(mouse_down, 1);
1777 run_program(PROGRAM:"button_press1");
1781 program { name: "button_press1";
1785 get_state(PART:"bg", st, 30, vl);
1786 if (strcmp(st, "disabled")) {
1787 set_state(PART:"bg", "pressed", 0.0);
1788 set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
1789 emit("elm,action,press", "");
1793 program { name: "unpressed";
1794 signal: "mouse,up,1";
1797 if (get_int(mouse_down) == 1) {
1798 set_int(mouse_down, 0);
1799 run_program(PROGRAM:"button_unpress1");
1803 program { name: "button_unpress1";
1807 get_state(PART:"bg", st, 30, vl);
1808 if (strcmp(st, "disabled")) {
1809 set_state(PART:"bg", "default", 0.0);
1810 set_state(PART:"elm.swallow.content.clip", "default", 0.0);
1811 emit("elm,action,unpress", "");
1818 group { name: "elm/button/base/ime_button_emoticon";
1819 inherit: "elm/button/base/ime_button";
1824 description { state: "default" 0.0;
1826 color_class: "AO01154L1";
1828 image.normal: "./w_mode_ic_bg.png";
1830 description { state: "pressed" 0.0;
1831 inherit: "default" 0.0;
1832 color_class: "AO01154L1P";
1834 description { state: "disabled" 0.0;
1835 inherit: "default" 0.0;
1836 color_class: "W011D";
1842 group { name: "elm/button/base/ime_button_keyboard";
1843 inherit: "elm/button/base/ime_button";
1848 description { state: "default" 0.0;
1850 color_class: "AO01155L1";
1852 image.normal: "./w_mode_ic_bg.png";
1854 description { state: "pressed" 0.0;
1855 inherit: "default" 0.0;
1856 color_class: "AO01155L1P";
1858 description { state: "disabled" 0.0;
1859 inherit: "default" 0.0;
1860 color_class: "W011D";
1866 group { name: "elm/button/base/ime_button_template";
1867 inherit: "elm/button/base/ime_button";
1872 description { state: "default" 0.0;
1875 color_class: "AO01161";
1877 image.normal: "./w_mode_ic_bg.png";
1879 description { state: "pressed" 0.0;
1880 inherit: "default" 0.0;
1881 color_class: "AO01161P";
1883 description { state: "disabled" 0.0;
1884 inherit: "default" 0.0;
1885 color_class: "AO01161D";
1888 part { name: "elm.swallow.content.clip";
1891 description { state: "default" 0.0;
1892 color_class: "AO01153L3";
1894 description { state: "pressed" 0.0;
1895 inherit: "default" 0.0;
1896 color_class: "AO01153L3P";
1898 description { state: "disabled" 0.0;
1899 inherit: "default" 0.0;
1900 color_class: "AO01153L3D";
1906 group { name: "elm/button/base/ime_button_stt_confirm";
1907 inherit: "elm/button/base/ime_button";
1912 description { state: "default" 0.0;
1914 color_class: "AO015L2";
1916 image.normal: "./b_stt_icon_btn.png";
1918 description { state: "pressed" 0.0;
1919 inherit: "default" 0.0;
1920 color_class: "AO015L2P";
1922 description { state: "disabled" 0.0;
1923 inherit: "default" 0.0;
1924 color_class: "AO015L2D";
1927 part { name: "elm.swallow.content.clip";
1930 description { state: "default" 0.0;
1931 color_class: "AO015L2";
1933 description { state: "pressed" 0.0;
1934 inherit: "default" 0.0;
1935 color_class: "AO015L2P";
1937 description { state: "disabled" 0.0;
1938 inherit: "default" 0.0;
1939 color_class: "AO015L2D";
1945 group { name: "elm/button/base/touch_area";
1946 inherit: "elm/button/base/default";
1951 description { state: "default" 0.0;
1956 description { state: "pressed" 0.0;
1957 inherit: "default" 0.0;
1959 description { state: "disabled" 0.0;
1960 inherit: "default" 0.0;
1965 program { name: "touch_snd";
1966 signal: "mouse,clicked,1";
1971 if (get_int(multi_down) == 0) {
1972 get_state(PART:"bg", st, 30, vl);
1973 if (strcmp(st, "disabled")) {
1974 run_program(PROGRAM:"play_sample");
1975 emit("elm,action,click", "");
1983 group { name: "elm/button/base/emoticon";
1986 public mouse_down = 0;
1987 public multi_down = 0;
1993 description { state: "default" 0.0;
1996 description { state: "pressed" 0.0;
1997 inherit: "default" 0.0;
1999 description { state: "disabled" 0.0;
2000 inherit: "default" 0.0;
2003 part { name: "padding_left_top";
2006 description { state: "default" 0.0;
2008 rel2.relative: 0.0 0.0;
2012 //color: 255 0 0 100;
2015 part { name: "padding_right_bottom";
2018 description { state: "default" 0.0;
2020 rel1.relative: 1.0 1.0;
2024 //color: 0 255 0 100;
2027 part { name: "elm.text";
2031 description { state: "default" 0.0;
2035 to: "padding_left_top";
2039 to: "padding_right_bottom";
2043 style: "button_general_text_normal";
2046 description { state: "disabled" 0.0;
2047 inherit: "default" 0.0;
2048 text.style: "button_general_text_dim";
2050 description { state: "pressed" 0.0;
2051 inherit: "default" 0.0;
2052 text.style: "button_general_text_press";
2055 part { name: "event";
2058 description { state: "default" 0.0;
2066 program { name: "pressed";
2067 signal: "mouse,down,1*";
2070 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
2072 set_int(mouse_down, 1);
2073 run_program(PROGRAM:"button_press1");
2077 program { name: "button_press1";
2081 get_state(PART:"bg", st, 30, vl);
2082 if (strcmp(st, "disabled")) {
2083 set_state(PART:"bg", "pressed", 0.0);
2084 set_state(PART:"elm.text", "pressed", 0.0);
2085 emit("elm,action,press", "");
2089 program { name: "unpressed";
2090 signal: "mouse,up,1";
2093 if (get_int(mouse_down) == 1) {
2094 set_int(mouse_down, 0);
2095 run_program(PROGRAM:"button_unpress1");
2099 program { name: "button_unpress1";
2103 get_state(PART:"bg", st, 30, vl);
2104 if (strcmp(st, "disabled")) {
2105 set_state(PART:"bg", "default", 0.0);
2106 set_state(PART:"elm.text", "default", 0.0);
2107 emit("elm,action,unpress", "");
2111 program { name: "touch_snd";
2112 signal: "mouse,clicked,1";
2117 if (get_int(multi_down) == 0) {
2118 get_state(PART:"bg", st, 30, vl);
2119 if (strcmp(st, "disabled")) {
2120 run_program(PROGRAM:"play_sample");
2121 emit("elm,action,click", "");
2127 name: "play_sample";
2128 action: RUN_PLUGIN "touch_sound";
2130 program { name: "disable";
2131 signal: "elm,state,disabled";
2133 action: STATE_SET "disabled" 0.0;
2137 program { name: "enable";
2138 signal: "elm,state,enabled";
2140 action: STATE_SET "default" 0.0;
2144 program { name: "multi_down";
2145 signal: "elm,action,multi,down";
2148 set_int(multi_down, 1);
2151 program { name: "multi_up";
2152 signal: "elm,action,multi,up";
2155 set_int(multi_down, 0);
2161 #define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop
2162 #define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time
2163 #define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time
2164 #define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time
2165 #define ACTIONBAR_PADDING_SIZE_INC 64
2166 #define ACTIONBAR_HEIGHT_INC 115
2167 #define ACTIONBAR_TEXT_SIZE_INC 39
2168 #define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51
2169 #define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25
2170 #define ACTIONBAR_TEX_SLIDING_SPEED 0.006
2171 #define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8
2172 #define HIDDEN_BUTTON_HEIGHT_INC 88
2174 #define STYLE_TAG_MATCH \
2175 tag: "match" "+ color=#ffffff color_class=T0212";
2178 style { name: "action_bar_title";
2179 base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012";
2184 group { name: "elm_naviframe_item_basic_customized";
2185 data.item: "tizen_zoom" 1;
2187 public g_mirrored = 0; //Mirrored on/off status
2188 public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer
2190 public g_duration_1st;
2191 public g_duration_2nd;
2194 public g_sliding_start;
2196 public title_text_fade_out() {
2199 if (get_int(g_text_fade_out_calc_timer)) {
2200 cancel_timer(g_text_fade_out_calc_timer);
2201 set_int(g_text_fade_out_calc_timer, 0);
2204 get_geometry(PART:"elm.text.title", x, y, w, h);
2205 get_geometry(PART:"title_text_bg", x, y, w2, h);
2210 set_float(g_duration_1st, 0);
2211 set_float(g_duration_2nd, 0);
2212 set_int(g_timer_id, 0);
2213 set_int(g_anim_id, 0);
2214 set_int(g_sliding_start, 0);
2216 public slide_first_anim(val, Float:pos) {
2217 set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0);
2219 cancel_anim(get_int(g_anim_id));
2220 set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1));
2223 public slide_second_anim(val, Float:pos) {
2224 set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0);
2228 public slide_first() {
2230 if (get_int(g_sliding_start)) {
2231 set_state(PART:"elm.text.title", "slide", 0.0);
2233 set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1));
2236 public slide_start() {
2237 set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1));
2239 public slide_stop() {
2240 cancel_anim(get_int(g_anim_id));
2241 set_state(PART:"elm.text.title", "default", 0.0);
2242 set_int(g_sliding_start, 0);
2244 public check_size() {
2246 get_geometry(PART:"elm.text.title", x, y, w, h);
2247 get_geometry(PART:"title_text_clip", x, y, w1, h);
2249 set_int(g_sliding_start, 1);
2252 set_int(g_sliding_start, 0);
2255 public get_duration() {
2257 get_geometry(PART:"elm.text.title", x, y, w, h);
2258 get_geometry(PART:"title_text_clip", x, y, w1, h);
2259 set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED);
2260 set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED);
2264 part { name: "clipper";
2266 description { state: "default" 0.0;
2269 description { state: "hide" 0.0;
2273 part { name: "base";
2278 description { state: "default" 0.0;
2279 color: 128 128 128 128;
2282 part { name: "title_expand";
2287 description { state: "default" 0.0;
2288 min: 0 HIDDEN_BUTTON_HEIGHT_INC;
2289 max: -1 HIDDEN_BUTTON_HEIGHT_INC;
2293 color: 255 255 255 0;
2294 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; }
2295 rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; }
2297 description { state: "show" 0.0;
2298 inherit: "default" 0.0;
2303 part { name: "title_clip";
2306 description { state: "default" 0.0;
2308 rel1.to: "title_bg";
2309 rel2.to: "title_bg";
2311 description { state: "hide" 0.0;
2312 inherit: "default" 0.0;
2316 part { name: "title_bg";
2319 clip_to: "title_clip";
2320 description { state: "default" 0.0;
2321 min: 0 ACTIONBAR_HEIGHT_INC;
2322 max: -1 ACTIONBAR_HEIGHT_INC;
2325 rel1 { relative: 0.0 0.0; to: "base"; }
2326 rel2 { relative: 1.0 0.0; to: "base"; }
2327 color: 255 255 255 0;
2329 description { state: "hide_trans" 0.0;
2330 inherit: "default" 0.0;
2333 description { state: "hide" 0.0;
2334 inherit: "default" 0.0;
2339 part { name: "title_text_bg";
2342 description { state: "default" 0.0;
2343 rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; }
2344 rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; }
2348 part { name: "title_text_clip";
2351 clip_to: "title_clip";
2352 description { state: "default" 0.0;
2353 rel1.to: "title_text_bg";
2354 rel2.to: "title_text_bg";
2357 part { name: "elm.text.title";
2360 clip_to: "title_text_clip";
2361 description { state: "default" 0.0;
2366 // fade_ellipsis: 1.0;
2367 style: "action_bar_title";
2371 rel1.to: "title_text_bg"; rel2.to: "title_text_bg";
2373 description { state: "slide" 0.0;
2374 inherit: "default" 0.0;
2378 to_x: "left_padding";
2379 to_y: "top_padding";
2383 to_x: "left_padding";
2384 to_y: "bottom_padding";
2388 description { state: "slide_1" 0.0;
2389 inherit: "default" 0.0;
2393 to_x: "left_padding";
2394 to_y: "top_padding";
2398 to_x: "left_padding";
2399 to_y: "bottom_padding";
2403 description { state: "slide_2" 0.0;
2404 inherit: "default" 0.0;
2408 to_x: "right_padding";
2409 to_y: "top_padding";
2413 to_x: "right_padding";
2414 to_y: "bottom_padding";
2419 part { name: "left_padding";
2422 description { state: "default" 0.0;
2423 min: ACTIONBAR_PADDING_SIZE_INC 0;
2424 max: ACTIONBAR_PADDING_SIZE_INC -1;
2427 rel1 { relative: 0.0 0.0; to: "title_bg"; }
2428 rel2 { relative: 0.0 1.0; to: "title_bg"; }
2431 part { name: "right_padding";
2434 description { state: "default" 0.0;
2435 min: ACTIONBAR_PADDING_SIZE_INC 0;
2436 max: ACTIONBAR_PADDING_SIZE_INC -1;
2439 rel1 { relative: 1.0 0.0; to: "title_bg"; }
2440 rel2 { relative: 1.0 1.0; to: "title_bg"; }
2443 part { name: "click_event_area";
2445 ignore_flags: ON_HOLD;
2446 description { state: "default" 0.0;
2447 rel1 { to: "title_bg"; }
2448 rel2 { to: "title_bg"; }
2452 part { name: "access.title";
2455 description { state: "default" 0.0;
2456 rel1.to: "title_bg";
2457 rel2.to: "title_bg";
2461 part { name: "top_padding";
2464 description { state: "default" 0.0;
2467 min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2468 max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC;
2469 rel1 {relative: 0.0 0.0; to: "title_bg"; }
2470 rel2 {relative: 1.0 0.0; to: "title_bg"; }
2473 part { name: "bottom_padding";
2476 description { state: "default" 0.0;
2479 min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2480 max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC;
2481 rel1 {relative: 0.0 1.0; to: "title_bg"; }
2482 rel2 {relative: 1.0 1.0; to: "title_bg"; }
2485 part { name: "elm.swallow.content";
2490 description { state: "default" 0.0;
2491 rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; }
2492 rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; }
2495 part { name: "elm.swallow.circle_bg";
2500 description { state: "default" 0.0; }
2502 part { name: "elm.swallow.circle";
2507 description { state: "default" 0.0; }
2509 part { name: "button_padding";
2512 description { state: "default" 0.0;
2517 rel1 {relative: 0.0 1.0; to: "base"; }
2518 rel2 {relative: 1.0 1.0; to: "base"; }
2523 program { name: "visible";
2524 signal: "elm,state,visible";
2527 set_state(PART:"base", "default", 0.0);
2528 set_state(PART:"clipper", "default", 0.0);
2531 run_program(PROGRAM:"title_text_fade_out");
2534 program { name: "invisible";
2535 signal: "elm,state,invisible";
2538 set_state(PART:"clipper", "hide", 0.0);
2541 program { name: "title_hide";
2542 signal: "elm,state,title,hide";
2545 set_state(PART:"title_bg", "hide", 0.0);
2546 set_state(PART:"title_clip", "hide", 0.0);
2549 program { name: "title_hide_trans";
2550 signal: "elm,action,title,hide";
2555 get_state(PART:"title_bg", st, 32, vl);
2556 if (!strcmp(st, "default")) {
2557 run_program(PROGRAM:"title_hide_trans2");
2561 program { name: "title_hide_trans2";
2562 action: STATE_SET "hide_trans" 0.0;
2564 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2565 after: "title_hide_trans3";
2567 program { name: "title_hide_trans3";
2569 run_program(PROGRAM:"title_hide");
2571 after: "title_trans_finished";
2573 program { name: "title_trans_finished";
2574 action: SIGNAL_EMIT "elm,action,title,transition,finished" "";
2576 program { name: "title_show";
2577 signal: "elm,state,title,show";
2580 set_state(PART:"title_bg", "default", 0.0);
2581 set_state(PART:"title_clip", "default", 0.0);
2582 run_program(PROGRAM:"title_text_fade_out");
2585 program { name: "title_show_trans";
2586 signal: "elm,action,title,show";
2591 get_state(PART:"title_bg", st, 32, vl);
2592 if (!strcmp(st, "hide")) {
2593 set_state(PART:"title_bg", "hide_trans", 0.0);
2594 set_state(PART:"title_clip", "default", 0.0);
2595 run_program(PROGRAM:"title_show_trans2");
2599 program { name: "title_show_trans2";
2600 action: STATE_SET "default" 0.0;
2602 transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7;
2603 after: "title_trans_finished";
2605 program { name: "title_label_show";
2606 signal: "elm,state,title_label,show";
2609 run_program(PROGRAM:"title_text_fade_out");
2612 program { name: "title_label_hide";
2613 signal: "elm,state,title_label,hide";
2616 program { name: "title_expand_show";
2617 signal: "elm,state,title_expand,show";
2620 set_state(PART:"title_expand", "show", 0.0);
2623 program { name: "title_expand_hide";
2624 signal: "elm,state,title_expand,hide";
2627 set_state(PART:"title_expand", "default", 0.0);
2630 program { name: "hidden_btn_show_trans";
2631 signal: "elm,action,title_expand,show";
2633 action: STATE_SET "show" 0.0;
2634 target: "title_expand";
2635 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2637 program { name: "title_expand_hide_trans";
2638 signal: "elm,action,title_expand,hide";
2640 action: STATE_SET "default" 0.0;
2641 target: "title_expand";
2642 transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7;
2644 program { name: "title_clicked";
2645 signal: "mouse,clicked,1";
2646 source: "click_event_area";
2647 action: SIGNAL_EMIT "elm,action,title,clicked" "";
2650 name: "mirrored_on";
2651 signal: "edje,state,rtl";
2654 set_int(g_mirrored, 1);
2655 run_program(PROGRAM:"title_text_fade_out");
2659 name: "mirrored_off";
2660 signal: "edje,state,ltr";
2663 set_int(g_mirrored, 0);
2664 run_program(PROGRAM:"title_text_fade_out");
2668 name: "title_text_fade_out";
2670 if (get_int(g_text_fade_out_calc_timer)) {
2671 cancel_timer(g_text_fade_out_calc_timer);
2672 set_int(g_text_fade_out_calc_timer, 0);
2674 set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0));
2680 //////////////////////////////////////////////////////////////////////////////////
2681 // Customizing panel for send button.
2682 //////////////////////////////////////////////////////////////////////////////////
2684 // ***************************** Panel*****************************************/
2685 #define PANEL_LEFT_PADDING_SIZE_INC 8
2686 #define PANEL_RIGHT_PADDING_SIZE_INC 6
2687 #define PANEL_LEFT_IMAGE_SIZE_INC 29 36
2688 #define PANEL_RIGHT_IMAGE_SIZE_INC 16 36
2689 #define PANEL_RIGHT_CUE_SIZE_INC 32 158
2690 #define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158
2691 #define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140
2692 #define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140
2693 #define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200
2694 #define PANEL_LAYOUT_SIZE_INC 360 360
2697 image, "./b_more_option.png" COMP;
2698 image, "./b_more_option_ef.png" COMP;
2699 image, "./b_more_option_bg.png" COMP;
2700 image, "./b_ic_press_full_circle_bg.png" COMP;
2703 group { name: "elm/panel/right1/default";
2705 public mouse_down = 0;
2706 public mouse_click = 0;
2707 public multi_down = 0;
2708 public click_cnt = 0;
2709 public event_down = 0;
2710 public cue_hide = 0;
2711 public timer0(val) {
2713 run_program(PROGRAM:"change_opacity");
2715 run_program(PROGRAM:"change_opacity2");
2722 description { state: "default" 0.0;
2723 min: PANEL_LAYOUT_SIZE_INC;
2724 max: PANEL_LAYOUT_SIZE_INC;
2725 //color_class: "transparent";
2729 part { name: "cue.padding";
2731 description { state: "default" 0.0;
2733 rel1.relative: 1.0 0.0;
2735 rel2.relative: 1.0 1.0;
2737 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
2738 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
2743 description { state: "default" 0.0;
2744 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2745 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2747 image.normal: "./b_more_option.png";
2748 color: 128 128 128 128;
2749 rel1.to: "cue.padding";
2750 rel1.relative: 0.0 0.0;
2751 rel2.to: "cue.padding";
2752 rel2.relative: 0.0 1.0;
2755 description { state: "hidden" 0.0;
2756 inherit: "default" 0.0;
2759 description { state: "disabled" 0.0;
2760 inherit: "default" 0.0;
2761 color: 128 128 128 128;
2764 part { name: "cue_ef";
2765 description { state: "default" 0.0;
2766 min: PANEL_RIGHT_IMAGE_SIZE_INC;
2767 max: PANEL_RIGHT_IMAGE_SIZE_INC;
2769 image.normal: "./b_more_option_ef.png";
2770 color: 128 128 128 128;
2774 description { state: "hidden" 0.0;
2775 inherit: "default" 0.0;
2779 part { name: "effect_bg";
2781 clip_to: "effect_bg_clip";
2783 description { state: "default" 0.0;
2784 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2785 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2787 rel1.relative: 1.0 0.0;
2789 rel2.relative: 1.0 1.0;
2792 image.normal: "./b_ic_press_full_circle_bg.png";
2793 color: 128 128 128 128;
2796 description { state: "pressed" 0.0;
2797 inherit: "default" 0.0;
2798 color: 128 128 128 128;
2804 description { state: "disabled" 0.0;
2805 inherit: "default" 0.0;
2807 description { state: "start_persp" 0.0;
2808 inherit: "default" 0.0;
2809 color: 128 128 128 128;
2816 part { name: "effect_bg_clip";
2820 description { state: "default" 0.0;
2821 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2822 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2824 rel1.relative: 1.0 0.0;
2826 rel2.relative: 1.0 1.0;
2829 color: 255 255 255 0;
2831 description { state: "pressed" 0.0;
2832 inherit: "default" 0.0;
2833 color: 255 255 255 255;
2835 description { state: "disabled" 0.0;
2836 inherit: "default" 0.0;
2839 part { name: "effect_bg2";
2841 clip_to: "effect_bg_clip2";
2843 description { state: "default" 0.0;
2844 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2845 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2847 rel1.relative: 1.0 0.0;
2849 rel2.relative: 1.0 1.0;
2852 image.normal: "./b_ic_press_full_circle_bg.png";
2853 //color_class: "transparent";
2857 description { state: "pressed" 0.0;
2858 inherit: "default" 0.0;
2859 color: 128 128 128 128;
2865 description { state: "disabled" 0.0;
2866 inherit: "default" 0.0;
2868 description { state: "start_persp" 0.0;
2869 inherit: "default" 0.0;
2870 color: 128 128 128 128;
2877 part { name: "effect_bg_clip2";
2881 description { state: "default" 0.0;
2882 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2883 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
2885 rel1.relative: 1.0 0.0;
2887 rel2.relative: 1.0 1.0;
2890 color: 255 255 255 0;
2892 description { state: "pressed" 0.0;
2893 inherit: "default" 0.0;
2894 color: 255 255 255 255;
2896 description { state: "disabled" 0.0;
2897 inherit: "default" 0.0;
2900 part { name: "cue.event";
2903 description { state: "default" 0.0;
2904 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2905 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
2907 //color_class: "transparent";
2910 rel1.relative: 1.0 0.0;
2912 rel2.relative: 1.0 1.0;
2915 description { state: "hidden" 0.0;
2916 inherit: "default" 0.0;
2920 part { name: "cue.release.event";
2923 description { state: "default" 0.0;
2924 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2925 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
2927 //color_class: "transparent";
2930 rel1.relative: 1.0 0.0;
2932 rel2.relative: 1.0 1.0;
2935 description { state: "hidden" 0.0;
2936 inherit: "default" 0.0;
2940 part { name: "base";
2942 description { state: "default" 0.0;
2949 image.normal: "./b_more_option_bg.png";
2950 color: 128 128 128 128;
2963 description { state: "show" 0.0;
2964 inherit: "default" 0.0;
2971 color[0]: 255 255 255 255;
2972 color[1]: 255 255 255 255;
2973 color[2]: 255 255 255 255;
2974 color[3]: 255 255 255 255;
2978 part { name: "elm.swallow.content";
2980 description { state: "default" 0.0;
2997 description { state: "show" 0.0;
2998 inherit: "default" 0.0;
3005 color[0]: 255 255 255 255;
3006 color[1]: 255 255 255 255;
3007 color[2]: 255 255 255 255;
3008 color[3]: 255 255 255 255;
3014 program { name: "pressed";
3015 signal: "mouse,down,1*";
3016 source: "cue.event";
3018 if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
3020 set_int(mouse_down, 1);
3021 set_int(event_down, 1);
3022 run_program(PROGRAM:"button_press1");
3026 program { name: "button_press1";
3030 get_state(PART:"effect_bg", st, 30, vl);
3031 if (strcmp(st, "disabled")) {
3032 emit("elm,action,press", "");
3033 run_program(PROGRAM:"haptic");
3034 if(get_int(click_cnt) == 0) {
3035 set_state(PART:"effect_bg", "pressed", 0.0);
3036 set_state(PART:"effect_bg_clip", "pressed", 0.0);
3037 run_program(PROGRAM:"start_persp");
3038 timer(0.3, "timer0", 1);
3040 else if(get_int(click_cnt) == 1) {
3041 set_state(PART:"effect_bg2", "pressed", 0.0);
3042 set_state(PART:"effect_bg_clip2", "pressed", 0.0);
3043 run_program(PROGRAM:"start_persp2");
3044 timer(0.3, "timer0", 2);
3049 program { name: "unpressed";
3050 signal: "mouse,up,1";
3051 source: "cue.event";
3053 if (get_int(mouse_down) == 1) {
3054 set_int(mouse_down, 0);
3055 run_program(PROGRAM:"button_unpress1");
3059 program { name: "button_unpress1";
3063 get_state(PART:"effect_bg", st, 30, vl);
3064 if (strcmp(st, "disabled")) {
3065 if(get_int(click_cnt) == 0)
3066 set_int(click_cnt, 1);
3068 set_int(click_cnt, 0);
3072 program { name: "release.event_clicked";
3073 signal: "mouse,clicked,*";
3074 source: "cue.release.event";
3076 if (get_int(event_down) == 1) {
3077 set_int(event_down, 0);
3078 emit("cue,clicked", "elm");
3079 run_program(PROGRAM:"panel_toggle");
3080 run_program(PROGRAM:"play_sample");
3085 name: "play_sample";
3086 action: RUN_PLUGIN "touch_sound";
3088 program { name: "panel_toggle";
3089 action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
3093 action: RUN_PLUGIN "haptic_tap";
3095 program { name: "disable";
3096 signal: "elm,state,disabled";
3099 if (get_int(cue_hide) == 0)
3100 set_state(PART:"cue", "disabled", 0.0);
3101 set_state(PART:"effect_bg", "disabled", 0.0);
3102 set_state(PART:"cue.event", "hidden", 0.0);
3103 set_state(PART:"cue.release.event", "hidden", 0.0);
3106 program { name: "enable";
3107 signal: "elm,state,enabled";
3110 if (get_int(cue_hide) == 1) {
3111 set_state(PART:"cue", "hidden", 0.0);
3112 set_state(PART:"cue.event", "hidden", 0.0);
3113 set_state(PART:"cue.release.event", "hidden", 0.0);
3116 set_state(PART:"cue", "default", 0.0);
3117 set_state(PART:"cue.event", "default", 0.0);
3118 set_state(PART:"cue.release.event", "default", 0.0);
3120 set_state(PART:"effect_bg", "default", 0.0);
3123 program { name: "multi_down";
3124 signal: "elm,action,multi,down";
3127 set_int(multi_down, 1);
3130 program { name: "multi_up";
3131 signal: "elm,action,multi,up";
3134 set_int(multi_down, 0);
3137 program { name: "start_persp";
3138 action: STATE_SET "start_persp" 0.0;
3139 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3140 target: "effect_bg";
3142 program { name: "change_opacity";
3143 action: STATE_SET "default" 0.0;
3144 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3145 target: "effect_bg_clip";
3147 program { name: "start_persp2";
3148 action: STATE_SET "start_persp" 0.0;
3149 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3150 target: "effect_bg2";
3152 program { name: "change_opacity2";
3153 action: STATE_SET "default" 0.0;
3154 transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0;
3155 target: "effect_bg_clip2";
3158 signal: "elm,action,show";
3160 action: STATE_SET "show" 0.0;
3161 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3162 target: "elm.swallow.content";
3164 after: "active,finished";
3167 signal: "elm,action,hide";
3169 action: STATE_SET "default" 0.0;
3170 transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0;
3171 target: "elm.swallow.content";
3173 after: "inactive,finished";
3175 program { name: "active,finished";
3176 action: SIGNAL_EMIT "elm,state,active,finished" "elm";
3178 program { name: "inactive,finished";
3179 action: SIGNAL_EMIT "elm,state,inactive,finished" "elm";
3181 program { name: "cue,hide";
3185 set_int(cue_hide, 1);
3186 set_state(PART:"cue", "hidden", 0.0);
3187 set_state(PART:"cue_ef", "hidden", 0.0);
3188 set_state(PART:"cue.event", "hidden", 0.0);
3189 set_state(PART:"cue.release.event", "hidden", 0.0);
3192 program { name: "cue,show";
3196 set_int(cue_hide, 0);
3197 set_state(PART:"cue", "default", 0.0);
3198 set_state(PART:"cue_ef", "default", 0.0);
3199 set_state(PART:"cue.event", "default", 0.0);
3200 set_state(PART:"cue.release.event", "default", 0.0);
3206 group { name: "elm/panel/left1/default";
3207 inherit: "elm/panel/right1/default";
3209 part { name: "cue.padding";
3211 description { state: "default" 0.0;
3213 rel1.relative: 0.0 0.0;
3215 rel2.relative: 0.0 1.0;
3217 min: PANEL_RIGHT_PADDING_SIZE_INC 0;
3218 max: PANEL_RIGHT_PADDING_SIZE_INC -1;
3223 description { state: "default" 0.0;
3224 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3225 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3227 image.normal: "./b_more_option.png";
3228 color: 128 128 128 128;
3229 rel1.to: "cue.padding";
3230 rel1.relative: 1.0 0.0;
3231 rel2.to: "cue.padding";
3232 rel2.relative: 1.0 1.0;
3235 description { state: "hidden" 0.0;
3236 inherit: "default" 0.0;
3239 description { state: "disabled" 0.0;
3240 inherit: "default" 0.0;
3241 color: 128 128 128 128;
3244 part { name: "cue_ef";
3245 description { state: "default" 0.0;
3246 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3247 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3249 image.normal: "./b_more_option_ef.png";
3250 color: 128 128 128 128;
3254 description { state: "hidden" 0.0;
3255 inherit: "default" 0.0;
3259 part { name: "effect_bg";
3261 clip_to: "effect_bg_clip";
3263 description { state: "default" 0.0;
3264 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3265 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3267 rel1.relative: 0.0 0.0;
3269 rel2.relative: 0.0 1.0;
3272 image.normal: "./b_ic_press_full_circle_bg.png";
3273 color: 128 128 128 128;
3276 description { state: "pressed" 0.0;
3277 inherit: "default" 0.0;
3278 color: 128 128 128 128;
3284 description { state: "disabled" 0.0;
3285 inherit: "default" 0.0;
3287 description { state: "start_persp" 0.0;
3288 inherit: "default" 0.0;
3289 color: 128 128 128 128;
3296 part { name: "effect_bg_clip";
3300 description { state: "default" 0.0;
3301 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3302 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3304 rel1.relative: 0.0 0.0;
3306 rel2.relative: 0.0 1.0;
3309 color: 255 255 255 0;
3311 description { state: "pressed" 0.0;
3312 inherit: "default" 0.0;
3313 color: 255 255 255 255;
3315 description { state: "disabled" 0.0;
3316 inherit: "default" 0.0;
3319 part { name: "effect_bg2";
3321 clip_to: "effect_bg_clip2";
3323 description { state: "default" 0.0;
3324 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3325 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3327 rel1.relative: 0.0 0.0;
3329 rel2.relative: 0.0 1.0;
3332 image.normal: "./b_ic_press_full_circle_bg.png";
3333 //color_class: "transparent";
3337 description { state: "pressed" 0.0;
3338 inherit: "default" 0.0;
3339 color: 128 128 128 128;
3345 description { state: "disabled" 0.0;
3346 inherit: "default" 0.0;
3348 description { state: "start_persp" 0.0;
3349 inherit: "default" 0.0;
3350 color: 128 128 128 128;
3357 part { name: "effect_bg_clip2";
3361 description { state: "default" 0.0;
3362 min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3363 max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC;
3365 rel1.relative: 0.0 0.0;
3367 rel2.relative: 0.0 1.0;
3370 color: 255 255 255 0;
3372 description { state: "pressed" 0.0;
3373 inherit: "default" 0.0;
3374 color: 255 255 255 255;
3376 description { state: "disabled" 0.0;
3377 inherit: "default" 0.0;
3380 part { name: "cue.event";
3382 description { state: "default" 0.0;
3383 min: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3384 max: PANEL_RIGHT_EVENT_AREA_SIZE_INC;
3386 //color_class: "transparent";
3389 rel1.relative: 0.0 0.0;
3391 rel2.relative: 0.0 1.0;
3394 description { state: "hidden" 0.0;
3395 inherit: "default" 0.0;
3399 part { name: "cue.release.event";
3402 description { state: "default" 0.0;
3403 min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3404 max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC;
3406 //color_class: "transparent";
3409 rel1.relative: 0.0 0.0;
3411 rel2.relative: 0.0 1.0;
3414 description { state: "hidden" 0.0;
3415 inherit: "default" 0.0;
3422 group { name: "elm/panel/left_sending/default";
3423 inherit: "elm/panel/left1/default";
3425 part { name: "cue.padding";
3427 description { state: "default" 0.0;
3429 rel1.relative: 0.0 0.0;
3431 rel2.relative: 0.0 1.0;
3433 min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0;
3434 max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1;
3439 description { state: "default" 0.0;
3440 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3441 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3443 image.normal: "./b_stt_send_icon.png";
3444 color: 128 128 128 128;
3445 rel1.to: "cue.padding";
3446 rel1.relative: 1.0 0.0;
3447 rel2.to: "cue.padding";
3448 rel2.relative: 1.0 1.0;
3451 description { state: "hidden" 0.0;
3452 inherit: "default" 0.0;
3455 description { state: "disabled" 0.0;
3456 inherit: "default" 0.0;
3457 color_class: "AO015L2D";//"B052L1D";
3460 part { name: "cue_ef";
3461 description { state: "default" 0.0;
3462 min: PANEL_RIGHT_IMAGE_SIZE_INC;
3463 max: PANEL_RIGHT_IMAGE_SIZE_INC;
3466 image.normal: "./b_more_option_ef.png";
3467 color: 128 128 128 128;
3471 description { state: "hidden" 0.0;
3472 inherit: "default" 0.0;
3479 group { name: "elm/panel/left_confirm/default";
3480 inherit: "elm/panel/left_sending/default";
3483 description { state: "default" 0.0;
3484 min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3485 max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC;
3487 image.normal: "./b_stt_confirm_icon.png";
3488 color: 128 128 128 128;
3489 rel1.to: "cue.padding";
3490 rel1.relative: 1.0 0.0;
3491 rel2.to: "cue.padding";
3492 rel2.relative: 1.0 1.0;
3495 description { state: "hidden" 0.0;
3496 inherit: "default" 0.0;
3499 description { state: "disabled" 0.0;
3500 inherit: "default" 0.0;
3501 color_class: "AO015L2D";//"B052L1D";