From 3ad3455551be0d7859ecb02290376206d5e66498 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 22 Apr 2012 09:20:32 +1000 Subject: And actually include new files, plus elementary libraries. --- libraries/elementary/data/Makefile.am | 3 + libraries/elementary/data/Makefile.in | 666 ++ libraries/elementary/data/desktop/Makefile.am | 10 + libraries/elementary/data/desktop/Makefile.in | 537 + libraries/elementary/data/desktop/elementary.png | Bin 0 -> 7313 bytes .../data/desktop/elementary_config.desktop | 18 + .../data/desktop/elementary_test.desktop | 15 + .../elementary/data/edje_externals/Makefile.am | 44 + .../elementary/data/edje_externals/Makefile.in | 551 + .../data/edje_externals/ico_anchorblock.png | Bin 0 -> 306 bytes .../data/edje_externals/ico_anchorview.png | Bin 0 -> 403 bytes .../elementary/data/edje_externals/ico_bubble.png | Bin 0 -> 1311 bytes .../elementary/data/edje_externals/ico_button.png | Bin 0 -> 181 bytes .../elementary/data/edje_externals/ico_check.png | Bin 0 -> 179 bytes .../elementary/data/edje_externals/ico_clock.png | Bin 0 -> 7958 bytes .../data/edje_externals/ico_fileselector.png | Bin 0 -> 265 bytes .../edje_externals/ico_fileselector_button.png | Bin 0 -> 198 bytes .../elementary/data/edje_externals/ico_genlist.png | Bin 0 -> 158 bytes .../data/edje_externals/ico_hoversel.png | Bin 0 -> 4670 bytes .../elementary/data/edje_externals/ico_list.png | Bin 0 -> 2167 bytes .../elementary/data/edje_externals/ico_map.png | Bin 0 -> 2232 bytes .../elementary/data/edje_externals/ico_notepad.png | Bin 0 -> 148 bytes .../data/edje_externals/ico_photocam.png | Bin 0 -> 11838 bytes .../data/edje_externals/ico_progressbar.png | Bin 0 -> 138 bytes .../elementary/data/edje_externals/ico_radio.png | Bin 0 -> 257 bytes .../data/edje_externals/ico_scrolled_entry.png | Bin 0 -> 125 bytes .../elementary/data/edje_externals/ico_slider.png | Bin 0 -> 172 bytes .../data/edje_externals/ico_slideshow.png | Bin 0 -> 1059 bytes .../elementary/data/edje_externals/ico_spinner.png | Bin 0 -> 215 bytes .../elementary/data/edje_externals/ico_thumb.png | Bin 0 -> 147 bytes .../elementary/data/edje_externals/ico_toolbar.png | Bin 0 -> 6075 bytes libraries/elementary/data/edje_externals/icons.edc | 36 + libraries/elementary/data/images/Makefile.am | 96 + libraries/elementary/data/images/Makefile.in | 625 ++ libraries/elementary/data/images/animated_logo.gif | Bin 0 -> 81411 bytes libraries/elementary/data/images/bubble.png | Bin 0 -> 4878 bytes libraries/elementary/data/images/bubble_sh.png | Bin 0 -> 1600 bytes .../data/images/g_layer/double_tap_1.png | Bin 0 -> 5322 bytes .../data/images/g_layer/double_tap_2.png | Bin 0 -> 6353 bytes .../data/images/g_layer/double_tap_3.png | Bin 0 -> 6607 bytes .../data/images/g_layer/double_tap_4.png | Bin 0 -> 9229 bytes .../data/images/g_layer/double_tap_5.png | Bin 0 -> 11054 bytes .../elementary/data/images/g_layer/flick_1.png | Bin 0 -> 4185 bytes .../elementary/data/images/g_layer/flick_2.png | Bin 0 -> 4838 bytes .../elementary/data/images/g_layer/flick_3.png | Bin 0 -> 6421 bytes .../elementary/data/images/g_layer/flick_4.png | Bin 0 -> 6118 bytes .../elementary/data/images/g_layer/flick_5.png | Bin 0 -> 7930 bytes .../elementary/data/images/g_layer/line_1.png | Bin 0 -> 3337 bytes .../elementary/data/images/g_layer/line_2.png | Bin 0 -> 4290 bytes .../elementary/data/images/g_layer/line_3.png | Bin 0 -> 5190 bytes .../elementary/data/images/g_layer/line_4.png | Bin 0 -> 4948 bytes .../elementary/data/images/g_layer/line_5.png | Bin 0 -> 6371 bytes .../elementary/data/images/g_layer/long_tap_1.png | Bin 0 -> 5995 bytes .../elementary/data/images/g_layer/long_tap_2.png | Bin 0 -> 7918 bytes .../elementary/data/images/g_layer/long_tap_3.png | Bin 0 -> 7401 bytes .../elementary/data/images/g_layer/long_tap_4.png | Bin 0 -> 7422 bytes .../elementary/data/images/g_layer/long_tap_5.png | Bin 0 -> 9279 bytes .../elementary/data/images/g_layer/momentum_1.png | Bin 0 -> 4588 bytes .../elementary/data/images/g_layer/momentum_2.png | Bin 0 -> 4910 bytes .../elementary/data/images/g_layer/momentum_3.png | Bin 0 -> 5033 bytes .../elementary/data/images/g_layer/momentum_4.png | Bin 0 -> 5233 bytes .../elementary/data/images/g_layer/momentum_5.png | Bin 0 -> 5744 bytes .../elementary/data/images/g_layer/rotate_1.png | Bin 0 -> 5938 bytes libraries/elementary/data/images/g_layer/tap_1.png | Bin 0 -> 4155 bytes libraries/elementary/data/images/g_layer/tap_2.png | Bin 0 -> 3688 bytes libraries/elementary/data/images/g_layer/tap_3.png | Bin 0 -> 5213 bytes libraries/elementary/data/images/g_layer/tap_4.png | Bin 0 -> 5235 bytes libraries/elementary/data/images/g_layer/tap_5.png | Bin 0 -> 5777 bytes .../data/images/g_layer/triple_tap_1.png | Bin 0 -> 5835 bytes .../data/images/g_layer/triple_tap_2.png | Bin 0 -> 7459 bytes .../data/images/g_layer/triple_tap_3.png | Bin 0 -> 9888 bytes .../data/images/g_layer/triple_tap_4.png | Bin 0 -> 10718 bytes .../data/images/g_layer/triple_tap_5.png | Bin 0 -> 10279 bytes .../elementary/data/images/g_layer/zoom_1.png | Bin 0 -> 5548 bytes libraries/elementary/data/images/icon_00.png | Bin 0 -> 9793 bytes libraries/elementary/data/images/icon_01.png | Bin 0 -> 11371 bytes libraries/elementary/data/images/icon_02.png | Bin 0 -> 12432 bytes libraries/elementary/data/images/icon_03.png | Bin 0 -> 15014 bytes libraries/elementary/data/images/icon_04.png | Bin 0 -> 7912 bytes libraries/elementary/data/images/icon_05.png | Bin 0 -> 1483 bytes libraries/elementary/data/images/icon_06.png | Bin 0 -> 4977 bytes libraries/elementary/data/images/icon_07.png | Bin 0 -> 2548 bytes libraries/elementary/data/images/icon_08.png | Bin 0 -> 4861 bytes libraries/elementary/data/images/icon_09.png | Bin 0 -> 7774 bytes libraries/elementary/data/images/icon_10.png | Bin 0 -> 4745 bytes libraries/elementary/data/images/icon_11.png | Bin 0 -> 8684 bytes libraries/elementary/data/images/icon_12.png | Bin 0 -> 3018 bytes libraries/elementary/data/images/icon_13.png | Bin 0 -> 5051 bytes libraries/elementary/data/images/icon_14.png | Bin 0 -> 8448 bytes libraries/elementary/data/images/icon_15.png | Bin 0 -> 8706 bytes libraries/elementary/data/images/icon_16.png | Bin 0 -> 11758 bytes libraries/elementary/data/images/icon_17.png | Bin 0 -> 13769 bytes libraries/elementary/data/images/icon_18.png | Bin 0 -> 6079 bytes libraries/elementary/data/images/icon_19.png | Bin 0 -> 11785 bytes libraries/elementary/data/images/icon_20.png | Bin 0 -> 8278 bytes libraries/elementary/data/images/icon_21.png | Bin 0 -> 14661 bytes libraries/elementary/data/images/icon_22.png | Bin 0 -> 12215 bytes libraries/elementary/data/images/icon_23.png | Bin 0 -> 10078 bytes .../elementary/data/images/icon_right_arrow.png | Bin 0 -> 1832 bytes .../data/images/insanely_huge_test_image.jpg | Bin 0 -> 1260785 bytes libraries/elementary/data/images/logo.png | Bin 0 -> 81162 bytes libraries/elementary/data/images/logo_small.png | Bin 0 -> 5655 bytes libraries/elementary/data/images/mystrale.jpg | Bin 0 -> 74115 bytes libraries/elementary/data/images/mystrale_2.jpg | Bin 0 -> 355595 bytes libraries/elementary/data/images/panel_01.jpg | Bin 0 -> 63544 bytes libraries/elementary/data/images/parking.png | Bin 0 -> 3166 bytes libraries/elementary/data/images/plant_01.jpg | Bin 0 -> 165867 bytes libraries/elementary/data/images/pol_shadow.png | Bin 0 -> 1997 bytes libraries/elementary/data/images/pol_sky.png | Bin 0 -> 121518 bytes libraries/elementary/data/images/pol_twofish.png | Bin 0 -> 149724 bytes libraries/elementary/data/images/pt.png | Bin 0 -> 875 bytes libraries/elementary/data/images/rock_01.jpg | Bin 0 -> 330094 bytes libraries/elementary/data/images/rock_02.jpg | Bin 0 -> 285555 bytes libraries/elementary/data/images/sky_01.jpg | Bin 0 -> 134813 bytes libraries/elementary/data/images/sky_02.jpg | Bin 0 -> 31413 bytes libraries/elementary/data/images/sky_03.jpg | Bin 0 -> 73364 bytes libraries/elementary/data/images/sky_04.jpg | Bin 0 -> 25078 bytes libraries/elementary/data/images/twofish.jpg | Bin 0 -> 62948 bytes libraries/elementary/data/images/wood_01.jpg | Bin 0 -> 96136 bytes libraries/elementary/data/objects/Makefile.am | 62 + libraries/elementary/data/objects/Makefile.in | 568 ++ libraries/elementary/data/objects/clo.png | Bin 0 -> 120231 bytes libraries/elementary/data/objects/cross.png | Bin 0 -> 18620 bytes libraries/elementary/data/objects/cursors.edc | 226 + libraries/elementary/data/objects/font_preview.edc | 40 + .../elementary/data/objects/multibuttonentry.edc | 100 + libraries/elementary/data/objects/multip.edc | 17 + libraries/elementary/data/objects/over.png | Bin 0 -> 73621 bytes libraries/elementary/data/objects/postit_ent.edc | 26 + libraries/elementary/data/objects/sky.jpg | Bin 0 -> 69378 bytes libraries/elementary/data/objects/test.edc | 881 ++ libraries/elementary/data/objects/under.png | Bin 0 -> 36742 bytes libraries/elementary/data/themes/Makefile.am | 347 + libraries/elementary/data/themes/Makefile.in | 854 ++ libraries/elementary/data/themes/access_glow.png | Bin 0 -> 26591 bytes libraries/elementary/data/themes/arrow_down.png | Bin 0 -> 1577 bytes libraries/elementary/data/themes/arrow_left.png | Bin 0 -> 1637 bytes libraries/elementary/data/themes/arrow_right.png | Bin 0 -> 1605 bytes libraries/elementary/data/themes/arrow_up.png | Bin 0 -> 1584 bytes libraries/elementary/data/themes/bar_shine.png | Bin 0 -> 3045 bytes libraries/elementary/data/themes/bd_bottom.png | Bin 0 -> 258 bytes .../data/themes/bd_button_close_focused.png | Bin 0 -> 532 bytes .../data/themes/bd_button_close_shadow.png | Bin 0 -> 536 bytes .../data/themes/bd_button_close_unfocused.png | Bin 0 -> 452 bytes .../data/themes/bd_button_max_focused.png | Bin 0 -> 457 bytes .../data/themes/bd_button_max_shadow.png | Bin 0 -> 558 bytes .../data/themes/bd_button_max_unfocused.png | Bin 0 -> 395 bytes .../data/themes/bd_button_min_focused.png | Bin 0 -> 374 bytes .../data/themes/bd_button_min_shadow.png | Bin 0 -> 461 bytes .../data/themes/bd_button_min_unfocused.png | Bin 0 -> 332 bytes libraries/elementary/data/themes/bd_resize_b.png | Bin 0 -> 356 bytes libraries/elementary/data/themes/bd_title_bg.png | Bin 0 -> 716 bytes libraries/elementary/data/themes/bd_title_over.png | Bin 0 -> 368 bytes libraries/elementary/data/themes/bd_top.png | Bin 0 -> 215 bytes .../elementary/data/themes/bd_top_hilight.png | Bin 0 -> 195 bytes libraries/elementary/data/themes/black.png | Bin 0 -> 124 bytes libraries/elementary/data/themes/bt_base1.png | Bin 0 -> 952 bytes libraries/elementary/data/themes/bt_base2.png | Bin 0 -> 981 bytes libraries/elementary/data/themes/bt_bases.png | Bin 0 -> 769 bytes libraries/elementary/data/themes/bt_basew.png | Bin 0 -> 1527 bytes libraries/elementary/data/themes/bt_dis_base.png | Bin 0 -> 1101 bytes .../elementary/data/themes/bt_dis_hilight.png | Bin 0 -> 230 bytes libraries/elementary/data/themes/bt_dis_shine.png | Bin 0 -> 1153 bytes libraries/elementary/data/themes/bt_glow.png | Bin 0 -> 1028 bytes libraries/elementary/data/themes/bt_hilight.png | Bin 0 -> 343 bytes libraries/elementary/data/themes/bt_hilightw.png | Bin 0 -> 279 bytes libraries/elementary/data/themes/bt_shine.png | Bin 0 -> 305 bytes libraries/elementary/data/themes/bt_sm_base1.png | Bin 0 -> 477 bytes libraries/elementary/data/themes/bt_sm_base2.png | Bin 0 -> 482 bytes libraries/elementary/data/themes/bt_sm_hilight.png | Bin 0 -> 285 bytes libraries/elementary/data/themes/bt_sm_shine.png | Bin 0 -> 275 bytes .../elementary/data/themes/bt_spinner_down.png | Bin 0 -> 687 bytes .../elementary/data/themes/bt_spinner_hilight.png | Bin 0 -> 344 bytes libraries/elementary/data/themes/bt_spinner_up.png | Bin 0 -> 511 bytes libraries/elementary/data/themes/bubble.png | Bin 0 -> 1230 bytes libraries/elementary/data/themes/bubble_1.png | Bin 0 -> 1335 bytes libraries/elementary/data/themes/bubble_2.png | Bin 0 -> 1339 bytes libraries/elementary/data/themes/bubble_3.png | Bin 0 -> 1308 bytes libraries/elementary/data/themes/bubble_4.png | Bin 0 -> 1307 bytes libraries/elementary/data/themes/bubble_shine.png | Bin 0 -> 251 bytes libraries/elementary/data/themes/bubble_shine3.png | Bin 0 -> 336 bytes libraries/elementary/data/themes/bubble_shine4.png | Bin 0 -> 327 bytes libraries/elementary/data/themes/busy-1.png | Bin 0 -> 2124 bytes libraries/elementary/data/themes/busy-2.png | Bin 0 -> 2339 bytes libraries/elementary/data/themes/busy-3.png | Bin 0 -> 2395 bytes libraries/elementary/data/themes/busy-4.png | Bin 0 -> 2395 bytes libraries/elementary/data/themes/busy-5.png | Bin 0 -> 2299 bytes libraries/elementary/data/themes/busy-6.png | Bin 0 -> 2216 bytes libraries/elementary/data/themes/busy-7.png | Bin 0 -> 2286 bytes libraries/elementary/data/themes/busy-8.png | Bin 0 -> 2293 bytes libraries/elementary/data/themes/busy-9.png | Bin 0 -> 2249 bytes libraries/elementary/data/themes/check.png | Bin 0 -> 3058 bytes libraries/elementary/data/themes/check2.png | Bin 0 -> 2561 bytes libraries/elementary/data/themes/check_base.png | Bin 0 -> 320 bytes .../elementary/data/themes/color_picker_alpha.png | Bin 0 -> 3156 bytes .../data/themes/color_picker_alpha_bg.png | Bin 0 -> 974 bytes .../data/themes/color_picker_brightness.png | Bin 0 -> 657 bytes .../elementary/data/themes/color_picker_color.png | Bin 0 -> 4480 bytes .../data/themes/color_picker_opacity.png | Bin 0 -> 3886 bytes .../elementary/data/themes/ctxpopup_arrow_down.png | Bin 0 -> 683 bytes .../elementary/data/themes/ctxpopup_arrow_left.png | Bin 0 -> 704 bytes .../data/themes/ctxpopup_arrow_right.png | Bin 0 -> 803 bytes .../elementary/data/themes/ctxpopup_arrow_up.png | Bin 0 -> 581 bytes libraries/elementary/data/themes/cur_box.png | Bin 0 -> 187 bytes libraries/elementary/data/themes/cur_glow.png | Bin 0 -> 391 bytes libraries/elementary/data/themes/cur_hi.png | Bin 0 -> 188 bytes libraries/elementary/data/themes/cur_shad.png | Bin 0 -> 252 bytes libraries/elementary/data/themes/cur_shine.png | Bin 0 -> 200 bytes .../elementary/data/themes/default-desktop.edc | 2080 ++++ libraries/elementary/data/themes/default.edc | 372 + libraries/elementary/data/themes/dia_botshad.png | Bin 0 -> 209 bytes libraries/elementary/data/themes/dia_grad.png | Bin 0 -> 5155 bytes libraries/elementary/data/themes/dia_topshad.png | Bin 0 -> 249 bytes libraries/elementary/data/themes/down.png | Bin 0 -> 841 bytes .../elementary/data/themes/emo-angry-shout.png | Bin 0 -> 8717 bytes libraries/elementary/data/themes/emo-angry.png | Bin 0 -> 8959 bytes .../elementary/data/themes/emo-crazy-laugh.png | Bin 0 -> 9225 bytes .../elementary/data/themes/emo-evil-laugh.png | Bin 0 -> 9092 bytes libraries/elementary/data/themes/emo-evil.png | Bin 0 -> 8991 bytes .../elementary/data/themes/emo-goggle-smile.png | Bin 0 -> 9670 bytes .../elementary/data/themes/emo-grumpy-smile.png | Bin 0 -> 8587 bytes libraries/elementary/data/themes/emo-grumpy.png | Bin 0 -> 8574 bytes .../elementary/data/themes/emo-guilty-smile.png | Bin 0 -> 9298 bytes libraries/elementary/data/themes/emo-guilty.png | Bin 0 -> 9151 bytes libraries/elementary/data/themes/emo-haha.png | Bin 0 -> 8993 bytes .../elementary/data/themes/emo-half-smile.png | Bin 0 -> 8667 bytes .../elementary/data/themes/emo-happy-panting.png | Bin 0 -> 9206 bytes libraries/elementary/data/themes/emo-happy.png | Bin 0 -> 8571 bytes .../elementary/data/themes/emo-indifferent.png | Bin 0 -> 8526 bytes libraries/elementary/data/themes/emo-kiss.png | Bin 0 -> 9214 bytes .../elementary/data/themes/emo-knowing-grin.png | Bin 0 -> 8481 bytes libraries/elementary/data/themes/emo-laugh.png | Bin 0 -> 9139 bytes .../data/themes/emo-little-bit-sorry.png | Bin 0 -> 8288 bytes libraries/elementary/data/themes/emo-love-lots.png | Bin 0 -> 9671 bytes libraries/elementary/data/themes/emo-love.png | Bin 0 -> 8981 bytes .../elementary/data/themes/emo-minimal-smile.png | Bin 0 -> 8896 bytes libraries/elementary/data/themes/emo-not-happy.png | Bin 0 -> 8885 bytes .../elementary/data/themes/emo-not-impressed.png | Bin 0 -> 8300 bytes libraries/elementary/data/themes/emo-omg.png | Bin 0 -> 8727 bytes libraries/elementary/data/themes/emo-opensmile.png | Bin 0 -> 9580 bytes libraries/elementary/data/themes/emo-smile.png | Bin 0 -> 9590 bytes libraries/elementary/data/themes/emo-sorry.png | Bin 0 -> 8638 bytes .../elementary/data/themes/emo-squint-laugh.png | Bin 0 -> 9103 bytes libraries/elementary/data/themes/emo-surprised.png | Bin 0 -> 8431 bytes .../elementary/data/themes/emo-suspicious.png | Bin 0 -> 8543 bytes .../elementary/data/themes/emo-tongue-dangling.png | Bin 0 -> 9005 bytes .../elementary/data/themes/emo-tongue-poke.png | Bin 0 -> 8974 bytes libraries/elementary/data/themes/emo-uh.png | Bin 0 -> 8641 bytes libraries/elementary/data/themes/emo-unhappy.png | Bin 0 -> 8686 bytes .../elementary/data/themes/emo-very-sorry.png | Bin 0 -> 9009 bytes libraries/elementary/data/themes/emo-what.png | Bin 0 -> 8410 bytes libraries/elementary/data/themes/emo-wink.png | Bin 0 -> 8749 bytes libraries/elementary/data/themes/emo-worried.png | Bin 0 -> 9116 bytes libraries/elementary/data/themes/emo-wtf.png | Bin 0 -> 8946 bytes libraries/elementary/data/themes/ews.edc | 317 + libraries/elementary/data/themes/exclam.png | Bin 0 -> 844 bytes libraries/elementary/data/themes/flip_0b.png | Bin 0 -> 1540 bytes libraries/elementary/data/themes/flip_0t.png | Bin 0 -> 1547 bytes libraries/elementary/data/themes/flip_1b.png | Bin 0 -> 451 bytes libraries/elementary/data/themes/flip_1t.png | Bin 0 -> 666 bytes libraries/elementary/data/themes/flip_2b.png | Bin 0 -> 1074 bytes libraries/elementary/data/themes/flip_2t.png | Bin 0 -> 1495 bytes libraries/elementary/data/themes/flip_3b.png | Bin 0 -> 1408 bytes libraries/elementary/data/themes/flip_3t.png | Bin 0 -> 1444 bytes libraries/elementary/data/themes/flip_4b.png | Bin 0 -> 705 bytes libraries/elementary/data/themes/flip_4t.png | Bin 0 -> 1137 bytes libraries/elementary/data/themes/flip_5b.png | Bin 0 -> 1490 bytes libraries/elementary/data/themes/flip_5t.png | Bin 0 -> 824 bytes libraries/elementary/data/themes/flip_6b.png | Bin 0 -> 1651 bytes libraries/elementary/data/themes/flip_6t.png | Bin 0 -> 1569 bytes libraries/elementary/data/themes/flip_7b.png | Bin 0 -> 1110 bytes libraries/elementary/data/themes/flip_7t.png | Bin 0 -> 996 bytes libraries/elementary/data/themes/flip_8b.png | Bin 0 -> 1660 bytes libraries/elementary/data/themes/flip_8t.png | Bin 0 -> 1719 bytes libraries/elementary/data/themes/flip_9b.png | Bin 0 -> 1512 bytes libraries/elementary/data/themes/flip_9t.png | Bin 0 -> 1659 bytes libraries/elementary/data/themes/flip_amb.png | Bin 0 -> 963 bytes libraries/elementary/data/themes/flip_amt.png | Bin 0 -> 1075 bytes libraries/elementary/data/themes/flip_b.png | Bin 0 -> 384 bytes libraries/elementary/data/themes/flip_base.png | Bin 0 -> 598 bytes .../elementary/data/themes/flip_base_shad.png | Bin 0 -> 826 bytes libraries/elementary/data/themes/flip_pmb.png | Bin 0 -> 709 bytes libraries/elementary/data/themes/flip_pmt.png | Bin 0 -> 1052 bytes libraries/elementary/data/themes/flip_shad.png | Bin 0 -> 918 bytes libraries/elementary/data/themes/flip_t.png | Bin 0 -> 442 bytes libraries/elementary/data/themes/frame_1.png | Bin 0 -> 431 bytes libraries/elementary/data/themes/frame_2.png | Bin 0 -> 676 bytes libraries/elementary/data/themes/group_index.png | Bin 0 -> 217 bytes libraries/elementary/data/themes/head.png | Bin 0 -> 10083 bytes .../elementary/data/themes/hoversel_entry_bg.png | Bin 0 -> 782 bytes libraries/elementary/data/themes/icon_apps.png | Bin 0 -> 872 bytes .../elementary/data/themes/icon_arrow_down.png | Bin 0 -> 866 bytes .../data/themes/icon_arrow_down_left.png | Bin 0 -> 1992 bytes .../data/themes/icon_arrow_down_right.png | Bin 0 -> 1649 bytes .../elementary/data/themes/icon_arrow_left.png | Bin 0 -> 893 bytes .../elementary/data/themes/icon_arrow_right.png | Bin 0 -> 942 bytes libraries/elementary/data/themes/icon_arrow_up.png | Bin 0 -> 776 bytes .../elementary/data/themes/icon_arrow_up_left.png | Bin 0 -> 1695 bytes .../elementary/data/themes/icon_arrow_up_right.png | Bin 0 -> 2028 bytes libraries/elementary/data/themes/icon_chat.png | Bin 0 -> 3221 bytes libraries/elementary/data/themes/icon_clock.png | Bin 0 -> 4190 bytes libraries/elementary/data/themes/icon_close.png | Bin 0 -> 3221 bytes libraries/elementary/data/themes/icon_delete.png | Bin 0 -> 1628 bytes libraries/elementary/data/themes/icon_edit.png | Bin 0 -> 1138 bytes libraries/elementary/data/themes/icon_file.png | Bin 0 -> 2753 bytes libraries/elementary/data/themes/icon_folder.png | Bin 0 -> 6124 bytes libraries/elementary/data/themes/icon_home.png | Bin 0 -> 1534 bytes .../elementary/data/themes/icon_left_arrow.png | Bin 0 -> 1887 bytes libraries/elementary/data/themes/icon_refresh.png | Bin 0 -> 5123 bytes .../elementary/data/themes/icon_right_arrow.png | Bin 0 -> 1832 bytes libraries/elementary/data/themes/ilist_1.png | Bin 0 -> 1281 bytes libraries/elementary/data/themes/ilist_1_h.png | Bin 0 -> 1222 bytes libraries/elementary/data/themes/ilist_2.png | Bin 0 -> 1381 bytes libraries/elementary/data/themes/ilist_2_h.png | Bin 0 -> 1384 bytes .../elementary/data/themes/ilist_item_shadow.png | Bin 0 -> 322 bytes .../elementary/data/themes/ilist_item_shadow_h.png | Bin 0 -> 350 bytes libraries/elementary/data/themes/leftright.png | Bin 0 -> 1367 bytes libraries/elementary/data/themes/map_circle.png | Bin 0 -> 28715 bytes libraries/elementary/data/themes/map_item.png | Bin 0 -> 3041 bytes libraries/elementary/data/themes/map_item_2.png | Bin 0 -> 2578 bytes libraries/elementary/data/themes/map_scale.png | Bin 0 -> 244 bytes libraries/elementary/data/themes/mp_forward.png | Bin 0 -> 3248 bytes libraries/elementary/data/themes/mp_info.png | Bin 0 -> 1412 bytes libraries/elementary/data/themes/mp_next.png | Bin 0 -> 2863 bytes libraries/elementary/data/themes/mp_pause.png | Bin 0 -> 1989 bytes libraries/elementary/data/themes/mp_play.png | Bin 0 -> 2901 bytes libraries/elementary/data/themes/mp_prev.png | Bin 0 -> 2771 bytes libraries/elementary/data/themes/mp_rewind.png | Bin 0 -> 3288 bytes libraries/elementary/data/themes/mp_stop.png | Bin 0 -> 1597 bytes .../elementary/data/themes/outdent-bottom.png | Bin 0 -> 1826 bytes libraries/elementary/data/themes/outdent-top.png | Bin 0 -> 1913 bytes libraries/elementary/data/themes/pointer.png | Bin 0 -> 863 bytes .../elementary/data/themes/pointer_glint_01.png | Bin 0 -> 216 bytes .../elementary/data/themes/pointer_glint_02.png | Bin 0 -> 225 bytes .../elementary/data/themes/pointer_glint_03.png | Bin 0 -> 310 bytes .../elementary/data/themes/pointer_glint_04.png | Bin 0 -> 313 bytes .../elementary/data/themes/pointer_glint_05.png | Bin 0 -> 362 bytes .../elementary/data/themes/pointer_glint_06.png | Bin 0 -> 361 bytes .../elementary/data/themes/pointer_glint_07.png | Bin 0 -> 357 bytes .../elementary/data/themes/pointer_glint_08.png | Bin 0 -> 353 bytes .../elementary/data/themes/pointer_glint_09.png | Bin 0 -> 314 bytes .../elementary/data/themes/pointer_glint_10.png | Bin 0 -> 297 bytes .../elementary/data/themes/pointer_glint_11.png | Bin 0 -> 274 bytes .../elementary/data/themes/pointer_glint_12.png | Bin 0 -> 217 bytes libraries/elementary/data/themes/pointer_glow.png | Bin 0 -> 662 bytes libraries/elementary/data/themes/radio.png | Bin 0 -> 4684 bytes libraries/elementary/data/themes/radio2.png | Bin 0 -> 4406 bytes libraries/elementary/data/themes/radio_base.png | Bin 0 -> 3125 bytes libraries/elementary/data/themes/sb_runnerh.png | Bin 0 -> 160 bytes libraries/elementary/data/themes/sb_runnerv.png | Bin 0 -> 166 bytes .../elementary/data/themes/seg_left_normal.png | Bin 0 -> 719 bytes .../elementary/data/themes/seg_left_pressed.png | Bin 0 -> 747 bytes .../elementary/data/themes/seg_left_selected.png | Bin 0 -> 898 bytes .../elementary/data/themes/seg_middle_normal.png | Bin 0 -> 430 bytes .../elementary/data/themes/seg_middle_pressed.png | Bin 0 -> 856 bytes .../elementary/data/themes/seg_middle_selected.png | Bin 0 -> 709 bytes .../elementary/data/themes/seg_right_normal.png | Bin 0 -> 786 bytes .../elementary/data/themes/seg_right_pressed.png | Bin 0 -> 756 bytes .../elementary/data/themes/seg_right_selected.png | Bin 0 -> 896 bytes .../elementary/data/themes/seg_single_normal.png | Bin 0 -> 1428 bytes .../elementary/data/themes/seg_single_pressed.png | Bin 0 -> 1404 bytes .../elementary/data/themes/seg_single_selected.png | Bin 0 -> 1558 bytes libraries/elementary/data/themes/separator_h.png | Bin 0 -> 151 bytes libraries/elementary/data/themes/separator_v.png | Bin 0 -> 96 bytes libraries/elementary/data/themes/shad_circ.png | Bin 0 -> 1521 bytes libraries/elementary/data/themes/shadow.png | Bin 0 -> 1030 bytes libraries/elementary/data/themes/shelf_inset.png | Bin 0 -> 509 bytes libraries/elementary/data/themes/sl_bg.png | Bin 0 -> 479 bytes libraries/elementary/data/themes/sl_bg_over.png | Bin 0 -> 302 bytes libraries/elementary/data/themes/sl_bt2_0_0.png | Bin 0 -> 413 bytes libraries/elementary/data/themes/sl_bt2_0_1.png | Bin 0 -> 466 bytes libraries/elementary/data/themes/sl_bt2_0_2.png | Bin 0 -> 446 bytes libraries/elementary/data/themes/sl_bt2_1.png | Bin 0 -> 350 bytes libraries/elementary/data/themes/sl_bt2_2.png | Bin 0 -> 286 bytes libraries/elementary/data/themes/sl_bt_0.png | Bin 0 -> 571 bytes libraries/elementary/data/themes/sl_bt_1.png | Bin 0 -> 249 bytes libraries/elementary/data/themes/sl_bt_2.png | Bin 0 -> 246 bytes libraries/elementary/data/themes/sl_bt_3.png | Bin 0 -> 570 bytes libraries/elementary/data/themes/sl_units.png | Bin 0 -> 893 bytes libraries/elementary/data/themes/slv_bg.png | Bin 0 -> 555 bytes libraries/elementary/data/themes/slv_bg_over.png | Bin 0 -> 300 bytes libraries/elementary/data/themes/slv_units.png | Bin 0 -> 812 bytes libraries/elementary/data/themes/sp_bt_l.png | Bin 0 -> 440 bytes libraries/elementary/data/themes/sp_bt_r.png | Bin 0 -> 369 bytes libraries/elementary/data/themes/thumb_shadow.png | Bin 0 -> 1087 bytes libraries/elementary/data/themes/tog_base_off.png | Bin 0 -> 527 bytes libraries/elementary/data/themes/tog_base_on.png | Bin 0 -> 473 bytes .../elementary/data/themes/tog_dis_base_off.png | Bin 0 -> 807 bytes .../elementary/data/themes/tog_dis_base_on.png | Bin 0 -> 1442 bytes libraries/elementary/data/themes/toolbar_sel.png | Bin 0 -> 2107 bytes .../elementary/data/themes/toolbar_separator_v.png | Bin 0 -> 166 bytes libraries/elementary/data/themes/tooltip-base.png | Bin 0 -> 1656 bytes .../data/themes/tooltip-corner-bottom-left-tip.png | Bin 0 -> 440 bytes .../themes/tooltip-corner-bottom-right-tip.png | Bin 0 -> 441 bytes .../data/themes/tooltip-corner-top-left-tip.png | Bin 0 -> 452 bytes .../data/themes/tooltip-corner-top-right-tip.png | Bin 0 -> 453 bytes .../data/themes/tooltip-edge-bottom-tip.png | Bin 0 -> 471 bytes .../data/themes/tooltip-edge-left-tip.png | Bin 0 -> 466 bytes .../data/themes/tooltip-edge-right-tip.png | Bin 0 -> 494 bytes .../data/themes/tooltip-edge-top-tip.png | Bin 0 -> 475 bytes libraries/elementary/data/themes/up.png | Bin 0 -> 788 bytes libraries/elementary/data/themes/updown.png | Bin 0 -> 1416 bytes .../data/themes/widgets/actionslider.edc | 431 + libraries/elementary/data/themes/widgets/bg.edc | 67 + .../elementary/data/themes/widgets/border.edc | 917 ++ .../elementary/data/themes/widgets/bubble.edc | 734 ++ .../elementary/data/themes/widgets/button.edc | 1666 +++ .../elementary/data/themes/widgets/calendar.edc | 738 ++ libraries/elementary/data/themes/widgets/check.edc | 694 ++ libraries/elementary/data/themes/widgets/clock.edc | 1216 +++ .../data/themes/widgets/colorselector.edc | 401 + .../elementary/data/themes/widgets/conformant.edc | 53 + .../elementary/data/themes/widgets/ctxpopup.edc | 1119 ++ .../elementary/data/themes/widgets/datetime.edc | 349 + .../elementary/data/themes/widgets/dayselector.edc | 478 + .../data/themes/widgets/diskselector.edc | 185 + libraries/elementary/data/themes/widgets/entry.edc | 1396 +++ .../data/themes/widgets/fileselector.edc | 160 + .../data/themes/widgets/flipselector.edc | 538 + libraries/elementary/data/themes/widgets/frame.edc | 380 + .../elementary/data/themes/widgets/gengrid.edc | 1474 +++ .../elementary/data/themes/widgets/genlist.edc | 10192 +++++++++++++++++++ libraries/elementary/data/themes/widgets/hover.edc | 1184 +++ libraries/elementary/data/themes/widgets/icon.edc | 59 + libraries/elementary/data/themes/widgets/index.edc | 808 ++ libraries/elementary/data/themes/widgets/label.edc | 417 + .../elementary/data/themes/widgets/layout.edc | 827 ++ libraries/elementary/data/themes/widgets/list.edc | 1691 +++ libraries/elementary/data/themes/widgets/map.edc | 800 ++ libraries/elementary/data/themes/widgets/menu.edc | 769 ++ .../data/themes/widgets/multibuttonentry.edc | 468 + .../elementary/data/themes/widgets/naviframe.edc | 548 + .../elementary/data/themes/widgets/notify.edc | 862 ++ libraries/elementary/data/themes/widgets/panel.edc | 1250 +++ libraries/elementary/data/themes/widgets/panes.edc | 853 ++ libraries/elementary/data/themes/widgets/photo.edc | 150 + .../elementary/data/themes/widgets/photocam.edc | 493 + .../elementary/data/themes/widgets/player.edc | 185 + .../elementary/data/themes/widgets/pointer.edc | 190 + libraries/elementary/data/themes/widgets/popup.edc | 892 ++ .../elementary/data/themes/widgets/progressbar.edc | 850 ++ libraries/elementary/data/themes/widgets/radio.edc | 215 + .../elementary/data/themes/widgets/scroller.edc | 502 + .../data/themes/widgets/segment_control.edc | 533 + .../elementary/data/themes/widgets/separator.edc | 43 + .../elementary/data/themes/widgets/slider.edc | 1385 +++ .../elementary/data/themes/widgets/slideshow.edc | 396 + .../elementary/data/themes/widgets/spinner.edc | 1033 ++ libraries/elementary/data/themes/widgets/thumb.edc | 185 + .../elementary/data/themes/widgets/toolbar.edc | 685 ++ .../elementary/data/themes/widgets/tooltip.edc | 497 + libraries/elementary/data/themes/widgets/video.edc | 64 + libraries/elementary/data/themes/widgets/win.edc | 246 + 453 files changed, 50759 insertions(+) create mode 100644 libraries/elementary/data/Makefile.am create mode 100644 libraries/elementary/data/Makefile.in create mode 100644 libraries/elementary/data/desktop/Makefile.am create mode 100644 libraries/elementary/data/desktop/Makefile.in create mode 100644 libraries/elementary/data/desktop/elementary.png create mode 100644 libraries/elementary/data/desktop/elementary_config.desktop create mode 100644 libraries/elementary/data/desktop/elementary_test.desktop create mode 100644 libraries/elementary/data/edje_externals/Makefile.am create mode 100644 libraries/elementary/data/edje_externals/Makefile.in create mode 100644 libraries/elementary/data/edje_externals/ico_anchorblock.png create mode 100644 libraries/elementary/data/edje_externals/ico_anchorview.png create mode 100644 libraries/elementary/data/edje_externals/ico_bubble.png create mode 100644 libraries/elementary/data/edje_externals/ico_button.png create mode 100644 libraries/elementary/data/edje_externals/ico_check.png create mode 100644 libraries/elementary/data/edje_externals/ico_clock.png create mode 100644 libraries/elementary/data/edje_externals/ico_fileselector.png create mode 100644 libraries/elementary/data/edje_externals/ico_fileselector_button.png create mode 100644 libraries/elementary/data/edje_externals/ico_genlist.png create mode 100644 libraries/elementary/data/edje_externals/ico_hoversel.png create mode 100755 libraries/elementary/data/edje_externals/ico_list.png create mode 100644 libraries/elementary/data/edje_externals/ico_map.png create mode 100644 libraries/elementary/data/edje_externals/ico_notepad.png create mode 100644 libraries/elementary/data/edje_externals/ico_photocam.png create mode 100644 libraries/elementary/data/edje_externals/ico_progressbar.png create mode 100644 libraries/elementary/data/edje_externals/ico_radio.png create mode 100644 libraries/elementary/data/edje_externals/ico_scrolled_entry.png create mode 100644 libraries/elementary/data/edje_externals/ico_slider.png create mode 100644 libraries/elementary/data/edje_externals/ico_slideshow.png create mode 100644 libraries/elementary/data/edje_externals/ico_spinner.png create mode 100644 libraries/elementary/data/edje_externals/ico_thumb.png create mode 100644 libraries/elementary/data/edje_externals/ico_toolbar.png create mode 100644 libraries/elementary/data/edje_externals/icons.edc create mode 100644 libraries/elementary/data/images/Makefile.am create mode 100644 libraries/elementary/data/images/Makefile.in create mode 100644 libraries/elementary/data/images/animated_logo.gif create mode 100644 libraries/elementary/data/images/bubble.png create mode 100644 libraries/elementary/data/images/bubble_sh.png create mode 100644 libraries/elementary/data/images/g_layer/double_tap_1.png create mode 100644 libraries/elementary/data/images/g_layer/double_tap_2.png create mode 100644 libraries/elementary/data/images/g_layer/double_tap_3.png create mode 100644 libraries/elementary/data/images/g_layer/double_tap_4.png create mode 100644 libraries/elementary/data/images/g_layer/double_tap_5.png create mode 100644 libraries/elementary/data/images/g_layer/flick_1.png create mode 100644 libraries/elementary/data/images/g_layer/flick_2.png create mode 100644 libraries/elementary/data/images/g_layer/flick_3.png create mode 100644 libraries/elementary/data/images/g_layer/flick_4.png create mode 100644 libraries/elementary/data/images/g_layer/flick_5.png create mode 100644 libraries/elementary/data/images/g_layer/line_1.png create mode 100644 libraries/elementary/data/images/g_layer/line_2.png create mode 100644 libraries/elementary/data/images/g_layer/line_3.png create mode 100644 libraries/elementary/data/images/g_layer/line_4.png create mode 100644 libraries/elementary/data/images/g_layer/line_5.png create mode 100644 libraries/elementary/data/images/g_layer/long_tap_1.png create mode 100644 libraries/elementary/data/images/g_layer/long_tap_2.png create mode 100644 libraries/elementary/data/images/g_layer/long_tap_3.png create mode 100644 libraries/elementary/data/images/g_layer/long_tap_4.png create mode 100644 libraries/elementary/data/images/g_layer/long_tap_5.png create mode 100644 libraries/elementary/data/images/g_layer/momentum_1.png create mode 100644 libraries/elementary/data/images/g_layer/momentum_2.png create mode 100644 libraries/elementary/data/images/g_layer/momentum_3.png create mode 100644 libraries/elementary/data/images/g_layer/momentum_4.png create mode 100644 libraries/elementary/data/images/g_layer/momentum_5.png create mode 100644 libraries/elementary/data/images/g_layer/rotate_1.png create mode 100644 libraries/elementary/data/images/g_layer/tap_1.png create mode 100644 libraries/elementary/data/images/g_layer/tap_2.png create mode 100644 libraries/elementary/data/images/g_layer/tap_3.png create mode 100644 libraries/elementary/data/images/g_layer/tap_4.png create mode 100644 libraries/elementary/data/images/g_layer/tap_5.png create mode 100644 libraries/elementary/data/images/g_layer/triple_tap_1.png create mode 100644 libraries/elementary/data/images/g_layer/triple_tap_2.png create mode 100644 libraries/elementary/data/images/g_layer/triple_tap_3.png create mode 100644 libraries/elementary/data/images/g_layer/triple_tap_4.png create mode 100644 libraries/elementary/data/images/g_layer/triple_tap_5.png create mode 100644 libraries/elementary/data/images/g_layer/zoom_1.png create mode 100644 libraries/elementary/data/images/icon_00.png create mode 100644 libraries/elementary/data/images/icon_01.png create mode 100644 libraries/elementary/data/images/icon_02.png create mode 100644 libraries/elementary/data/images/icon_03.png create mode 100644 libraries/elementary/data/images/icon_04.png create mode 100644 libraries/elementary/data/images/icon_05.png create mode 100644 libraries/elementary/data/images/icon_06.png create mode 100644 libraries/elementary/data/images/icon_07.png create mode 100644 libraries/elementary/data/images/icon_08.png create mode 100644 libraries/elementary/data/images/icon_09.png create mode 100644 libraries/elementary/data/images/icon_10.png create mode 100644 libraries/elementary/data/images/icon_11.png create mode 100644 libraries/elementary/data/images/icon_12.png create mode 100644 libraries/elementary/data/images/icon_13.png create mode 100644 libraries/elementary/data/images/icon_14.png create mode 100644 libraries/elementary/data/images/icon_15.png create mode 100644 libraries/elementary/data/images/icon_16.png create mode 100644 libraries/elementary/data/images/icon_17.png create mode 100644 libraries/elementary/data/images/icon_18.png create mode 100644 libraries/elementary/data/images/icon_19.png create mode 100644 libraries/elementary/data/images/icon_20.png create mode 100644 libraries/elementary/data/images/icon_21.png create mode 100644 libraries/elementary/data/images/icon_22.png create mode 100644 libraries/elementary/data/images/icon_23.png create mode 100644 libraries/elementary/data/images/icon_right_arrow.png create mode 100644 libraries/elementary/data/images/insanely_huge_test_image.jpg create mode 100644 libraries/elementary/data/images/logo.png create mode 100644 libraries/elementary/data/images/logo_small.png create mode 100644 libraries/elementary/data/images/mystrale.jpg create mode 100644 libraries/elementary/data/images/mystrale_2.jpg create mode 100644 libraries/elementary/data/images/panel_01.jpg create mode 100644 libraries/elementary/data/images/parking.png create mode 100644 libraries/elementary/data/images/plant_01.jpg create mode 100644 libraries/elementary/data/images/pol_shadow.png create mode 100644 libraries/elementary/data/images/pol_sky.png create mode 100644 libraries/elementary/data/images/pol_twofish.png create mode 100644 libraries/elementary/data/images/pt.png create mode 100644 libraries/elementary/data/images/rock_01.jpg create mode 100644 libraries/elementary/data/images/rock_02.jpg create mode 100644 libraries/elementary/data/images/sky_01.jpg create mode 100644 libraries/elementary/data/images/sky_02.jpg create mode 100644 libraries/elementary/data/images/sky_03.jpg create mode 100644 libraries/elementary/data/images/sky_04.jpg create mode 100644 libraries/elementary/data/images/twofish.jpg create mode 100644 libraries/elementary/data/images/wood_01.jpg create mode 100644 libraries/elementary/data/objects/Makefile.am create mode 100644 libraries/elementary/data/objects/Makefile.in create mode 100644 libraries/elementary/data/objects/clo.png create mode 100644 libraries/elementary/data/objects/cross.png create mode 100644 libraries/elementary/data/objects/cursors.edc create mode 100644 libraries/elementary/data/objects/font_preview.edc create mode 100644 libraries/elementary/data/objects/multibuttonentry.edc create mode 100644 libraries/elementary/data/objects/multip.edc create mode 100644 libraries/elementary/data/objects/over.png create mode 100644 libraries/elementary/data/objects/postit_ent.edc create mode 100644 libraries/elementary/data/objects/sky.jpg create mode 100644 libraries/elementary/data/objects/test.edc create mode 100644 libraries/elementary/data/objects/under.png create mode 100644 libraries/elementary/data/themes/Makefile.am create mode 100644 libraries/elementary/data/themes/Makefile.in create mode 100644 libraries/elementary/data/themes/access_glow.png create mode 100644 libraries/elementary/data/themes/arrow_down.png create mode 100644 libraries/elementary/data/themes/arrow_left.png create mode 100644 libraries/elementary/data/themes/arrow_right.png create mode 100644 libraries/elementary/data/themes/arrow_up.png create mode 100644 libraries/elementary/data/themes/bar_shine.png create mode 100644 libraries/elementary/data/themes/bd_bottom.png create mode 100644 libraries/elementary/data/themes/bd_button_close_focused.png create mode 100644 libraries/elementary/data/themes/bd_button_close_shadow.png create mode 100644 libraries/elementary/data/themes/bd_button_close_unfocused.png create mode 100644 libraries/elementary/data/themes/bd_button_max_focused.png create mode 100644 libraries/elementary/data/themes/bd_button_max_shadow.png create mode 100644 libraries/elementary/data/themes/bd_button_max_unfocused.png create mode 100644 libraries/elementary/data/themes/bd_button_min_focused.png create mode 100644 libraries/elementary/data/themes/bd_button_min_shadow.png create mode 100644 libraries/elementary/data/themes/bd_button_min_unfocused.png create mode 100644 libraries/elementary/data/themes/bd_resize_b.png create mode 100644 libraries/elementary/data/themes/bd_title_bg.png create mode 100644 libraries/elementary/data/themes/bd_title_over.png create mode 100644 libraries/elementary/data/themes/bd_top.png create mode 100644 libraries/elementary/data/themes/bd_top_hilight.png create mode 100644 libraries/elementary/data/themes/black.png create mode 100644 libraries/elementary/data/themes/bt_base1.png create mode 100644 libraries/elementary/data/themes/bt_base2.png create mode 100644 libraries/elementary/data/themes/bt_bases.png create mode 100644 libraries/elementary/data/themes/bt_basew.png create mode 100644 libraries/elementary/data/themes/bt_dis_base.png create mode 100644 libraries/elementary/data/themes/bt_dis_hilight.png create mode 100644 libraries/elementary/data/themes/bt_dis_shine.png create mode 100644 libraries/elementary/data/themes/bt_glow.png create mode 100644 libraries/elementary/data/themes/bt_hilight.png create mode 100644 libraries/elementary/data/themes/bt_hilightw.png create mode 100644 libraries/elementary/data/themes/bt_shine.png create mode 100644 libraries/elementary/data/themes/bt_sm_base1.png create mode 100644 libraries/elementary/data/themes/bt_sm_base2.png create mode 100644 libraries/elementary/data/themes/bt_sm_hilight.png create mode 100644 libraries/elementary/data/themes/bt_sm_shine.png create mode 100644 libraries/elementary/data/themes/bt_spinner_down.png create mode 100644 libraries/elementary/data/themes/bt_spinner_hilight.png create mode 100644 libraries/elementary/data/themes/bt_spinner_up.png create mode 100644 libraries/elementary/data/themes/bubble.png create mode 100644 libraries/elementary/data/themes/bubble_1.png create mode 100644 libraries/elementary/data/themes/bubble_2.png create mode 100644 libraries/elementary/data/themes/bubble_3.png create mode 100644 libraries/elementary/data/themes/bubble_4.png create mode 100644 libraries/elementary/data/themes/bubble_shine.png create mode 100644 libraries/elementary/data/themes/bubble_shine3.png create mode 100644 libraries/elementary/data/themes/bubble_shine4.png create mode 100644 libraries/elementary/data/themes/busy-1.png create mode 100644 libraries/elementary/data/themes/busy-2.png create mode 100644 libraries/elementary/data/themes/busy-3.png create mode 100644 libraries/elementary/data/themes/busy-4.png create mode 100644 libraries/elementary/data/themes/busy-5.png create mode 100644 libraries/elementary/data/themes/busy-6.png create mode 100644 libraries/elementary/data/themes/busy-7.png create mode 100644 libraries/elementary/data/themes/busy-8.png create mode 100644 libraries/elementary/data/themes/busy-9.png create mode 100644 libraries/elementary/data/themes/check.png create mode 100644 libraries/elementary/data/themes/check2.png create mode 100644 libraries/elementary/data/themes/check_base.png create mode 100644 libraries/elementary/data/themes/color_picker_alpha.png create mode 100644 libraries/elementary/data/themes/color_picker_alpha_bg.png create mode 100644 libraries/elementary/data/themes/color_picker_brightness.png create mode 100644 libraries/elementary/data/themes/color_picker_color.png create mode 100644 libraries/elementary/data/themes/color_picker_opacity.png create mode 100644 libraries/elementary/data/themes/ctxpopup_arrow_down.png create mode 100644 libraries/elementary/data/themes/ctxpopup_arrow_left.png create mode 100644 libraries/elementary/data/themes/ctxpopup_arrow_right.png create mode 100644 libraries/elementary/data/themes/ctxpopup_arrow_up.png create mode 100644 libraries/elementary/data/themes/cur_box.png create mode 100644 libraries/elementary/data/themes/cur_glow.png create mode 100644 libraries/elementary/data/themes/cur_hi.png create mode 100644 libraries/elementary/data/themes/cur_shad.png create mode 100644 libraries/elementary/data/themes/cur_shine.png create mode 100644 libraries/elementary/data/themes/default-desktop.edc create mode 100644 libraries/elementary/data/themes/default.edc create mode 100644 libraries/elementary/data/themes/dia_botshad.png create mode 100644 libraries/elementary/data/themes/dia_grad.png create mode 100644 libraries/elementary/data/themes/dia_topshad.png create mode 100644 libraries/elementary/data/themes/down.png create mode 100644 libraries/elementary/data/themes/emo-angry-shout.png create mode 100644 libraries/elementary/data/themes/emo-angry.png create mode 100644 libraries/elementary/data/themes/emo-crazy-laugh.png create mode 100644 libraries/elementary/data/themes/emo-evil-laugh.png create mode 100644 libraries/elementary/data/themes/emo-evil.png create mode 100644 libraries/elementary/data/themes/emo-goggle-smile.png create mode 100644 libraries/elementary/data/themes/emo-grumpy-smile.png create mode 100644 libraries/elementary/data/themes/emo-grumpy.png create mode 100644 libraries/elementary/data/themes/emo-guilty-smile.png create mode 100644 libraries/elementary/data/themes/emo-guilty.png create mode 100644 libraries/elementary/data/themes/emo-haha.png create mode 100644 libraries/elementary/data/themes/emo-half-smile.png create mode 100644 libraries/elementary/data/themes/emo-happy-panting.png create mode 100644 libraries/elementary/data/themes/emo-happy.png create mode 100644 libraries/elementary/data/themes/emo-indifferent.png create mode 100644 libraries/elementary/data/themes/emo-kiss.png create mode 100644 libraries/elementary/data/themes/emo-knowing-grin.png create mode 100644 libraries/elementary/data/themes/emo-laugh.png create mode 100644 libraries/elementary/data/themes/emo-little-bit-sorry.png create mode 100644 libraries/elementary/data/themes/emo-love-lots.png create mode 100644 libraries/elementary/data/themes/emo-love.png create mode 100644 libraries/elementary/data/themes/emo-minimal-smile.png create mode 100644 libraries/elementary/data/themes/emo-not-happy.png create mode 100644 libraries/elementary/data/themes/emo-not-impressed.png create mode 100644 libraries/elementary/data/themes/emo-omg.png create mode 100644 libraries/elementary/data/themes/emo-opensmile.png create mode 100644 libraries/elementary/data/themes/emo-smile.png create mode 100644 libraries/elementary/data/themes/emo-sorry.png create mode 100644 libraries/elementary/data/themes/emo-squint-laugh.png create mode 100644 libraries/elementary/data/themes/emo-surprised.png create mode 100644 libraries/elementary/data/themes/emo-suspicious.png create mode 100644 libraries/elementary/data/themes/emo-tongue-dangling.png create mode 100644 libraries/elementary/data/themes/emo-tongue-poke.png create mode 100644 libraries/elementary/data/themes/emo-uh.png create mode 100644 libraries/elementary/data/themes/emo-unhappy.png create mode 100644 libraries/elementary/data/themes/emo-very-sorry.png create mode 100644 libraries/elementary/data/themes/emo-what.png create mode 100644 libraries/elementary/data/themes/emo-wink.png create mode 100644 libraries/elementary/data/themes/emo-worried.png create mode 100644 libraries/elementary/data/themes/emo-wtf.png create mode 100644 libraries/elementary/data/themes/ews.edc create mode 100644 libraries/elementary/data/themes/exclam.png create mode 100644 libraries/elementary/data/themes/flip_0b.png create mode 100644 libraries/elementary/data/themes/flip_0t.png create mode 100644 libraries/elementary/data/themes/flip_1b.png create mode 100644 libraries/elementary/data/themes/flip_1t.png create mode 100644 libraries/elementary/data/themes/flip_2b.png create mode 100644 libraries/elementary/data/themes/flip_2t.png create mode 100644 libraries/elementary/data/themes/flip_3b.png create mode 100644 libraries/elementary/data/themes/flip_3t.png create mode 100644 libraries/elementary/data/themes/flip_4b.png create mode 100644 libraries/elementary/data/themes/flip_4t.png create mode 100644 libraries/elementary/data/themes/flip_5b.png create mode 100644 libraries/elementary/data/themes/flip_5t.png create mode 100644 libraries/elementary/data/themes/flip_6b.png create mode 100644 libraries/elementary/data/themes/flip_6t.png create mode 100644 libraries/elementary/data/themes/flip_7b.png create mode 100644 libraries/elementary/data/themes/flip_7t.png create mode 100644 libraries/elementary/data/themes/flip_8b.png create mode 100644 libraries/elementary/data/themes/flip_8t.png create mode 100644 libraries/elementary/data/themes/flip_9b.png create mode 100644 libraries/elementary/data/themes/flip_9t.png create mode 100644 libraries/elementary/data/themes/flip_amb.png create mode 100644 libraries/elementary/data/themes/flip_amt.png create mode 100644 libraries/elementary/data/themes/flip_b.png create mode 100644 libraries/elementary/data/themes/flip_base.png create mode 100644 libraries/elementary/data/themes/flip_base_shad.png create mode 100644 libraries/elementary/data/themes/flip_pmb.png create mode 100644 libraries/elementary/data/themes/flip_pmt.png create mode 100644 libraries/elementary/data/themes/flip_shad.png create mode 100644 libraries/elementary/data/themes/flip_t.png create mode 100644 libraries/elementary/data/themes/frame_1.png create mode 100644 libraries/elementary/data/themes/frame_2.png create mode 100644 libraries/elementary/data/themes/group_index.png create mode 100644 libraries/elementary/data/themes/head.png create mode 100644 libraries/elementary/data/themes/hoversel_entry_bg.png create mode 100644 libraries/elementary/data/themes/icon_apps.png create mode 100644 libraries/elementary/data/themes/icon_arrow_down.png create mode 100644 libraries/elementary/data/themes/icon_arrow_down_left.png create mode 100644 libraries/elementary/data/themes/icon_arrow_down_right.png create mode 100644 libraries/elementary/data/themes/icon_arrow_left.png create mode 100644 libraries/elementary/data/themes/icon_arrow_right.png create mode 100644 libraries/elementary/data/themes/icon_arrow_up.png create mode 100644 libraries/elementary/data/themes/icon_arrow_up_left.png create mode 100644 libraries/elementary/data/themes/icon_arrow_up_right.png create mode 100644 libraries/elementary/data/themes/icon_chat.png create mode 100644 libraries/elementary/data/themes/icon_clock.png create mode 100644 libraries/elementary/data/themes/icon_close.png create mode 100644 libraries/elementary/data/themes/icon_delete.png create mode 100644 libraries/elementary/data/themes/icon_edit.png create mode 100644 libraries/elementary/data/themes/icon_file.png create mode 100644 libraries/elementary/data/themes/icon_folder.png create mode 100644 libraries/elementary/data/themes/icon_home.png create mode 100644 libraries/elementary/data/themes/icon_left_arrow.png create mode 100644 libraries/elementary/data/themes/icon_refresh.png create mode 100644 libraries/elementary/data/themes/icon_right_arrow.png create mode 100644 libraries/elementary/data/themes/ilist_1.png create mode 100644 libraries/elementary/data/themes/ilist_1_h.png create mode 100644 libraries/elementary/data/themes/ilist_2.png create mode 100644 libraries/elementary/data/themes/ilist_2_h.png create mode 100644 libraries/elementary/data/themes/ilist_item_shadow.png create mode 100644 libraries/elementary/data/themes/ilist_item_shadow_h.png create mode 100644 libraries/elementary/data/themes/leftright.png create mode 100644 libraries/elementary/data/themes/map_circle.png create mode 100644 libraries/elementary/data/themes/map_item.png create mode 100644 libraries/elementary/data/themes/map_item_2.png create mode 100644 libraries/elementary/data/themes/map_scale.png create mode 100644 libraries/elementary/data/themes/mp_forward.png create mode 100644 libraries/elementary/data/themes/mp_info.png create mode 100644 libraries/elementary/data/themes/mp_next.png create mode 100644 libraries/elementary/data/themes/mp_pause.png create mode 100644 libraries/elementary/data/themes/mp_play.png create mode 100644 libraries/elementary/data/themes/mp_prev.png create mode 100644 libraries/elementary/data/themes/mp_rewind.png create mode 100644 libraries/elementary/data/themes/mp_stop.png create mode 100644 libraries/elementary/data/themes/outdent-bottom.png create mode 100644 libraries/elementary/data/themes/outdent-top.png create mode 100644 libraries/elementary/data/themes/pointer.png create mode 100644 libraries/elementary/data/themes/pointer_glint_01.png create mode 100644 libraries/elementary/data/themes/pointer_glint_02.png create mode 100644 libraries/elementary/data/themes/pointer_glint_03.png create mode 100644 libraries/elementary/data/themes/pointer_glint_04.png create mode 100644 libraries/elementary/data/themes/pointer_glint_05.png create mode 100644 libraries/elementary/data/themes/pointer_glint_06.png create mode 100644 libraries/elementary/data/themes/pointer_glint_07.png create mode 100644 libraries/elementary/data/themes/pointer_glint_08.png create mode 100644 libraries/elementary/data/themes/pointer_glint_09.png create mode 100644 libraries/elementary/data/themes/pointer_glint_10.png create mode 100644 libraries/elementary/data/themes/pointer_glint_11.png create mode 100644 libraries/elementary/data/themes/pointer_glint_12.png create mode 100644 libraries/elementary/data/themes/pointer_glow.png create mode 100644 libraries/elementary/data/themes/radio.png create mode 100644 libraries/elementary/data/themes/radio2.png create mode 100644 libraries/elementary/data/themes/radio_base.png create mode 100644 libraries/elementary/data/themes/sb_runnerh.png create mode 100644 libraries/elementary/data/themes/sb_runnerv.png create mode 100644 libraries/elementary/data/themes/seg_left_normal.png create mode 100644 libraries/elementary/data/themes/seg_left_pressed.png create mode 100644 libraries/elementary/data/themes/seg_left_selected.png create mode 100644 libraries/elementary/data/themes/seg_middle_normal.png create mode 100644 libraries/elementary/data/themes/seg_middle_pressed.png create mode 100644 libraries/elementary/data/themes/seg_middle_selected.png create mode 100644 libraries/elementary/data/themes/seg_right_normal.png create mode 100644 libraries/elementary/data/themes/seg_right_pressed.png create mode 100644 libraries/elementary/data/themes/seg_right_selected.png create mode 100644 libraries/elementary/data/themes/seg_single_normal.png create mode 100644 libraries/elementary/data/themes/seg_single_pressed.png create mode 100644 libraries/elementary/data/themes/seg_single_selected.png create mode 100644 libraries/elementary/data/themes/separator_h.png create mode 100644 libraries/elementary/data/themes/separator_v.png create mode 100644 libraries/elementary/data/themes/shad_circ.png create mode 100644 libraries/elementary/data/themes/shadow.png create mode 100644 libraries/elementary/data/themes/shelf_inset.png create mode 100644 libraries/elementary/data/themes/sl_bg.png create mode 100644 libraries/elementary/data/themes/sl_bg_over.png create mode 100644 libraries/elementary/data/themes/sl_bt2_0_0.png create mode 100644 libraries/elementary/data/themes/sl_bt2_0_1.png create mode 100644 libraries/elementary/data/themes/sl_bt2_0_2.png create mode 100644 libraries/elementary/data/themes/sl_bt2_1.png create mode 100644 libraries/elementary/data/themes/sl_bt2_2.png create mode 100644 libraries/elementary/data/themes/sl_bt_0.png create mode 100644 libraries/elementary/data/themes/sl_bt_1.png create mode 100644 libraries/elementary/data/themes/sl_bt_2.png create mode 100644 libraries/elementary/data/themes/sl_bt_3.png create mode 100644 libraries/elementary/data/themes/sl_units.png create mode 100644 libraries/elementary/data/themes/slv_bg.png create mode 100644 libraries/elementary/data/themes/slv_bg_over.png create mode 100644 libraries/elementary/data/themes/slv_units.png create mode 100644 libraries/elementary/data/themes/sp_bt_l.png create mode 100644 libraries/elementary/data/themes/sp_bt_r.png create mode 100644 libraries/elementary/data/themes/thumb_shadow.png create mode 100644 libraries/elementary/data/themes/tog_base_off.png create mode 100644 libraries/elementary/data/themes/tog_base_on.png create mode 100644 libraries/elementary/data/themes/tog_dis_base_off.png create mode 100644 libraries/elementary/data/themes/tog_dis_base_on.png create mode 100644 libraries/elementary/data/themes/toolbar_sel.png create mode 100644 libraries/elementary/data/themes/toolbar_separator_v.png create mode 100644 libraries/elementary/data/themes/tooltip-base.png create mode 100644 libraries/elementary/data/themes/tooltip-corner-bottom-left-tip.png create mode 100644 libraries/elementary/data/themes/tooltip-corner-bottom-right-tip.png create mode 100644 libraries/elementary/data/themes/tooltip-corner-top-left-tip.png create mode 100644 libraries/elementary/data/themes/tooltip-corner-top-right-tip.png create mode 100644 libraries/elementary/data/themes/tooltip-edge-bottom-tip.png create mode 100644 libraries/elementary/data/themes/tooltip-edge-left-tip.png create mode 100644 libraries/elementary/data/themes/tooltip-edge-right-tip.png create mode 100644 libraries/elementary/data/themes/tooltip-edge-top-tip.png create mode 100644 libraries/elementary/data/themes/up.png create mode 100644 libraries/elementary/data/themes/updown.png create mode 100644 libraries/elementary/data/themes/widgets/actionslider.edc create mode 100644 libraries/elementary/data/themes/widgets/bg.edc create mode 100644 libraries/elementary/data/themes/widgets/border.edc create mode 100644 libraries/elementary/data/themes/widgets/bubble.edc create mode 100644 libraries/elementary/data/themes/widgets/button.edc create mode 100644 libraries/elementary/data/themes/widgets/calendar.edc create mode 100644 libraries/elementary/data/themes/widgets/check.edc create mode 100644 libraries/elementary/data/themes/widgets/clock.edc create mode 100644 libraries/elementary/data/themes/widgets/colorselector.edc create mode 100644 libraries/elementary/data/themes/widgets/conformant.edc create mode 100644 libraries/elementary/data/themes/widgets/ctxpopup.edc create mode 100644 libraries/elementary/data/themes/widgets/datetime.edc create mode 100644 libraries/elementary/data/themes/widgets/dayselector.edc create mode 100644 libraries/elementary/data/themes/widgets/diskselector.edc create mode 100644 libraries/elementary/data/themes/widgets/entry.edc create mode 100644 libraries/elementary/data/themes/widgets/fileselector.edc create mode 100644 libraries/elementary/data/themes/widgets/flipselector.edc create mode 100644 libraries/elementary/data/themes/widgets/frame.edc create mode 100644 libraries/elementary/data/themes/widgets/gengrid.edc create mode 100644 libraries/elementary/data/themes/widgets/genlist.edc create mode 100644 libraries/elementary/data/themes/widgets/hover.edc create mode 100644 libraries/elementary/data/themes/widgets/icon.edc create mode 100644 libraries/elementary/data/themes/widgets/index.edc create mode 100644 libraries/elementary/data/themes/widgets/label.edc create mode 100644 libraries/elementary/data/themes/widgets/layout.edc create mode 100644 libraries/elementary/data/themes/widgets/list.edc create mode 100644 libraries/elementary/data/themes/widgets/map.edc create mode 100644 libraries/elementary/data/themes/widgets/menu.edc create mode 100644 libraries/elementary/data/themes/widgets/multibuttonentry.edc create mode 100644 libraries/elementary/data/themes/widgets/naviframe.edc create mode 100644 libraries/elementary/data/themes/widgets/notify.edc create mode 100644 libraries/elementary/data/themes/widgets/panel.edc create mode 100644 libraries/elementary/data/themes/widgets/panes.edc create mode 100644 libraries/elementary/data/themes/widgets/photo.edc create mode 100644 libraries/elementary/data/themes/widgets/photocam.edc create mode 100644 libraries/elementary/data/themes/widgets/player.edc create mode 100644 libraries/elementary/data/themes/widgets/pointer.edc create mode 100644 libraries/elementary/data/themes/widgets/popup.edc create mode 100644 libraries/elementary/data/themes/widgets/progressbar.edc create mode 100644 libraries/elementary/data/themes/widgets/radio.edc create mode 100644 libraries/elementary/data/themes/widgets/scroller.edc create mode 100644 libraries/elementary/data/themes/widgets/segment_control.edc create mode 100644 libraries/elementary/data/themes/widgets/separator.edc create mode 100644 libraries/elementary/data/themes/widgets/slider.edc create mode 100644 libraries/elementary/data/themes/widgets/slideshow.edc create mode 100644 libraries/elementary/data/themes/widgets/spinner.edc create mode 100644 libraries/elementary/data/themes/widgets/thumb.edc create mode 100644 libraries/elementary/data/themes/widgets/toolbar.edc create mode 100644 libraries/elementary/data/themes/widgets/tooltip.edc create mode 100644 libraries/elementary/data/themes/widgets/video.edc create mode 100644 libraries/elementary/data/themes/widgets/win.edc (limited to 'libraries/elementary/data') diff --git a/libraries/elementary/data/Makefile.am b/libraries/elementary/data/Makefile.am new file mode 100644 index 0000000..17807ed --- /dev/null +++ b/libraries/elementary/data/Makefile.am @@ -0,0 +1,3 @@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in +SUBDIRS = themes images objects desktop edje_externals diff --git a/libraries/elementary/data/Makefile.in b/libraries/elementary/data/Makefile.in new file mode 100644 index 0000000..c25dcac --- /dev/null +++ b/libraries/elementary/data/Makefile.in @@ -0,0 +1,666 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ + $(top_srcdir)/m4/efl_binary.m4 \ + $(top_srcdir)/m4/efl_compiler_flag.m4 \ + $(top_srcdir)/m4/efl_doxygen.m4 \ + $(top_srcdir)/m4/efl_examples.m4 \ + $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/elementary_config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EIO_CFLAGS = @EIO_CFLAGS@ +EIO_LIBS = @EIO_LIBS@ +ELEMENTARY_CFLAGS = @ELEMENTARY_CFLAGS@ +ELEMENTARY_COCOA_CFLAGS = @ELEMENTARY_COCOA_CFLAGS@ +ELEMENTARY_COCOA_LIBS = @ELEMENTARY_COCOA_LIBS@ +ELEMENTARY_CONFIG_PRG = @ELEMENTARY_CONFIG_PRG@ +ELEMENTARY_ECORE_CON_CFLAGS = @ELEMENTARY_ECORE_CON_CFLAGS@ +ELEMENTARY_ECORE_CON_INC = @ELEMENTARY_ECORE_CON_INC@ +ELEMENTARY_ECORE_CON_LIBS = @ELEMENTARY_ECORE_CON_LIBS@ +ELEMENTARY_ECORE_IMF_CFLAGS = @ELEMENTARY_ECORE_IMF_CFLAGS@ +ELEMENTARY_ECORE_IMF_INC = @ELEMENTARY_ECORE_IMF_INC@ +ELEMENTARY_ECORE_IMF_LIBS = @ELEMENTARY_ECORE_IMF_LIBS@ +ELEMENTARY_EDBUS_CFLAGS = @ELEMENTARY_EDBUS_CFLAGS@ +ELEMENTARY_EDBUS_LIBS = @ELEMENTARY_EDBUS_LIBS@ +ELEMENTARY_EFREET_CFLAGS = @ELEMENTARY_EFREET_CFLAGS@ +ELEMENTARY_EFREET_LIBS = @ELEMENTARY_EFREET_LIBS@ +ELEMENTARY_EMAP_CFLAGS = @ELEMENTARY_EMAP_CFLAGS@ +ELEMENTARY_EMAP_LIBS = @ELEMENTARY_EMAP_LIBS@ +ELEMENTARY_ETHUMB_CFLAGS = @ELEMENTARY_ETHUMB_CFLAGS@ +ELEMENTARY_ETHUMB_LIBS = @ELEMENTARY_ETHUMB_LIBS@ +ELEMENTARY_EWEATHER_CFLAGS = @ELEMENTARY_EWEATHER_CFLAGS@ +ELEMENTARY_EWEATHER_LIBS = @ELEMENTARY_EWEATHER_LIBS@ +ELEMENTARY_FB_CFLAGS = @ELEMENTARY_FB_CFLAGS@ +ELEMENTARY_FB_LIBS = @ELEMENTARY_FB_LIBS@ +ELEMENTARY_LIBS = @ELEMENTARY_LIBS@ +ELEMENTARY_PSL1GHT_CFLAGS = @ELEMENTARY_PSL1GHT_CFLAGS@ +ELEMENTARY_PSL1GHT_LIBS = @ELEMENTARY_PSL1GHT_LIBS@ +ELEMENTARY_SDL_CFLAGS = @ELEMENTARY_SDL_CFLAGS@ +ELEMENTARY_SDL_LIBS = @ELEMENTARY_SDL_LIBS@ +ELEMENTARY_TEST_PRG = @ELEMENTARY_TEST_PRG@ +ELEMENTARY_WEB_CFLAGS = @ELEMENTARY_WEB_CFLAGS@ +ELEMENTARY_WEB_LIBS = @ELEMENTARY_WEB_LIBS@ +ELEMENTARY_WIN32_CFLAGS = @ELEMENTARY_WIN32_CFLAGS@ +ELEMENTARY_WIN32_LIBS = @ELEMENTARY_WIN32_LIBS@ +ELEMENTARY_WINCE_CFLAGS = @ELEMENTARY_WINCE_CFLAGS@ +ELEMENTARY_WINCE_LIBS = @ELEMENTARY_WINCE_LIBS@ +ELEMENTARY_X_CFLAGS = @ELEMENTARY_X_CFLAGS@ +ELEMENTARY_X_LIBS = @ELEMENTARY_X_LIBS@ +ELM_ALLOCA_H_DEF = @ELM_ALLOCA_H_DEF@ +ELM_DEBUG_DEF = @ELM_DEBUG_DEF@ +ELM_DIRENT_H_DEF = @ELM_DIRENT_H_DEF@ +ELM_EDBUS_DEF = @ELM_EDBUS_DEF@ +ELM_EFREET_DEF = @ELM_EFREET_DEF@ +ELM_EMAP_DEF = @ELM_EMAP_DEF@ +ELM_ETHUMB_DEF = @ELM_ETHUMB_DEF@ +ELM_EWEATHER_DEF = @ELM_EWEATHER_DEF@ +ELM_LIBINTL_H_DEF = @ELM_LIBINTL_H_DEF@ +ELM_UNIX_DEF = @ELM_UNIX_DEF@ +ELM_WEB_DEF = @ELM_WEB_DEF@ +ELM_WIN32_DEF = @ELM_WIN32_DEF@ +ELM_WINCE_DEF = @ELM_WINCE_DEF@ +EMOTION_CFLAGS = @EMOTION_CFLAGS@ +EMOTION_LIBS = @EMOTION_LIBS@ +EVIL_CFLAGS = @EVIL_CFLAGS@ +EVIL_LIBS = @EVIL_LIBS@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOCALE_DIR = @LOCALE_DIR@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MODULE_ARCH = @MODULE_ARCH@ +MODULE_EDJE = @MODULE_EDJE@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VMAJ = @VMAJ@ +VMIN = @VMIN@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +dlopen_libs = @dlopen_libs@ +docdir = @docdir@ +dvidir = @dvidir@ +edje_cc = @edje_cc@ +eet_eet = @eet_eet@ +efl_doxygen = @efl_doxygen@ +efl_have_doxygen = @efl_have_doxygen@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +lt_enable_auto_import = @lt_enable_auto_import@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +my_libs = @my_libs@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfig_requires_private = @pkgconfig_requires_private@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +release_info = @release_info@ +requirement_elm = @requirement_elm@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +version_info = @version_info@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in +SUBDIRS = themes images objects desktop edje_externals +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign data/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ + install-am install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic clean-libtool \ + ctags ctags-recursive distclean distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libraries/elementary/data/desktop/Makefile.am b/libraries/elementary/data/desktop/Makefile.am new file mode 100644 index 0000000..14e5d0f --- /dev/null +++ b/libraries/elementary/data/desktop/Makefile.am @@ -0,0 +1,10 @@ +4AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in + +desktopdir = $(datadir)/applications +desktop_DATA = elementary_test.desktop elementary_config.desktop + +icondir = $(datadir)/icons +icon_DATA = elementary.png + +EXTRA_DIST = $(desktop_DATA) $(icon_DATA) diff --git a/libraries/elementary/data/desktop/Makefile.in b/libraries/elementary/data/desktop/Makefile.in new file mode 100644 index 0000000..98cc7d1 --- /dev/null +++ b/libraries/elementary/data/desktop/Makefile.in @@ -0,0 +1,537 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/desktop +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ + $(top_srcdir)/m4/efl_binary.m4 \ + $(top_srcdir)/m4/efl_compiler_flag.m4 \ + $(top_srcdir)/m4/efl_doxygen.m4 \ + $(top_srcdir)/m4/efl_examples.m4 \ + $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/elementary_config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)" +DATA = $(desktop_DATA) $(icon_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EIO_CFLAGS = @EIO_CFLAGS@ +EIO_LIBS = @EIO_LIBS@ +ELEMENTARY_CFLAGS = @ELEMENTARY_CFLAGS@ +ELEMENTARY_COCOA_CFLAGS = @ELEMENTARY_COCOA_CFLAGS@ +ELEMENTARY_COCOA_LIBS = @ELEMENTARY_COCOA_LIBS@ +ELEMENTARY_CONFIG_PRG = @ELEMENTARY_CONFIG_PRG@ +ELEMENTARY_ECORE_CON_CFLAGS = @ELEMENTARY_ECORE_CON_CFLAGS@ +ELEMENTARY_ECORE_CON_INC = @ELEMENTARY_ECORE_CON_INC@ +ELEMENTARY_ECORE_CON_LIBS = @ELEMENTARY_ECORE_CON_LIBS@ +ELEMENTARY_ECORE_IMF_CFLAGS = @ELEMENTARY_ECORE_IMF_CFLAGS@ +ELEMENTARY_ECORE_IMF_INC = @ELEMENTARY_ECORE_IMF_INC@ +ELEMENTARY_ECORE_IMF_LIBS = @ELEMENTARY_ECORE_IMF_LIBS@ +ELEMENTARY_EDBUS_CFLAGS = @ELEMENTARY_EDBUS_CFLAGS@ +ELEMENTARY_EDBUS_LIBS = @ELEMENTARY_EDBUS_LIBS@ +ELEMENTARY_EFREET_CFLAGS = @ELEMENTARY_EFREET_CFLAGS@ +ELEMENTARY_EFREET_LIBS = @ELEMENTARY_EFREET_LIBS@ +ELEMENTARY_EMAP_CFLAGS = @ELEMENTARY_EMAP_CFLAGS@ +ELEMENTARY_EMAP_LIBS = @ELEMENTARY_EMAP_LIBS@ +ELEMENTARY_ETHUMB_CFLAGS = @ELEMENTARY_ETHUMB_CFLAGS@ +ELEMENTARY_ETHUMB_LIBS = @ELEMENTARY_ETHUMB_LIBS@ +ELEMENTARY_EWEATHER_CFLAGS = @ELEMENTARY_EWEATHER_CFLAGS@ +ELEMENTARY_EWEATHER_LIBS = @ELEMENTARY_EWEATHER_LIBS@ +ELEMENTARY_FB_CFLAGS = @ELEMENTARY_FB_CFLAGS@ +ELEMENTARY_FB_LIBS = @ELEMENTARY_FB_LIBS@ +ELEMENTARY_LIBS = @ELEMENTARY_LIBS@ +ELEMENTARY_PSL1GHT_CFLAGS = @ELEMENTARY_PSL1GHT_CFLAGS@ +ELEMENTARY_PSL1GHT_LIBS = @ELEMENTARY_PSL1GHT_LIBS@ +ELEMENTARY_SDL_CFLAGS = @ELEMENTARY_SDL_CFLAGS@ +ELEMENTARY_SDL_LIBS = @ELEMENTARY_SDL_LIBS@ +ELEMENTARY_TEST_PRG = @ELEMENTARY_TEST_PRG@ +ELEMENTARY_WEB_CFLAGS = @ELEMENTARY_WEB_CFLAGS@ +ELEMENTARY_WEB_LIBS = @ELEMENTARY_WEB_LIBS@ +ELEMENTARY_WIN32_CFLAGS = @ELEMENTARY_WIN32_CFLAGS@ +ELEMENTARY_WIN32_LIBS = @ELEMENTARY_WIN32_LIBS@ +ELEMENTARY_WINCE_CFLAGS = @ELEMENTARY_WINCE_CFLAGS@ +ELEMENTARY_WINCE_LIBS = @ELEMENTARY_WINCE_LIBS@ +ELEMENTARY_X_CFLAGS = @ELEMENTARY_X_CFLAGS@ +ELEMENTARY_X_LIBS = @ELEMENTARY_X_LIBS@ +ELM_ALLOCA_H_DEF = @ELM_ALLOCA_H_DEF@ +ELM_DEBUG_DEF = @ELM_DEBUG_DEF@ +ELM_DIRENT_H_DEF = @ELM_DIRENT_H_DEF@ +ELM_EDBUS_DEF = @ELM_EDBUS_DEF@ +ELM_EFREET_DEF = @ELM_EFREET_DEF@ +ELM_EMAP_DEF = @ELM_EMAP_DEF@ +ELM_ETHUMB_DEF = @ELM_ETHUMB_DEF@ +ELM_EWEATHER_DEF = @ELM_EWEATHER_DEF@ +ELM_LIBINTL_H_DEF = @ELM_LIBINTL_H_DEF@ +ELM_UNIX_DEF = @ELM_UNIX_DEF@ +ELM_WEB_DEF = @ELM_WEB_DEF@ +ELM_WIN32_DEF = @ELM_WIN32_DEF@ +ELM_WINCE_DEF = @ELM_WINCE_DEF@ +EMOTION_CFLAGS = @EMOTION_CFLAGS@ +EMOTION_LIBS = @EMOTION_LIBS@ +EVIL_CFLAGS = @EVIL_CFLAGS@ +EVIL_LIBS = @EVIL_LIBS@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOCALE_DIR = @LOCALE_DIR@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MODULE_ARCH = @MODULE_ARCH@ +MODULE_EDJE = @MODULE_EDJE@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VMAJ = @VMAJ@ +VMIN = @VMIN@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +dlopen_libs = @dlopen_libs@ +docdir = @docdir@ +dvidir = @dvidir@ +edje_cc = @edje_cc@ +eet_eet = @eet_eet@ +efl_doxygen = @efl_doxygen@ +efl_have_doxygen = @efl_have_doxygen@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +lt_enable_auto_import = @lt_enable_auto_import@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +my_libs = @my_libs@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfig_requires_private = @pkgconfig_requires_private@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +release_info = @release_info@ +requirement_elm = @requirement_elm@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +version_info = @version_info@ +4AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in +desktopdir = $(datadir)/applications +desktop_DATA = elementary_test.desktop elementary_config.desktop +icondir = $(datadir)/icons +icon_DATA = elementary.png +EXTRA_DIST = $(desktop_DATA) $(icon_DATA) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/desktop/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/desktop/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-desktopDATA: $(desktop_DATA) + @$(NORMAL_INSTALL) + test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ + done + +uninstall-desktopDATA: + @$(NORMAL_UNINSTALL) + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(desktopdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(desktopdir)" && rm -f $$files +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(icondir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-desktopDATA install-iconDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-desktopDATA uninstall-iconDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-desktopDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-iconDATA install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am uninstall uninstall-am uninstall-desktopDATA \ + uninstall-iconDATA + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libraries/elementary/data/desktop/elementary.png b/libraries/elementary/data/desktop/elementary.png new file mode 100644 index 0000000..7975489 Binary files /dev/null and b/libraries/elementary/data/desktop/elementary.png differ diff --git a/libraries/elementary/data/desktop/elementary_config.desktop b/libraries/elementary/data/desktop/elementary_config.desktop new file mode 100644 index 0000000..ae60394 --- /dev/null +++ b/libraries/elementary/data/desktop/elementary_config.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Elementary Configuration +Name[ru]=Конфигурация Elementary +Name[fr]=Elementary Configuration +Name[pt]=Configuração do Elementary +Name[cs]=Konfigurace Elementary +Comment=Elementary Configuration +Comment[ru]=Конфигурация для Elementary (Элементарий) +Comment[fr]=Configuration pour Elementary +Comment[it]=Configurazione di Elementary +Comment[pt]=Configure o Elementary +Comment[cs]=Konfigurace Elementary +Exec=elementary_config +Icon=elementary +Terminal=false +Type=Application +Categories=System;Settings;DesktopSettings; diff --git a/libraries/elementary/data/desktop/elementary_test.desktop b/libraries/elementary/data/desktop/elementary_test.desktop new file mode 100644 index 0000000..adf93e2 --- /dev/null +++ b/libraries/elementary/data/desktop/elementary_test.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Elementary Test +Name[ru]=Тест Elementary +Comment=Elementary Test Application +Comment[ru]=Тестовое приложение Элементария +Comment[cs]=Testovací aplikace Elementary +Comment[fr]=Programme de tests pour Elementary +Comment[it]=Applicazione di test per Elementary +Comment[pt]=Uma aplicação de teste do Elementary +Exec=elementary_test +Icon=elementary +Terminal=false +Type=Application +Categories=Development;Utility; diff --git a/libraries/elementary/data/edje_externals/Makefile.am b/libraries/elementary/data/edje_externals/Makefile.am new file mode 100644 index 0000000..cdf7363 --- /dev/null +++ b/libraries/elementary/data/edje_externals/Makefile.am @@ -0,0 +1,44 @@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in + +EDJE_CC = @edje_cc@ +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/edje_externals -fd $(top_srcdir)/data/edje_externals + +filesdir = $(datadir)/elementary/edje_externals +files_DATA = icons.edj + +EXTRA_DIST = \ +icons.edc \ +ico_anchorblock.png \ +ico_anchorview.png \ +ico_bubble.png \ +ico_button.png \ +ico_check.png \ +ico_clock.png \ +ico_fileselector.png \ +ico_fileselector_button.png \ +ico_genlist.png \ +ico_hoversel.png \ +ico_list.png \ +ico_map.png \ +ico_notepad.png \ +ico_photocam.png \ +ico_progressbar.png \ +ico_radio.png \ +ico_scrolled_entry.png \ +ico_slider.png \ +ico_slideshow.png \ +ico_spinner.png \ +ico_thumb.png \ +ico_toolbar.png + +icons.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/edje_externals/icons.edc \ + $(top_builddir)/data/edje_externals/icons.edj + +clean-local: + rm -f *.edj diff --git a/libraries/elementary/data/edje_externals/Makefile.in b/libraries/elementary/data/edje_externals/Makefile.in new file mode 100644 index 0000000..824c9b2 --- /dev/null +++ b/libraries/elementary/data/edje_externals/Makefile.in @@ -0,0 +1,551 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/edje_externals +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ + $(top_srcdir)/m4/efl_binary.m4 \ + $(top_srcdir)/m4/efl_compiler_flag.m4 \ + $(top_srcdir)/m4/efl_doxygen.m4 \ + $(top_srcdir)/m4/efl_examples.m4 \ + $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/elementary_config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(filesdir)" +DATA = $(files_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EIO_CFLAGS = @EIO_CFLAGS@ +EIO_LIBS = @EIO_LIBS@ +ELEMENTARY_CFLAGS = @ELEMENTARY_CFLAGS@ +ELEMENTARY_COCOA_CFLAGS = @ELEMENTARY_COCOA_CFLAGS@ +ELEMENTARY_COCOA_LIBS = @ELEMENTARY_COCOA_LIBS@ +ELEMENTARY_CONFIG_PRG = @ELEMENTARY_CONFIG_PRG@ +ELEMENTARY_ECORE_CON_CFLAGS = @ELEMENTARY_ECORE_CON_CFLAGS@ +ELEMENTARY_ECORE_CON_INC = @ELEMENTARY_ECORE_CON_INC@ +ELEMENTARY_ECORE_CON_LIBS = @ELEMENTARY_ECORE_CON_LIBS@ +ELEMENTARY_ECORE_IMF_CFLAGS = @ELEMENTARY_ECORE_IMF_CFLAGS@ +ELEMENTARY_ECORE_IMF_INC = @ELEMENTARY_ECORE_IMF_INC@ +ELEMENTARY_ECORE_IMF_LIBS = @ELEMENTARY_ECORE_IMF_LIBS@ +ELEMENTARY_EDBUS_CFLAGS = @ELEMENTARY_EDBUS_CFLAGS@ +ELEMENTARY_EDBUS_LIBS = @ELEMENTARY_EDBUS_LIBS@ +ELEMENTARY_EFREET_CFLAGS = @ELEMENTARY_EFREET_CFLAGS@ +ELEMENTARY_EFREET_LIBS = @ELEMENTARY_EFREET_LIBS@ +ELEMENTARY_EMAP_CFLAGS = @ELEMENTARY_EMAP_CFLAGS@ +ELEMENTARY_EMAP_LIBS = @ELEMENTARY_EMAP_LIBS@ +ELEMENTARY_ETHUMB_CFLAGS = @ELEMENTARY_ETHUMB_CFLAGS@ +ELEMENTARY_ETHUMB_LIBS = @ELEMENTARY_ETHUMB_LIBS@ +ELEMENTARY_EWEATHER_CFLAGS = @ELEMENTARY_EWEATHER_CFLAGS@ +ELEMENTARY_EWEATHER_LIBS = @ELEMENTARY_EWEATHER_LIBS@ +ELEMENTARY_FB_CFLAGS = @ELEMENTARY_FB_CFLAGS@ +ELEMENTARY_FB_LIBS = @ELEMENTARY_FB_LIBS@ +ELEMENTARY_LIBS = @ELEMENTARY_LIBS@ +ELEMENTARY_PSL1GHT_CFLAGS = @ELEMENTARY_PSL1GHT_CFLAGS@ +ELEMENTARY_PSL1GHT_LIBS = @ELEMENTARY_PSL1GHT_LIBS@ +ELEMENTARY_SDL_CFLAGS = @ELEMENTARY_SDL_CFLAGS@ +ELEMENTARY_SDL_LIBS = @ELEMENTARY_SDL_LIBS@ +ELEMENTARY_TEST_PRG = @ELEMENTARY_TEST_PRG@ +ELEMENTARY_WEB_CFLAGS = @ELEMENTARY_WEB_CFLAGS@ +ELEMENTARY_WEB_LIBS = @ELEMENTARY_WEB_LIBS@ +ELEMENTARY_WIN32_CFLAGS = @ELEMENTARY_WIN32_CFLAGS@ +ELEMENTARY_WIN32_LIBS = @ELEMENTARY_WIN32_LIBS@ +ELEMENTARY_WINCE_CFLAGS = @ELEMENTARY_WINCE_CFLAGS@ +ELEMENTARY_WINCE_LIBS = @ELEMENTARY_WINCE_LIBS@ +ELEMENTARY_X_CFLAGS = @ELEMENTARY_X_CFLAGS@ +ELEMENTARY_X_LIBS = @ELEMENTARY_X_LIBS@ +ELM_ALLOCA_H_DEF = @ELM_ALLOCA_H_DEF@ +ELM_DEBUG_DEF = @ELM_DEBUG_DEF@ +ELM_DIRENT_H_DEF = @ELM_DIRENT_H_DEF@ +ELM_EDBUS_DEF = @ELM_EDBUS_DEF@ +ELM_EFREET_DEF = @ELM_EFREET_DEF@ +ELM_EMAP_DEF = @ELM_EMAP_DEF@ +ELM_ETHUMB_DEF = @ELM_ETHUMB_DEF@ +ELM_EWEATHER_DEF = @ELM_EWEATHER_DEF@ +ELM_LIBINTL_H_DEF = @ELM_LIBINTL_H_DEF@ +ELM_UNIX_DEF = @ELM_UNIX_DEF@ +ELM_WEB_DEF = @ELM_WEB_DEF@ +ELM_WIN32_DEF = @ELM_WIN32_DEF@ +ELM_WINCE_DEF = @ELM_WINCE_DEF@ +EMOTION_CFLAGS = @EMOTION_CFLAGS@ +EMOTION_LIBS = @EMOTION_LIBS@ +EVIL_CFLAGS = @EVIL_CFLAGS@ +EVIL_LIBS = @EVIL_LIBS@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOCALE_DIR = @LOCALE_DIR@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MODULE_ARCH = @MODULE_ARCH@ +MODULE_EDJE = @MODULE_EDJE@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VMAJ = @VMAJ@ +VMIN = @VMIN@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +dlopen_libs = @dlopen_libs@ +docdir = @docdir@ +dvidir = @dvidir@ +edje_cc = @edje_cc@ +eet_eet = @eet_eet@ +efl_doxygen = @efl_doxygen@ +efl_have_doxygen = @efl_have_doxygen@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +lt_enable_auto_import = @lt_enable_auto_import@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +my_libs = @my_libs@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfig_requires_private = @pkgconfig_requires_private@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +release_info = @release_info@ +requirement_elm = @requirement_elm@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +version_info = @version_info@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in +EDJE_CC = @edje_cc@ +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/edje_externals -fd $(top_srcdir)/data/edje_externals +filesdir = $(datadir)/elementary/edje_externals +files_DATA = icons.edj +EXTRA_DIST = \ +icons.edc \ +ico_anchorblock.png \ +ico_anchorview.png \ +ico_bubble.png \ +ico_button.png \ +ico_check.png \ +ico_clock.png \ +ico_fileselector.png \ +ico_fileselector_button.png \ +ico_genlist.png \ +ico_hoversel.png \ +ico_list.png \ +ico_map.png \ +ico_notepad.png \ +ico_photocam.png \ +ico_progressbar.png \ +ico_radio.png \ +ico_scrolled_entry.png \ +ico_slider.png \ +ico_slideshow.png \ +ico_spinner.png \ +ico_thumb.png \ +ico_toolbar.png + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/edje_externals/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign data/edje_externals/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-filesDATA: $(files_DATA) + @$(NORMAL_INSTALL) + test -z "$(filesdir)" || $(MKDIR_P) "$(DESTDIR)$(filesdir)" + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(filesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(filesdir)" || exit $$?; \ + done + +uninstall-filesDATA: + @$(NORMAL_UNINSTALL) + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(filesdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(filesdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(filesdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-filesDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-filesDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + clean-local distclean distclean-generic distclean-libtool \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-filesDATA \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am uninstall uninstall-am uninstall-filesDATA + + +icons.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/edje_externals/icons.edc \ + $(top_builddir)/data/edje_externals/icons.edj + +clean-local: + rm -f *.edj + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libraries/elementary/data/edje_externals/ico_anchorblock.png b/libraries/elementary/data/edje_externals/ico_anchorblock.png new file mode 100644 index 0000000..a62138e Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_anchorblock.png differ diff --git a/libraries/elementary/data/edje_externals/ico_anchorview.png b/libraries/elementary/data/edje_externals/ico_anchorview.png new file mode 100644 index 0000000..7615015 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_anchorview.png differ diff --git a/libraries/elementary/data/edje_externals/ico_bubble.png b/libraries/elementary/data/edje_externals/ico_bubble.png new file mode 100644 index 0000000..e2df401 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_bubble.png differ diff --git a/libraries/elementary/data/edje_externals/ico_button.png b/libraries/elementary/data/edje_externals/ico_button.png new file mode 100644 index 0000000..842a432 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_button.png differ diff --git a/libraries/elementary/data/edje_externals/ico_check.png b/libraries/elementary/data/edje_externals/ico_check.png new file mode 100644 index 0000000..2d05343 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_check.png differ diff --git a/libraries/elementary/data/edje_externals/ico_clock.png b/libraries/elementary/data/edje_externals/ico_clock.png new file mode 100644 index 0000000..1a7ed02 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_clock.png differ diff --git a/libraries/elementary/data/edje_externals/ico_fileselector.png b/libraries/elementary/data/edje_externals/ico_fileselector.png new file mode 100644 index 0000000..fbf06dc Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_fileselector.png differ diff --git a/libraries/elementary/data/edje_externals/ico_fileselector_button.png b/libraries/elementary/data/edje_externals/ico_fileselector_button.png new file mode 100644 index 0000000..6b5c773 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_fileselector_button.png differ diff --git a/libraries/elementary/data/edje_externals/ico_genlist.png b/libraries/elementary/data/edje_externals/ico_genlist.png new file mode 100644 index 0000000..ab19494 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_genlist.png differ diff --git a/libraries/elementary/data/edje_externals/ico_hoversel.png b/libraries/elementary/data/edje_externals/ico_hoversel.png new file mode 100644 index 0000000..134d12d Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_hoversel.png differ diff --git a/libraries/elementary/data/edje_externals/ico_list.png b/libraries/elementary/data/edje_externals/ico_list.png new file mode 100755 index 0000000..9a1dc64 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_list.png differ diff --git a/libraries/elementary/data/edje_externals/ico_map.png b/libraries/elementary/data/edje_externals/ico_map.png new file mode 100644 index 0000000..1c8ca8b Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_map.png differ diff --git a/libraries/elementary/data/edje_externals/ico_notepad.png b/libraries/elementary/data/edje_externals/ico_notepad.png new file mode 100644 index 0000000..b957492 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_notepad.png differ diff --git a/libraries/elementary/data/edje_externals/ico_photocam.png b/libraries/elementary/data/edje_externals/ico_photocam.png new file mode 100644 index 0000000..c789dbb Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_photocam.png differ diff --git a/libraries/elementary/data/edje_externals/ico_progressbar.png b/libraries/elementary/data/edje_externals/ico_progressbar.png new file mode 100644 index 0000000..202aead Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_progressbar.png differ diff --git a/libraries/elementary/data/edje_externals/ico_radio.png b/libraries/elementary/data/edje_externals/ico_radio.png new file mode 100644 index 0000000..080f4b0 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_radio.png differ diff --git a/libraries/elementary/data/edje_externals/ico_scrolled_entry.png b/libraries/elementary/data/edje_externals/ico_scrolled_entry.png new file mode 100644 index 0000000..443e4c2 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_scrolled_entry.png differ diff --git a/libraries/elementary/data/edje_externals/ico_slider.png b/libraries/elementary/data/edje_externals/ico_slider.png new file mode 100644 index 0000000..307f45c Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_slider.png differ diff --git a/libraries/elementary/data/edje_externals/ico_slideshow.png b/libraries/elementary/data/edje_externals/ico_slideshow.png new file mode 100644 index 0000000..2341b7a Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_slideshow.png differ diff --git a/libraries/elementary/data/edje_externals/ico_spinner.png b/libraries/elementary/data/edje_externals/ico_spinner.png new file mode 100644 index 0000000..0ab2af6 Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_spinner.png differ diff --git a/libraries/elementary/data/edje_externals/ico_thumb.png b/libraries/elementary/data/edje_externals/ico_thumb.png new file mode 100644 index 0000000..e98ed3d Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_thumb.png differ diff --git a/libraries/elementary/data/edje_externals/ico_toolbar.png b/libraries/elementary/data/edje_externals/ico_toolbar.png new file mode 100644 index 0000000..c3799cb Binary files /dev/null and b/libraries/elementary/data/edje_externals/ico_toolbar.png differ diff --git a/libraries/elementary/data/edje_externals/icons.edc b/libraries/elementary/data/edje_externals/icons.edc new file mode 100644 index 0000000..34962c0 --- /dev/null +++ b/libraries/elementary/data/edje_externals/icons.edc @@ -0,0 +1,36 @@ +#define ICON(_name) \ +images { image: "ico_"_name".png" COMP; } \ +collections { group { name: "ico_"_name; \ + parts { part { name: "icon"; \ + type: IMAGE; mouse_events: 0; \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + image.normal: "ico_"_name".png"; \ +}}}}} + +ICON("anchorblock") +ICON("anchorview") +ICON("bubble") +ICON("button") +ICON("check") +ICON("clock") +ICON("fileselector") +ICON("fileselector_button") +ICON("genlist") +ICON("hoversel") +ICON("list") +ICON("map") +ICON("notepad") +ICON("photocam") +ICON("progressbar") +ICON("radio") +ICON("scrolled_entry") +ICON("slider") +ICON("slideshow") +ICON("spinner") +ICON("thumb") +ICON("toolbar") +ICON("slideshow") + diff --git a/libraries/elementary/data/images/Makefile.am b/libraries/elementary/data/images/Makefile.am new file mode 100644 index 0000000..4028f4c --- /dev/null +++ b/libraries/elementary/data/images/Makefile.am @@ -0,0 +1,96 @@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in + +filesdir = $(datadir)/elementary/images +files_DATA = \ +insanely_huge_test_image.jpg \ +panel_01.jpg \ +plant_01.jpg \ +pol_shadow.png \ +pol_sky.png \ +pol_twofish.png \ +rock_01.jpg \ +rock_02.jpg \ +sky_01.jpg \ +sky_02.jpg \ +sky_03.jpg \ +sky_04.jpg \ +wood_01.jpg \ +logo.png \ +logo_small.png \ +animated_logo.gif \ +parking.png \ +icon_00.png \ +icon_01.png \ +icon_02.png \ +icon_03.png \ +icon_04.png \ +icon_05.png \ +icon_06.png \ +icon_07.png \ +icon_08.png \ +icon_09.png \ +icon_10.png \ +icon_11.png \ +icon_12.png \ +icon_13.png \ +icon_14.png \ +icon_15.png \ +icon_16.png \ +icon_17.png \ +icon_18.png \ +icon_19.png \ +icon_20.png \ +icon_21.png \ +icon_22.png \ +icon_23.png \ +icon_right_arrow.png \ +bubble.png \ +bubble_sh.png \ +mystrale.jpg \ +mystrale_2.jpg \ +twofish.jpg \ +pt.png + +files_glayerdir = $(datadir)/elementary/images/g_layer +files_glayer_DATA = \ +g_layer/double_tap_1.png \ +g_layer/line_1.png \ +g_layer/momentum_1.png \ +g_layer/tap_5.png \ +g_layer/double_tap_2.png \ +g_layer/line_2.png \ +g_layer/momentum_2.png \ +g_layer/triple_tap_1.png \ +g_layer/double_tap_3.png \ +g_layer/line_3.png \ +g_layer/momentum_3.png \ +g_layer/triple_tap_2.png \ +g_layer/double_tap_4.png \ +g_layer/line_4.png \ +g_layer/momentum_4.png \ +g_layer/triple_tap_3.png \ +g_layer/double_tap_5.png \ +g_layer/line_5.png \ +g_layer/momentum_5.png \ +g_layer/triple_tap_4.png \ +g_layer/flick_1.png \ +g_layer/long_tap_1.png \ +g_layer/rotate_1.png \ +g_layer/triple_tap_5.png \ +g_layer/flick_2.png \ +g_layer/long_tap_2.png \ +g_layer/tap_1.png \ +g_layer/zoom_1.png \ +g_layer/flick_3.png \ +g_layer/long_tap_3.png \ +g_layer/tap_2.png \ +g_layer/flick_4.png \ +g_layer/long_tap_4.png \ +g_layer/tap_3.png \ +g_layer/flick_5.png \ +g_layer/long_tap_5.png \ +g_layer/tap_4.png + + +EXTRA_DIST = $(files_DATA) $(files_glayer_DATA) diff --git a/libraries/elementary/data/images/Makefile.in b/libraries/elementary/data/images/Makefile.in new file mode 100644 index 0000000..daa27d6 --- /dev/null +++ b/libraries/elementary/data/images/Makefile.in @@ -0,0 +1,625 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/images +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ + $(top_srcdir)/m4/efl_binary.m4 \ + $(top_srcdir)/m4/efl_compiler_flag.m4 \ + $(top_srcdir)/m4/efl_doxygen.m4 \ + $(top_srcdir)/m4/efl_examples.m4 \ + $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/elementary_config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(filesdir)" \ + "$(DESTDIR)$(files_glayerdir)" +DATA = $(files_DATA) $(files_glayer_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EIO_CFLAGS = @EIO_CFLAGS@ +EIO_LIBS = @EIO_LIBS@ +ELEMENTARY_CFLAGS = @ELEMENTARY_CFLAGS@ +ELEMENTARY_COCOA_CFLAGS = @ELEMENTARY_COCOA_CFLAGS@ +ELEMENTARY_COCOA_LIBS = @ELEMENTARY_COCOA_LIBS@ +ELEMENTARY_CONFIG_PRG = @ELEMENTARY_CONFIG_PRG@ +ELEMENTARY_ECORE_CON_CFLAGS = @ELEMENTARY_ECORE_CON_CFLAGS@ +ELEMENTARY_ECORE_CON_INC = @ELEMENTARY_ECORE_CON_INC@ +ELEMENTARY_ECORE_CON_LIBS = @ELEMENTARY_ECORE_CON_LIBS@ +ELEMENTARY_ECORE_IMF_CFLAGS = @ELEMENTARY_ECORE_IMF_CFLAGS@ +ELEMENTARY_ECORE_IMF_INC = @ELEMENTARY_ECORE_IMF_INC@ +ELEMENTARY_ECORE_IMF_LIBS = @ELEMENTARY_ECORE_IMF_LIBS@ +ELEMENTARY_EDBUS_CFLAGS = @ELEMENTARY_EDBUS_CFLAGS@ +ELEMENTARY_EDBUS_LIBS = @ELEMENTARY_EDBUS_LIBS@ +ELEMENTARY_EFREET_CFLAGS = @ELEMENTARY_EFREET_CFLAGS@ +ELEMENTARY_EFREET_LIBS = @ELEMENTARY_EFREET_LIBS@ +ELEMENTARY_EMAP_CFLAGS = @ELEMENTARY_EMAP_CFLAGS@ +ELEMENTARY_EMAP_LIBS = @ELEMENTARY_EMAP_LIBS@ +ELEMENTARY_ETHUMB_CFLAGS = @ELEMENTARY_ETHUMB_CFLAGS@ +ELEMENTARY_ETHUMB_LIBS = @ELEMENTARY_ETHUMB_LIBS@ +ELEMENTARY_EWEATHER_CFLAGS = @ELEMENTARY_EWEATHER_CFLAGS@ +ELEMENTARY_EWEATHER_LIBS = @ELEMENTARY_EWEATHER_LIBS@ +ELEMENTARY_FB_CFLAGS = @ELEMENTARY_FB_CFLAGS@ +ELEMENTARY_FB_LIBS = @ELEMENTARY_FB_LIBS@ +ELEMENTARY_LIBS = @ELEMENTARY_LIBS@ +ELEMENTARY_PSL1GHT_CFLAGS = @ELEMENTARY_PSL1GHT_CFLAGS@ +ELEMENTARY_PSL1GHT_LIBS = @ELEMENTARY_PSL1GHT_LIBS@ +ELEMENTARY_SDL_CFLAGS = @ELEMENTARY_SDL_CFLAGS@ +ELEMENTARY_SDL_LIBS = @ELEMENTARY_SDL_LIBS@ +ELEMENTARY_TEST_PRG = @ELEMENTARY_TEST_PRG@ +ELEMENTARY_WEB_CFLAGS = @ELEMENTARY_WEB_CFLAGS@ +ELEMENTARY_WEB_LIBS = @ELEMENTARY_WEB_LIBS@ +ELEMENTARY_WIN32_CFLAGS = @ELEMENTARY_WIN32_CFLAGS@ +ELEMENTARY_WIN32_LIBS = @ELEMENTARY_WIN32_LIBS@ +ELEMENTARY_WINCE_CFLAGS = @ELEMENTARY_WINCE_CFLAGS@ +ELEMENTARY_WINCE_LIBS = @ELEMENTARY_WINCE_LIBS@ +ELEMENTARY_X_CFLAGS = @ELEMENTARY_X_CFLAGS@ +ELEMENTARY_X_LIBS = @ELEMENTARY_X_LIBS@ +ELM_ALLOCA_H_DEF = @ELM_ALLOCA_H_DEF@ +ELM_DEBUG_DEF = @ELM_DEBUG_DEF@ +ELM_DIRENT_H_DEF = @ELM_DIRENT_H_DEF@ +ELM_EDBUS_DEF = @ELM_EDBUS_DEF@ +ELM_EFREET_DEF = @ELM_EFREET_DEF@ +ELM_EMAP_DEF = @ELM_EMAP_DEF@ +ELM_ETHUMB_DEF = @ELM_ETHUMB_DEF@ +ELM_EWEATHER_DEF = @ELM_EWEATHER_DEF@ +ELM_LIBINTL_H_DEF = @ELM_LIBINTL_H_DEF@ +ELM_UNIX_DEF = @ELM_UNIX_DEF@ +ELM_WEB_DEF = @ELM_WEB_DEF@ +ELM_WIN32_DEF = @ELM_WIN32_DEF@ +ELM_WINCE_DEF = @ELM_WINCE_DEF@ +EMOTION_CFLAGS = @EMOTION_CFLAGS@ +EMOTION_LIBS = @EMOTION_LIBS@ +EVIL_CFLAGS = @EVIL_CFLAGS@ +EVIL_LIBS = @EVIL_LIBS@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOCALE_DIR = @LOCALE_DIR@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MODULE_ARCH = @MODULE_ARCH@ +MODULE_EDJE = @MODULE_EDJE@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VMAJ = @VMAJ@ +VMIN = @VMIN@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +dlopen_libs = @dlopen_libs@ +docdir = @docdir@ +dvidir = @dvidir@ +edje_cc = @edje_cc@ +eet_eet = @eet_eet@ +efl_doxygen = @efl_doxygen@ +efl_have_doxygen = @efl_have_doxygen@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +lt_enable_auto_import = @lt_enable_auto_import@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +my_libs = @my_libs@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfig_requires_private = @pkgconfig_requires_private@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +release_info = @release_info@ +requirement_elm = @requirement_elm@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +version_info = @version_info@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in +filesdir = $(datadir)/elementary/images +files_DATA = \ +insanely_huge_test_image.jpg \ +panel_01.jpg \ +plant_01.jpg \ +pol_shadow.png \ +pol_sky.png \ +pol_twofish.png \ +rock_01.jpg \ +rock_02.jpg \ +sky_01.jpg \ +sky_02.jpg \ +sky_03.jpg \ +sky_04.jpg \ +wood_01.jpg \ +logo.png \ +logo_small.png \ +animated_logo.gif \ +parking.png \ +icon_00.png \ +icon_01.png \ +icon_02.png \ +icon_03.png \ +icon_04.png \ +icon_05.png \ +icon_06.png \ +icon_07.png \ +icon_08.png \ +icon_09.png \ +icon_10.png \ +icon_11.png \ +icon_12.png \ +icon_13.png \ +icon_14.png \ +icon_15.png \ +icon_16.png \ +icon_17.png \ +icon_18.png \ +icon_19.png \ +icon_20.png \ +icon_21.png \ +icon_22.png \ +icon_23.png \ +icon_right_arrow.png \ +bubble.png \ +bubble_sh.png \ +mystrale.jpg \ +mystrale_2.jpg \ +twofish.jpg \ +pt.png + +files_glayerdir = $(datadir)/elementary/images/g_layer +files_glayer_DATA = \ +g_layer/double_tap_1.png \ +g_layer/line_1.png \ +g_layer/momentum_1.png \ +g_layer/tap_5.png \ +g_layer/double_tap_2.png \ +g_layer/line_2.png \ +g_layer/momentum_2.png \ +g_layer/triple_tap_1.png \ +g_layer/double_tap_3.png \ +g_layer/line_3.png \ +g_layer/momentum_3.png \ +g_layer/triple_tap_2.png \ +g_layer/double_tap_4.png \ +g_layer/line_4.png \ +g_layer/momentum_4.png \ +g_layer/triple_tap_3.png \ +g_layer/double_tap_5.png \ +g_layer/line_5.png \ +g_layer/momentum_5.png \ +g_layer/triple_tap_4.png \ +g_layer/flick_1.png \ +g_layer/long_tap_1.png \ +g_layer/rotate_1.png \ +g_layer/triple_tap_5.png \ +g_layer/flick_2.png \ +g_layer/long_tap_2.png \ +g_layer/tap_1.png \ +g_layer/zoom_1.png \ +g_layer/flick_3.png \ +g_layer/long_tap_3.png \ +g_layer/tap_2.png \ +g_layer/flick_4.png \ +g_layer/long_tap_4.png \ +g_layer/tap_3.png \ +g_layer/flick_5.png \ +g_layer/long_tap_5.png \ +g_layer/tap_4.png + +EXTRA_DIST = $(files_DATA) $(files_glayer_DATA) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/images/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign data/images/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-filesDATA: $(files_DATA) + @$(NORMAL_INSTALL) + test -z "$(filesdir)" || $(MKDIR_P) "$(DESTDIR)$(filesdir)" + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(filesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(filesdir)" || exit $$?; \ + done + +uninstall-filesDATA: + @$(NORMAL_UNINSTALL) + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(filesdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(filesdir)" && rm -f $$files +install-files_glayerDATA: $(files_glayer_DATA) + @$(NORMAL_INSTALL) + test -z "$(files_glayerdir)" || $(MKDIR_P) "$(DESTDIR)$(files_glayerdir)" + @list='$(files_glayer_DATA)'; test -n "$(files_glayerdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(files_glayerdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(files_glayerdir)" || exit $$?; \ + done + +uninstall-files_glayerDATA: + @$(NORMAL_UNINSTALL) + @list='$(files_glayer_DATA)'; test -n "$(files_glayerdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(files_glayerdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(files_glayerdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(filesdir)" "$(DESTDIR)$(files_glayerdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-filesDATA install-files_glayerDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-filesDATA uninstall-files_glayerDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-filesDATA \ + install-files_glayerDATA install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-filesDATA uninstall-files_glayerDATA + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libraries/elementary/data/images/animated_logo.gif b/libraries/elementary/data/images/animated_logo.gif new file mode 100644 index 0000000..ef201af Binary files /dev/null and b/libraries/elementary/data/images/animated_logo.gif differ diff --git a/libraries/elementary/data/images/bubble.png b/libraries/elementary/data/images/bubble.png new file mode 100644 index 0000000..dfb71b7 Binary files /dev/null and b/libraries/elementary/data/images/bubble.png differ diff --git a/libraries/elementary/data/images/bubble_sh.png b/libraries/elementary/data/images/bubble_sh.png new file mode 100644 index 0000000..b66c1e6 Binary files /dev/null and b/libraries/elementary/data/images/bubble_sh.png differ diff --git a/libraries/elementary/data/images/g_layer/double_tap_1.png b/libraries/elementary/data/images/g_layer/double_tap_1.png new file mode 100644 index 0000000..e30b34e Binary files /dev/null and b/libraries/elementary/data/images/g_layer/double_tap_1.png differ diff --git a/libraries/elementary/data/images/g_layer/double_tap_2.png b/libraries/elementary/data/images/g_layer/double_tap_2.png new file mode 100644 index 0000000..a6f6140 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/double_tap_2.png differ diff --git a/libraries/elementary/data/images/g_layer/double_tap_3.png b/libraries/elementary/data/images/g_layer/double_tap_3.png new file mode 100644 index 0000000..b5e3d36 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/double_tap_3.png differ diff --git a/libraries/elementary/data/images/g_layer/double_tap_4.png b/libraries/elementary/data/images/g_layer/double_tap_4.png new file mode 100644 index 0000000..f313123 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/double_tap_4.png differ diff --git a/libraries/elementary/data/images/g_layer/double_tap_5.png b/libraries/elementary/data/images/g_layer/double_tap_5.png new file mode 100644 index 0000000..dca8bc0 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/double_tap_5.png differ diff --git a/libraries/elementary/data/images/g_layer/flick_1.png b/libraries/elementary/data/images/g_layer/flick_1.png new file mode 100644 index 0000000..af052db Binary files /dev/null and b/libraries/elementary/data/images/g_layer/flick_1.png differ diff --git a/libraries/elementary/data/images/g_layer/flick_2.png b/libraries/elementary/data/images/g_layer/flick_2.png new file mode 100644 index 0000000..2d5bf6b Binary files /dev/null and b/libraries/elementary/data/images/g_layer/flick_2.png differ diff --git a/libraries/elementary/data/images/g_layer/flick_3.png b/libraries/elementary/data/images/g_layer/flick_3.png new file mode 100644 index 0000000..3c3b83f Binary files /dev/null and b/libraries/elementary/data/images/g_layer/flick_3.png differ diff --git a/libraries/elementary/data/images/g_layer/flick_4.png b/libraries/elementary/data/images/g_layer/flick_4.png new file mode 100644 index 0000000..f202177 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/flick_4.png differ diff --git a/libraries/elementary/data/images/g_layer/flick_5.png b/libraries/elementary/data/images/g_layer/flick_5.png new file mode 100644 index 0000000..ebfc041 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/flick_5.png differ diff --git a/libraries/elementary/data/images/g_layer/line_1.png b/libraries/elementary/data/images/g_layer/line_1.png new file mode 100644 index 0000000..57fa7b2 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/line_1.png differ diff --git a/libraries/elementary/data/images/g_layer/line_2.png b/libraries/elementary/data/images/g_layer/line_2.png new file mode 100644 index 0000000..183a97d Binary files /dev/null and b/libraries/elementary/data/images/g_layer/line_2.png differ diff --git a/libraries/elementary/data/images/g_layer/line_3.png b/libraries/elementary/data/images/g_layer/line_3.png new file mode 100644 index 0000000..c5cfa35 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/line_3.png differ diff --git a/libraries/elementary/data/images/g_layer/line_4.png b/libraries/elementary/data/images/g_layer/line_4.png new file mode 100644 index 0000000..347d229 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/line_4.png differ diff --git a/libraries/elementary/data/images/g_layer/line_5.png b/libraries/elementary/data/images/g_layer/line_5.png new file mode 100644 index 0000000..36967c5 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/line_5.png differ diff --git a/libraries/elementary/data/images/g_layer/long_tap_1.png b/libraries/elementary/data/images/g_layer/long_tap_1.png new file mode 100644 index 0000000..be378b3 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/long_tap_1.png differ diff --git a/libraries/elementary/data/images/g_layer/long_tap_2.png b/libraries/elementary/data/images/g_layer/long_tap_2.png new file mode 100644 index 0000000..13d592a Binary files /dev/null and b/libraries/elementary/data/images/g_layer/long_tap_2.png differ diff --git a/libraries/elementary/data/images/g_layer/long_tap_3.png b/libraries/elementary/data/images/g_layer/long_tap_3.png new file mode 100644 index 0000000..953147d Binary files /dev/null and b/libraries/elementary/data/images/g_layer/long_tap_3.png differ diff --git a/libraries/elementary/data/images/g_layer/long_tap_4.png b/libraries/elementary/data/images/g_layer/long_tap_4.png new file mode 100644 index 0000000..6db4f9e Binary files /dev/null and b/libraries/elementary/data/images/g_layer/long_tap_4.png differ diff --git a/libraries/elementary/data/images/g_layer/long_tap_5.png b/libraries/elementary/data/images/g_layer/long_tap_5.png new file mode 100644 index 0000000..39c2880 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/long_tap_5.png differ diff --git a/libraries/elementary/data/images/g_layer/momentum_1.png b/libraries/elementary/data/images/g_layer/momentum_1.png new file mode 100644 index 0000000..4675684 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/momentum_1.png differ diff --git a/libraries/elementary/data/images/g_layer/momentum_2.png b/libraries/elementary/data/images/g_layer/momentum_2.png new file mode 100644 index 0000000..2e87074 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/momentum_2.png differ diff --git a/libraries/elementary/data/images/g_layer/momentum_3.png b/libraries/elementary/data/images/g_layer/momentum_3.png new file mode 100644 index 0000000..51b141e Binary files /dev/null and b/libraries/elementary/data/images/g_layer/momentum_3.png differ diff --git a/libraries/elementary/data/images/g_layer/momentum_4.png b/libraries/elementary/data/images/g_layer/momentum_4.png new file mode 100644 index 0000000..539b532 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/momentum_4.png differ diff --git a/libraries/elementary/data/images/g_layer/momentum_5.png b/libraries/elementary/data/images/g_layer/momentum_5.png new file mode 100644 index 0000000..971a6c9 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/momentum_5.png differ diff --git a/libraries/elementary/data/images/g_layer/rotate_1.png b/libraries/elementary/data/images/g_layer/rotate_1.png new file mode 100644 index 0000000..c64bec6 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/rotate_1.png differ diff --git a/libraries/elementary/data/images/g_layer/tap_1.png b/libraries/elementary/data/images/g_layer/tap_1.png new file mode 100644 index 0000000..4bcbdfd Binary files /dev/null and b/libraries/elementary/data/images/g_layer/tap_1.png differ diff --git a/libraries/elementary/data/images/g_layer/tap_2.png b/libraries/elementary/data/images/g_layer/tap_2.png new file mode 100644 index 0000000..f1ee8b1 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/tap_2.png differ diff --git a/libraries/elementary/data/images/g_layer/tap_3.png b/libraries/elementary/data/images/g_layer/tap_3.png new file mode 100644 index 0000000..f6f37cb Binary files /dev/null and b/libraries/elementary/data/images/g_layer/tap_3.png differ diff --git a/libraries/elementary/data/images/g_layer/tap_4.png b/libraries/elementary/data/images/g_layer/tap_4.png new file mode 100644 index 0000000..6d24c21 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/tap_4.png differ diff --git a/libraries/elementary/data/images/g_layer/tap_5.png b/libraries/elementary/data/images/g_layer/tap_5.png new file mode 100644 index 0000000..4b55599 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/tap_5.png differ diff --git a/libraries/elementary/data/images/g_layer/triple_tap_1.png b/libraries/elementary/data/images/g_layer/triple_tap_1.png new file mode 100644 index 0000000..e12cf1d Binary files /dev/null and b/libraries/elementary/data/images/g_layer/triple_tap_1.png differ diff --git a/libraries/elementary/data/images/g_layer/triple_tap_2.png b/libraries/elementary/data/images/g_layer/triple_tap_2.png new file mode 100644 index 0000000..6835686 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/triple_tap_2.png differ diff --git a/libraries/elementary/data/images/g_layer/triple_tap_3.png b/libraries/elementary/data/images/g_layer/triple_tap_3.png new file mode 100644 index 0000000..4c5925b Binary files /dev/null and b/libraries/elementary/data/images/g_layer/triple_tap_3.png differ diff --git a/libraries/elementary/data/images/g_layer/triple_tap_4.png b/libraries/elementary/data/images/g_layer/triple_tap_4.png new file mode 100644 index 0000000..f948520 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/triple_tap_4.png differ diff --git a/libraries/elementary/data/images/g_layer/triple_tap_5.png b/libraries/elementary/data/images/g_layer/triple_tap_5.png new file mode 100644 index 0000000..cc89182 Binary files /dev/null and b/libraries/elementary/data/images/g_layer/triple_tap_5.png differ diff --git a/libraries/elementary/data/images/g_layer/zoom_1.png b/libraries/elementary/data/images/g_layer/zoom_1.png new file mode 100644 index 0000000..639183b Binary files /dev/null and b/libraries/elementary/data/images/g_layer/zoom_1.png differ diff --git a/libraries/elementary/data/images/icon_00.png b/libraries/elementary/data/images/icon_00.png new file mode 100644 index 0000000..d026778 Binary files /dev/null and b/libraries/elementary/data/images/icon_00.png differ diff --git a/libraries/elementary/data/images/icon_01.png b/libraries/elementary/data/images/icon_01.png new file mode 100644 index 0000000..faf524c Binary files /dev/null and b/libraries/elementary/data/images/icon_01.png differ diff --git a/libraries/elementary/data/images/icon_02.png b/libraries/elementary/data/images/icon_02.png new file mode 100644 index 0000000..592cb5a Binary files /dev/null and b/libraries/elementary/data/images/icon_02.png differ diff --git a/libraries/elementary/data/images/icon_03.png b/libraries/elementary/data/images/icon_03.png new file mode 100644 index 0000000..3d3063b Binary files /dev/null and b/libraries/elementary/data/images/icon_03.png differ diff --git a/libraries/elementary/data/images/icon_04.png b/libraries/elementary/data/images/icon_04.png new file mode 100644 index 0000000..454bd62 Binary files /dev/null and b/libraries/elementary/data/images/icon_04.png differ diff --git a/libraries/elementary/data/images/icon_05.png b/libraries/elementary/data/images/icon_05.png new file mode 100644 index 0000000..bb81792 Binary files /dev/null and b/libraries/elementary/data/images/icon_05.png differ diff --git a/libraries/elementary/data/images/icon_06.png b/libraries/elementary/data/images/icon_06.png new file mode 100644 index 0000000..7f72520 Binary files /dev/null and b/libraries/elementary/data/images/icon_06.png differ diff --git a/libraries/elementary/data/images/icon_07.png b/libraries/elementary/data/images/icon_07.png new file mode 100644 index 0000000..1c76beb Binary files /dev/null and b/libraries/elementary/data/images/icon_07.png differ diff --git a/libraries/elementary/data/images/icon_08.png b/libraries/elementary/data/images/icon_08.png new file mode 100644 index 0000000..c8fc8d2 Binary files /dev/null and b/libraries/elementary/data/images/icon_08.png differ diff --git a/libraries/elementary/data/images/icon_09.png b/libraries/elementary/data/images/icon_09.png new file mode 100644 index 0000000..f321617 Binary files /dev/null and b/libraries/elementary/data/images/icon_09.png differ diff --git a/libraries/elementary/data/images/icon_10.png b/libraries/elementary/data/images/icon_10.png new file mode 100644 index 0000000..c72918b Binary files /dev/null and b/libraries/elementary/data/images/icon_10.png differ diff --git a/libraries/elementary/data/images/icon_11.png b/libraries/elementary/data/images/icon_11.png new file mode 100644 index 0000000..cdb212e Binary files /dev/null and b/libraries/elementary/data/images/icon_11.png differ diff --git a/libraries/elementary/data/images/icon_12.png b/libraries/elementary/data/images/icon_12.png new file mode 100644 index 0000000..1954b9b Binary files /dev/null and b/libraries/elementary/data/images/icon_12.png differ diff --git a/libraries/elementary/data/images/icon_13.png b/libraries/elementary/data/images/icon_13.png new file mode 100644 index 0000000..27d964e Binary files /dev/null and b/libraries/elementary/data/images/icon_13.png differ diff --git a/libraries/elementary/data/images/icon_14.png b/libraries/elementary/data/images/icon_14.png new file mode 100644 index 0000000..2434b05 Binary files /dev/null and b/libraries/elementary/data/images/icon_14.png differ diff --git a/libraries/elementary/data/images/icon_15.png b/libraries/elementary/data/images/icon_15.png new file mode 100644 index 0000000..8ab20ce Binary files /dev/null and b/libraries/elementary/data/images/icon_15.png differ diff --git a/libraries/elementary/data/images/icon_16.png b/libraries/elementary/data/images/icon_16.png new file mode 100644 index 0000000..7f5ad1e Binary files /dev/null and b/libraries/elementary/data/images/icon_16.png differ diff --git a/libraries/elementary/data/images/icon_17.png b/libraries/elementary/data/images/icon_17.png new file mode 100644 index 0000000..6afaf7a Binary files /dev/null and b/libraries/elementary/data/images/icon_17.png differ diff --git a/libraries/elementary/data/images/icon_18.png b/libraries/elementary/data/images/icon_18.png new file mode 100644 index 0000000..74eb0d6 Binary files /dev/null and b/libraries/elementary/data/images/icon_18.png differ diff --git a/libraries/elementary/data/images/icon_19.png b/libraries/elementary/data/images/icon_19.png new file mode 100644 index 0000000..d8784e0 Binary files /dev/null and b/libraries/elementary/data/images/icon_19.png differ diff --git a/libraries/elementary/data/images/icon_20.png b/libraries/elementary/data/images/icon_20.png new file mode 100644 index 0000000..69a9dca Binary files /dev/null and b/libraries/elementary/data/images/icon_20.png differ diff --git a/libraries/elementary/data/images/icon_21.png b/libraries/elementary/data/images/icon_21.png new file mode 100644 index 0000000..6561e5f Binary files /dev/null and b/libraries/elementary/data/images/icon_21.png differ diff --git a/libraries/elementary/data/images/icon_22.png b/libraries/elementary/data/images/icon_22.png new file mode 100644 index 0000000..d6130e8 Binary files /dev/null and b/libraries/elementary/data/images/icon_22.png differ diff --git a/libraries/elementary/data/images/icon_23.png b/libraries/elementary/data/images/icon_23.png new file mode 100644 index 0000000..27f5457 Binary files /dev/null and b/libraries/elementary/data/images/icon_23.png differ diff --git a/libraries/elementary/data/images/icon_right_arrow.png b/libraries/elementary/data/images/icon_right_arrow.png new file mode 100644 index 0000000..6bbb2c6 Binary files /dev/null and b/libraries/elementary/data/images/icon_right_arrow.png differ diff --git a/libraries/elementary/data/images/insanely_huge_test_image.jpg b/libraries/elementary/data/images/insanely_huge_test_image.jpg new file mode 100644 index 0000000..e5789df Binary files /dev/null and b/libraries/elementary/data/images/insanely_huge_test_image.jpg differ diff --git a/libraries/elementary/data/images/logo.png b/libraries/elementary/data/images/logo.png new file mode 100644 index 0000000..7dbae67 Binary files /dev/null and b/libraries/elementary/data/images/logo.png differ diff --git a/libraries/elementary/data/images/logo_small.png b/libraries/elementary/data/images/logo_small.png new file mode 100644 index 0000000..c7dc665 Binary files /dev/null and b/libraries/elementary/data/images/logo_small.png differ diff --git a/libraries/elementary/data/images/mystrale.jpg b/libraries/elementary/data/images/mystrale.jpg new file mode 100644 index 0000000..31edf4a Binary files /dev/null and b/libraries/elementary/data/images/mystrale.jpg differ diff --git a/libraries/elementary/data/images/mystrale_2.jpg b/libraries/elementary/data/images/mystrale_2.jpg new file mode 100644 index 0000000..88d86d6 Binary files /dev/null and b/libraries/elementary/data/images/mystrale_2.jpg differ diff --git a/libraries/elementary/data/images/panel_01.jpg b/libraries/elementary/data/images/panel_01.jpg new file mode 100644 index 0000000..46fbdb9 Binary files /dev/null and b/libraries/elementary/data/images/panel_01.jpg differ diff --git a/libraries/elementary/data/images/parking.png b/libraries/elementary/data/images/parking.png new file mode 100644 index 0000000..0a3d801 Binary files /dev/null and b/libraries/elementary/data/images/parking.png differ diff --git a/libraries/elementary/data/images/plant_01.jpg b/libraries/elementary/data/images/plant_01.jpg new file mode 100644 index 0000000..f1714dd Binary files /dev/null and b/libraries/elementary/data/images/plant_01.jpg differ diff --git a/libraries/elementary/data/images/pol_shadow.png b/libraries/elementary/data/images/pol_shadow.png new file mode 100644 index 0000000..9038699 Binary files /dev/null and b/libraries/elementary/data/images/pol_shadow.png differ diff --git a/libraries/elementary/data/images/pol_sky.png b/libraries/elementary/data/images/pol_sky.png new file mode 100644 index 0000000..99251c7 Binary files /dev/null and b/libraries/elementary/data/images/pol_sky.png differ diff --git a/libraries/elementary/data/images/pol_twofish.png b/libraries/elementary/data/images/pol_twofish.png new file mode 100644 index 0000000..2520ba0 Binary files /dev/null and b/libraries/elementary/data/images/pol_twofish.png differ diff --git a/libraries/elementary/data/images/pt.png b/libraries/elementary/data/images/pt.png new file mode 100644 index 0000000..612d117 Binary files /dev/null and b/libraries/elementary/data/images/pt.png differ diff --git a/libraries/elementary/data/images/rock_01.jpg b/libraries/elementary/data/images/rock_01.jpg new file mode 100644 index 0000000..c50ccb3 Binary files /dev/null and b/libraries/elementary/data/images/rock_01.jpg differ diff --git a/libraries/elementary/data/images/rock_02.jpg b/libraries/elementary/data/images/rock_02.jpg new file mode 100644 index 0000000..04aea8a Binary files /dev/null and b/libraries/elementary/data/images/rock_02.jpg differ diff --git a/libraries/elementary/data/images/sky_01.jpg b/libraries/elementary/data/images/sky_01.jpg new file mode 100644 index 0000000..22f3050 Binary files /dev/null and b/libraries/elementary/data/images/sky_01.jpg differ diff --git a/libraries/elementary/data/images/sky_02.jpg b/libraries/elementary/data/images/sky_02.jpg new file mode 100644 index 0000000..d0d7448 Binary files /dev/null and b/libraries/elementary/data/images/sky_02.jpg differ diff --git a/libraries/elementary/data/images/sky_03.jpg b/libraries/elementary/data/images/sky_03.jpg new file mode 100644 index 0000000..cbad02a Binary files /dev/null and b/libraries/elementary/data/images/sky_03.jpg differ diff --git a/libraries/elementary/data/images/sky_04.jpg b/libraries/elementary/data/images/sky_04.jpg new file mode 100644 index 0000000..c5cbc18 Binary files /dev/null and b/libraries/elementary/data/images/sky_04.jpg differ diff --git a/libraries/elementary/data/images/twofish.jpg b/libraries/elementary/data/images/twofish.jpg new file mode 100644 index 0000000..e6024d4 Binary files /dev/null and b/libraries/elementary/data/images/twofish.jpg differ diff --git a/libraries/elementary/data/images/wood_01.jpg b/libraries/elementary/data/images/wood_01.jpg new file mode 100644 index 0000000..89f1006 Binary files /dev/null and b/libraries/elementary/data/images/wood_01.jpg differ diff --git a/libraries/elementary/data/objects/Makefile.am b/libraries/elementary/data/objects/Makefile.am new file mode 100644 index 0000000..cbdd478 --- /dev/null +++ b/libraries/elementary/data/objects/Makefile.am @@ -0,0 +1,62 @@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in + +EDJE_CC = @edje_cc@ +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/objects -fd $(top_srcdir)/data/objects + +filesdir = $(datadir)/elementary/objects + +files_DATA = test.edj multip.edj cursors.edj font_preview.edj postit_ent.edj multibuttonentry.edj + +EXTRA_DIST = \ +test.edc \ +multip.edc \ +cursors.edc \ +font_preview.edc \ +postit_ent.edc \ +multibuttonentry.edc \ +over.png \ +under.png \ +sky.jpg \ +clo.png \ +cross.png + +test.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/test.edc \ + $(top_builddir)/data/objects/test.edj + +multip.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/multip.edc \ + $(top_builddir)/data/objects/multip.edj + +colorpreview.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/colorpreview.edc \ + $(top_builddir)/data/objects/colorpreview.edj + +cursors.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/cursors.edc \ + $(top_builddir)/data/objects/cursors.edj + +font_preview.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/font_preview.edc \ + $(top_builddir)/data/objects/font_preview.edj + +postit_ent.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/postit_ent.edc \ + $(top_builddir)/data/objects/postit_ent.edj +multibuttonentry.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/multibuttonentry.edc \ + $(top_builddir)/data/objects/multibuttonentry.edj + +clean-local: + rm -f *.edj diff --git a/libraries/elementary/data/objects/Makefile.in b/libraries/elementary/data/objects/Makefile.in new file mode 100644 index 0000000..ebbcb7c --- /dev/null +++ b/libraries/elementary/data/objects/Makefile.in @@ -0,0 +1,568 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/objects +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ + $(top_srcdir)/m4/efl_binary.m4 \ + $(top_srcdir)/m4/efl_compiler_flag.m4 \ + $(top_srcdir)/m4/efl_doxygen.m4 \ + $(top_srcdir)/m4/efl_examples.m4 \ + $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/elementary_config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(filesdir)" +DATA = $(files_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EIO_CFLAGS = @EIO_CFLAGS@ +EIO_LIBS = @EIO_LIBS@ +ELEMENTARY_CFLAGS = @ELEMENTARY_CFLAGS@ +ELEMENTARY_COCOA_CFLAGS = @ELEMENTARY_COCOA_CFLAGS@ +ELEMENTARY_COCOA_LIBS = @ELEMENTARY_COCOA_LIBS@ +ELEMENTARY_CONFIG_PRG = @ELEMENTARY_CONFIG_PRG@ +ELEMENTARY_ECORE_CON_CFLAGS = @ELEMENTARY_ECORE_CON_CFLAGS@ +ELEMENTARY_ECORE_CON_INC = @ELEMENTARY_ECORE_CON_INC@ +ELEMENTARY_ECORE_CON_LIBS = @ELEMENTARY_ECORE_CON_LIBS@ +ELEMENTARY_ECORE_IMF_CFLAGS = @ELEMENTARY_ECORE_IMF_CFLAGS@ +ELEMENTARY_ECORE_IMF_INC = @ELEMENTARY_ECORE_IMF_INC@ +ELEMENTARY_ECORE_IMF_LIBS = @ELEMENTARY_ECORE_IMF_LIBS@ +ELEMENTARY_EDBUS_CFLAGS = @ELEMENTARY_EDBUS_CFLAGS@ +ELEMENTARY_EDBUS_LIBS = @ELEMENTARY_EDBUS_LIBS@ +ELEMENTARY_EFREET_CFLAGS = @ELEMENTARY_EFREET_CFLAGS@ +ELEMENTARY_EFREET_LIBS = @ELEMENTARY_EFREET_LIBS@ +ELEMENTARY_EMAP_CFLAGS = @ELEMENTARY_EMAP_CFLAGS@ +ELEMENTARY_EMAP_LIBS = @ELEMENTARY_EMAP_LIBS@ +ELEMENTARY_ETHUMB_CFLAGS = @ELEMENTARY_ETHUMB_CFLAGS@ +ELEMENTARY_ETHUMB_LIBS = @ELEMENTARY_ETHUMB_LIBS@ +ELEMENTARY_EWEATHER_CFLAGS = @ELEMENTARY_EWEATHER_CFLAGS@ +ELEMENTARY_EWEATHER_LIBS = @ELEMENTARY_EWEATHER_LIBS@ +ELEMENTARY_FB_CFLAGS = @ELEMENTARY_FB_CFLAGS@ +ELEMENTARY_FB_LIBS = @ELEMENTARY_FB_LIBS@ +ELEMENTARY_LIBS = @ELEMENTARY_LIBS@ +ELEMENTARY_PSL1GHT_CFLAGS = @ELEMENTARY_PSL1GHT_CFLAGS@ +ELEMENTARY_PSL1GHT_LIBS = @ELEMENTARY_PSL1GHT_LIBS@ +ELEMENTARY_SDL_CFLAGS = @ELEMENTARY_SDL_CFLAGS@ +ELEMENTARY_SDL_LIBS = @ELEMENTARY_SDL_LIBS@ +ELEMENTARY_TEST_PRG = @ELEMENTARY_TEST_PRG@ +ELEMENTARY_WEB_CFLAGS = @ELEMENTARY_WEB_CFLAGS@ +ELEMENTARY_WEB_LIBS = @ELEMENTARY_WEB_LIBS@ +ELEMENTARY_WIN32_CFLAGS = @ELEMENTARY_WIN32_CFLAGS@ +ELEMENTARY_WIN32_LIBS = @ELEMENTARY_WIN32_LIBS@ +ELEMENTARY_WINCE_CFLAGS = @ELEMENTARY_WINCE_CFLAGS@ +ELEMENTARY_WINCE_LIBS = @ELEMENTARY_WINCE_LIBS@ +ELEMENTARY_X_CFLAGS = @ELEMENTARY_X_CFLAGS@ +ELEMENTARY_X_LIBS = @ELEMENTARY_X_LIBS@ +ELM_ALLOCA_H_DEF = @ELM_ALLOCA_H_DEF@ +ELM_DEBUG_DEF = @ELM_DEBUG_DEF@ +ELM_DIRENT_H_DEF = @ELM_DIRENT_H_DEF@ +ELM_EDBUS_DEF = @ELM_EDBUS_DEF@ +ELM_EFREET_DEF = @ELM_EFREET_DEF@ +ELM_EMAP_DEF = @ELM_EMAP_DEF@ +ELM_ETHUMB_DEF = @ELM_ETHUMB_DEF@ +ELM_EWEATHER_DEF = @ELM_EWEATHER_DEF@ +ELM_LIBINTL_H_DEF = @ELM_LIBINTL_H_DEF@ +ELM_UNIX_DEF = @ELM_UNIX_DEF@ +ELM_WEB_DEF = @ELM_WEB_DEF@ +ELM_WIN32_DEF = @ELM_WIN32_DEF@ +ELM_WINCE_DEF = @ELM_WINCE_DEF@ +EMOTION_CFLAGS = @EMOTION_CFLAGS@ +EMOTION_LIBS = @EMOTION_LIBS@ +EVIL_CFLAGS = @EVIL_CFLAGS@ +EVIL_LIBS = @EVIL_LIBS@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOCALE_DIR = @LOCALE_DIR@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MODULE_ARCH = @MODULE_ARCH@ +MODULE_EDJE = @MODULE_EDJE@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VMAJ = @VMAJ@ +VMIN = @VMIN@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +dlopen_libs = @dlopen_libs@ +docdir = @docdir@ +dvidir = @dvidir@ +edje_cc = @edje_cc@ +eet_eet = @eet_eet@ +efl_doxygen = @efl_doxygen@ +efl_have_doxygen = @efl_have_doxygen@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +lt_enable_auto_import = @lt_enable_auto_import@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +my_libs = @my_libs@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfig_requires_private = @pkgconfig_requires_private@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +release_info = @release_info@ +requirement_elm = @requirement_elm@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +version_info = @version_info@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in +EDJE_CC = @edje_cc@ +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/objects -fd $(top_srcdir)/data/objects +filesdir = $(datadir)/elementary/objects +files_DATA = test.edj multip.edj cursors.edj font_preview.edj postit_ent.edj multibuttonentry.edj +EXTRA_DIST = \ +test.edc \ +multip.edc \ +cursors.edc \ +font_preview.edc \ +postit_ent.edc \ +multibuttonentry.edc \ +over.png \ +under.png \ +sky.jpg \ +clo.png \ +cross.png + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/objects/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign data/objects/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-filesDATA: $(files_DATA) + @$(NORMAL_INSTALL) + test -z "$(filesdir)" || $(MKDIR_P) "$(DESTDIR)$(filesdir)" + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(filesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(filesdir)" || exit $$?; \ + done + +uninstall-filesDATA: + @$(NORMAL_UNINSTALL) + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(filesdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(filesdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(filesdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-filesDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-filesDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + clean-local distclean distclean-generic distclean-libtool \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-filesDATA \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am uninstall uninstall-am uninstall-filesDATA + + +test.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/test.edc \ + $(top_builddir)/data/objects/test.edj + +multip.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/multip.edc \ + $(top_builddir)/data/objects/multip.edj + +colorpreview.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/colorpreview.edc \ + $(top_builddir)/data/objects/colorpreview.edj + +cursors.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/cursors.edc \ + $(top_builddir)/data/objects/cursors.edj + +font_preview.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/font_preview.edc \ + $(top_builddir)/data/objects/font_preview.edj + +postit_ent.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/postit_ent.edc \ + $(top_builddir)/data/objects/postit_ent.edj +multibuttonentry.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/objects/multibuttonentry.edc \ + $(top_builddir)/data/objects/multibuttonentry.edj + +clean-local: + rm -f *.edj + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libraries/elementary/data/objects/clo.png b/libraries/elementary/data/objects/clo.png new file mode 100644 index 0000000..dedfc51 Binary files /dev/null and b/libraries/elementary/data/objects/clo.png differ diff --git a/libraries/elementary/data/objects/cross.png b/libraries/elementary/data/objects/cross.png new file mode 100644 index 0000000..9670d7f Binary files /dev/null and b/libraries/elementary/data/objects/cross.png differ diff --git a/libraries/elementary/data/objects/cursors.edc b/libraries/elementary/data/objects/cursors.edc new file mode 100644 index 0000000..9f66763 --- /dev/null +++ b/libraries/elementary/data/objects/cursors.edc @@ -0,0 +1,226 @@ +///////////////////////////////////////////////////////////////////////////// +// CURSOR +///////////////////////////////////////////////////////////////////////////// +collections { + group { name: "elm/cursor/hand2/default"; + min: 30 30; + max: 30 30; + data { + item: "hot_x" "0"; + item: "hot_y" "0"; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 255 0 255; + } + } + } + } + + group { name: "elm/cursor/hand3/default"; + min: 30 30; + max: 30 30; + data { + item: "hot_x" "0"; + item: "hot_y" "0"; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 0 0 255; + } + description { state: "blue" 0.0; + color: 0 0 255 255; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + after: "go_blue"; + } + program { name: "go_blue"; + action: STATE_SET "blue" 0.0; + transition: LINEAR 1; + target: "base"; + after: "go_red"; + } + program { name: "go_red"; + action: STATE_SET "default" 0.0; + transition: LINEAR 1; + target: "base"; + after: "go_blue"; + } + } + } + + group { name: "elm/cursor/hand3/transparent"; + min: 30 30; + max: 30 30; + data { + item: "hot_x" "0"; + item: "hot_y" "0"; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 0 0 120; + } + } + } + } + + group { name: "test/layout/events"; + parts { + part { name: "events"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 255 0 255; + rel2.relative: 0.5 1; + } + } + part { name: "noevents"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 200 255 200 255; + rel1.relative: 0.5 0; + } + } + } + } + + group { name: "test/layout/noevents"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "top-left"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.1 0.1; + rel2.relative: 0.5 0.5; + color: 0 0 255 255; + } + } + part { name: "top-right"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.1; + rel2.relative: 0.9 0.5; + color: 0 255 255 255; + } + } + part { name: "bottom-left"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.1 0.5; + rel2.relative: 0.5 0.9; + color: 255 0 255 255; + } + } + part { name: "bottom-right"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.9 0.9; + color: 255 255 0 255; + } + } + } + } + + group { name: "test/layout/parts"; + alias: "test/layout/parts2"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + } + } + part { name: "top-left"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.1 0.1; + rel2.relative: 0.5 0.5; + color: 0 0 255 255; + } + } + part { name: "top-right"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.1; + rel2.relative: 0.9 0.5; + color: 0 255 255 255; + } + } + part { name: "bottom-left"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.1 0.5; + rel2.relative: 0.5 0.9; + color: 255 0 255 255; + } + } + part { name: "bottom-right"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.9 0.9; + color: 255 255 0 255; + } + } + } + } + + group { name: "test/layout/swallow"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "swallow1"; + type: SWALLOW; + mouse_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.1 0.1; + rel2.relative: 0.9 0.5; + } + } + part { name: "swallow2"; + type: SWALLOW; + mouse_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.1 0.5; + rel2.relative: 0.9 0.9; + } + } + } + } +} diff --git a/libraries/elementary/data/objects/font_preview.edc b/libraries/elementary/data/objects/font_preview.edc new file mode 100644 index 0000000..302c2e8 --- /dev/null +++ b/libraries/elementary/data/objects/font_preview.edc @@ -0,0 +1,40 @@ +color_classes { + color_class { + name: "entry_text"; + color: 0 0 0 255; + } +} + +collections { + + group { name: "font_preview"; + parts { + + /* some fonts have weird alignments, thus they overflow badly */ + part { name: "clipper"; + type: RECT; + description { + state: "default" 0.0; + } + } + + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { + state: "default" 0.0; + color_class: "entry_text"; + text { + font: "Sans"; + min: 0 1; + size: 10; + align: 0.5 0.5; + text_class: "font_preview"; + } + } + } + } + } +} diff --git a/libraries/elementary/data/objects/multibuttonentry.edc b/libraries/elementary/data/objects/multibuttonentry.edc new file mode 100644 index 0000000..8644a16 --- /dev/null +++ b/libraries/elementary/data/objects/multibuttonentry.edc @@ -0,0 +1,100 @@ + +collections { +group { + name: "multibuttonentry_test"; + parts{ + part { + name: "bg"; + type: RECT; + mouse_events: 1; + scale:1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part{ + name: "top.left"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 0 0; + fixed: 1 1; + rel1 { relative: 0.0 0.0;to:bg; } + rel2 { relative: 0.0 0.0;to:bg; } + align: 0.0 0.0; + color: 0 0 0 0; + } + } + part{ + name: "bottom.right"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 0 0; + fixed: 1 1; + rel1 { relative: 1.0 1.0;to:bg; } + rel2 { relative: 1.0 1.0;to:bg; } + align: 1.0 1.0; + color: 0 0 0 0; + } + } + part { + name: "bg.box"; + type: RECT; + mouse_events: 0; + scale:1; + description { + state: "default" 0.0; + rel1.to: box; + rel2.to: box; + color: 230 220 188 255; + } + } + part { + name: "box"; + type: SWALLOW; + mouse_events: 1; + scale:1; + description { + state: "default" 0.0; + min : 0 5; + fixed: 0 1; + rel1 { relative: 1.0 1.0;to: top.left;} + rel2 { relative: 0.0 1.0;to_x: bottom.right;to_y: top.left;} + align: 0.0 0.0; + } + } + part { + name: "bg.multibuttonentry"; + type: RECT; + mouse_events: 0; + scale:1; + description { + state: "default" 0.0; + rel1.to: multibuttonentry; + rel2.to: multibuttonentry; + color: 246 245 237 0; + } + } + part { + name: "multibuttonentry"; + type: SWALLOW; + mouse_events: 1; + scale:1; + description { + state: "default" 0.0; + min : 0 5; + fixed: 0 1; + rel1 { relative: 0.0 1.0; to: box; } + rel2 { relative: 0.0 0.0; to:bottom.right; } + align: 0.0 0.0; + } + } + } +} +} diff --git a/libraries/elementary/data/objects/multip.edc b/libraries/elementary/data/objects/multip.edc new file mode 100644 index 0000000..66be6bb --- /dev/null +++ b/libraries/elementary/data/objects/multip.edc @@ -0,0 +1,17 @@ +collections { + group { name: "point"; + images { + image: "cross.png" COMP; + } + parts { + part { name: "sky"; + mouse_events: 0; + description { state: "default" 0.0; + min: 301 301; + image.normal: "cross.png"; + } + } + } + } +} + diff --git a/libraries/elementary/data/objects/over.png b/libraries/elementary/data/objects/over.png new file mode 100644 index 0000000..5303e2d Binary files /dev/null and b/libraries/elementary/data/objects/over.png differ diff --git a/libraries/elementary/data/objects/postit_ent.edc b/libraries/elementary/data/objects/postit_ent.edc new file mode 100644 index 0000000..9968907 --- /dev/null +++ b/libraries/elementary/data/objects/postit_ent.edc @@ -0,0 +1,26 @@ +collections { + group { + name: "main"; + images { +// image: "1.png" COMP; + } + parts { + part { + name: "bg"; + type: RECT; + description { + state: "default" 0.0; + color: 247 239 132 255; + } + } + part { + name: "ent"; + type: SWALLOW; + description { + state: "default" 0.0; + } + } + } + } +} + diff --git a/libraries/elementary/data/objects/sky.jpg b/libraries/elementary/data/objects/sky.jpg new file mode 100644 index 0000000..6132e7c Binary files /dev/null and b/libraries/elementary/data/objects/sky.jpg differ diff --git a/libraries/elementary/data/objects/test.edc b/libraries/elementary/data/objects/test.edc new file mode 100644 index 0000000..ec51e7d --- /dev/null +++ b/libraries/elementary/data/objects/test.edc @@ -0,0 +1,881 @@ +collections { + group { name: "layout"; + images { + image: "over.png" COMP; + image: "under.png" COMP; + image: "sky.jpg" LOSSY 80; + image: "clo.png" LOSSY 60; + } + parts { + part { name: "clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "sky"; + mouse_events: 1; + clip_to: "clip"; + description { state: "default" 0.0; + aspect: 2.6225 2.6225; + aspect_preference: NONE; + image.normal: "sky.jpg"; + } + description { state: "drift" 0.0; + inherit: "default" 0.0; + fill { + origin { + relative: 1.0 0.0; + offset: 0 0; + } + } + } + } + part { name: "under"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.5 0.0; + aspect: 1.486068111 1.486068111; + aspect_preference: HORIZONTAL; + image.normal: "under.png"; + } + } + part { name: "text"; + type: TEXT; + clip_to: "clip"; + description { state: "default" 0.0; + color: 255 255 0 255; + rel1 { + relative: 0.3 0.02; + } + rel2 { + relative: 0.6 0.12; + } + align: 0.5 0.5; + text { + font: "Sans:style=Bold"; + size: 14; + min: 1 1; + text: "some edje text here"; + } + } + } + part { name: "element1"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.2 0.2; + } + rel2 { + relative: 0.4 0.3; + } + } + } + part { name: "element2"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.6 0.3; + } + rel2 { + relative: 0.9 0.5; + } + } + } + part { name: "element3"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.1 0.7; + } + rel2 { + relative: 0.9 0.9; + } + } + } + part { name: "over"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.0 1.0; + aspect: 2.238095238 2.238095238; + max: 329 147; + aspect_preference: HORIZONTAL; + image.normal: "over.png"; + } + } + part { name: "clo"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + fill { + smooth: 0; + origin { + relative: 0.0 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + image.normal: "clo.png"; + } + description { state: "drift" 0.0; + inherit: "default" 0.0; + fill { + origin { + relative: 1.84722 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + } + } + } + programs { + program { name: "anim1"; + signal: "load"; + source: ""; + action: STATE_SET "drift" 0.0; + transition: LINEAR 10.0; + target: "clo"; + after: "anim2"; + } + program { name: "anim2"; + action: STATE_SET "default" 0.0; + target: "clo"; + after: "anim1"; + } + program { name: "anim3"; + signal: "load"; + source: ""; + action: STATE_SET "drift" 0.0; + transition: LINEAR 40.0; + target: "sky"; + after: "anim4"; + } + program { name: "anim4"; + action: STATE_SET "default" 0.0; + target: "sky"; + after: "anim3"; + } + } + } + group { name: "layout2"; + images { + image: "over.png" COMP; + image: "under.png" COMP; + image: "sky.jpg" LOSSY 80; + image: "clo.png" LOSSY 60; + } + parts { + part { name: "clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "sky"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + aspect: 2.6225 2.6225; + aspect_preference: NONE; + image.normal: "sky.jpg"; + } + description { state: "drift" 0.0; + inherit: "default" 0.0; + fill { + origin { + relative: 1.0 0.0; + offset: 0 0; + } + } + } + } + part { name: "under"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.5 0.0; + aspect: 1.486068111 1.486068111; + aspect_preference: HORIZONTAL; + image.normal: "under.png"; + } + } + part { name: "text"; + type: TEXT; + clip_to: "clip"; + description { state: "default" 0.0; + color: 255 255 0 255; + rel1 { + relative: 0.3 0.02; + } + rel2 { + relative: 0.6 0.12; + } + align: 0.5 0.5; + text { + font: "Sans:style=Bold"; + size: 14; + min: 1 1; + text: "some edje text here"; + } + } + } + part { name: "element1"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.2 0.2; + } + rel2 { + relative: 0.4 0.3; + } + } + } + part { name: "element2"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.6 0.3; + } + rel2 { + relative: 0.9 0.5; + } + } + } + part { name: "element3"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.1 0.7; + } + rel2 { + relative: 0.9 0.9; + } + } + } + part { name: "over"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.0 1.0; + aspect: 2.238095238 2.238095238; + max: 329 147; + aspect_preference: HORIZONTAL; + image.normal: "over.png"; + } + } + part { name: "clo"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + fill { + smooth: 0; + origin { + relative: 0.0 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + image.normal: "clo.png"; + } + description { state: "drift" 0.0; + inherit: "default" 0.0; + fill { + origin { + relative: 1.84722 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + } + } + } + } + group { name: "launcher_page"; + parts { + part { name: "slot.0.0"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; + } + rel2 { relative: 0.25 0.25; + } + } + } + part { name: "slot.1.0"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.25 0.0; + } + rel2 { relative: 0.50 0.25; + } + } + } + part { name: "slot.2.0"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.50 0.0; + } + rel2 { relative: 0.75 0.25; + } + } + } + part { name: "slot.3.0"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.75 0.0; + } + rel2 { relative: 1.00 0.25; + } + } + } + part { name: "slot.0.1"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.25; + } + rel2 { relative: 0.25 0.50; + } + } + } + part { name: "slot.1.1"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.25 0.25; + } + rel2 { relative: 0.50 0.50; + } + } + } + part { name: "slot.2.1"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.50 0.25; + } + rel2 { relative: 0.75 0.50; + } + } + } + part { name: "slot.3.1"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.75 0.25; + } + rel2 { relative: 1.00 0.50; + } + } + } + part { name: "slot.0.2"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.50; + } + rel2 { relative: 0.25 0.75; + } + } + } + part { name: "slot.1.2"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.25 0.50; + } + rel2 { relative: 0.50 0.75; + } + } + } + part { name: "slot.2.2"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.50 0.50; + } + rel2 { relative: 0.75 0.75; + } + } + } + part { name: "slot.3.2"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.75 0.50; + } + rel2 { relative: 1.00 0.75; + } + } + } + part { name: "slot.0.3"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.75; + } + rel2 { relative: 0.25 1.00; + } + } + } + part { name: "slot.1.3"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.25 0.75; + } + rel2 { relative: 0.50 1.00; + } + } + } + part { name: "slot.2.3"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.50 0.75; + } + rel2 { relative: 0.75 1.00; + } + } + } + part { name: "slot.3.3"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.75 0.75; + } + rel2 { relative: 1.00 1.00; + } + } + } + } + } + group { name: "launcher_icon"; + parts { + part { name: "slot"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; + } + rel2 { relative: 1.00 0.00; + to_y: "label"; + } + } + description { state: "drag1" 0.0; + inherit: "default" 0.0; + rel1.offset: -5 -3; + rel2.offset: -5 -3; + } + description { state: "drag2" 0.0; + inherit: "default" 0.0; + rel1.offset: 10 3; + rel2.offset: 10 3; + } + description { state: "drag3" 0.0; + inherit: "default" 0.0; + rel1.offset: -1 6; + rel2.offset: -1 6; + } + } + part { name: "label"; type: TEXT; + effect: SOFT_SHADOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 1.0; + rel1 { relative: 0.0 1.00; + } + rel2 { relative: 1.00 1.00; + } + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 0 1; + max: 1 1; + align: 0.5 0.0; + } + } + description { state: "hi" 0.0; + inherit: "default" 0.0; + color: 255 0 0 255; + color3: 0 0 0 255; + } + description { state: "drag1" 0.0; + inherit: "default" 0.0; + color: 255 0 0 255; + color3: 0 0 0 255; + rel1.offset: -5 -3; + rel2.offset: -5 -3; + } + description { state: "drag2" 0.0; + inherit: "default" 0.0; + color: 255 0 0 255; + color3: 0 0 0 255; + rel1.offset: 10 3; + rel2.offset: 10 3; + } + description { state: "drag3" 0.0; + inherit: "default" 0.0; + color: 255 0 0 255; + color3: 0 0 0 255; + rel1.offset: -1 6; + rel2.offset: -1 6; + } + } + } + programs { + program { name: "click"; + signal: "click"; source: "app"; + action: STATE_SET "hi" 0.0; + transition: LINEAR 0.5; + target: "label"; + } + program { name: "drag1"; + signal: "drag"; source: "app"; + action: STATE_SET "drag1" 0.0; + transition: LINEAR 0.1; + target: "label"; + target: "slot"; + after: "drag2"; + } + program { name: "drag2"; + action: STATE_SET "drag2" 0.0; + transition: LINEAR 0.2; + target: "label"; + target: "slot"; + after: "drag3"; + } + program { name: "drag3"; + action: STATE_SET "drag3" 0.0; + transition: LINEAR 0.1; + target: "label"; + target: "slot"; + after: "drag1"; + } + program { name: "drop"; + signal: "drop"; source: "app"; + action: STATE_SET "default" 0.0; + target: "label"; + target: "slot"; + } + program { name: "unclick"; + signal: "unclick"; source: "app"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "label"; + target: "slot"; + } + program { name: "cancel"; + signal: "cancel"; source: "app"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "label"; + target: "slot"; + } + } + } + group { name: "twolines"; + parts { + part { name: "clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "under"; + mouse_events: 0; + clip_to: "clip"; + type: RECT; + description { state: "default" 0.0; + color: 0 128 200 30; + } + } + part { name: "element1"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.5; + offset: -5 -3; + } + } + } + part { name: "element2"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: 4 2; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + } + } + group { name: "segment_test"; + parts{ + part { + name: "bg"; + type: RECT; + scale: 1; //allow scaling + description { + state: "default" 0.0; + visible: 0; + visible: 0; + min: 480 400; + } + } + part { name: "top_padding"; + type: RECT; + scale: 1; //allow scaling + description { + state: "default" 0.0; + visible: 0; + min : 250 30; //minimum size for gap filler + fixed: 0 1; + rel1 { + relative: 0 0; + } + rel2 { + relative: 1 0; + } + align: 0 0; + } + } + part { name: "segment1"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + to_x: "bg"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.25; + to: "bg"; + } + align: 0.5 0.0; + } + } + part { name: "segment1_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min : 250 10; + max : 250 10; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 0 1.0; + to_y: "segment1"; + } + rel2 { + relative: 1 1.0; + to_y: "segment1"; + } + } + } + part { name: "segment2"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.1 1.0; + to_x: "bg"; + to_y: "segment1_bottom_padding"; + } + rel2 { + relative: 0.9 160/400; + to: "bg"; + } + align: 0.5 0.0; + } + } + part { name: "segment2_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min : 250 10; + max : 250 10; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 0 1.0; + to_y: "segment2"; + } + rel2 { + relative: 1 1.0; + to_y: "segment2"; + } + } + } + part { name: "segment3"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.2 1.0; + to_x: "bg"; + to_y: "segment2_bottom_padding"; + } + rel2 { + relative: 0.8 0.6; + to: "bg"; + } + align: 0.5 0.0; + } + } + part { name: "segment3_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min : 250 10; + max : 250 10; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 0 1.0; + to_y: "segment3"; + } + rel2 { + relative: 1 1.0; + to_y: "segment3"; + } + } + } + part { name: "segment4"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 0.3 1.0; + to_x: "bg"; + to_y: "segment3_bottom_padding"; + } + rel2 { + relative: 0.7 340/400; + to: "bg"; + } + align: 0.5 0.0; + } + } + part { name: "btn1_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min : 250 100; + max : 250 100; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 0 1.0; + to_y: "segment4"; + } + rel2 { + relative: 1 1.0; + to_y: "segment4"; + } + } + } + } + } + group { name: "bg_overlay"; + images { + image: "clo.png" LOSSY 60; + } + parts { + part { name: "clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "clo"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + fill { + smooth: 0; + origin { + relative: 0.0 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + image.normal: "clo.png"; + } + description { state: "drift" 0.0; + inherit: "default" 0.0; + fill { + origin { + relative: 1.84722 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + } + } + } + programs { + program { name: "anim1"; + signal: "load"; + source: ""; + action: STATE_SET "drift" 0.0; + transition: LINEAR 10.0; + target: "clo"; + after: "anim2"; + } + program { name: "anim2"; + action: STATE_SET "default" 0.0; + target: "clo"; + after: "anim1"; + } + } + } + group { + name: "test/layout"; + images { + image: "sky.jpg" LOSSY 80; + } + parts { + part { + name: "bg"; + description { + state: "default" 0.0; + color: 255 255 255 100; + image.normal: "sky.jpg"; + } + } + part { + name: "swallow"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1.offset: 8 8; + rel2.offset: -7 -7; + } + } + } + } +} diff --git a/libraries/elementary/data/objects/under.png b/libraries/elementary/data/objects/under.png new file mode 100644 index 0000000..91cb3fb Binary files /dev/null and b/libraries/elementary/data/objects/under.png differ diff --git a/libraries/elementary/data/themes/Makefile.am b/libraries/elementary/data/themes/Makefile.am new file mode 100644 index 0000000..e7cd053 --- /dev/null +++ b/libraries/elementary/data/themes/Makefile.am @@ -0,0 +1,347 @@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in + +EDJE_CC = @edje_cc@ +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/themes -fd $(top_srcdir)/data/themes + +filesdir = $(datadir)/elementary/themes +files_DATA = default.edj default-desktop.edj + +EXTRA_DIST = \ +default.edc \ +default-desktop.edc \ +widgets/actionslider.edc \ +widgets/fileselector.edc \ +widgets/menu.edc \ +widgets/segment_control.edc \ +widgets/bg.edc \ +widgets/border.edc \ +widgets/flipselector.edc \ +widgets/naviframe.edc \ +widgets/multibuttonentry.edc \ +widgets/separator.edc \ +widgets/bubble.edc \ +widgets/frame.edc \ +widgets/notify.edc \ +widgets/slider.edc \ +widgets/button.edc \ +widgets/gengrid.edc \ +widgets/slideshow.edc \ +widgets/calendar.edc \ +widgets/genlist.edc \ +widgets/panel.edc \ +widgets/spinner.edc \ +widgets/check.edc \ +widgets/hover.edc \ +widgets/panes.edc \ +widgets/thumb.edc \ +widgets/clock.edc \ +widgets/icon.edc \ +widgets/photocam.edc \ +widgets/colorselector.edc \ +widgets/index.edc \ +widgets/photo.edc \ +widgets/toolbar.edc \ +widgets/conformant.edc \ +widgets/label.edc \ +widgets/player.edc \ +widgets/tooltip.edc \ +widgets/ctxpopup.edc \ +widgets/layout.edc \ +widgets/progressbar.edc \ +widgets/video.edc \ +widgets/diskselector.edc \ +widgets/list.edc \ +widgets/radio.edc \ +widgets/win.edc \ +widgets/entry.edc \ +widgets/map.edc \ +widgets/scroller.edc \ +widgets/pointer.edc \ +widgets/datetime.edc \ +widgets/dayselector.edc \ +widgets/popup.edc \ +ews.edc \ +arrow_down.png \ +arrow_up.png \ +bar_shine.png \ +bd_bottom.png \ +bd_button_close_focused.png \ +bd_button_close_shadow.png \ +bd_button_close_unfocused.png \ +bd_button_max_focused.png \ +bd_button_max_shadow.png \ +bd_button_max_unfocused.png \ +bd_button_min_focused.png \ +bd_button_min_shadow.png \ +bd_button_min_unfocused.png \ +bd_resize_b.png \ +bd_title_bg.png \ +bd_title_over.png \ +bd_top_hilight.png \ +bd_top.png \ +bt_base1.png \ +bt_base2.png \ +bt_bases.png \ +bt_basew.png \ +bt_glow.png \ +bt_hilight.png \ +bt_hilightw.png \ +bt_shine.png \ +bt_sm_base1.png \ +bt_sm_base2.png \ +bt_sm_hilight.png \ +bt_sm_shine.png \ +bt_dis_base.png \ +bt_dis_hilight.png \ +ctxpopup_arrow_left.png \ +ctxpopup_arrow_down.png \ +ctxpopup_arrow_right.png \ +ctxpopup_arrow_up.png \ +dia_botshad.png \ +dia_grad.png \ +dia_topshad.png \ +exclam.png \ +frame_1.png \ +frame_2.png \ +flip_0b.png \ +flip_0t.png \ +flip_1b.png \ +flip_1t.png \ +flip_2b.png \ +flip_2t.png \ +flip_3b.png \ +flip_3t.png \ +flip_4b.png \ +flip_4t.png \ +flip_5b.png \ +flip_5t.png \ +flip_6b.png \ +flip_6t.png \ +flip_7b.png \ +flip_7t.png \ +flip_8b.png \ +flip_8t.png \ +flip_9b.png \ +flip_9t.png \ +flip_amb.png \ +flip_amt.png \ +flip_base.png \ +flip_base_shad.png \ +flip_pmb.png \ +flip_pmt.png \ +flip_shad.png \ +flip_t.png \ +flip_b.png \ +head.png \ +sb_runnerh.png \ +sb_runnerv.png \ +seg_single_pressed.png \ +seg_single_selected.png \ +seg_single_normal.png \ +seg_left_pressed.png \ +seg_left_selected.png \ +seg_left_normal.png \ +seg_middle_pressed.png \ +seg_middle_selected.png \ +seg_middle_normal.png \ +seg_right_pressed.png \ +seg_right_selected.png \ +seg_right_normal.png \ +shelf_inset.png \ +tog_base_on.png \ +tog_base_off.png \ +tog_dis_base_on.png \ +tog_dis_base_off.png \ +shad_circ.png \ +bt_dis_base.png \ +bt_dis_hilight.png \ +outdent-top.png \ +outdent-bottom.png \ +updown.png \ +leftright.png \ +hoversel_entry_bg.png \ +cur_box.png \ +cur_hi.png \ +cur_shad.png \ +cur_shine.png \ +cur_glow.png \ +bubble.png \ +bubble_3.png \ +bubble_shine3.png \ +bubble_4.png \ +bubble_shine4.png \ +bubble_1.png \ +bubble_shine.png \ +bubble_2.png \ +icon_home.png \ +icon_close.png \ +icon_apps.png \ +icon_arrow_up.png \ +icon_arrow_down.png \ +icon_arrow_left.png \ +icon_arrow_right.png \ +bt_dis_shine.png \ +icon_left_arrow.png \ +icon_right_arrow.png \ +toolbar_sel.png \ +icon_chat.png \ +icon_clock.png \ +icon_delete.png \ +icon_edit.png \ +icon_refresh.png \ +icon_folder.png \ +icon_file.png \ +ilist_1.png \ +ilist_1_h.png \ +ilist_2.png \ +ilist_2_h.png \ +ilist_item_shadow.png \ +ilist_item_shadow_h.png \ +sl_bg.png \ +sl_bg_over.png \ +sl_bt_0.png \ +sl_bt_1.png \ +sl_bt_2.png \ +sl_bt_3.png \ +sl_bt2_0_0.png \ +sl_bt2_0_1.png \ +sl_bt2_0_2.png \ +sl_bt2_1.png \ +sl_bt2_2.png \ +sl_units.png \ +slv_bg.png \ +slv_bg_over.png \ +slv_units.png \ +check_base.png \ +check.png \ +check2.png \ +radio_base.png \ +radio.png \ +radio2.png \ +separator_h.png \ +separator_v.png \ +toolbar_separator_v.png \ +sp_bt_l.png \ +sp_bt_r.png \ +busy-1.png \ +busy-2.png \ +busy-3.png \ +busy-4.png \ +busy-5.png \ +busy-6.png \ +busy-7.png \ +busy-8.png \ +busy-9.png \ +arrow_right.png \ +arrow_left.png \ +bt_spinner_up.png \ +bt_spinner_down.png \ +bt_spinner_hilight.png \ +up.png \ +down.png \ +emo-angry.png \ +emo-angry-shout.png \ +emo-crazy-laugh.png \ +emo-evil-laugh.png \ +emo-evil.png \ +emo-goggle-smile.png \ +emo-grumpy.png \ +emo-grumpy-smile.png \ +emo-guilty.png \ +emo-guilty-smile.png \ +emo-haha.png \ +emo-half-smile.png \ +emo-happy-panting.png \ +emo-happy.png \ +emo-indifferent.png \ +emo-kiss.png \ +emo-knowing-grin.png \ +emo-laugh.png \ +emo-little-bit-sorry.png \ +emo-love-lots.png \ +emo-love.png \ +emo-minimal-smile.png \ +emo-not-happy.png \ +emo-not-impressed.png \ +emo-omg.png \ +emo-opensmile.png \ +emo-smile.png \ +emo-sorry.png \ +emo-squint-laugh.png \ +emo-surprised.png \ +emo-suspicious.png \ +emo-tongue-dangling.png \ +emo-tongue-poke.png \ +emo-uh.png \ +emo-unhappy.png \ +emo-very-sorry.png \ +emo-what.png \ +emo-wink.png \ +emo-worried.png \ +emo-wtf.png \ +map_item.png \ +map_item_2.png \ +shadow.png \ +black.png \ +tooltip-corner-top-left-tip.png \ +tooltip-base.png \ +tooltip-corner-bottom-left-tip.png \ +tooltip-edge-top-tip.png \ +tooltip-corner-bottom-right-tip.png \ +tooltip-edge-left-tip.png \ +tooltip-edge-bottom-tip.png \ +tooltip-edge-right-tip.png \ +tooltip-corner-top-right-tip.png \ +color_picker_alpha.png \ +color_picker_alpha_bg.png \ +color_picker_brightness.png \ +color_picker_color.png \ +color_picker_opacity.png \ +icon_arrow_down_left.png \ +icon_arrow_down_right.png \ +icon_arrow_up_left.png \ +icon_arrow_up_right.png \ +thumb_shadow.png \ +group_index.png \ +mp_forward.png \ +mp_info.png \ +mp_next.png \ +mp_pause.png \ +mp_play.png \ +mp_prev.png \ +mp_rewind.png \ +mp_stop.png \ +access_glow.png \ +pointer_glint_01.png \ +pointer_glint_02.png \ +pointer_glint_03.png \ +pointer_glint_04.png \ +pointer_glint_05.png \ +pointer_glint_06.png \ +pointer_glint_07.png \ +pointer_glint_08.png \ +pointer_glint_09.png \ +pointer_glint_10.png \ +pointer_glint_11.png \ +pointer_glint_12.png \ +pointer_glow.png \ +pointer.png \ +map_circle.png \ +map_scale.png + +default.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/default.edc \ + $(top_builddir)/data/themes/default.edj + +default-desktop.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/default-desktop.edc \ + $(top_builddir)/data/themes/default-desktop.edj + +clean-local: + rm -f *.edj diff --git a/libraries/elementary/data/themes/Makefile.in b/libraries/elementary/data/themes/Makefile.in new file mode 100644 index 0000000..1fb9aef --- /dev/null +++ b/libraries/elementary/data/themes/Makefile.in @@ -0,0 +1,854 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = data/themes +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ + $(top_srcdir)/m4/efl_binary.m4 \ + $(top_srcdir)/m4/efl_compiler_flag.m4 \ + $(top_srcdir)/m4/efl_doxygen.m4 \ + $(top_srcdir)/m4/efl_examples.m4 \ + $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/elementary_config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(filesdir)" +DATA = $(files_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EIO_CFLAGS = @EIO_CFLAGS@ +EIO_LIBS = @EIO_LIBS@ +ELEMENTARY_CFLAGS = @ELEMENTARY_CFLAGS@ +ELEMENTARY_COCOA_CFLAGS = @ELEMENTARY_COCOA_CFLAGS@ +ELEMENTARY_COCOA_LIBS = @ELEMENTARY_COCOA_LIBS@ +ELEMENTARY_CONFIG_PRG = @ELEMENTARY_CONFIG_PRG@ +ELEMENTARY_ECORE_CON_CFLAGS = @ELEMENTARY_ECORE_CON_CFLAGS@ +ELEMENTARY_ECORE_CON_INC = @ELEMENTARY_ECORE_CON_INC@ +ELEMENTARY_ECORE_CON_LIBS = @ELEMENTARY_ECORE_CON_LIBS@ +ELEMENTARY_ECORE_IMF_CFLAGS = @ELEMENTARY_ECORE_IMF_CFLAGS@ +ELEMENTARY_ECORE_IMF_INC = @ELEMENTARY_ECORE_IMF_INC@ +ELEMENTARY_ECORE_IMF_LIBS = @ELEMENTARY_ECORE_IMF_LIBS@ +ELEMENTARY_EDBUS_CFLAGS = @ELEMENTARY_EDBUS_CFLAGS@ +ELEMENTARY_EDBUS_LIBS = @ELEMENTARY_EDBUS_LIBS@ +ELEMENTARY_EFREET_CFLAGS = @ELEMENTARY_EFREET_CFLAGS@ +ELEMENTARY_EFREET_LIBS = @ELEMENTARY_EFREET_LIBS@ +ELEMENTARY_EMAP_CFLAGS = @ELEMENTARY_EMAP_CFLAGS@ +ELEMENTARY_EMAP_LIBS = @ELEMENTARY_EMAP_LIBS@ +ELEMENTARY_ETHUMB_CFLAGS = @ELEMENTARY_ETHUMB_CFLAGS@ +ELEMENTARY_ETHUMB_LIBS = @ELEMENTARY_ETHUMB_LIBS@ +ELEMENTARY_EWEATHER_CFLAGS = @ELEMENTARY_EWEATHER_CFLAGS@ +ELEMENTARY_EWEATHER_LIBS = @ELEMENTARY_EWEATHER_LIBS@ +ELEMENTARY_FB_CFLAGS = @ELEMENTARY_FB_CFLAGS@ +ELEMENTARY_FB_LIBS = @ELEMENTARY_FB_LIBS@ +ELEMENTARY_LIBS = @ELEMENTARY_LIBS@ +ELEMENTARY_PSL1GHT_CFLAGS = @ELEMENTARY_PSL1GHT_CFLAGS@ +ELEMENTARY_PSL1GHT_LIBS = @ELEMENTARY_PSL1GHT_LIBS@ +ELEMENTARY_SDL_CFLAGS = @ELEMENTARY_SDL_CFLAGS@ +ELEMENTARY_SDL_LIBS = @ELEMENTARY_SDL_LIBS@ +ELEMENTARY_TEST_PRG = @ELEMENTARY_TEST_PRG@ +ELEMENTARY_WEB_CFLAGS = @ELEMENTARY_WEB_CFLAGS@ +ELEMENTARY_WEB_LIBS = @ELEMENTARY_WEB_LIBS@ +ELEMENTARY_WIN32_CFLAGS = @ELEMENTARY_WIN32_CFLAGS@ +ELEMENTARY_WIN32_LIBS = @ELEMENTARY_WIN32_LIBS@ +ELEMENTARY_WINCE_CFLAGS = @ELEMENTARY_WINCE_CFLAGS@ +ELEMENTARY_WINCE_LIBS = @ELEMENTARY_WINCE_LIBS@ +ELEMENTARY_X_CFLAGS = @ELEMENTARY_X_CFLAGS@ +ELEMENTARY_X_LIBS = @ELEMENTARY_X_LIBS@ +ELM_ALLOCA_H_DEF = @ELM_ALLOCA_H_DEF@ +ELM_DEBUG_DEF = @ELM_DEBUG_DEF@ +ELM_DIRENT_H_DEF = @ELM_DIRENT_H_DEF@ +ELM_EDBUS_DEF = @ELM_EDBUS_DEF@ +ELM_EFREET_DEF = @ELM_EFREET_DEF@ +ELM_EMAP_DEF = @ELM_EMAP_DEF@ +ELM_ETHUMB_DEF = @ELM_ETHUMB_DEF@ +ELM_EWEATHER_DEF = @ELM_EWEATHER_DEF@ +ELM_LIBINTL_H_DEF = @ELM_LIBINTL_H_DEF@ +ELM_UNIX_DEF = @ELM_UNIX_DEF@ +ELM_WEB_DEF = @ELM_WEB_DEF@ +ELM_WIN32_DEF = @ELM_WIN32_DEF@ +ELM_WINCE_DEF = @ELM_WINCE_DEF@ +EMOTION_CFLAGS = @EMOTION_CFLAGS@ +EMOTION_LIBS = @EMOTION_LIBS@ +EVIL_CFLAGS = @EVIL_CFLAGS@ +EVIL_LIBS = @EVIL_LIBS@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOCALE_DIR = @LOCALE_DIR@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MODULE_ARCH = @MODULE_ARCH@ +MODULE_EDJE = @MODULE_EDJE@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VMAJ = @VMAJ@ +VMIN = @VMIN@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +dlopen_libs = @dlopen_libs@ +docdir = @docdir@ +dvidir = @dvidir@ +edje_cc = @edje_cc@ +eet_eet = @eet_eet@ +efl_doxygen = @efl_doxygen@ +efl_have_doxygen = @efl_have_doxygen@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ +lt_enable_auto_import = @lt_enable_auto_import@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +my_libs = @my_libs@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfig_requires_private = @pkgconfig_requires_private@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +release_info = @release_info@ +requirement_elm = @requirement_elm@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +version_info = @version_info@ +AUTOMAKE_OPTIONS = 1.4 foreign +MAINTAINERCLEANFILES = Makefile.in +EDJE_CC = @edje_cc@ +EDJE_FLAGS_VERBOSE_ = +EDJE_FLAGS_VERBOSE_0 = +EDJE_FLAGS_VERBOSE_1 = -v +EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/themes -fd $(top_srcdir)/data/themes +filesdir = $(datadir)/elementary/themes +files_DATA = default.edj default-desktop.edj +EXTRA_DIST = \ +default.edc \ +default-desktop.edc \ +widgets/actionslider.edc \ +widgets/fileselector.edc \ +widgets/menu.edc \ +widgets/segment_control.edc \ +widgets/bg.edc \ +widgets/border.edc \ +widgets/flipselector.edc \ +widgets/naviframe.edc \ +widgets/multibuttonentry.edc \ +widgets/separator.edc \ +widgets/bubble.edc \ +widgets/frame.edc \ +widgets/notify.edc \ +widgets/slider.edc \ +widgets/button.edc \ +widgets/gengrid.edc \ +widgets/slideshow.edc \ +widgets/calendar.edc \ +widgets/genlist.edc \ +widgets/panel.edc \ +widgets/spinner.edc \ +widgets/check.edc \ +widgets/hover.edc \ +widgets/panes.edc \ +widgets/thumb.edc \ +widgets/clock.edc \ +widgets/icon.edc \ +widgets/photocam.edc \ +widgets/colorselector.edc \ +widgets/index.edc \ +widgets/photo.edc \ +widgets/toolbar.edc \ +widgets/conformant.edc \ +widgets/label.edc \ +widgets/player.edc \ +widgets/tooltip.edc \ +widgets/ctxpopup.edc \ +widgets/layout.edc \ +widgets/progressbar.edc \ +widgets/video.edc \ +widgets/diskselector.edc \ +widgets/list.edc \ +widgets/radio.edc \ +widgets/win.edc \ +widgets/entry.edc \ +widgets/map.edc \ +widgets/scroller.edc \ +widgets/pointer.edc \ +widgets/datetime.edc \ +widgets/dayselector.edc \ +widgets/popup.edc \ +ews.edc \ +arrow_down.png \ +arrow_up.png \ +bar_shine.png \ +bd_bottom.png \ +bd_button_close_focused.png \ +bd_button_close_shadow.png \ +bd_button_close_unfocused.png \ +bd_button_max_focused.png \ +bd_button_max_shadow.png \ +bd_button_max_unfocused.png \ +bd_button_min_focused.png \ +bd_button_min_shadow.png \ +bd_button_min_unfocused.png \ +bd_resize_b.png \ +bd_title_bg.png \ +bd_title_over.png \ +bd_top_hilight.png \ +bd_top.png \ +bt_base1.png \ +bt_base2.png \ +bt_bases.png \ +bt_basew.png \ +bt_glow.png \ +bt_hilight.png \ +bt_hilightw.png \ +bt_shine.png \ +bt_sm_base1.png \ +bt_sm_base2.png \ +bt_sm_hilight.png \ +bt_sm_shine.png \ +bt_dis_base.png \ +bt_dis_hilight.png \ +ctxpopup_arrow_left.png \ +ctxpopup_arrow_down.png \ +ctxpopup_arrow_right.png \ +ctxpopup_arrow_up.png \ +dia_botshad.png \ +dia_grad.png \ +dia_topshad.png \ +exclam.png \ +frame_1.png \ +frame_2.png \ +flip_0b.png \ +flip_0t.png \ +flip_1b.png \ +flip_1t.png \ +flip_2b.png \ +flip_2t.png \ +flip_3b.png \ +flip_3t.png \ +flip_4b.png \ +flip_4t.png \ +flip_5b.png \ +flip_5t.png \ +flip_6b.png \ +flip_6t.png \ +flip_7b.png \ +flip_7t.png \ +flip_8b.png \ +flip_8t.png \ +flip_9b.png \ +flip_9t.png \ +flip_amb.png \ +flip_amt.png \ +flip_base.png \ +flip_base_shad.png \ +flip_pmb.png \ +flip_pmt.png \ +flip_shad.png \ +flip_t.png \ +flip_b.png \ +head.png \ +sb_runnerh.png \ +sb_runnerv.png \ +seg_single_pressed.png \ +seg_single_selected.png \ +seg_single_normal.png \ +seg_left_pressed.png \ +seg_left_selected.png \ +seg_left_normal.png \ +seg_middle_pressed.png \ +seg_middle_selected.png \ +seg_middle_normal.png \ +seg_right_pressed.png \ +seg_right_selected.png \ +seg_right_normal.png \ +shelf_inset.png \ +tog_base_on.png \ +tog_base_off.png \ +tog_dis_base_on.png \ +tog_dis_base_off.png \ +shad_circ.png \ +bt_dis_base.png \ +bt_dis_hilight.png \ +outdent-top.png \ +outdent-bottom.png \ +updown.png \ +leftright.png \ +hoversel_entry_bg.png \ +cur_box.png \ +cur_hi.png \ +cur_shad.png \ +cur_shine.png \ +cur_glow.png \ +bubble.png \ +bubble_3.png \ +bubble_shine3.png \ +bubble_4.png \ +bubble_shine4.png \ +bubble_1.png \ +bubble_shine.png \ +bubble_2.png \ +icon_home.png \ +icon_close.png \ +icon_apps.png \ +icon_arrow_up.png \ +icon_arrow_down.png \ +icon_arrow_left.png \ +icon_arrow_right.png \ +bt_dis_shine.png \ +icon_left_arrow.png \ +icon_right_arrow.png \ +toolbar_sel.png \ +icon_chat.png \ +icon_clock.png \ +icon_delete.png \ +icon_edit.png \ +icon_refresh.png \ +icon_folder.png \ +icon_file.png \ +ilist_1.png \ +ilist_1_h.png \ +ilist_2.png \ +ilist_2_h.png \ +ilist_item_shadow.png \ +ilist_item_shadow_h.png \ +sl_bg.png \ +sl_bg_over.png \ +sl_bt_0.png \ +sl_bt_1.png \ +sl_bt_2.png \ +sl_bt_3.png \ +sl_bt2_0_0.png \ +sl_bt2_0_1.png \ +sl_bt2_0_2.png \ +sl_bt2_1.png \ +sl_bt2_2.png \ +sl_units.png \ +slv_bg.png \ +slv_bg_over.png \ +slv_units.png \ +check_base.png \ +check.png \ +check2.png \ +radio_base.png \ +radio.png \ +radio2.png \ +separator_h.png \ +separator_v.png \ +toolbar_separator_v.png \ +sp_bt_l.png \ +sp_bt_r.png \ +busy-1.png \ +busy-2.png \ +busy-3.png \ +busy-4.png \ +busy-5.png \ +busy-6.png \ +busy-7.png \ +busy-8.png \ +busy-9.png \ +arrow_right.png \ +arrow_left.png \ +bt_spinner_up.png \ +bt_spinner_down.png \ +bt_spinner_hilight.png \ +up.png \ +down.png \ +emo-angry.png \ +emo-angry-shout.png \ +emo-crazy-laugh.png \ +emo-evil-laugh.png \ +emo-evil.png \ +emo-goggle-smile.png \ +emo-grumpy.png \ +emo-grumpy-smile.png \ +emo-guilty.png \ +emo-guilty-smile.png \ +emo-haha.png \ +emo-half-smile.png \ +emo-happy-panting.png \ +emo-happy.png \ +emo-indifferent.png \ +emo-kiss.png \ +emo-knowing-grin.png \ +emo-laugh.png \ +emo-little-bit-sorry.png \ +emo-love-lots.png \ +emo-love.png \ +emo-minimal-smile.png \ +emo-not-happy.png \ +emo-not-impressed.png \ +emo-omg.png \ +emo-opensmile.png \ +emo-smile.png \ +emo-sorry.png \ +emo-squint-laugh.png \ +emo-surprised.png \ +emo-suspicious.png \ +emo-tongue-dangling.png \ +emo-tongue-poke.png \ +emo-uh.png \ +emo-unhappy.png \ +emo-very-sorry.png \ +emo-what.png \ +emo-wink.png \ +emo-worried.png \ +emo-wtf.png \ +map_item.png \ +map_item_2.png \ +shadow.png \ +black.png \ +tooltip-corner-top-left-tip.png \ +tooltip-base.png \ +tooltip-corner-bottom-left-tip.png \ +tooltip-edge-top-tip.png \ +tooltip-corner-bottom-right-tip.png \ +tooltip-edge-left-tip.png \ +tooltip-edge-bottom-tip.png \ +tooltip-edge-right-tip.png \ +tooltip-corner-top-right-tip.png \ +color_picker_alpha.png \ +color_picker_alpha_bg.png \ +color_picker_brightness.png \ +color_picker_color.png \ +color_picker_opacity.png \ +icon_arrow_down_left.png \ +icon_arrow_down_right.png \ +icon_arrow_up_left.png \ +icon_arrow_up_right.png \ +thumb_shadow.png \ +group_index.png \ +mp_forward.png \ +mp_info.png \ +mp_next.png \ +mp_pause.png \ +mp_play.png \ +mp_prev.png \ +mp_rewind.png \ +mp_stop.png \ +access_glow.png \ +pointer_glint_01.png \ +pointer_glint_02.png \ +pointer_glint_03.png \ +pointer_glint_04.png \ +pointer_glint_05.png \ +pointer_glint_06.png \ +pointer_glint_07.png \ +pointer_glint_08.png \ +pointer_glint_09.png \ +pointer_glint_10.png \ +pointer_glint_11.png \ +pointer_glint_12.png \ +pointer_glow.png \ +pointer.png \ +map_circle.png \ +map_scale.png + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/themes/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign data/themes/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-filesDATA: $(files_DATA) + @$(NORMAL_INSTALL) + test -z "$(filesdir)" || $(MKDIR_P) "$(DESTDIR)$(filesdir)" + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(filesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(filesdir)" || exit $$?; \ + done + +uninstall-filesDATA: + @$(NORMAL_UNINSTALL) + @list='$(files_DATA)'; test -n "$(filesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(filesdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(filesdir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(filesdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-filesDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-filesDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + clean-local distclean distclean-generic distclean-libtool \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-filesDATA \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am uninstall uninstall-am uninstall-filesDATA + + +default.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/default.edc \ + $(top_builddir)/data/themes/default.edj + +default-desktop.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/default-desktop.edc \ + $(top_builddir)/data/themes/default-desktop.edj + +clean-local: + rm -f *.edj + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libraries/elementary/data/themes/access_glow.png b/libraries/elementary/data/themes/access_glow.png new file mode 100644 index 0000000..9c00ec7 Binary files /dev/null and b/libraries/elementary/data/themes/access_glow.png differ diff --git a/libraries/elementary/data/themes/arrow_down.png b/libraries/elementary/data/themes/arrow_down.png new file mode 100644 index 0000000..db81aac Binary files /dev/null and b/libraries/elementary/data/themes/arrow_down.png differ diff --git a/libraries/elementary/data/themes/arrow_left.png b/libraries/elementary/data/themes/arrow_left.png new file mode 100644 index 0000000..fbe0795 Binary files /dev/null and b/libraries/elementary/data/themes/arrow_left.png differ diff --git a/libraries/elementary/data/themes/arrow_right.png b/libraries/elementary/data/themes/arrow_right.png new file mode 100644 index 0000000..268d6d1 Binary files /dev/null and b/libraries/elementary/data/themes/arrow_right.png differ diff --git a/libraries/elementary/data/themes/arrow_up.png b/libraries/elementary/data/themes/arrow_up.png new file mode 100644 index 0000000..a90fe93 Binary files /dev/null and b/libraries/elementary/data/themes/arrow_up.png differ diff --git a/libraries/elementary/data/themes/bar_shine.png b/libraries/elementary/data/themes/bar_shine.png new file mode 100644 index 0000000..95df605 Binary files /dev/null and b/libraries/elementary/data/themes/bar_shine.png differ diff --git a/libraries/elementary/data/themes/bd_bottom.png b/libraries/elementary/data/themes/bd_bottom.png new file mode 100644 index 0000000..46b9a48 Binary files /dev/null and b/libraries/elementary/data/themes/bd_bottom.png differ diff --git a/libraries/elementary/data/themes/bd_button_close_focused.png b/libraries/elementary/data/themes/bd_button_close_focused.png new file mode 100644 index 0000000..281427e Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_close_focused.png differ diff --git a/libraries/elementary/data/themes/bd_button_close_shadow.png b/libraries/elementary/data/themes/bd_button_close_shadow.png new file mode 100644 index 0000000..91a1955 Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_close_shadow.png differ diff --git a/libraries/elementary/data/themes/bd_button_close_unfocused.png b/libraries/elementary/data/themes/bd_button_close_unfocused.png new file mode 100644 index 0000000..8382d7f Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_close_unfocused.png differ diff --git a/libraries/elementary/data/themes/bd_button_max_focused.png b/libraries/elementary/data/themes/bd_button_max_focused.png new file mode 100644 index 0000000..36a8239 Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_max_focused.png differ diff --git a/libraries/elementary/data/themes/bd_button_max_shadow.png b/libraries/elementary/data/themes/bd_button_max_shadow.png new file mode 100644 index 0000000..e7362db Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_max_shadow.png differ diff --git a/libraries/elementary/data/themes/bd_button_max_unfocused.png b/libraries/elementary/data/themes/bd_button_max_unfocused.png new file mode 100644 index 0000000..e0dc5da Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_max_unfocused.png differ diff --git a/libraries/elementary/data/themes/bd_button_min_focused.png b/libraries/elementary/data/themes/bd_button_min_focused.png new file mode 100644 index 0000000..e487755 Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_min_focused.png differ diff --git a/libraries/elementary/data/themes/bd_button_min_shadow.png b/libraries/elementary/data/themes/bd_button_min_shadow.png new file mode 100644 index 0000000..36349c8 Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_min_shadow.png differ diff --git a/libraries/elementary/data/themes/bd_button_min_unfocused.png b/libraries/elementary/data/themes/bd_button_min_unfocused.png new file mode 100644 index 0000000..58cbb05 Binary files /dev/null and b/libraries/elementary/data/themes/bd_button_min_unfocused.png differ diff --git a/libraries/elementary/data/themes/bd_resize_b.png b/libraries/elementary/data/themes/bd_resize_b.png new file mode 100644 index 0000000..74c9432 Binary files /dev/null and b/libraries/elementary/data/themes/bd_resize_b.png differ diff --git a/libraries/elementary/data/themes/bd_title_bg.png b/libraries/elementary/data/themes/bd_title_bg.png new file mode 100644 index 0000000..2b2686b Binary files /dev/null and b/libraries/elementary/data/themes/bd_title_bg.png differ diff --git a/libraries/elementary/data/themes/bd_title_over.png b/libraries/elementary/data/themes/bd_title_over.png new file mode 100644 index 0000000..6dd6efb Binary files /dev/null and b/libraries/elementary/data/themes/bd_title_over.png differ diff --git a/libraries/elementary/data/themes/bd_top.png b/libraries/elementary/data/themes/bd_top.png new file mode 100644 index 0000000..f7fbebf Binary files /dev/null and b/libraries/elementary/data/themes/bd_top.png differ diff --git a/libraries/elementary/data/themes/bd_top_hilight.png b/libraries/elementary/data/themes/bd_top_hilight.png new file mode 100644 index 0000000..0c5bf55 Binary files /dev/null and b/libraries/elementary/data/themes/bd_top_hilight.png differ diff --git a/libraries/elementary/data/themes/black.png b/libraries/elementary/data/themes/black.png new file mode 100644 index 0000000..28f520a Binary files /dev/null and b/libraries/elementary/data/themes/black.png differ diff --git a/libraries/elementary/data/themes/bt_base1.png b/libraries/elementary/data/themes/bt_base1.png new file mode 100644 index 0000000..2d1f179 Binary files /dev/null and b/libraries/elementary/data/themes/bt_base1.png differ diff --git a/libraries/elementary/data/themes/bt_base2.png b/libraries/elementary/data/themes/bt_base2.png new file mode 100644 index 0000000..dd3e3ce Binary files /dev/null and b/libraries/elementary/data/themes/bt_base2.png differ diff --git a/libraries/elementary/data/themes/bt_bases.png b/libraries/elementary/data/themes/bt_bases.png new file mode 100644 index 0000000..1b867fd Binary files /dev/null and b/libraries/elementary/data/themes/bt_bases.png differ diff --git a/libraries/elementary/data/themes/bt_basew.png b/libraries/elementary/data/themes/bt_basew.png new file mode 100644 index 0000000..8d787dd Binary files /dev/null and b/libraries/elementary/data/themes/bt_basew.png differ diff --git a/libraries/elementary/data/themes/bt_dis_base.png b/libraries/elementary/data/themes/bt_dis_base.png new file mode 100644 index 0000000..06f3dd5 Binary files /dev/null and b/libraries/elementary/data/themes/bt_dis_base.png differ diff --git a/libraries/elementary/data/themes/bt_dis_hilight.png b/libraries/elementary/data/themes/bt_dis_hilight.png new file mode 100644 index 0000000..e5cf7d3 Binary files /dev/null and b/libraries/elementary/data/themes/bt_dis_hilight.png differ diff --git a/libraries/elementary/data/themes/bt_dis_shine.png b/libraries/elementary/data/themes/bt_dis_shine.png new file mode 100644 index 0000000..20285be Binary files /dev/null and b/libraries/elementary/data/themes/bt_dis_shine.png differ diff --git a/libraries/elementary/data/themes/bt_glow.png b/libraries/elementary/data/themes/bt_glow.png new file mode 100644 index 0000000..e995ff1 Binary files /dev/null and b/libraries/elementary/data/themes/bt_glow.png differ diff --git a/libraries/elementary/data/themes/bt_hilight.png b/libraries/elementary/data/themes/bt_hilight.png new file mode 100644 index 0000000..3b7fe5b Binary files /dev/null and b/libraries/elementary/data/themes/bt_hilight.png differ diff --git a/libraries/elementary/data/themes/bt_hilightw.png b/libraries/elementary/data/themes/bt_hilightw.png new file mode 100644 index 0000000..b97a4f8 Binary files /dev/null and b/libraries/elementary/data/themes/bt_hilightw.png differ diff --git a/libraries/elementary/data/themes/bt_shine.png b/libraries/elementary/data/themes/bt_shine.png new file mode 100644 index 0000000..a58bdee Binary files /dev/null and b/libraries/elementary/data/themes/bt_shine.png differ diff --git a/libraries/elementary/data/themes/bt_sm_base1.png b/libraries/elementary/data/themes/bt_sm_base1.png new file mode 100644 index 0000000..c37e182 Binary files /dev/null and b/libraries/elementary/data/themes/bt_sm_base1.png differ diff --git a/libraries/elementary/data/themes/bt_sm_base2.png b/libraries/elementary/data/themes/bt_sm_base2.png new file mode 100644 index 0000000..f159648 Binary files /dev/null and b/libraries/elementary/data/themes/bt_sm_base2.png differ diff --git a/libraries/elementary/data/themes/bt_sm_hilight.png b/libraries/elementary/data/themes/bt_sm_hilight.png new file mode 100644 index 0000000..63899ca Binary files /dev/null and b/libraries/elementary/data/themes/bt_sm_hilight.png differ diff --git a/libraries/elementary/data/themes/bt_sm_shine.png b/libraries/elementary/data/themes/bt_sm_shine.png new file mode 100644 index 0000000..23bf311 Binary files /dev/null and b/libraries/elementary/data/themes/bt_sm_shine.png differ diff --git a/libraries/elementary/data/themes/bt_spinner_down.png b/libraries/elementary/data/themes/bt_spinner_down.png new file mode 100644 index 0000000..233f2a9 Binary files /dev/null and b/libraries/elementary/data/themes/bt_spinner_down.png differ diff --git a/libraries/elementary/data/themes/bt_spinner_hilight.png b/libraries/elementary/data/themes/bt_spinner_hilight.png new file mode 100644 index 0000000..55d50b8 Binary files /dev/null and b/libraries/elementary/data/themes/bt_spinner_hilight.png differ diff --git a/libraries/elementary/data/themes/bt_spinner_up.png b/libraries/elementary/data/themes/bt_spinner_up.png new file mode 100644 index 0000000..ea351be Binary files /dev/null and b/libraries/elementary/data/themes/bt_spinner_up.png differ diff --git a/libraries/elementary/data/themes/bubble.png b/libraries/elementary/data/themes/bubble.png new file mode 100644 index 0000000..78b831b Binary files /dev/null and b/libraries/elementary/data/themes/bubble.png differ diff --git a/libraries/elementary/data/themes/bubble_1.png b/libraries/elementary/data/themes/bubble_1.png new file mode 100644 index 0000000..fd6d00c Binary files /dev/null and b/libraries/elementary/data/themes/bubble_1.png differ diff --git a/libraries/elementary/data/themes/bubble_2.png b/libraries/elementary/data/themes/bubble_2.png new file mode 100644 index 0000000..6e1e847 Binary files /dev/null and b/libraries/elementary/data/themes/bubble_2.png differ diff --git a/libraries/elementary/data/themes/bubble_3.png b/libraries/elementary/data/themes/bubble_3.png new file mode 100644 index 0000000..cbdcf9c Binary files /dev/null and b/libraries/elementary/data/themes/bubble_3.png differ diff --git a/libraries/elementary/data/themes/bubble_4.png b/libraries/elementary/data/themes/bubble_4.png new file mode 100644 index 0000000..5eefbff Binary files /dev/null and b/libraries/elementary/data/themes/bubble_4.png differ diff --git a/libraries/elementary/data/themes/bubble_shine.png b/libraries/elementary/data/themes/bubble_shine.png new file mode 100644 index 0000000..33fd1d8 Binary files /dev/null and b/libraries/elementary/data/themes/bubble_shine.png differ diff --git a/libraries/elementary/data/themes/bubble_shine3.png b/libraries/elementary/data/themes/bubble_shine3.png new file mode 100644 index 0000000..398062f Binary files /dev/null and b/libraries/elementary/data/themes/bubble_shine3.png differ diff --git a/libraries/elementary/data/themes/bubble_shine4.png b/libraries/elementary/data/themes/bubble_shine4.png new file mode 100644 index 0000000..9ab6fd0 Binary files /dev/null and b/libraries/elementary/data/themes/bubble_shine4.png differ diff --git a/libraries/elementary/data/themes/busy-1.png b/libraries/elementary/data/themes/busy-1.png new file mode 100644 index 0000000..0997dee Binary files /dev/null and b/libraries/elementary/data/themes/busy-1.png differ diff --git a/libraries/elementary/data/themes/busy-2.png b/libraries/elementary/data/themes/busy-2.png new file mode 100644 index 0000000..71c65a4 Binary files /dev/null and b/libraries/elementary/data/themes/busy-2.png differ diff --git a/libraries/elementary/data/themes/busy-3.png b/libraries/elementary/data/themes/busy-3.png new file mode 100644 index 0000000..96e63ab Binary files /dev/null and b/libraries/elementary/data/themes/busy-3.png differ diff --git a/libraries/elementary/data/themes/busy-4.png b/libraries/elementary/data/themes/busy-4.png new file mode 100644 index 0000000..4ecb44c Binary files /dev/null and b/libraries/elementary/data/themes/busy-4.png differ diff --git a/libraries/elementary/data/themes/busy-5.png b/libraries/elementary/data/themes/busy-5.png new file mode 100644 index 0000000..2978f49 Binary files /dev/null and b/libraries/elementary/data/themes/busy-5.png differ diff --git a/libraries/elementary/data/themes/busy-6.png b/libraries/elementary/data/themes/busy-6.png new file mode 100644 index 0000000..a73d583 Binary files /dev/null and b/libraries/elementary/data/themes/busy-6.png differ diff --git a/libraries/elementary/data/themes/busy-7.png b/libraries/elementary/data/themes/busy-7.png new file mode 100644 index 0000000..2cc0f80 Binary files /dev/null and b/libraries/elementary/data/themes/busy-7.png differ diff --git a/libraries/elementary/data/themes/busy-8.png b/libraries/elementary/data/themes/busy-8.png new file mode 100644 index 0000000..c07cddc Binary files /dev/null and b/libraries/elementary/data/themes/busy-8.png differ diff --git a/libraries/elementary/data/themes/busy-9.png b/libraries/elementary/data/themes/busy-9.png new file mode 100644 index 0000000..9fdf098 Binary files /dev/null and b/libraries/elementary/data/themes/busy-9.png differ diff --git a/libraries/elementary/data/themes/check.png b/libraries/elementary/data/themes/check.png new file mode 100644 index 0000000..7d58e85 Binary files /dev/null and b/libraries/elementary/data/themes/check.png differ diff --git a/libraries/elementary/data/themes/check2.png b/libraries/elementary/data/themes/check2.png new file mode 100644 index 0000000..1748d5d Binary files /dev/null and b/libraries/elementary/data/themes/check2.png differ diff --git a/libraries/elementary/data/themes/check_base.png b/libraries/elementary/data/themes/check_base.png new file mode 100644 index 0000000..96481c9 Binary files /dev/null and b/libraries/elementary/data/themes/check_base.png differ diff --git a/libraries/elementary/data/themes/color_picker_alpha.png b/libraries/elementary/data/themes/color_picker_alpha.png new file mode 100644 index 0000000..09cbe77 Binary files /dev/null and b/libraries/elementary/data/themes/color_picker_alpha.png differ diff --git a/libraries/elementary/data/themes/color_picker_alpha_bg.png b/libraries/elementary/data/themes/color_picker_alpha_bg.png new file mode 100644 index 0000000..6d144d7 Binary files /dev/null and b/libraries/elementary/data/themes/color_picker_alpha_bg.png differ diff --git a/libraries/elementary/data/themes/color_picker_brightness.png b/libraries/elementary/data/themes/color_picker_brightness.png new file mode 100644 index 0000000..b2bbf5d Binary files /dev/null and b/libraries/elementary/data/themes/color_picker_brightness.png differ diff --git a/libraries/elementary/data/themes/color_picker_color.png b/libraries/elementary/data/themes/color_picker_color.png new file mode 100644 index 0000000..1c609f8 Binary files /dev/null and b/libraries/elementary/data/themes/color_picker_color.png differ diff --git a/libraries/elementary/data/themes/color_picker_opacity.png b/libraries/elementary/data/themes/color_picker_opacity.png new file mode 100644 index 0000000..370ea1c Binary files /dev/null and b/libraries/elementary/data/themes/color_picker_opacity.png differ diff --git a/libraries/elementary/data/themes/ctxpopup_arrow_down.png b/libraries/elementary/data/themes/ctxpopup_arrow_down.png new file mode 100644 index 0000000..c650cf4 Binary files /dev/null and b/libraries/elementary/data/themes/ctxpopup_arrow_down.png differ diff --git a/libraries/elementary/data/themes/ctxpopup_arrow_left.png b/libraries/elementary/data/themes/ctxpopup_arrow_left.png new file mode 100644 index 0000000..5a9615f Binary files /dev/null and b/libraries/elementary/data/themes/ctxpopup_arrow_left.png differ diff --git a/libraries/elementary/data/themes/ctxpopup_arrow_right.png b/libraries/elementary/data/themes/ctxpopup_arrow_right.png new file mode 100644 index 0000000..f33ee29 Binary files /dev/null and b/libraries/elementary/data/themes/ctxpopup_arrow_right.png differ diff --git a/libraries/elementary/data/themes/ctxpopup_arrow_up.png b/libraries/elementary/data/themes/ctxpopup_arrow_up.png new file mode 100644 index 0000000..7f4a279 Binary files /dev/null and b/libraries/elementary/data/themes/ctxpopup_arrow_up.png differ diff --git a/libraries/elementary/data/themes/cur_box.png b/libraries/elementary/data/themes/cur_box.png new file mode 100644 index 0000000..136b8c8 Binary files /dev/null and b/libraries/elementary/data/themes/cur_box.png differ diff --git a/libraries/elementary/data/themes/cur_glow.png b/libraries/elementary/data/themes/cur_glow.png new file mode 100644 index 0000000..fd922bd Binary files /dev/null and b/libraries/elementary/data/themes/cur_glow.png differ diff --git a/libraries/elementary/data/themes/cur_hi.png b/libraries/elementary/data/themes/cur_hi.png new file mode 100644 index 0000000..cbafef8 Binary files /dev/null and b/libraries/elementary/data/themes/cur_hi.png differ diff --git a/libraries/elementary/data/themes/cur_shad.png b/libraries/elementary/data/themes/cur_shad.png new file mode 100644 index 0000000..3e899de Binary files /dev/null and b/libraries/elementary/data/themes/cur_shad.png differ diff --git a/libraries/elementary/data/themes/cur_shine.png b/libraries/elementary/data/themes/cur_shine.png new file mode 100644 index 0000000..6df5a6d Binary files /dev/null and b/libraries/elementary/data/themes/cur_shine.png differ diff --git a/libraries/elementary/data/themes/default-desktop.edc b/libraries/elementary/data/themes/default-desktop.edc new file mode 100644 index 0000000..ec645dc --- /dev/null +++ b/libraries/elementary/data/themes/default-desktop.edc @@ -0,0 +1,2080 @@ +externals.external: "elm"; + +#define SCROLLBARS_ADD() \ + images { \ + image: "bt_sm_base2.png" COMP; \ + image: "bt_sm_shine.png" COMP; \ + image: "bt_sm_hilight.png" COMP; \ + image: "sb_runnerh.png" COMP; \ + image: "sb_runnerv.png" COMP; \ + image: "arrow_up.png" COMP; \ + image: "arrow_down.png" COMP; \ + image: "arrow_right.png" COMP; \ + image: "arrow_left.png" COMP; \ + } \ + script { \ + public sbvis_v, sbvis_h; \ + } \ + part { name: "elm.scrollbar.base"; \ + type: SWALLOW; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: 0 0; \ + fixed: 1 1; \ + align: 0.0 0.0; \ + rel1.relative: 1.0 1.0; \ + } \ + description { state: "vertical" 0.0; \ + inherit: "default" 0.0; \ + min: 17 0; \ + align: 1.0 0.0; \ + } \ + description { state: "horizontal" 0.0; \ + inherit: "default" 0.0; \ + min: 0 17; \ + align: 0.0 1.0; \ + } \ + description { state: "both" 0.0; \ + inherit: "default" 0.0; \ + min: 17 17; \ + align: 1.0 1.0; \ + } \ + } \ + part { name: "sb_vbar_clip_master"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + } \ + description { state: "hidden" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "sb_vbar_clip"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip_master"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_vbar_clip_master"; \ + rel2.to: "sb_vbar_clip_master"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + max: 0 99999; \ + } \ + } \ + part { name: "sb_vbar"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 0; \ + fixed: 1 1; \ + color: 0 0 0 0; \ + align: 0.5 0.5; \ + rel1 { \ + to_y: "sb_vbar_a1"; \ + to_x: "elm.scrollbar.base"; \ + relative: 0.0 1.0; \ + offset: 0 -1; \ + } \ + rel2 { \ + to_y: "sb_vbar_a2"; \ + relative: 1.0 0.0; \ + offset: -1 -2; \ + } \ + } \ + } \ + part { name: "sb_vbar_runner"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 3 0; \ + max: 3 99999; \ + fixed: 1 1; \ + align: 1.0 0.5; \ + rel1 { \ + to: "sb_vbar"; \ + relative: 0.5 0.0; \ + offset: 0 2; \ + } \ + rel2 { \ + to: "sb_vbar"; \ + relative: 0.5 1.0; \ + offset: 0 -2; \ + } \ + image { \ + normal: "sb_runnerv.png"; \ + border: 0 0 4 4; \ + } \ + fill.smooth: 0; \ + } \ + } \ + part { name: "sb_vbar_p1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "sb_vbar_a1"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "elm.dragable.vbar"; \ + relative: 1.0 0.0; \ + } \ + } \ + } \ + part { name: "sb_vbar_p2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "elm.dragable.vbar"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "sb_vbar_a2"; \ + relative: 1.0 0.0; \ + } \ + } \ + } \ + part { name: "sb_vbar_a1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + align: 0.5 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: HORIZONTAL; \ + color: 0 0 0 0; \ + rel1 { \ + to_y: "sb_vbar_clip"; \ + to_x: "elm.scrollbar.base"; \ + relative: 0.0 0.0; \ + offset: 0 1; \ + } \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + offset: -1 -2; \ + } \ + } \ + } \ + part { name: "sb_vbar_a1_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_vbar_a1"; \ + rel2.to: "sb_vbar_a1"; \ + image.normal: "arrow_up.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: 0 -1; \ + rel2.offset: -1 -2; \ + } \ + } \ + part { name: "sb_vbar_a2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + align: 0.5 1.0; \ + aspect: 1.0 1.0; \ + aspect_preference: HORIZONTAL; \ + color: 0 0 0 0; \ + rel1.to: "elm.scrollbar.base"; \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + } \ + } \ + } \ + part { name: "sb_vbar_a2_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_vbar_a2"; \ + rel2.to: "sb_vbar_a2"; \ + image.normal: "arrow_down.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: 0 1; \ + rel2.offset: -1 0; \ + } \ + } \ + part { name: "elm.dragable.vbar"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + dragable { \ + x: 0 0 0; \ + y: 1 1 0; \ + confine: "sb_vbar"; \ + } \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + aspect: 1.0 0.5; \ + aspect_preference: VERTICAL; \ + align: 0.5 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + to_y: "sb_vbar"; \ + to_x: "elm.scrollbar.base"; \ + relative: 0.0 0.0; \ + } \ + rel2.to_y: "sb_vbar"; \ + } \ + } \ + part { name: "elm.dragable.vbar.image"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.vbar"; \ + rel2.to: "elm.dragable.vbar"; \ + image { \ + normal: "bt_sm_base2.png"; \ + border: 6 6 6 6; \ + } \ + } \ + } \ + part { name: "sb_vbar_over1"; \ + clip_to: "sb_vbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.vbar.image"; \ + rel2 { \ + to: "elm.dragable.vbar.image"; \ + relative: 1.0 0.5; \ + } \ + image { \ + normal: "bt_sm_hilight.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_vbar_over2"; \ + clip_to: "sb_vbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.vbar.image"; \ + rel2.to: "elm.dragable.vbar.image"; \ + image { \ + normal: "bt_sm_shine.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_hbar_clip_master"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + } \ + description { state: "hidden" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "sb_hbar_clip"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip_master"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_hbar_clip_master"; \ + rel2.to: "sb_hbar_clip_master"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + max: 99999 0; \ + } \ + } \ + part { name: "sb_hbar"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 0 17; \ + fixed: 1 1; \ + color: 0 0 0 0; \ + align: 0.5 0.5; \ + rel1 { \ + to_x: "sb_hbar_a1"; \ + to_y: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + offset: -1 0; \ + } \ + rel2 { \ + to_x: "sb_hbar_a2"; \ + relative: 0.0 1.0; \ + offset: -2 -1; \ + } \ + } \ + } \ + part { name: "sb_hbar_runner"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 0 3; \ + max: 99999 3; \ + fixed: 1 1; \ + align: 0.5 0.5; \ + rel1 { \ + to: "sb_hbar"; \ + relative: 0.0 0.5; \ + offset: 2 0; \ + } \ + rel2 { \ + to: "sb_hbar"; \ + relative: 1.0 0.5; \ + offset: -2 0; \ + } \ + image { \ + normal: "sb_runnerh.png"; \ + border: 4 4 0 0; \ + } \ + fill.smooth: 0; \ + } \ + } \ + part { name: "elm.dragable.hbar"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + confine: "sb_hbar"; \ + } \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + aspect_preference: HORIZONTAL; \ + align: 0.0 1.0; \ + color: 0 0 0 0; \ + rel1 { \ + to_x: "sb_hbar"; \ + relative: 0.0 1.0; \ + } \ + rel2.to_x: "sb_hbar"; \ + } \ + } \ + part { name: "elm.dragable.hbar.image"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.hbar"; \ + rel2.to: "elm.dragable.hbar"; \ + image { \ + normal: "bt_sm_base2.png"; \ + border: 6 6 6 6; \ + } \ + } \ + } \ + part { name: "sb_hbar_over1"; \ + clip_to: "sb_hbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.hbar.image"; \ + rel2 { \ + to: "elm.dragable.hbar.image"; \ + relative: 1.0 0.5; \ + } \ + image { \ + normal: "bt_sm_hilight.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_hbar_over2"; \ + clip_to: "sb_hbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.hbar.image"; \ + rel2.to: "elm.dragable.hbar.image"; \ + image { \ + normal: "bt_sm_shine.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_hbar_p1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "sb_hbar_a1"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "elm.dragable.hbar"; \ + relative: 0.0 1.0; \ + } \ + } \ + } \ + part { name: "sb_hbar_p2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "elm.dragable.hbar"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "sb_hbar_a2"; \ + relative: 0.0 1.0; \ + } \ + } \ + } \ + part { name: "sb_hbar_a1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + align: 0.0 1.0; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + color: 0 0 0 0; \ + rel1 { \ + to_x: "sb_hbar_clip"; \ + to_y: "elm.scrollbar.base"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 0.0 1.0; \ + offset: -1 -1; \ + } \ + } \ + } \ + part { name: "sb_hbar_a1_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_hbar_a1"; \ + rel2.to: "sb_hbar_a1"; \ + image.normal: "arrow_left.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: -1 0; \ + rel2.offset: -2 -1; \ + } \ + } \ + part { name: "sb_hbar_a2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + align: 1.0 1.0; \ + aspect: 1.0 1.0; \ + fixed: 1 1; \ + aspect_preference: VERTICAL; \ + color: 0 0 0 0; \ + rel1 { \ + to: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 0.0 1.0; \ + } \ + } \ + } \ + part { name: "sb_hbar_a2_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_hbar_a2"; \ + rel2.to: "sb_hbar_a2"; \ + image.normal: "arrow_right.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: 1 0; \ + rel2.offset: 0 -1; \ + } \ + } \ + part { name: "disabler"; \ + type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: "clipper"; \ + rel2.to: "clipper"; \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 128 128 128 128; \ + } \ + } \ + programs { \ + program { name: "load"; \ + signal: "load"; \ + source: ""; \ + script { \ + set_state(PART:"sb_hbar_clip", "hidden", 0.0); \ + set_state(PART:"sb_vbar_clip", "hidden", 0.0); \ + set_int(sbvis_h, 0); \ + set_int(sbvis_v, 0); \ + } \ + } \ + program { name: "vbar_show"; \ + signal: "elm,action,show,vbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_vbar_clip_master", "default", 0.0); \ + set_int(sbvis_v, 1); \ + if (get_int(sbvis_h)) \ + set_state(PART:"elm.scrollbar.base", "both", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \ + emit("do-show-vbar", ""); \ + } \ + } \ + program { name: "vbar_hide"; \ + signal: "elm,action,hide,vbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_vbar_clip_master", "hidden", 0.0); \ + set_int(sbvis_v, 0); \ + if (get_int(sbvis_h)) \ + set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "default", 0.0); \ + emit("do-hide-vbar", ""); \ + } \ + } \ + program { name: "sb_vbar_down"; \ + signal: "mouse,down,1"; \ + source: "elm.dragable.vbar"; \ + action: STATE_SET "clicked" 0.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_up"; \ + signal: "mouse,up,1"; \ + source: "elm.dragable.vbar"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_show"; \ + signal: "do-show-vbar"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + transition: LINEAR 0.1; \ + target: "sb_vbar_clip"; \ + } \ + program { name: "sb_vbar_hide"; \ + signal: "do-hide-vbar"; \ + source: ""; \ + action: STATE_SET "hidden" 0.0; \ + transition: LINEAR 1.0; \ + target: "sb_vbar_clip"; \ + } \ + program { name: "sb_vbar_a1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a1"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_vbar_a1_arrow"; \ + } \ + program { name: "sb_vbar_a1_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a1"; \ + action: DRAG_VAL_STEP 0.0 -1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_a1_up"; \ + signal: "mouse,up,1"; \ + source: "sb_vbar_a1"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_vbar_a1_arrow"; \ + } \ + program { name: "sb_vbar_a2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a2"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_vbar_a2_arrow"; \ + } \ + program { name: "sb_vbar_a2_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a2"; \ + action: DRAG_VAL_STEP 0.0 1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_a2_up"; \ + signal: "mouse,up,1"; \ + source: "sb_vbar_a2"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_vbar_a2_arrow"; \ + } \ + program { name: "sb_vbar_p1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_p1"; \ + action: DRAG_VAL_PAGE 0.0 -1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_p2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_p2"; \ + action: DRAG_VAL_PAGE 0.0 1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "hbar_show"; \ + signal: "elm,action,show,hbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_hbar_clip_master", "default", 0.0); \ + set_int(sbvis_h, 1); \ + if (get_int(sbvis_v)) \ + set_state(PART:"elm.scrollbar.base", "both", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \ + emit("do-show-hbar", ""); \ + } \ + } \ + program { name: "hbar_hide"; \ + signal: "elm,action,hide,hbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_hbar_clip_master", "hidden", 0.0); \ + set_int(sbvis_h, 0); \ + if (get_int(sbvis_v)) \ + set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "default", 0.0); \ + emit("do-hide-hbar", ""); \ + } \ + } \ + program { name: "sb_hbar_down"; \ + signal: "mouse,down,1"; \ + source: "elm.dragable.hbar"; \ + action: STATE_SET "clicked" 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_up"; \ + signal: "mouse,up,1"; \ + source: "elm.dragable.hbar"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_show"; \ + signal: "do-show-hbar"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + transition: LINEAR 0.1; \ + target: "sb_hbar_clip"; \ + } \ + program { name: "sb_hbar_hide"; \ + signal: "do-hide-hbar"; \ + source: ""; \ + action: STATE_SET "hidden" 0.0; \ + transition: LINEAR 1.0; \ + target: "sb_hbar_clip"; \ + } \ + program { name: "sb_hbar_a1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a1"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_hbar_a1_arrow"; \ + } \ + program { name: "sb_hbar_a1_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a1"; \ + action: DRAG_VAL_STEP -1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_a1_up"; \ + signal: "mouse,up,1"; \ + source: "sb_hbar_a1"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_hbar_a1_arrow"; \ + } \ + program { name: "sb_hbar_a2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a2"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_hbar_a2_arrow"; \ + } \ + program { name: "sb_hbar_a2_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a2"; \ + action: DRAG_VAL_STEP 1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_a2_up"; \ + signal: "mouse,up,1"; \ + source: "sb_hbar_a2"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_hbar_a2_arrow"; \ + } \ + program { name: "sb_hbar_p1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_p1"; \ + action: DRAG_VAL_PAGE -1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_p2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_p2"; \ + action: DRAG_VAL_PAGE 1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "disabler"; \ + } \ + program { name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "disabler"; \ + } \ + } \ + +collections { + + group { name: "elm/scroller/base/default"; + alias: "elm/list/base/default"; + alias: "elm/genlist/base/default"; + alias: "elm/gengrid/base/default"; + + data { + item: "focus_highlight" "on"; + } + + images { + image: "shelf_inset.png" COMP; + image: "sl_bt2_2.png" COMP; + } + + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel2 { + to_x: "sb_vbar"; + to_y: "sb_hbar"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + SCROLLBARS_ADD() + } + } + + group { name: "elm/scroller/entry/default"; + + data { + item: "focus_highlight" "on"; + } + + images { + image: "shelf_inset.png" COMP; + image: "sl_bt2_2.png" COMP; + } + + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 255; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "content.clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "bg"; + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + offset: -1 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "bg"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to_x: "elm.dragable.vbar"; + to_y: "elm.dragable.hbar"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "content.clipper"; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -5 -5; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "icon_show"; + signal: "elm,action,show,icon"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,action,hide,icon"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,action,show,end"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,action,hide,end"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + } + } + + group { name: "elm/photocam/base/default"; + + images { + image: "shelf_inset.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } + } + + /////////////////////////////////////////////////////////////////////////////// + group { name: "elm/map/base/default"; + images { + image: "shelf_inset.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } + } + + group { name: "elm/list/base/hoverlist"; + data { + item: "focus_highlight" "on"; + } + images { + image: "sl_bt2_2.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "bg"; + offset: 2 2; + } + rel2 { + to: "bg"; + offset: -3 -3; + } + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "bg"; + offset: 2 2; + } + rel2 { + to: "bg"; + offset: -3 -3; + } + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } + } + +//------------------------------------------------------------ + group { name: "elm/entry/base/default"; + styles + { + style { name: "entry_textblock_style"; + base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=Sans:style=Oblique"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font=Sans:style=Bold"; + } + style { name: "entry_textblock_disabled_style"; + base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=Sans:style=Oblique"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font=Sans:style=Bold"; + } + } + data { +// item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: DEFAULT; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + // source2: "X"; // selection over + // source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + // source6: "X"; // anchor over + description { state: "default" 0.0; + /* we gotta use 0 0 here, because of scrolled entries */ + fixed: 0 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-charwrap/default"; + styles + { + style { name: "entry_textblock_style_charwrap"; + base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=Sans:style=Oblique"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font=Sans:style=Bold"; + } + style { name: "entry_textblock_disabled_style_charwrap"; + base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=Sans:style=Oblique"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font=Sans:style=Bold"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: DEFAULT; + multiline: 1; + source: "elm/entry/selection/default"; // selection under +// source2: "X"; // selection over +// source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under +// source6: "X"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_charwrap"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-nowrap/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: DEFAULT; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } +/* + part { name: "sel"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + max: 16 16; + aspect: 1.0 1.0; + color: 255 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 0 0 50; + } + } + */ + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } +/* + program { name: "selmode0"; + signal: "elm,state,select,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "sel"; + } + program { name: "selmode1"; + signal: "elm,state,select,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sel"; + } + */ + } + } + + group { name: "elm/entry/base-single/default"; + styles + { + style { name: "entry_single_textblock_style"; + base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=Sans:style=Oblique"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font=Sans:style=Bold"; + } + style { name: "entry_single_textblock_disabled_style"; + base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + tag: "em" "+ font=Sans:style=Oblique"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font=Sans:style=Bold"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: DEFAULT; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-single-noedit/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: DEFAULT; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-noedit/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: DEFAULT; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-noedit-charwrap/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: DEFAULT; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_charwrap"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-nowrap-noedit/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PLAIN; + select_mode: DEFAULT; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/base-password/default"; + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: PASSWORD; + select_mode: DEFAULT; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + repch: "*"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + } + } + + group { name: "elm/entry/cursor/default"; + images { + image: "cur_box.png" COMP; + image: "cur_hi.png" COMP; + image: "cur_shad.png" COMP; + image: "cur_shine.png" COMP; + image: "cur_glow.png" COMP; + } + parts { + part { name: "clip2"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clip"; + type: RECT; + mouse_events: 0; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.offset: -10 0; + rel2.offset: 9 9; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bg"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: -2 0; + rel2.to: "base"; + rel2.offset: 1 1; + image.border: 2 2 2 2; + image.normal: "cur_shad.png"; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + min: 2 2; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -1; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + image.normal: "cur_box.png"; + } + } + part { name: "hi"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + image.normal: "cur_hi.png"; + } + } + part { name: "shine"; + mouse_events: 0; + clip_to: "clip"; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.75; + image.border: 2 2 1 0; + image.normal: "cur_shine.png"; + fill.smooth: 0; + } + } + part { name: "glow"; + mouse_events: 0; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 -2.0; + rel1.offset: -2 0; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: 1 1; + image.border: 2 2 0 4; + image.normal: "cur_glow.png"; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + source: ""; + action: STATE_SET "hidden" 0.0; + in: 1.0 0.0; + transition: DECELERATE 2.0; + target: "glow"; + after: "show2"; + } + program { name: "show2"; + action: STATE_SET "hidden" 0.0; + in: 0.2 0.0; + target: "clip"; + after: "show3"; + } + program { name: "show3"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + target: "clip"; + after: "show4"; + } + program { name: "show4"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + transition: DECELERATE 0.5; + target: "glow"; + after: "show"; + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "clip2"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip2"; + } + } + } + + group { name: "elm/entry/selection/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 128 128 128 128; + } + } + } + } + + group { name: "elm/entry/anchor/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 128 0 0 64; + } + } + } + } +} diff --git a/libraries/elementary/data/themes/default.edc b/libraries/elementary/data/themes/default.edc new file mode 100644 index 0000000..28824e0 --- /dev/null +++ b/libraries/elementary/data/themes/default.edc @@ -0,0 +1,372 @@ +// LICENSE NOTE: +// This file (and only this one) is licenses under public-domain. The reason +// is that this is meant to serve as a template for making your own themes and +// Elementary's LGPL license is not intended to follow. The images used do come +// under LGPL, but this file specifically for the structure of your theme is +// public-domain. This means you can take, use, re-license and otherwise +// have zero restrictions on using this file as a base for your theme. + +externals.external: "elm"; + +collections { + +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/focus_highlight/top/default"; + images { + image: "emo-unhappy.png" COMP; + } + + data { + item: "animate" "on"; + } + + script { + public s_x, s_y, s_w, s_h; /* source */ + public difx, dify, difw, difh; + public rot_dir; + + public animator1(val, Float:pos) { + new x, y, w, h, dx, dy, dw, dh, Float:rot; + + dx = round(float_mul(float(get_int(difx)), pos)); + x = get_int(s_x) + dx; + dy = round(float_mul(float(get_int(dify)), pos)); + y = get_int(s_y) + dy; + dw = round(float_mul(float(get_int(difw)), pos)); + w = get_int(s_w) + dw; + dy = round(float_mul(float(get_int(difh)), pos)); + h = get_int(s_h) + dh; + + update_offset(x, y, w, h); + + rot = 360.0 * pos * float(get_int(rot_dir)); + set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot); + + if (pos >= 1.0) { + emit("elm,action,focus,anim,end", ""); + set_state(PART:"shine", "default", 0.0); + } + } + + public update_offset(x, y, w, h) { + new x1, y1, x2, y2; + x1 = x + w - 15; + y1 = y - 15; + x2 = x + w + 14; + y2 = y + 14; + set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1); + set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2); + } + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 1)) { + new x1, y1, w1, h1; + new x2, y2, w2, h2; + new px1, px2, py1, py2; + new rd; + + x1 = getarg(2); + y1 = getarg(3); + w1 = getarg(4); + h1 = getarg(5); + x2 = getarg(6); + y2 = getarg(7); + w2 = getarg(8); + h2 = getarg(9); + + set_int(s_x, x1); + set_int(s_y, y1); + set_int(s_w, w1); + set_int(s_h, h1); + set_int(difx, x2 - x1); + set_int(dify, y2 - y1); + set_int(difw, w2 - w1); + set_int(difh, h2 - h1); + + px1 = x1 + w1; + px2 = x2 + w2; + py1 = y1 + h1; + py2 = y2 + h2; + if (px2 > px1) { + rd = 1; + } else if (px1 > px2) { + rd = -1; + } else { + if (py2 > py1) { + rd = 1; + } else { + rd = -1; + } + } + set_int(rot_dir, rd); + + custom_state(PART:"shine", "default", 0.0); + set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0); + set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0); + set_state_val(PART:"shine", STATE_MAP_ON, 1); + set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0); + update_offset(x1, y1, w1, h1); + set_state(PART:"shine", "custom", 0.0); + + anim(0.2, "animator1", 1); + } + } + } + + parts { + part { name: "base"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + visible: 0; + } + } + part { name: "shine"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "emo-unhappy.png"; + } + rel1.to: "base"; + rel1.relative: 1.0 0.0; + rel1.offset: -15 -15; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: 14 14; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + + program { name: "show"; + signal: "elm,action,focus,show"; + source: "elm"; + action: ACTION_STOP; + target: "hide"; + target: "hide_start"; + target: "hide_end"; + after: "show_start"; + } + program { name: "show_start"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "shine"; + after: "show_end"; + } + program { name: "show_end"; + action: SIGNAL_EMIT "elm,action,focus,show,end" ""; + } + program { name: "hide"; + signal: "elm,action,focus,hide"; + source: "elm"; + action: ACTION_STOP; + target: "show"; + target: "show_start"; + target: "show_end"; + after: "hide_start"; + } + program { name: "hide_start"; + action: STATE_SET "disabled" 0.0; + transition: LINEAR 0.2; + target: "shine"; + after: "hide_end"; + } + program { name: "hide_end"; + action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; + } + } + } + +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/focus_highlight/bottom/default"; + parts { + part { name: "shine"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 255 0 50; + rel1.offset: 0 0; + rel2.offset: 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + + program { name: "show"; + signal: "elm,action,focus,show"; + source: "elm"; + action: ACTION_STOP; + target: "hide"; + target: "hide_start"; + target: "hide_end"; + after: "show_start"; + } + program { name: "show_start"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "shine"; + after: "show_end"; + } + program { name: "show_end"; + action: SIGNAL_EMIT "elm,action,focus,show,end" ""; + } + program { name: "hide"; + signal: "elm,action,focus,hide"; + source: "elm"; + action: ACTION_STOP; + target: "show"; + target: "show_start"; + target: "show_end"; + after: "hide_start"; + } + program { name: "hide_start"; + action: STATE_SET "disabled" 0.0; + transition: LINEAR 0.2; + target: "shine"; + after: "hide_end"; + } + program { name: "hide_end"; + action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; + } + } + } + +/////////////////////////////////////////////////////////////////////////////// + group { name: "elm/access/base/default"; + images { + image: "access_glow.png" LOSSY 85; + } + parts { + part { name: "block1"; type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1 { to: "base"; + relative: 0.0 0.0; + offset: -100000 -100000; + } + rel2 { to: "base"; + relative: 1.0 0.0; + offset: 100000 96; + } + } + } + part { name: "block2"; type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1 { to: "base"; + relative: 0.0 1.0; + offset: -100000 -97; + } + rel2 { to: "base"; + relative: 1.0 1.0; + offset: 100000 100000; + } + } + } + part { name: "block3"; type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1 { to: "block1"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { to_x: "base"; to_y: "block2"; + relative: 0.0 0.0; + offset: 96 -1; + } + } + } + part { name: "block4"; type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1 { to_x: "base"; to_y: "block1"; + relative: 1.0 1.0; + offset: -97 0; + } + rel2 { to: "block2"; + relative: 1.0 0.0; + offset: -1 -1; + } + } + } + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "access_glow.png"; + image.border: 112 112 112 112; + rel1.offset: -102 -102; + rel2.offset: 101 101; + fill.smooth: 0; + } + } + } + } + +#include "widgets/bg.edc" +#include "widgets/border.edc" +#include "widgets/scroller.edc" +#include "widgets/label.edc" +#include "widgets/button.edc" +#include "widgets/clock.edc" +#include "widgets/datetime.edc" +#include "widgets/dayselector.edc" +#include "widgets/menu.edc" +#include "widgets/frame.edc" +#include "widgets/tooltip.edc" +#include "widgets/hover.edc" +#include "widgets/ctxpopup.edc" +#include "widgets/entry.edc" +#include "widgets/bubble.edc" +#include "widgets/photo.edc" +#include "widgets/thumb.edc" +#include "widgets/icon.edc" +#include "widgets/toolbar.edc" +#include "widgets/notify.edc" +#include "widgets/slideshow.edc" +#include "widgets/win.edc" +#include "widgets/list.edc" +#include "widgets/slider.edc" +#include "widgets/actionslider.edc" +#include "widgets/genlist.edc" +#include "widgets/check.edc" +#include "widgets/radio.edc" +#include "widgets/progressbar.edc" +#include "widgets/separator.edc" +#include "widgets/spinner.edc" +#include "widgets/index.edc" +#include "widgets/gengrid.edc" +#include "widgets/photocam.edc" +#include "widgets/map.edc" +#include "widgets/panes.edc" +#include "widgets/panel.edc" +#include "widgets/conformant.edc" +#include "widgets/calendar.edc" +#include "widgets/colorselector.edc" +#include "widgets/flipselector.edc" +#include "widgets/diskselector.edc" +#include "widgets/fileselector.edc" +#include "widgets/layout.edc" +#include "widgets/segment_control.edc" +#include "widgets/player.edc" +#include "widgets/video.edc" +#include "widgets/naviframe.edc" +#include "widgets/multibuttonentry.edc" +#include "widgets/popup.edc" +#include "ews.edc" +#include "widgets/pointer.edc" +} diff --git a/libraries/elementary/data/themes/dia_botshad.png b/libraries/elementary/data/themes/dia_botshad.png new file mode 100644 index 0000000..89a598e Binary files /dev/null and b/libraries/elementary/data/themes/dia_botshad.png differ diff --git a/libraries/elementary/data/themes/dia_grad.png b/libraries/elementary/data/themes/dia_grad.png new file mode 100644 index 0000000..bfd7d0e Binary files /dev/null and b/libraries/elementary/data/themes/dia_grad.png differ diff --git a/libraries/elementary/data/themes/dia_topshad.png b/libraries/elementary/data/themes/dia_topshad.png new file mode 100644 index 0000000..1a77213 Binary files /dev/null and b/libraries/elementary/data/themes/dia_topshad.png differ diff --git a/libraries/elementary/data/themes/down.png b/libraries/elementary/data/themes/down.png new file mode 100644 index 0000000..528c543 Binary files /dev/null and b/libraries/elementary/data/themes/down.png differ diff --git a/libraries/elementary/data/themes/emo-angry-shout.png b/libraries/elementary/data/themes/emo-angry-shout.png new file mode 100644 index 0000000..25477c5 Binary files /dev/null and b/libraries/elementary/data/themes/emo-angry-shout.png differ diff --git a/libraries/elementary/data/themes/emo-angry.png b/libraries/elementary/data/themes/emo-angry.png new file mode 100644 index 0000000..e151077 Binary files /dev/null and b/libraries/elementary/data/themes/emo-angry.png differ diff --git a/libraries/elementary/data/themes/emo-crazy-laugh.png b/libraries/elementary/data/themes/emo-crazy-laugh.png new file mode 100644 index 0000000..4e87937 Binary files /dev/null and b/libraries/elementary/data/themes/emo-crazy-laugh.png differ diff --git a/libraries/elementary/data/themes/emo-evil-laugh.png b/libraries/elementary/data/themes/emo-evil-laugh.png new file mode 100644 index 0000000..1a0ec3a Binary files /dev/null and b/libraries/elementary/data/themes/emo-evil-laugh.png differ diff --git a/libraries/elementary/data/themes/emo-evil.png b/libraries/elementary/data/themes/emo-evil.png new file mode 100644 index 0000000..32233fd Binary files /dev/null and b/libraries/elementary/data/themes/emo-evil.png differ diff --git a/libraries/elementary/data/themes/emo-goggle-smile.png b/libraries/elementary/data/themes/emo-goggle-smile.png new file mode 100644 index 0000000..a0e4859 Binary files /dev/null and b/libraries/elementary/data/themes/emo-goggle-smile.png differ diff --git a/libraries/elementary/data/themes/emo-grumpy-smile.png b/libraries/elementary/data/themes/emo-grumpy-smile.png new file mode 100644 index 0000000..12e301f Binary files /dev/null and b/libraries/elementary/data/themes/emo-grumpy-smile.png differ diff --git a/libraries/elementary/data/themes/emo-grumpy.png b/libraries/elementary/data/themes/emo-grumpy.png new file mode 100644 index 0000000..7de77fa Binary files /dev/null and b/libraries/elementary/data/themes/emo-grumpy.png differ diff --git a/libraries/elementary/data/themes/emo-guilty-smile.png b/libraries/elementary/data/themes/emo-guilty-smile.png new file mode 100644 index 0000000..57de06e Binary files /dev/null and b/libraries/elementary/data/themes/emo-guilty-smile.png differ diff --git a/libraries/elementary/data/themes/emo-guilty.png b/libraries/elementary/data/themes/emo-guilty.png new file mode 100644 index 0000000..071deb0 Binary files /dev/null and b/libraries/elementary/data/themes/emo-guilty.png differ diff --git a/libraries/elementary/data/themes/emo-haha.png b/libraries/elementary/data/themes/emo-haha.png new file mode 100644 index 0000000..760535d Binary files /dev/null and b/libraries/elementary/data/themes/emo-haha.png differ diff --git a/libraries/elementary/data/themes/emo-half-smile.png b/libraries/elementary/data/themes/emo-half-smile.png new file mode 100644 index 0000000..529f60a Binary files /dev/null and b/libraries/elementary/data/themes/emo-half-smile.png differ diff --git a/libraries/elementary/data/themes/emo-happy-panting.png b/libraries/elementary/data/themes/emo-happy-panting.png new file mode 100644 index 0000000..c6461bc Binary files /dev/null and b/libraries/elementary/data/themes/emo-happy-panting.png differ diff --git a/libraries/elementary/data/themes/emo-happy.png b/libraries/elementary/data/themes/emo-happy.png new file mode 100644 index 0000000..a8a3c0b Binary files /dev/null and b/libraries/elementary/data/themes/emo-happy.png differ diff --git a/libraries/elementary/data/themes/emo-indifferent.png b/libraries/elementary/data/themes/emo-indifferent.png new file mode 100644 index 0000000..254133b Binary files /dev/null and b/libraries/elementary/data/themes/emo-indifferent.png differ diff --git a/libraries/elementary/data/themes/emo-kiss.png b/libraries/elementary/data/themes/emo-kiss.png new file mode 100644 index 0000000..5eb606d Binary files /dev/null and b/libraries/elementary/data/themes/emo-kiss.png differ diff --git a/libraries/elementary/data/themes/emo-knowing-grin.png b/libraries/elementary/data/themes/emo-knowing-grin.png new file mode 100644 index 0000000..589b44d Binary files /dev/null and b/libraries/elementary/data/themes/emo-knowing-grin.png differ diff --git a/libraries/elementary/data/themes/emo-laugh.png b/libraries/elementary/data/themes/emo-laugh.png new file mode 100644 index 0000000..282c620 Binary files /dev/null and b/libraries/elementary/data/themes/emo-laugh.png differ diff --git a/libraries/elementary/data/themes/emo-little-bit-sorry.png b/libraries/elementary/data/themes/emo-little-bit-sorry.png new file mode 100644 index 0000000..fced0e2 Binary files /dev/null and b/libraries/elementary/data/themes/emo-little-bit-sorry.png differ diff --git a/libraries/elementary/data/themes/emo-love-lots.png b/libraries/elementary/data/themes/emo-love-lots.png new file mode 100644 index 0000000..4591fe8 Binary files /dev/null and b/libraries/elementary/data/themes/emo-love-lots.png differ diff --git a/libraries/elementary/data/themes/emo-love.png b/libraries/elementary/data/themes/emo-love.png new file mode 100644 index 0000000..8fd0785 Binary files /dev/null and b/libraries/elementary/data/themes/emo-love.png differ diff --git a/libraries/elementary/data/themes/emo-minimal-smile.png b/libraries/elementary/data/themes/emo-minimal-smile.png new file mode 100644 index 0000000..c005174 Binary files /dev/null and b/libraries/elementary/data/themes/emo-minimal-smile.png differ diff --git a/libraries/elementary/data/themes/emo-not-happy.png b/libraries/elementary/data/themes/emo-not-happy.png new file mode 100644 index 0000000..91b4759 Binary files /dev/null and b/libraries/elementary/data/themes/emo-not-happy.png differ diff --git a/libraries/elementary/data/themes/emo-not-impressed.png b/libraries/elementary/data/themes/emo-not-impressed.png new file mode 100644 index 0000000..8a6901c Binary files /dev/null and b/libraries/elementary/data/themes/emo-not-impressed.png differ diff --git a/libraries/elementary/data/themes/emo-omg.png b/libraries/elementary/data/themes/emo-omg.png new file mode 100644 index 0000000..8f16f50 Binary files /dev/null and b/libraries/elementary/data/themes/emo-omg.png differ diff --git a/libraries/elementary/data/themes/emo-opensmile.png b/libraries/elementary/data/themes/emo-opensmile.png new file mode 100644 index 0000000..3e37d18 Binary files /dev/null and b/libraries/elementary/data/themes/emo-opensmile.png differ diff --git a/libraries/elementary/data/themes/emo-smile.png b/libraries/elementary/data/themes/emo-smile.png new file mode 100644 index 0000000..082731d Binary files /dev/null and b/libraries/elementary/data/themes/emo-smile.png differ diff --git a/libraries/elementary/data/themes/emo-sorry.png b/libraries/elementary/data/themes/emo-sorry.png new file mode 100644 index 0000000..757fbc7 Binary files /dev/null and b/libraries/elementary/data/themes/emo-sorry.png differ diff --git a/libraries/elementary/data/themes/emo-squint-laugh.png b/libraries/elementary/data/themes/emo-squint-laugh.png new file mode 100644 index 0000000..0e1850b Binary files /dev/null and b/libraries/elementary/data/themes/emo-squint-laugh.png differ diff --git a/libraries/elementary/data/themes/emo-surprised.png b/libraries/elementary/data/themes/emo-surprised.png new file mode 100644 index 0000000..0b980c6 Binary files /dev/null and b/libraries/elementary/data/themes/emo-surprised.png differ diff --git a/libraries/elementary/data/themes/emo-suspicious.png b/libraries/elementary/data/themes/emo-suspicious.png new file mode 100644 index 0000000..15bcdc0 Binary files /dev/null and b/libraries/elementary/data/themes/emo-suspicious.png differ diff --git a/libraries/elementary/data/themes/emo-tongue-dangling.png b/libraries/elementary/data/themes/emo-tongue-dangling.png new file mode 100644 index 0000000..eb711ce Binary files /dev/null and b/libraries/elementary/data/themes/emo-tongue-dangling.png differ diff --git a/libraries/elementary/data/themes/emo-tongue-poke.png b/libraries/elementary/data/themes/emo-tongue-poke.png new file mode 100644 index 0000000..932ef85 Binary files /dev/null and b/libraries/elementary/data/themes/emo-tongue-poke.png differ diff --git a/libraries/elementary/data/themes/emo-uh.png b/libraries/elementary/data/themes/emo-uh.png new file mode 100644 index 0000000..554ca35 Binary files /dev/null and b/libraries/elementary/data/themes/emo-uh.png differ diff --git a/libraries/elementary/data/themes/emo-unhappy.png b/libraries/elementary/data/themes/emo-unhappy.png new file mode 100644 index 0000000..163ae6d Binary files /dev/null and b/libraries/elementary/data/themes/emo-unhappy.png differ diff --git a/libraries/elementary/data/themes/emo-very-sorry.png b/libraries/elementary/data/themes/emo-very-sorry.png new file mode 100644 index 0000000..97091f2 Binary files /dev/null and b/libraries/elementary/data/themes/emo-very-sorry.png differ diff --git a/libraries/elementary/data/themes/emo-what.png b/libraries/elementary/data/themes/emo-what.png new file mode 100644 index 0000000..a472434 Binary files /dev/null and b/libraries/elementary/data/themes/emo-what.png differ diff --git a/libraries/elementary/data/themes/emo-wink.png b/libraries/elementary/data/themes/emo-wink.png new file mode 100644 index 0000000..ad4553a Binary files /dev/null and b/libraries/elementary/data/themes/emo-wink.png differ diff --git a/libraries/elementary/data/themes/emo-worried.png b/libraries/elementary/data/themes/emo-worried.png new file mode 100644 index 0000000..b081784 Binary files /dev/null and b/libraries/elementary/data/themes/emo-worried.png differ diff --git a/libraries/elementary/data/themes/emo-wtf.png b/libraries/elementary/data/themes/emo-wtf.png new file mode 100644 index 0000000..5551d8b Binary files /dev/null and b/libraries/elementary/data/themes/emo-wtf.png differ diff --git a/libraries/elementary/data/themes/ews.edc b/libraries/elementary/data/themes/ews.edc new file mode 100644 index 0000000..c3e70fe --- /dev/null +++ b/libraries/elementary/data/themes/ews.edc @@ -0,0 +1,317 @@ +group { name: "elm/ews/background/default"; + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + } + } + } +} + +/* + Border Decorations Protocol: + + Receive Signals: all use "elm" as source + - elm,state,focus,{on,off} + - elm,state,iconified,{on,off} + - elm,state,maximized,{on,off} + - elm,state,fullscreen,{on,off} + - elm,state,alpha,{on,off} + + Send Signals: + - elm,action,focus + - elm,action,iconify + - elm,action,maximize + - elm,action,fullscreen + - elm,action,restore - remove iconified, maximized or fullscreen + - elm,action,close + - elm,action,menu + - elm,action,move,start + - elm,action,move,stop + + Parts: + - elm.text.title + - elm.text.name + - elm.text.class + */ + +images { + image: "shadow.png" COMP; + image: "icon_close.png" COMP; + image: "icon_arrow_up_right.png" COMP; + image: "icon_arrow_down_left.png" COMP; +} + +group { name: "elm/ews/decoration/borderless"; + parts { + part { name: "shadow"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "shadow.png"; + border: 13 13 13 13; + middle: 0; + } + rel1 { + to: "base"; + offset: -11 -9; + } + rel2 { + to: "base"; + offset: 11 11; + } + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + programs { + program { signal: "elm,state,alpha,on"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "shadow"; + } + program { signal: "elm,state,alpha,off"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "shadow"; + } + } + + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + } + } + } +} + +group { name: "elm/ews/decoration/default"; + parts { + part { name: "shadow"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "shadow.png"; + border: 13 13 13 13; + middle: 0; + } + rel1 { + to: "base"; + offset: -11 -9; + } + rel2 { + to: "base"; + offset: 11 11; + } + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + programs { + program { signal: "elm,state,alpha,on"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "shadow"; + } + program { signal: "elm,state,alpha,off"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "shadow"; + } + } + + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + // TODO: make me a nice image! + color: 200 200 200 255; + rel1.offset: -2 -32; + rel2.offset: 1 1; + } + } + + part { name: "base-text"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "base"; + rel2 { + offset: -2 -1; + relative: 0.0 0.0; + to_x: "base-buttons"; + } + } + } + programs { + program { signal: "mouse,down,1"; + source: "base-text"; + action: SIGNAL_EMIT "elm,action,move,start" "elm"; + } + program { signal: "mouse,up,1"; + source: "base-text"; + action: SIGNAL_EMIT "elm,action,move,stop" "elm"; + } + } + + part { name: "elm.text.title"; + type: TEXT; + effect: SHADOW; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 255; + color3: 0 0 0 255; + rel1 { + to: "base-text"; + offset: 5 2; + } + rel2 { + to: "base-text"; + offset: -6 -3; + } + text { + font: "Sans:style=Bold"; + size: 12; + align: 0.0 0.5; + } + } + } + + part { name: "base-buttons"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1 { + to: "base"; + relative: 1.0 0.0; + offset: (-24 * 3 -1) 0; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + } + } + } + + part { name: "restore"; + type: IMAGE; + mouse_events: 1; + description { state: "default" 0.0; + image.normal: "icon_arrow_down_left.png"; + min: 24 24; + max: 24 24; + rel1 { + to: "base-buttons"; + relative: 1.0 0.0; + offset: (-24 * 3 - 1) 0; + } + rel2 { + to: "base-buttons"; + relative: 1.0 1.0; + offset: (-24 * 2 - 1) 0; + } + } + } + programs { + program { signal: "mouse,clicked,1"; + source: "restore"; + action: SIGNAL_EMIT "elm,action,restore" "elm"; + } + } + + part { name: "maximize"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "icon_arrow_up_right.png"; + min: 24 24; + max: 24 24; + rel1 { + to: "base-buttons"; + relative: 1.0 0.0; + offset: (-24 * 2 - 1) 0; + } + rel2 { + to: "base-buttons"; + relative: 1.0 1.0; + offset: (-24 * 1 - 1) 0; + } + } + description { state: "maximized" 0.0; + inherit: "default" 0.0; + color: 255 255 255 96; + } + } + part { name: "maximize-eventarea"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "maximize"; + rel2.to: "maximize"; + } + description { state: "maximized" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + programs { + program { signal: "mouse,clicked,1"; + source: "maximize-eventarea"; + action: SIGNAL_EMIT "elm,action,maximize" "elm"; + } + program { signal: "elm,state,maximized,on"; + source: "elm"; + action: STATE_SET "maximized" 0.0; + target: "maximize-eventarea"; + target: "maximize"; + } + program { signal: "elm,state,maximized,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "maximize-eventarea"; + target: "maximize"; + } + } + + part { name: "close"; + type: IMAGE; + mouse_events: 1; + description { state: "default" 0.0; + image.normal: "icon_close.png"; + min: 24 24; + max: 24 24; + rel1 { + to: "base-buttons"; + relative: 1.0 0.0; + offset: (-24 * 1 - 1) 0; + } + rel2 { + to: "base-buttons"; + relative: 1.0 1.0; + offset: (-24 * 0 - 1) 0; + } + } + } + programs { + program { signal: "mouse,clicked,1"; + source: "close"; + action: SIGNAL_EMIT "elm,action,close" "elm"; + } + } + } +} diff --git a/libraries/elementary/data/themes/exclam.png b/libraries/elementary/data/themes/exclam.png new file mode 100644 index 0000000..02068e2 Binary files /dev/null and b/libraries/elementary/data/themes/exclam.png differ diff --git a/libraries/elementary/data/themes/flip_0b.png b/libraries/elementary/data/themes/flip_0b.png new file mode 100644 index 0000000..8a6ae9e Binary files /dev/null and b/libraries/elementary/data/themes/flip_0b.png differ diff --git a/libraries/elementary/data/themes/flip_0t.png b/libraries/elementary/data/themes/flip_0t.png new file mode 100644 index 0000000..72506aa Binary files /dev/null and b/libraries/elementary/data/themes/flip_0t.png differ diff --git a/libraries/elementary/data/themes/flip_1b.png b/libraries/elementary/data/themes/flip_1b.png new file mode 100644 index 0000000..ed80e8b Binary files /dev/null and b/libraries/elementary/data/themes/flip_1b.png differ diff --git a/libraries/elementary/data/themes/flip_1t.png b/libraries/elementary/data/themes/flip_1t.png new file mode 100644 index 0000000..6c1fba8 Binary files /dev/null and b/libraries/elementary/data/themes/flip_1t.png differ diff --git a/libraries/elementary/data/themes/flip_2b.png b/libraries/elementary/data/themes/flip_2b.png new file mode 100644 index 0000000..3183b59 Binary files /dev/null and b/libraries/elementary/data/themes/flip_2b.png differ diff --git a/libraries/elementary/data/themes/flip_2t.png b/libraries/elementary/data/themes/flip_2t.png new file mode 100644 index 0000000..3453e3d Binary files /dev/null and b/libraries/elementary/data/themes/flip_2t.png differ diff --git a/libraries/elementary/data/themes/flip_3b.png b/libraries/elementary/data/themes/flip_3b.png new file mode 100644 index 0000000..2eca7d4 Binary files /dev/null and b/libraries/elementary/data/themes/flip_3b.png differ diff --git a/libraries/elementary/data/themes/flip_3t.png b/libraries/elementary/data/themes/flip_3t.png new file mode 100644 index 0000000..4de9804 Binary files /dev/null and b/libraries/elementary/data/themes/flip_3t.png differ diff --git a/libraries/elementary/data/themes/flip_4b.png b/libraries/elementary/data/themes/flip_4b.png new file mode 100644 index 0000000..23484c9 Binary files /dev/null and b/libraries/elementary/data/themes/flip_4b.png differ diff --git a/libraries/elementary/data/themes/flip_4t.png b/libraries/elementary/data/themes/flip_4t.png new file mode 100644 index 0000000..2029161 Binary files /dev/null and b/libraries/elementary/data/themes/flip_4t.png differ diff --git a/libraries/elementary/data/themes/flip_5b.png b/libraries/elementary/data/themes/flip_5b.png new file mode 100644 index 0000000..8d9312a Binary files /dev/null and b/libraries/elementary/data/themes/flip_5b.png differ diff --git a/libraries/elementary/data/themes/flip_5t.png b/libraries/elementary/data/themes/flip_5t.png new file mode 100644 index 0000000..df43929 Binary files /dev/null and b/libraries/elementary/data/themes/flip_5t.png differ diff --git a/libraries/elementary/data/themes/flip_6b.png b/libraries/elementary/data/themes/flip_6b.png new file mode 100644 index 0000000..09393e6 Binary files /dev/null and b/libraries/elementary/data/themes/flip_6b.png differ diff --git a/libraries/elementary/data/themes/flip_6t.png b/libraries/elementary/data/themes/flip_6t.png new file mode 100644 index 0000000..3cc4061 Binary files /dev/null and b/libraries/elementary/data/themes/flip_6t.png differ diff --git a/libraries/elementary/data/themes/flip_7b.png b/libraries/elementary/data/themes/flip_7b.png new file mode 100644 index 0000000..9afc419 Binary files /dev/null and b/libraries/elementary/data/themes/flip_7b.png differ diff --git a/libraries/elementary/data/themes/flip_7t.png b/libraries/elementary/data/themes/flip_7t.png new file mode 100644 index 0000000..abe1bc9 Binary files /dev/null and b/libraries/elementary/data/themes/flip_7t.png differ diff --git a/libraries/elementary/data/themes/flip_8b.png b/libraries/elementary/data/themes/flip_8b.png new file mode 100644 index 0000000..2185ee9 Binary files /dev/null and b/libraries/elementary/data/themes/flip_8b.png differ diff --git a/libraries/elementary/data/themes/flip_8t.png b/libraries/elementary/data/themes/flip_8t.png new file mode 100644 index 0000000..718e484 Binary files /dev/null and b/libraries/elementary/data/themes/flip_8t.png differ diff --git a/libraries/elementary/data/themes/flip_9b.png b/libraries/elementary/data/themes/flip_9b.png new file mode 100644 index 0000000..f867aea Binary files /dev/null and b/libraries/elementary/data/themes/flip_9b.png differ diff --git a/libraries/elementary/data/themes/flip_9t.png b/libraries/elementary/data/themes/flip_9t.png new file mode 100644 index 0000000..5800a4c Binary files /dev/null and b/libraries/elementary/data/themes/flip_9t.png differ diff --git a/libraries/elementary/data/themes/flip_amb.png b/libraries/elementary/data/themes/flip_amb.png new file mode 100644 index 0000000..e7b3b17 Binary files /dev/null and b/libraries/elementary/data/themes/flip_amb.png differ diff --git a/libraries/elementary/data/themes/flip_amt.png b/libraries/elementary/data/themes/flip_amt.png new file mode 100644 index 0000000..bc6a715 Binary files /dev/null and b/libraries/elementary/data/themes/flip_amt.png differ diff --git a/libraries/elementary/data/themes/flip_b.png b/libraries/elementary/data/themes/flip_b.png new file mode 100644 index 0000000..bb7c7e7 Binary files /dev/null and b/libraries/elementary/data/themes/flip_b.png differ diff --git a/libraries/elementary/data/themes/flip_base.png b/libraries/elementary/data/themes/flip_base.png new file mode 100644 index 0000000..607fba9 Binary files /dev/null and b/libraries/elementary/data/themes/flip_base.png differ diff --git a/libraries/elementary/data/themes/flip_base_shad.png b/libraries/elementary/data/themes/flip_base_shad.png new file mode 100644 index 0000000..0569977 Binary files /dev/null and b/libraries/elementary/data/themes/flip_base_shad.png differ diff --git a/libraries/elementary/data/themes/flip_pmb.png b/libraries/elementary/data/themes/flip_pmb.png new file mode 100644 index 0000000..de14fa5 Binary files /dev/null and b/libraries/elementary/data/themes/flip_pmb.png differ diff --git a/libraries/elementary/data/themes/flip_pmt.png b/libraries/elementary/data/themes/flip_pmt.png new file mode 100644 index 0000000..8a72655 Binary files /dev/null and b/libraries/elementary/data/themes/flip_pmt.png differ diff --git a/libraries/elementary/data/themes/flip_shad.png b/libraries/elementary/data/themes/flip_shad.png new file mode 100644 index 0000000..3d74cea Binary files /dev/null and b/libraries/elementary/data/themes/flip_shad.png differ diff --git a/libraries/elementary/data/themes/flip_t.png b/libraries/elementary/data/themes/flip_t.png new file mode 100644 index 0000000..74ed50d Binary files /dev/null and b/libraries/elementary/data/themes/flip_t.png differ diff --git a/libraries/elementary/data/themes/frame_1.png b/libraries/elementary/data/themes/frame_1.png new file mode 100644 index 0000000..fd5645e Binary files /dev/null and b/libraries/elementary/data/themes/frame_1.png differ diff --git a/libraries/elementary/data/themes/frame_2.png b/libraries/elementary/data/themes/frame_2.png new file mode 100644 index 0000000..0fef1e9 Binary files /dev/null and b/libraries/elementary/data/themes/frame_2.png differ diff --git a/libraries/elementary/data/themes/group_index.png b/libraries/elementary/data/themes/group_index.png new file mode 100644 index 0000000..7df0680 Binary files /dev/null and b/libraries/elementary/data/themes/group_index.png differ diff --git a/libraries/elementary/data/themes/head.png b/libraries/elementary/data/themes/head.png new file mode 100644 index 0000000..905b92c Binary files /dev/null and b/libraries/elementary/data/themes/head.png differ diff --git a/libraries/elementary/data/themes/hoversel_entry_bg.png b/libraries/elementary/data/themes/hoversel_entry_bg.png new file mode 100644 index 0000000..ec8b31d Binary files /dev/null and b/libraries/elementary/data/themes/hoversel_entry_bg.png differ diff --git a/libraries/elementary/data/themes/icon_apps.png b/libraries/elementary/data/themes/icon_apps.png new file mode 100644 index 0000000..a3b90c6 Binary files /dev/null and b/libraries/elementary/data/themes/icon_apps.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_down.png b/libraries/elementary/data/themes/icon_arrow_down.png new file mode 100644 index 0000000..899373f Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_down.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_down_left.png b/libraries/elementary/data/themes/icon_arrow_down_left.png new file mode 100644 index 0000000..2f1d2ed Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_down_left.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_down_right.png b/libraries/elementary/data/themes/icon_arrow_down_right.png new file mode 100644 index 0000000..0439e88 Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_down_right.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_left.png b/libraries/elementary/data/themes/icon_arrow_left.png new file mode 100644 index 0000000..6651510 Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_left.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_right.png b/libraries/elementary/data/themes/icon_arrow_right.png new file mode 100644 index 0000000..58fa68d Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_right.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_up.png b/libraries/elementary/data/themes/icon_arrow_up.png new file mode 100644 index 0000000..46584db Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_up.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_up_left.png b/libraries/elementary/data/themes/icon_arrow_up_left.png new file mode 100644 index 0000000..711bef8 Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_up_left.png differ diff --git a/libraries/elementary/data/themes/icon_arrow_up_right.png b/libraries/elementary/data/themes/icon_arrow_up_right.png new file mode 100644 index 0000000..7a9f495 Binary files /dev/null and b/libraries/elementary/data/themes/icon_arrow_up_right.png differ diff --git a/libraries/elementary/data/themes/icon_chat.png b/libraries/elementary/data/themes/icon_chat.png new file mode 100644 index 0000000..1fe8f63 Binary files /dev/null and b/libraries/elementary/data/themes/icon_chat.png differ diff --git a/libraries/elementary/data/themes/icon_clock.png b/libraries/elementary/data/themes/icon_clock.png new file mode 100644 index 0000000..c89ae17 Binary files /dev/null and b/libraries/elementary/data/themes/icon_clock.png differ diff --git a/libraries/elementary/data/themes/icon_close.png b/libraries/elementary/data/themes/icon_close.png new file mode 100644 index 0000000..d0a5166 Binary files /dev/null and b/libraries/elementary/data/themes/icon_close.png differ diff --git a/libraries/elementary/data/themes/icon_delete.png b/libraries/elementary/data/themes/icon_delete.png new file mode 100644 index 0000000..e0a635e Binary files /dev/null and b/libraries/elementary/data/themes/icon_delete.png differ diff --git a/libraries/elementary/data/themes/icon_edit.png b/libraries/elementary/data/themes/icon_edit.png new file mode 100644 index 0000000..8dcec9e Binary files /dev/null and b/libraries/elementary/data/themes/icon_edit.png differ diff --git a/libraries/elementary/data/themes/icon_file.png b/libraries/elementary/data/themes/icon_file.png new file mode 100644 index 0000000..371f1d0 Binary files /dev/null and b/libraries/elementary/data/themes/icon_file.png differ diff --git a/libraries/elementary/data/themes/icon_folder.png b/libraries/elementary/data/themes/icon_folder.png new file mode 100644 index 0000000..2ec380a Binary files /dev/null and b/libraries/elementary/data/themes/icon_folder.png differ diff --git a/libraries/elementary/data/themes/icon_home.png b/libraries/elementary/data/themes/icon_home.png new file mode 100644 index 0000000..a395fff Binary files /dev/null and b/libraries/elementary/data/themes/icon_home.png differ diff --git a/libraries/elementary/data/themes/icon_left_arrow.png b/libraries/elementary/data/themes/icon_left_arrow.png new file mode 100644 index 0000000..556399e Binary files /dev/null and b/libraries/elementary/data/themes/icon_left_arrow.png differ diff --git a/libraries/elementary/data/themes/icon_refresh.png b/libraries/elementary/data/themes/icon_refresh.png new file mode 100644 index 0000000..5ea70bf Binary files /dev/null and b/libraries/elementary/data/themes/icon_refresh.png differ diff --git a/libraries/elementary/data/themes/icon_right_arrow.png b/libraries/elementary/data/themes/icon_right_arrow.png new file mode 100644 index 0000000..6bbb2c6 Binary files /dev/null and b/libraries/elementary/data/themes/icon_right_arrow.png differ diff --git a/libraries/elementary/data/themes/ilist_1.png b/libraries/elementary/data/themes/ilist_1.png new file mode 100644 index 0000000..40a3238 Binary files /dev/null and b/libraries/elementary/data/themes/ilist_1.png differ diff --git a/libraries/elementary/data/themes/ilist_1_h.png b/libraries/elementary/data/themes/ilist_1_h.png new file mode 100644 index 0000000..bd2fd15 Binary files /dev/null and b/libraries/elementary/data/themes/ilist_1_h.png differ diff --git a/libraries/elementary/data/themes/ilist_2.png b/libraries/elementary/data/themes/ilist_2.png new file mode 100644 index 0000000..ee69f15 Binary files /dev/null and b/libraries/elementary/data/themes/ilist_2.png differ diff --git a/libraries/elementary/data/themes/ilist_2_h.png b/libraries/elementary/data/themes/ilist_2_h.png new file mode 100644 index 0000000..6ab252e Binary files /dev/null and b/libraries/elementary/data/themes/ilist_2_h.png differ diff --git a/libraries/elementary/data/themes/ilist_item_shadow.png b/libraries/elementary/data/themes/ilist_item_shadow.png new file mode 100644 index 0000000..bffa9dc Binary files /dev/null and b/libraries/elementary/data/themes/ilist_item_shadow.png differ diff --git a/libraries/elementary/data/themes/ilist_item_shadow_h.png b/libraries/elementary/data/themes/ilist_item_shadow_h.png new file mode 100644 index 0000000..fb21bc5 Binary files /dev/null and b/libraries/elementary/data/themes/ilist_item_shadow_h.png differ diff --git a/libraries/elementary/data/themes/leftright.png b/libraries/elementary/data/themes/leftright.png new file mode 100644 index 0000000..8188c19 Binary files /dev/null and b/libraries/elementary/data/themes/leftright.png differ diff --git a/libraries/elementary/data/themes/map_circle.png b/libraries/elementary/data/themes/map_circle.png new file mode 100644 index 0000000..1641097 Binary files /dev/null and b/libraries/elementary/data/themes/map_circle.png differ diff --git a/libraries/elementary/data/themes/map_item.png b/libraries/elementary/data/themes/map_item.png new file mode 100644 index 0000000..9e90159 Binary files /dev/null and b/libraries/elementary/data/themes/map_item.png differ diff --git a/libraries/elementary/data/themes/map_item_2.png b/libraries/elementary/data/themes/map_item_2.png new file mode 100644 index 0000000..f92ebfa Binary files /dev/null and b/libraries/elementary/data/themes/map_item_2.png differ diff --git a/libraries/elementary/data/themes/map_scale.png b/libraries/elementary/data/themes/map_scale.png new file mode 100644 index 0000000..ff7be49 Binary files /dev/null and b/libraries/elementary/data/themes/map_scale.png differ diff --git a/libraries/elementary/data/themes/mp_forward.png b/libraries/elementary/data/themes/mp_forward.png new file mode 100644 index 0000000..eaf3619 Binary files /dev/null and b/libraries/elementary/data/themes/mp_forward.png differ diff --git a/libraries/elementary/data/themes/mp_info.png b/libraries/elementary/data/themes/mp_info.png new file mode 100644 index 0000000..67e3ead Binary files /dev/null and b/libraries/elementary/data/themes/mp_info.png differ diff --git a/libraries/elementary/data/themes/mp_next.png b/libraries/elementary/data/themes/mp_next.png new file mode 100644 index 0000000..c8aadcc Binary files /dev/null and b/libraries/elementary/data/themes/mp_next.png differ diff --git a/libraries/elementary/data/themes/mp_pause.png b/libraries/elementary/data/themes/mp_pause.png new file mode 100644 index 0000000..211ddf6 Binary files /dev/null and b/libraries/elementary/data/themes/mp_pause.png differ diff --git a/libraries/elementary/data/themes/mp_play.png b/libraries/elementary/data/themes/mp_play.png new file mode 100644 index 0000000..8abaf2e Binary files /dev/null and b/libraries/elementary/data/themes/mp_play.png differ diff --git a/libraries/elementary/data/themes/mp_prev.png b/libraries/elementary/data/themes/mp_prev.png new file mode 100644 index 0000000..543ec0e Binary files /dev/null and b/libraries/elementary/data/themes/mp_prev.png differ diff --git a/libraries/elementary/data/themes/mp_rewind.png b/libraries/elementary/data/themes/mp_rewind.png new file mode 100644 index 0000000..703d5d6 Binary files /dev/null and b/libraries/elementary/data/themes/mp_rewind.png differ diff --git a/libraries/elementary/data/themes/mp_stop.png b/libraries/elementary/data/themes/mp_stop.png new file mode 100644 index 0000000..e09dd1f Binary files /dev/null and b/libraries/elementary/data/themes/mp_stop.png differ diff --git a/libraries/elementary/data/themes/outdent-bottom.png b/libraries/elementary/data/themes/outdent-bottom.png new file mode 100644 index 0000000..2cd49b5 Binary files /dev/null and b/libraries/elementary/data/themes/outdent-bottom.png differ diff --git a/libraries/elementary/data/themes/outdent-top.png b/libraries/elementary/data/themes/outdent-top.png new file mode 100644 index 0000000..b4f891d Binary files /dev/null and b/libraries/elementary/data/themes/outdent-top.png differ diff --git a/libraries/elementary/data/themes/pointer.png b/libraries/elementary/data/themes/pointer.png new file mode 100644 index 0000000..37ee725 Binary files /dev/null and b/libraries/elementary/data/themes/pointer.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_01.png b/libraries/elementary/data/themes/pointer_glint_01.png new file mode 100644 index 0000000..36fb4f4 Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_01.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_02.png b/libraries/elementary/data/themes/pointer_glint_02.png new file mode 100644 index 0000000..96bf6bb Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_02.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_03.png b/libraries/elementary/data/themes/pointer_glint_03.png new file mode 100644 index 0000000..68f45e3 Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_03.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_04.png b/libraries/elementary/data/themes/pointer_glint_04.png new file mode 100644 index 0000000..16421ab Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_04.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_05.png b/libraries/elementary/data/themes/pointer_glint_05.png new file mode 100644 index 0000000..d0277b0 Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_05.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_06.png b/libraries/elementary/data/themes/pointer_glint_06.png new file mode 100644 index 0000000..689b7cb Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_06.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_07.png b/libraries/elementary/data/themes/pointer_glint_07.png new file mode 100644 index 0000000..5c902b7 Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_07.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_08.png b/libraries/elementary/data/themes/pointer_glint_08.png new file mode 100644 index 0000000..0ef8914 Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_08.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_09.png b/libraries/elementary/data/themes/pointer_glint_09.png new file mode 100644 index 0000000..62947bd Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_09.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_10.png b/libraries/elementary/data/themes/pointer_glint_10.png new file mode 100644 index 0000000..0af04b3 Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_10.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_11.png b/libraries/elementary/data/themes/pointer_glint_11.png new file mode 100644 index 0000000..b0ca3ed Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_11.png differ diff --git a/libraries/elementary/data/themes/pointer_glint_12.png b/libraries/elementary/data/themes/pointer_glint_12.png new file mode 100644 index 0000000..dfcfc69 Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glint_12.png differ diff --git a/libraries/elementary/data/themes/pointer_glow.png b/libraries/elementary/data/themes/pointer_glow.png new file mode 100644 index 0000000..bce47fe Binary files /dev/null and b/libraries/elementary/data/themes/pointer_glow.png differ diff --git a/libraries/elementary/data/themes/radio.png b/libraries/elementary/data/themes/radio.png new file mode 100644 index 0000000..f964acd Binary files /dev/null and b/libraries/elementary/data/themes/radio.png differ diff --git a/libraries/elementary/data/themes/radio2.png b/libraries/elementary/data/themes/radio2.png new file mode 100644 index 0000000..b83e552 Binary files /dev/null and b/libraries/elementary/data/themes/radio2.png differ diff --git a/libraries/elementary/data/themes/radio_base.png b/libraries/elementary/data/themes/radio_base.png new file mode 100644 index 0000000..d219400 Binary files /dev/null and b/libraries/elementary/data/themes/radio_base.png differ diff --git a/libraries/elementary/data/themes/sb_runnerh.png b/libraries/elementary/data/themes/sb_runnerh.png new file mode 100644 index 0000000..a483ce8 Binary files /dev/null and b/libraries/elementary/data/themes/sb_runnerh.png differ diff --git a/libraries/elementary/data/themes/sb_runnerv.png b/libraries/elementary/data/themes/sb_runnerv.png new file mode 100644 index 0000000..cb2da6f Binary files /dev/null and b/libraries/elementary/data/themes/sb_runnerv.png differ diff --git a/libraries/elementary/data/themes/seg_left_normal.png b/libraries/elementary/data/themes/seg_left_normal.png new file mode 100644 index 0000000..483c7c3 Binary files /dev/null and b/libraries/elementary/data/themes/seg_left_normal.png differ diff --git a/libraries/elementary/data/themes/seg_left_pressed.png b/libraries/elementary/data/themes/seg_left_pressed.png new file mode 100644 index 0000000..347c607 Binary files /dev/null and b/libraries/elementary/data/themes/seg_left_pressed.png differ diff --git a/libraries/elementary/data/themes/seg_left_selected.png b/libraries/elementary/data/themes/seg_left_selected.png new file mode 100644 index 0000000..824e931 Binary files /dev/null and b/libraries/elementary/data/themes/seg_left_selected.png differ diff --git a/libraries/elementary/data/themes/seg_middle_normal.png b/libraries/elementary/data/themes/seg_middle_normal.png new file mode 100644 index 0000000..567eb95 Binary files /dev/null and b/libraries/elementary/data/themes/seg_middle_normal.png differ diff --git a/libraries/elementary/data/themes/seg_middle_pressed.png b/libraries/elementary/data/themes/seg_middle_pressed.png new file mode 100644 index 0000000..79fbe0f Binary files /dev/null and b/libraries/elementary/data/themes/seg_middle_pressed.png differ diff --git a/libraries/elementary/data/themes/seg_middle_selected.png b/libraries/elementary/data/themes/seg_middle_selected.png new file mode 100644 index 0000000..9c3563b Binary files /dev/null and b/libraries/elementary/data/themes/seg_middle_selected.png differ diff --git a/libraries/elementary/data/themes/seg_right_normal.png b/libraries/elementary/data/themes/seg_right_normal.png new file mode 100644 index 0000000..7c8a5a7 Binary files /dev/null and b/libraries/elementary/data/themes/seg_right_normal.png differ diff --git a/libraries/elementary/data/themes/seg_right_pressed.png b/libraries/elementary/data/themes/seg_right_pressed.png new file mode 100644 index 0000000..e93ae20 Binary files /dev/null and b/libraries/elementary/data/themes/seg_right_pressed.png differ diff --git a/libraries/elementary/data/themes/seg_right_selected.png b/libraries/elementary/data/themes/seg_right_selected.png new file mode 100644 index 0000000..9855805 Binary files /dev/null and b/libraries/elementary/data/themes/seg_right_selected.png differ diff --git a/libraries/elementary/data/themes/seg_single_normal.png b/libraries/elementary/data/themes/seg_single_normal.png new file mode 100644 index 0000000..e619e27 Binary files /dev/null and b/libraries/elementary/data/themes/seg_single_normal.png differ diff --git a/libraries/elementary/data/themes/seg_single_pressed.png b/libraries/elementary/data/themes/seg_single_pressed.png new file mode 100644 index 0000000..ff90a24 Binary files /dev/null and b/libraries/elementary/data/themes/seg_single_pressed.png differ diff --git a/libraries/elementary/data/themes/seg_single_selected.png b/libraries/elementary/data/themes/seg_single_selected.png new file mode 100644 index 0000000..116ce68 Binary files /dev/null and b/libraries/elementary/data/themes/seg_single_selected.png differ diff --git a/libraries/elementary/data/themes/separator_h.png b/libraries/elementary/data/themes/separator_h.png new file mode 100644 index 0000000..0823fbc Binary files /dev/null and b/libraries/elementary/data/themes/separator_h.png differ diff --git a/libraries/elementary/data/themes/separator_v.png b/libraries/elementary/data/themes/separator_v.png new file mode 100644 index 0000000..cd1b018 Binary files /dev/null and b/libraries/elementary/data/themes/separator_v.png differ diff --git a/libraries/elementary/data/themes/shad_circ.png b/libraries/elementary/data/themes/shad_circ.png new file mode 100644 index 0000000..e344e5c Binary files /dev/null and b/libraries/elementary/data/themes/shad_circ.png differ diff --git a/libraries/elementary/data/themes/shadow.png b/libraries/elementary/data/themes/shadow.png new file mode 100644 index 0000000..5dc92cc Binary files /dev/null and b/libraries/elementary/data/themes/shadow.png differ diff --git a/libraries/elementary/data/themes/shelf_inset.png b/libraries/elementary/data/themes/shelf_inset.png new file mode 100644 index 0000000..bb1989d Binary files /dev/null and b/libraries/elementary/data/themes/shelf_inset.png differ diff --git a/libraries/elementary/data/themes/sl_bg.png b/libraries/elementary/data/themes/sl_bg.png new file mode 100644 index 0000000..ef88a18 Binary files /dev/null and b/libraries/elementary/data/themes/sl_bg.png differ diff --git a/libraries/elementary/data/themes/sl_bg_over.png b/libraries/elementary/data/themes/sl_bg_over.png new file mode 100644 index 0000000..cca085d Binary files /dev/null and b/libraries/elementary/data/themes/sl_bg_over.png differ diff --git a/libraries/elementary/data/themes/sl_bt2_0_0.png b/libraries/elementary/data/themes/sl_bt2_0_0.png new file mode 100644 index 0000000..f1270cc Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt2_0_0.png differ diff --git a/libraries/elementary/data/themes/sl_bt2_0_1.png b/libraries/elementary/data/themes/sl_bt2_0_1.png new file mode 100644 index 0000000..5db1c7c Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt2_0_1.png differ diff --git a/libraries/elementary/data/themes/sl_bt2_0_2.png b/libraries/elementary/data/themes/sl_bt2_0_2.png new file mode 100644 index 0000000..5c04539 Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt2_0_2.png differ diff --git a/libraries/elementary/data/themes/sl_bt2_1.png b/libraries/elementary/data/themes/sl_bt2_1.png new file mode 100644 index 0000000..3872c8c Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt2_1.png differ diff --git a/libraries/elementary/data/themes/sl_bt2_2.png b/libraries/elementary/data/themes/sl_bt2_2.png new file mode 100644 index 0000000..061ac29 Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt2_2.png differ diff --git a/libraries/elementary/data/themes/sl_bt_0.png b/libraries/elementary/data/themes/sl_bt_0.png new file mode 100644 index 0000000..8691b19 Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt_0.png differ diff --git a/libraries/elementary/data/themes/sl_bt_1.png b/libraries/elementary/data/themes/sl_bt_1.png new file mode 100644 index 0000000..a29f65c Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt_1.png differ diff --git a/libraries/elementary/data/themes/sl_bt_2.png b/libraries/elementary/data/themes/sl_bt_2.png new file mode 100644 index 0000000..96bd191 Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt_2.png differ diff --git a/libraries/elementary/data/themes/sl_bt_3.png b/libraries/elementary/data/themes/sl_bt_3.png new file mode 100644 index 0000000..8be95f5 Binary files /dev/null and b/libraries/elementary/data/themes/sl_bt_3.png differ diff --git a/libraries/elementary/data/themes/sl_units.png b/libraries/elementary/data/themes/sl_units.png new file mode 100644 index 0000000..87b4c1d Binary files /dev/null and b/libraries/elementary/data/themes/sl_units.png differ diff --git a/libraries/elementary/data/themes/slv_bg.png b/libraries/elementary/data/themes/slv_bg.png new file mode 100644 index 0000000..97af4d9 Binary files /dev/null and b/libraries/elementary/data/themes/slv_bg.png differ diff --git a/libraries/elementary/data/themes/slv_bg_over.png b/libraries/elementary/data/themes/slv_bg_over.png new file mode 100644 index 0000000..837a721 Binary files /dev/null and b/libraries/elementary/data/themes/slv_bg_over.png differ diff --git a/libraries/elementary/data/themes/slv_units.png b/libraries/elementary/data/themes/slv_units.png new file mode 100644 index 0000000..d935b3b Binary files /dev/null and b/libraries/elementary/data/themes/slv_units.png differ diff --git a/libraries/elementary/data/themes/sp_bt_l.png b/libraries/elementary/data/themes/sp_bt_l.png new file mode 100644 index 0000000..31d0d94 Binary files /dev/null and b/libraries/elementary/data/themes/sp_bt_l.png differ diff --git a/libraries/elementary/data/themes/sp_bt_r.png b/libraries/elementary/data/themes/sp_bt_r.png new file mode 100644 index 0000000..bef2c54 Binary files /dev/null and b/libraries/elementary/data/themes/sp_bt_r.png differ diff --git a/libraries/elementary/data/themes/thumb_shadow.png b/libraries/elementary/data/themes/thumb_shadow.png new file mode 100644 index 0000000..8e66670 Binary files /dev/null and b/libraries/elementary/data/themes/thumb_shadow.png differ diff --git a/libraries/elementary/data/themes/tog_base_off.png b/libraries/elementary/data/themes/tog_base_off.png new file mode 100644 index 0000000..c84da50 Binary files /dev/null and b/libraries/elementary/data/themes/tog_base_off.png differ diff --git a/libraries/elementary/data/themes/tog_base_on.png b/libraries/elementary/data/themes/tog_base_on.png new file mode 100644 index 0000000..1292cbb Binary files /dev/null and b/libraries/elementary/data/themes/tog_base_on.png differ diff --git a/libraries/elementary/data/themes/tog_dis_base_off.png b/libraries/elementary/data/themes/tog_dis_base_off.png new file mode 100644 index 0000000..164a5e2 Binary files /dev/null and b/libraries/elementary/data/themes/tog_dis_base_off.png differ diff --git a/libraries/elementary/data/themes/tog_dis_base_on.png b/libraries/elementary/data/themes/tog_dis_base_on.png new file mode 100644 index 0000000..4dda01e Binary files /dev/null and b/libraries/elementary/data/themes/tog_dis_base_on.png differ diff --git a/libraries/elementary/data/themes/toolbar_sel.png b/libraries/elementary/data/themes/toolbar_sel.png new file mode 100644 index 0000000..4890e3a Binary files /dev/null and b/libraries/elementary/data/themes/toolbar_sel.png differ diff --git a/libraries/elementary/data/themes/toolbar_separator_v.png b/libraries/elementary/data/themes/toolbar_separator_v.png new file mode 100644 index 0000000..cb2da6f Binary files /dev/null and b/libraries/elementary/data/themes/toolbar_separator_v.png differ diff --git a/libraries/elementary/data/themes/tooltip-base.png b/libraries/elementary/data/themes/tooltip-base.png new file mode 100644 index 0000000..3ab8e0f Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-base.png differ diff --git a/libraries/elementary/data/themes/tooltip-corner-bottom-left-tip.png b/libraries/elementary/data/themes/tooltip-corner-bottom-left-tip.png new file mode 100644 index 0000000..f60787b Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-corner-bottom-left-tip.png differ diff --git a/libraries/elementary/data/themes/tooltip-corner-bottom-right-tip.png b/libraries/elementary/data/themes/tooltip-corner-bottom-right-tip.png new file mode 100644 index 0000000..4d715f3 Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-corner-bottom-right-tip.png differ diff --git a/libraries/elementary/data/themes/tooltip-corner-top-left-tip.png b/libraries/elementary/data/themes/tooltip-corner-top-left-tip.png new file mode 100644 index 0000000..3f74c58 Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-corner-top-left-tip.png differ diff --git a/libraries/elementary/data/themes/tooltip-corner-top-right-tip.png b/libraries/elementary/data/themes/tooltip-corner-top-right-tip.png new file mode 100644 index 0000000..c9dbaa2 Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-corner-top-right-tip.png differ diff --git a/libraries/elementary/data/themes/tooltip-edge-bottom-tip.png b/libraries/elementary/data/themes/tooltip-edge-bottom-tip.png new file mode 100644 index 0000000..49fd2b0 Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-edge-bottom-tip.png differ diff --git a/libraries/elementary/data/themes/tooltip-edge-left-tip.png b/libraries/elementary/data/themes/tooltip-edge-left-tip.png new file mode 100644 index 0000000..6cf071e Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-edge-left-tip.png differ diff --git a/libraries/elementary/data/themes/tooltip-edge-right-tip.png b/libraries/elementary/data/themes/tooltip-edge-right-tip.png new file mode 100644 index 0000000..cd541a6 Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-edge-right-tip.png differ diff --git a/libraries/elementary/data/themes/tooltip-edge-top-tip.png b/libraries/elementary/data/themes/tooltip-edge-top-tip.png new file mode 100644 index 0000000..a341a21 Binary files /dev/null and b/libraries/elementary/data/themes/tooltip-edge-top-tip.png differ diff --git a/libraries/elementary/data/themes/up.png b/libraries/elementary/data/themes/up.png new file mode 100644 index 0000000..f8697a1 Binary files /dev/null and b/libraries/elementary/data/themes/up.png differ diff --git a/libraries/elementary/data/themes/updown.png b/libraries/elementary/data/themes/updown.png new file mode 100644 index 0000000..549960c Binary files /dev/null and b/libraries/elementary/data/themes/updown.png differ diff --git a/libraries/elementary/data/themes/widgets/actionslider.edc b/libraries/elementary/data/themes/widgets/actionslider.edc new file mode 100644 index 0000000..be82c58 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/actionslider.edc @@ -0,0 +1,431 @@ +group { name: "elm/actionslider/base/default"; + + images { + image: "shelf_inset.png" COMP; + image: "ilist_1.png" COMP; + image: "bt_bases.png" COMP; + image: "bt_basew.png" COMP; + image: "bt_hilightw.png" COMP; + } + + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 75 25; + rel1.offset: 1 1; + rel2.offset: -2 -2; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "icon.dragable.area"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "elm.text.left"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.05 0.5; + min: 1 1; + } + } + } + part { name: "elm.text.center"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.5 0.5; + min: 1 1; + } + } + } + part { name: "elm.text.right"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.95 0.5; + min: 1 1; + } + } + } + part { name: "elm.drag_button_base"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 50 25; + align: 0.5 0.5; + rel1.to: "icon.dragable.area"; + rel2 { + relative: 0.0 1.0; + to: "icon.dragable.area"; + } + } + dragable { + confine: "icon.dragable.area"; + x: 1 1 0; + y: 0 0 0; + } + } + part { name: "elm.drag_button"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + min: 50 25; + color: 255 255 255 0; + rel1.to_x: "elm.drag_button_base"; + rel1.to_y: "icon.dragable.area"; + rel2.to_x: "elm.drag_button_base"; + rel2.to_y: "icon.dragable.area"; + } + dragable { + events: "elm.drag_button_base"; + } + } + part { name: "button0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button2"; + rel1.offset: -4 -4; + rel2.to: "button2"; + rel2.offset: 3 3; + image { + normal: "bt_bases.png"; + border: 11 11 11 11; + middle: SOLID; + } + color: 255 255 255 128; + } + } + part { name: "button2"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.drag_button"; + rel2.to: "elm.drag_button"; + image { + normal: "bt_basew.png"; + border: 7 7 7 7; + middle: SOLID; + } + color: 255 255 255 210; + } + } + part { name: "button3"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button2"; + rel2.to: "button2"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilightw.png"; + border: 4 4 4 0; + } + color: 255 255 255 190; + } + } + part { name: "elm.text.indicator"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "elm.drag_button"; + offset: 5 0; + } + rel2 { + to: "elm.drag_button"; + offset: -5 0; + } + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.5 0.5; + min: 0 1; + } + } + } + } + programs { + program { name: "elm.drag_button,mouse,up"; + signal: "mouse,up,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,up" ""; + } + program { name: "elm.drag_button,mouse,down"; + signal: "mouse,down,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,down" ""; + } + program { name: "elm.drag_button,mouse,move"; + signal: "mouse,move"; + source: "elm.drag_button_base"; + action: SIGNAL_EMIT "elm.drag_button,mouse,move" ""; + } + } +} + +group { name: "elm/actionslider/base/bar"; + + images { + image: "shelf_inset.png" COMP; + image: "ilist_1.png" COMP; + image: "bt_bases.png" COMP; + image: "bt_basew.png" COMP; + image: "bt_hilightw.png" COMP; + } + + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 150 30; + rel1.offset: 1 1; + rel2.offset: -2 -2; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "icon.dragable.area"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "elm.text.left"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.05 0.5; + min: 1 1; + } + } + } + part { name: "elm.text.center"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.5 0.5; + min: 1 1; + } + } + } + part { name: "elm.text.right"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.95 0.5; + min: 1 1; + } + } + } + part { name: "bar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 2; + rel2 { + relative: 0 1; + offset: 3 -3; + to_x: "elm.drag_button_base"; + to_y: "base"; + } + color: 0 0 0 180; + } + } + part { name: "elm.drag_button_base"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 50 25; + align: 0.5 0.5; + rel1.to: "icon.dragable.area"; + rel2 { + relative: 0.0 1.0; + to: "icon.dragable.area"; + } + } + dragable { + confine: "icon.dragable.area"; + x: 1 1 0; + y: 0 0 0; + } + } + part { name: "elm.drag_button"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + min: 50 25; + color: 255 255 255 0; + rel1.to_x: "elm.drag_button_base"; + rel1.to_y: "icon.dragable.area"; + rel2.to_x: "elm.drag_button_base"; + rel2.to_y: "icon.dragable.area"; + } + dragable { + events: "elm.drag_button_base"; + } + } + part { name: "button0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button2"; + rel1.offset: -4 -4; + rel2.to: "button2"; + rel2.offset: 3 3; + image { + normal: "bt_bases.png"; + border: 11 11 11 11; + middle: SOLID; + } + color: 255 255 255 128; + } + } + part { name: "button2"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.drag_button"; + rel2.to: "elm.drag_button"; + image { + normal: "bt_basew.png"; + border: 7 7 7 7; + middle: SOLID; + } + color: 255 255 255 210; + } + } + part { name: "button3"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button2"; + rel2.to: "button2"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilightw.png"; + border: 4 4 4 0; + } + color: 255 255 255 190; + } + } + part { name: "elm.text.indicator"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "elm.drag_button"; + offset: 5 0; + } + rel2 { + to: "elm.drag_button"; + offset: -5 0; + } + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.5 0.5; + min: 0 1; + } + } + } + } + programs { + program { name: "elm.drag_button,mouse,up"; + signal: "mouse,up,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,up" ""; + } + program { name: "elm.drag_button,mouse,down"; + signal: "mouse,down,1"; + source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,down" ""; + } + program { name: "elm.drag_button,mouse,move"; + signal: "mouse,move"; + source: "elm.drag_button_base"; + action: SIGNAL_EMIT "elm.drag_button,mouse,move" ""; + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/bg.edc b/libraries/elementary/data/themes/widgets/bg.edc new file mode 100644 index 0000000..b3b81fd --- /dev/null +++ b/libraries/elementary/data/themes/widgets/bg.edc @@ -0,0 +1,67 @@ +group { name: "elm/bg/base/default"; + images { + image: "dia_grad.png" COMP; + image: "dia_topshad.png" COMP; + image: "dia_botshad.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "dia_grad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { name: "elm.swallow.rectangle"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "shadow"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + rel2.offset: -1 31; + image.normal: "dia_topshad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { name: "shadow2"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -9; + image.normal: "dia_botshad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/border.edc b/libraries/elementary/data/themes/widgets/border.edc new file mode 100644 index 0000000..7318e26 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/border.edc @@ -0,0 +1,917 @@ +color_classes { + color_class { + name: "border_top"; + color: 255 255 255 255; + } + color_class { + name: "border_top_hilight"; + color: 255 255 255 255; + } + color_class { + name: "border_bottom"; + color: 255 255 255 255; + } + color_class { + name: "border_title"; + color: 0 0 0 255; + } + color_class { + name: "border_title_active"; + color: 224 224 224 255; + color3: 0 0 0 64; + } +} + +group { + name: "elm/border/base/default"; + data.item: "focus_highlight" "off"; + images { + image: "bd_top.png" COMP; + image: "bd_top_hilight.png" COMP; + image: "bd_bottom.png" COMP; + image: "bd_title_bg.png" COMP; + image: "bd_title_over.png" COMP; + image: "bd_resize_b.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + image: "exclam.png" COMP; + image: "bd_button_close_shadow.png" COMP; + image: "bd_button_close_focused.png" COMP; + image: "bd_button_close_unfocused.png" COMP; + image: "bd_button_max_shadow.png" COMP; + image: "bd_button_max_focused.png" COMP; + image: "bd_button_max_unfocused.png" COMP; + image: "bd_button_min_shadow.png" COMP; + image: "bd_button_min_focused.png" COMP; + image: "bd_button_min_unfocused.png" COMP; + } + parts { + part { + name: "top"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + rel2.to_y: "title_base"; + color_class: "border_top"; + image { + normal: "bd_top.png"; + border: 2 2 2 2; + } + } + } + part { + name: "bottom"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -4; + } + color_class: "border_bottom"; + image { + normal: "bd_bottom.png"; + border: 2 2 0 0; + } + } + description { + state: "shaded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "icon_area"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1.offset: 2 2; + rel2 { + relative: 0.0 1.0; + offset: 2 -3; + to_y: "title_base"; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 3; + rel2.offset: 2 -2; + } + } + part { + name: "icon_area2"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + } + description { + state: "uw0" 0.0; + inherit: "default" 0.0; + rel1.offset: -3 -2; + rel2.offset: -4 -3; + } + description { + state: "uw1" 0.0; + inherit: "default" 0.0; + rel1.offset: 5 -2; + rel2.offset: 4 -3; + } + description { + state: "uw2" 0.0; + inherit: "default" 0.0; + rel1.offset: -1 4; + rel2.offset: -2 3; + } + description { + state: "uw3" 0.0; + inherit: "default" 0.0; + rel1.offset: -2 -1; + rel2.offset: -3 -2; + } + description { + state: "uw4" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 1; + rel2.offset: -5 0; + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + rel1.to: "icon_area2"; + rel2.to: "icon_area2"; + } + description { + state: "shrunk" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 0.7 0.7; + } + } + part { + name: "elm.text.title"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: 9 2; + to_x: "icon_area"; + } + rel2 { + relative: 1.0 0.0; + offset: -8 2; + to_x: "title_base"; + } + color_class: "border_title"; + text { + font: "Sans:style=Bold"; + size: 10; + min: 0 1; + align: 0.0 0.0; + text_class: "title_bar"; + } + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + } + part { + name: "bt_close"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 22 22; + max: 22 22; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -2 1; + to: "top"; + } + rel2 { + offset: -2 -2; + to: "top"; + } + image.normal: "bd_button_close_shadow.png"; + } + } + part { + name: "bt_max"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 22 22; + max: 22 22; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + offset: -2 1; + to_x: "bt_close"; + to_y: "top"; + } + rel2 { + relative: 0.0 1.0; + offset: -2 -2; + to_x: "bt_close"; + to_y: "top"; + } + image.normal: "bd_button_max_shadow.png"; + } + } + part { + name: "bt_min"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 22 22; + max: 22 22; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + offset: -2 1; + to_x: "bt_max"; + to_y: "top"; + } + rel2 { + relative: 0.0 1.0; + offset: -2 -2; + to_x: "bt_max"; + to_y: "top"; + } + image.normal: "bd_button_min_shadow.png"; + } + } + part { + name: "top_hilight"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "top"; + rel2 { + relative: 1.0 0.5; + offset: -1 0; + to: "top"; + } + color_class: "border_top_hilight"; + image.normal: "bd_top_hilight.png"; + fill.smooth: 0; + } + } + part { + name: "buttons_unfoc"; + type: RECT; + description { + state: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { + name: "bt_close_unfoc"; + type: IMAGE; + mouse_events: 0; + clip_to: "buttons_unfoc"; + description { + state: "default" 0.0; + rel1.to: "bt_close"; + rel2.to: "bt_close"; + image.normal: "bd_button_close_unfocused.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + } + } + part { + name: "bt_max_unfoc"; + type: IMAGE; + mouse_events: 0; + clip_to: "buttons_unfoc"; + description { + state: "default" 0.0; + rel1.to: "bt_max"; + rel2.to: "bt_max"; + image.normal: "bd_button_max_unfocused.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + } + } + part { + name: "bt_min_unfoc"; + type: IMAGE; + mouse_events: 0; + clip_to: "buttons_unfoc"; + description { + state: "default" 0.0; + rel1.to: "bt_min"; + rel2.to: "bt_min"; + image.normal: "bd_button_min_unfocused.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + } + } + part { + name: "buttons_foc"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "bt_close_foc"; + type: IMAGE; + mouse_events: 0; + clip_to: "buttons_foc"; + description { + state: "default" 0.0; + rel1.to: "bt_close"; + rel2.to: "bt_close"; + image.normal: "bd_button_close_focused.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + } + } + part { + name: "bt_max_foc"; + type: IMAGE; + mouse_events: 0; + clip_to: "buttons_foc"; + description { + state: "default" 0.0; + rel1.to: "bt_max"; + rel2.to: "bt_max"; + image.normal: "bd_button_max_focused.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + } + } + part { + name: "bt_min_foc"; + type: IMAGE; + mouse_events: 0; + clip_to: "buttons_foc"; + description { + state: "default" 0.0; + rel1.to: "bt_min"; + rel2.to: "bt_min"; + image.normal: "bd_button_min_focused.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + } + } + part { + name: "title_base"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "icon_area"; + } + rel2 { + relative: 0.0 1.0; + offset: -3 4; + to_y: "elm.text.title"; + to_x: "bt_min"; + } + } + } + part { + name: "title_back"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "title_base"; + rel2 { + relative: 1.0 0.0; + to: "title_base"; + } + image { + normal: "bd_title_bg.png"; + border: 7 7 2 7; + } + fill.smooth: 0; + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2 { + relative: 1.0 1.0; + to: "title_base"; + } + } + } + part { + name: "title2"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SOFT_SHADOW; + description { + state: "default" 0.0; + visible: 0; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: -1 0; + to_x: "elm.text.title"; + to_y: "title_back"; + } + rel2 { + offset: 0 0; + to_x: "elm.text.title"; + to_y: "title_back"; + } + color_class: "border_title_active"; + text { + text_source: "elm.text.title"; + font: "Sans:style=Bold"; + size: 10; + align: 0.0 0.0; + min: 0 1; + text_class: "title_bar"; + } + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "title_over"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "title_back"; + rel2.to: "title_back"; + image { + normal: "bd_title_over.png"; + border: 7 7 2 7; + } + fill.smooth: 0; + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bottom_clip"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + color: 255 255 255 255; + } + } + part { + name: "resize_b"; + type: IMAGE; + mouse_events: 0; + clip_to: "bottom_clip"; + description { + state: "default" 0.0; + min: 20 10; + max: 20 10; + rel1 { + relative: 0.5 0.0; + offset: 0 -10; + to: "bottom"; + } + rel2 { + relative: 0.5 0.0; + offset: 0 -1; + to: "bottom"; + } + image.normal: "bd_resize_b.png"; + } + description { + state: "past" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + offset: 0 0; + } + rel2 { + relative: 0.5 1.0; + offset: 0 9; + } + } + } + part { + name: "elm.event.titlebar"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "title_base"; + rel2.to: "title_base"; + color: 0 0 0 0; + } + } + part { + name: "elm.event.resize.t"; + type: RECT; + description { + state: "default" 0.0; + rel2 { + relative: 1.0 0.0; + offset: -1 3; + } + color: 0 0 0 0; + } + description { + state: "shaded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.event.resize.b"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -4; + } + color: 0 0 0 0; + } + description { + state: "shaded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.event.resize.tl"; + type: RECT; + description { + state: "default" 0.0; + rel2 { + relative: 0.0 0.0; + offset: 15 15; + } + color: 0 0 0 0; + } + description { + state: "shaded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.event.resize.tr"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + offset: -16 0; + } + rel2 { + relative: 1.0 0.0; + offset: -1 15; + } + color: 0 0 0 0; + } + description { + state: "shaded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.event.resize.bl"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -16; + } + rel2 { + relative: 0.0 1.0; + offset: 15 -1; + } + color: 0 0 0 0; + } + description { + state: "shaded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.event.resize.br"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + offset: -16 -16; + } + color: 0 0 0 0; + } + description { + state: "shaded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "elm.event.icon"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + color: 0 0 0 0; + } + } + part { + name: "elm.event.close"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "bt_close"; + rel2.to: "bt_close"; + color: 0 0 0 0; + } + } + part { + name: "elm.event.minimize"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "bt_min"; + rel2.to: "bt_min"; + color: 0 0 0 0; + } + } + part { + name: "elm.event.maximize"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "bt_max"; + rel2.to: "bt_max"; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "focus_in"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + transition: LINEAR 0.2; + target: "title_back"; + target: "title2"; + target: "title_over"; + target: "buttons_foc"; + target: "buttons_unfoc"; + target: "elm.text.title"; + } + program { + name: "focus_out"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "title_back"; + target: "title2"; + target: "title_over"; + target: "buttons_foc"; + target: "buttons_unfoc"; + target: "elm.text.title"; + } + program { + name: "resize_b_on"; + signal: "mouse,in"; + source: "elm.event.resize.b"; + action: ACTION_STOP; + target: "resize_b_on2"; + target: "resize_b_on3"; + after: "resize_b_on2"; + } + program { + name: "resize_b_on2"; + action: STATE_SET "default" 0.0; + target: "resize_b"; + after: "resize_b_on3"; + } + program { + name: "resize_b_on3"; + action: STATE_SET "past" 0.0; + transition: LINEAR 0.5; + target: "resize_b"; + after: "resize_b_on2"; + } + program { + name: "resize_b_off"; + signal: "mouse,out"; + source: "elm.event.resize.b"; + action: ACTION_STOP; + target: "resize_b_on"; + target: "resize_b_on2"; + target: "resize_b_on3"; + } + program { + name: "bt_close_down"; + signal: "mouse,down,*"; + source: "elm.event.close"; + action: STATE_SET "active" 0.0; + target: "bt_close_unfoc"; + target: "bt_close_foc"; + } + program { + name: "bt_close_up"; + signal: "mouse,up,*"; + source: "elm.event.close"; + action: STATE_SET "default" 0.0; + target: "bt_close_unfoc"; + target: "bt_close_foc"; + } + program { + name: "bt_min_down"; + signal: "mouse,down,*"; + source: "elm.event.minimize"; + action: STATE_SET "active" 0.0; + target: "bt_min_unfoc"; + target: "bt_min_foc"; + } + program { + name: "bt_min_up"; + signal: "mouse,up,*"; + source: "elm.event.minimize"; + action: STATE_SET "default" 0.0; + target: "bt_min_unfoc"; + target: "bt_min_foc"; + } + program { + name: "bt_max_down"; + signal: "mouse,down,*"; + source: "elm.event.maximize"; + action: STATE_SET "active" 0.0; + target: "bt_max_unfoc"; + target: "bt_max_foc"; + } + program { + name: "bt_max_up"; + signal: "mouse,up,*"; + source: "elm.event.maximize"; + action: STATE_SET "default" 0.0; + target: "bt_max_unfoc"; + target: "bt_max_foc"; + } + program { + name: "move_start"; + signal: "mouse,down,1"; + source: "elm.event.titlebar"; + action: SIGNAL_EMIT "elm,action,move,start" "elm"; + } + program { + name: "minimize"; + signal: "mouse,clicked,1"; + source: "elm.event.minimize"; + action: SIGNAL_EMIT "elm,action,minimize" "elm"; + } + program { + name: "maximized"; + signal: "mouse,clicked,1"; + source: "elm.event.maximize"; + action: SIGNAL_EMIT "elm,action,maximize" "elm"; + } + program { + name: "close"; + signal: "mouse,clicked,1"; + source: "elm.event.close"; + action: SIGNAL_EMIT "elm,action,close" "elm"; + } + program { + name: "resize_t_down"; + signal: "mouse,down,1"; + source: "elm.event.resize.t"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.t"; + } + program { + name: "resize_b_down"; + signal: "mouse,down,1"; + source: "elm.event.resize.b"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.b"; + } + program { + name: "resize_tl_down"; + signal: "mouse,down,1"; + source: "elm.event.resize.tl"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tl"; + } + program { + name: "resize_tr_down"; + signal: "mouse,down,1"; + source: "elm.event.resize.tr"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tr"; + } + program { + name: "resize_bl_down"; + signal: "mouse,down,1"; + source: "elm.event.resize.bl"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.bl"; + } + program { + name: "resize_br_down"; + signal: "mouse,down,1"; + source: "elm.event.resize.br"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.br"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/bubble.edc b/libraries/elementary/data/themes/widgets/bubble.edc new file mode 100644 index 0000000..8348b07 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/bubble.edc @@ -0,0 +1,734 @@ +group { name: "elm/bubble/top_left/default"; + alias: "elm/bubble/base/default"; + images { + image: "bubble_3.png" COMP; + image: "bubble_4.png" COMP; + image: "bubble_shine3.png" COMP; + image: "bubble_shine4.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to_y: "elm.text"; + relative: 0.0 1.0; + offset: 4 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "elm.info"; + relative: 0.0 0.0; + offset: -5 4; + } + color: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 0.0; + offset: -5 4; + } + color: 0 0 0 64; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 0; + } + image { + normal: "bubble_3.png"; + border: 36 11 18 9; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_4.png"; + border: 11 36 18 9; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 9 16; + } + rel2 { + to: "base0"; + offset: -10 -9; + } + } + } + part { name: "shine"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 5 4; + } + rel2 { + to: "base0"; + relative: 1.0 0.5; + offset: -6 7; + } + image { + normal: "bubble_shine3.png"; + border: 36 5 14 0; + } + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_shine4.png"; + border: 5 36 14 0; + } + } + } + } + programs { + program { + name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { + name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + target: "shine"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + target: "shine"; + } + } +} + +group { name: "elm/bubble/top_right/default"; + images { + image: "bubble_3.png" COMP; + image: "bubble_4.png" COMP; + image: "bubble_shine3.png" COMP; + image: "bubble_shine4.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + to_y: "elm.text"; + relative: 1.0 1.0; + offset: -5 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "elm.info"; + relative: 0.0 0.0; + offset: -5 4; + } + color: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + to_x: "elm.swallow.icon"; + relative: 0.0 0.0; + offset: -5 4; + } + color: 0 0 0 64; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 0; + } + image { + normal: "bubble_4.png"; + border: 11 36 18 9; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_3.png"; + border: 36 11 18 9; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 9 16; + } + rel2 { + to: "base0"; + offset: -10 -9; + } + } + } + part { name: "shine"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 5 4; + } + rel2 { + to: "base0"; + relative: 1.0 0.5; + offset: -6 7; + } + image { + normal: "bubble_shine4.png"; + border: 5 36 14 0; + } + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_shine3.png"; + border: 36 5 14 0; + } + } + } + } + programs { + program { + name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { + name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + target: "shine"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + target: "shine"; + } + } +} + +group { name: "elm/bubble/bottom_left/default"; + images { + image: "bubble_1.png" COMP; + image: "bubble_2.png" COMP; + image: "bubble_shine.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 1.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + to_y: "elm.text"; + relative: 0.0 0.0; + offset: 4 0; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + offset: 4 -5; + } + rel2 { + to_x: "elm.info"; + relative: 0.0 1.0; + offset: -5 -5; + } + color: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 0 0 0 64; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: -1 -1; + } + image { + normal: "bubble_1.png"; + border: 36 11 10 19; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_2.png"; + border: 11 36 10 19; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 9 8; + } + rel2 { + to: "base0"; + offset: -10 -17; + } + } + } + part { name: "shine"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 5 4; + } + rel2 { + to: "base0"; + relative: 1.0 0.5; + offset: -6 -16; + } + image { + normal: "bubble_shine.png"; + border: 5 5 5 0; + } + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_shine4.png"; + border: 5 36 14 0; + } + } + } + } + programs { + program { + name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { + name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} + +group { name: "elm/bubble/bottom_right/default"; + images { + image: "bubble_1.png" COMP; + image: "bubble_2.png" COMP; + image: "bubble_shine.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0.0; + align: 1.0 1.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + to_y: "elm.text"; + relative: 1.0 0.0; + offset: -5 0; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + offset: 4 -5; + } + rel2 { + to_x: "elm.info"; + relative: 0.0 1.0; + offset: -5 -5; + } + color: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + offset: -5 -5; + } + rel2 { + to_x: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: -5 -5; + } + color: 0 0 0 64; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: -1 -1; + } + image { + normal: "bubble_2.png"; + border: 11 36 10 19; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_1.png"; + border: 36 11 10 19; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 9 8; + } + rel2 { + to: "base0"; + offset: -10 -17; + } + } + } + part { name: "shine"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "base0"; + offset: 5 4; + } + rel2 { + to: "base0"; + relative: 1.0 0.5; + offset: -6 -16; + } + image { + normal: "bubble_shine.png"; + border: 5 5 5 0; + } + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_shine3.png"; + border: 36 5 14 0; + } + } + } + } + programs { + program { + name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { + name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/button.edc b/libraries/elementary/data/themes/widgets/button.edc new file mode 100644 index 0000000..11dcd42 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/button.edc @@ -0,0 +1,1666 @@ +group { name: "elm/button/base/default"; + alias: "elm/button/base/popup_button/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + min: 15 15; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.offset: 4 4; + rel2.offset: 3 -5; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + // aspect_preference: VERTICAL; + rel2.offset: 4 -5; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + align: 0.5 0.5; + // aspect: 1.0 1.0; + rel2.offset: -5 -5; + rel2.relative: 1.0 1.0; + // aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 4; + rel2.offset: -5 -5; + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_class: "button"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_pressed_anim"; + signal: "elm,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + after: "button_unpressed_anim"; + } + program { + name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + target: "over3"; + } + program { + name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible"))) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || (!strcmp(st, "visible"))) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "icononly", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "disabled", 0.0); + set_state(PART:"over1", "disabled", 0.0); + set_state(PART:"over2", "disabled", 0.0); + set_state(PART:"disabler", "disabled", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "visible", 0.0); + set_state(PART:"over1", "visible", 0.0); + set_state(PART:"over2", "visible", 0.0); + set_state(PART:"disabler", "visible", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} + +group { name: "elm/button/base/hoversel_vertical/default"; + alias: "elm/button/base/hoversel_vertical/entry"; + alias: "elm/button/base/hoversel_horizontal/default"; + alias: "elm/button/base/hoversel_horizontal/entry"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "updown.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "arrow"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "updown.png"; + aspect: 0.6666666666 0.6666666666; + aspect_preference: VERTICAL; + rel1.offset: 6 7; + rel2.offset: 6 -7; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + offset: 2 4; + relative: 1.0 0.0; + } + rel2 { + to_x: "arrow"; + offset: 1 -5; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 2 -5; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + align: 0.5 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "button_image"; + offset: -5 -5; + relative: 1.0 1.0; + } + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 4; + rel2.offset: -5 -5; + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_class: "button"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "icononly", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} + +group { name: "elm/button/base/hoversel_vertical_entry/default"; + alias: "elm/button/base/hoversel_vertical_entry/entry"; + alias: "elm/button/base/hoversel_horizontal_entry/default"; + alias: "elm/button/base/hoversel_horizontal_entry/entry"; + images { + image: "hoversel_entry_bg.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image.normal: "hoversel_entry_bg.png"; + image.border: 0 0 2 2; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1.offset: 4 4; + rel2.offset: 3 -5; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -5; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 0.5; + aspect: 1.0 1.0; + rel2.offset: -5 -5; + rel2.relative: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "textvis"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + description { state: "visible" 0.0; + visible: 1; + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "textvis"; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 4; + rel2.offset: -5 -5; + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_class: "button"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + color: 0 0 0 255; + color3: 0 0 0 0; + } + } + part { name: "over2"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "elm.text"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"textvis", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"textvis", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"textvis", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "icononly", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + } +} + +group { name: "elm/button/base/anchor"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + min: 15 15; + color: 255 255 255 0; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.offset: 4 4; + rel2.offset: 3 -5; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -5; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + align: 0.5 0.5; + aspect: 1.0 1.0; + rel2.offset: -5 -5; + rel2.relative: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 4; + rel2.offset: -5 -5; + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_class: "button"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button_mouse_in"; + signal: "mouse,in"; + source: "over2"; + action: STATE_SET "visible" 0.0; + target: "button_image"; + target: "over1"; + transition: DECELERATE 0.5; + } + program { + name: "button_mouse_out"; + signal: "mouse,out"; + source: "over2"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over1"; + transition: DECELERATE 0.5; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: STATE_SET "visible" 0.0; + target: "button_image"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible"))) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "icononly", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "default") || (!strcmp(st, "visible"))) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "icononly", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "disabled", 0.0); + set_state(PART:"over1", "disabled", 0.0); + set_state(PART:"over2", "disabled", 0.0); + set_state(PART:"disabler", "disabled", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"button_image", "visible", 0.0); + set_state(PART:"over1", "visible", 0.0); + set_state(PART:"over2", "visible", 0.0); + set_state(PART:"disabler", "visible", 0.0); + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} +group { name: "elm/button/base/naviframe/back_btn/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "icon_left_arrow.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + min: 15 15; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "prev_image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 30 30; + max: 30 30; + fixed: 1 1; + align: 0.5 0.5; + image.normal: "icon_left_arrow.png"; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_pressed_anim"; + signal: "elm,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + after: "button_unpressed_anim"; + } + program { + name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + target: "over3"; + } + program { + name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + } + } +} + +group { name: "elm/button/base/colorselector/left/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "sp_bt_l.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + min: 15 15; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "prev_image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 16 16; + max: 16 16; + fixed: 1 1; + align: 0.5 0.5; + image.normal: "sp_bt_l.png"; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_pressed_anim"; + signal: "elm,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + after: "button_unpressed_anim"; + } + program { + name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + target: "over3"; + } + program { + name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + } + } +} + +group { name: "elm/button/base/colorselector/right/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "sp_bt_r.png" COMP; + } + parts { + part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + min: 15 15; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "prev_image"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 16 16; + max: 16 16; + fixed: 1 1; + align: 0.5 0.5; + image.normal: "sp_bt_r.png"; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + } + program { + name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + } + program { + name: "button_pressed_anim"; + signal: "elm,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + after: "button_unpressed_anim"; + } + program { + name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + target: "over3"; + } + program { + name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,clicked,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over1"; + target: "over2"; + target: "disabler"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/calendar.edc b/libraries/elementary/data/themes/widgets/calendar.edc new file mode 100644 index 0000000..090a11e --- /dev/null +++ b/libraries/elementary/data/themes/widgets/calendar.edc @@ -0,0 +1,738 @@ +#define CH(_pos) \ + part { name: "ch_"#_pos".base"; \ + type: RECT; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: (_pos % 7 * 7 / 8 / 6) 0; \ + to: "header"; \ + } \ + rel2 { \ + relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \ + to: "header"; \ + } \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + } \ + part { name: "ch_"#_pos".text"; \ + type: TEXT; \ + effect: SOFT_SHADOW; \ + mouse_events: 0; \ + scale: 1; \ + clip_to: "ch_"#_pos".clipper"; \ + description { \ + state: "default" 0.0; \ + rel1.to: "ch_"#_pos".base"; \ + rel2.to: "ch_"#_pos".base"; \ + color: 0 0 0 255; \ + color3: 0 0 0 0; \ + text { \ + font: "Sans"; \ + size: 10; \ + min: 1 1; \ + align: 0.5 0.5; \ + } \ + } \ + } \ + part { name: "ch_"#_pos".clipper"; \ + type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: "ch_"#_pos".base"; \ + rel2.to: "ch_"#_pos".base"; \ + } \ + } + +#define CIT(_pos) \ + part { name: "cit_"#_pos".rect"; \ + type: RECT; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: (_pos % 7 * 7 / 8 / 6) \ + (_pos / 8 / 5 - _pos % 7 / 8 / 5); \ + to: "base"; \ + } \ + rel2 { \ + relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \ + (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \ + to: "base"; \ + } \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + } \ + part { \ + name: "cit_"#_pos".event"; \ + type: RECT; \ + repeat_events: 1; \ + description { \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "cit_"#_pos".shelf"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1 { \ + to: "cit_"#_pos".bg"; \ + offset: -1 -1; \ + } \ + rel2 { \ + to: "cit_"#_pos".bg"; \ + } \ + color: 200 200 200 255; \ + } \ + } \ + part { name: "cit_"#_pos".hd"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1 { \ + to: "cit_"#_pos".bg"; \ + offset: -1 -1; \ + } \ + rel2 { \ + to: "cit_"#_pos".bg"; \ + } \ + visible: 0; \ + color: 160 0 0 255; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { \ + name: "cit_"#_pos".base_sh"; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + align: 0.0 0.0; \ + min: 0 1; \ + rel1 { \ + to: "cit_"#_pos".base"; \ + relative: 0.0 1.0; \ + offset: 0 0; \ + } \ + rel2 { \ + to: "cit_"#_pos".base"; \ + relative: 1.0 1.05; \ + offset: -1 0; \ + } \ + image { \ + normal: "ilist_item_shadow.png"; \ + } \ + fill.smooth: 0; \ + } \ + } \ + part { \ + name: "cit_"#_pos".base"; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + rel2.offset: -1 -1; \ + image { \ + normal: "ilist_1.png"; \ + border: 2 2 2 2; \ + } \ + fill.smooth: 0; \ + } \ + description { \ + state: "today" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "ilist_2.png"; \ + color: 240 240 240 255; \ + } \ + } \ + part { name: "cit_"#_pos".bg"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + color: 255 255 255 0; \ + rel1 { \ + to: "cit_"#_pos".rect"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to: "cit_"#_pos".rect"; \ + relative: 1.0 1.0; \ + offset: -1 -1; \ + } \ + image { \ + normal: "bt_sm_base1.png"; \ + border: 6 6 6 6; \ + } \ + image.middle: SOLID; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: "cit_"#_pos".text"; \ + type: TEXT; \ + effect: SOFT_SHADOW; \ + mouse_events: 0; \ + scale: 1; \ + description { \ + state: "default" 0.0; \ + rel1.to: "cit_"#_pos".bg"; \ + rel2.to: "cit_"#_pos".bg"; \ + color: 0 0 0 255; \ + color3: 0 0 0 0; \ + text { \ + font: "Sans"; \ + size: 10; \ + min: 1 1; \ + align: 0.5 0.5; \ + } \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: 224 224 224 255; \ + color3: 0 0 0 64; \ + } \ + } \ + part { name: "cit_"#_pos".fg1"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + color: 255 255 255 0; \ + rel1.to: "cit_"#_pos".bg"; \ + rel2.relative: 1.0 0.5; \ + rel2.to: "cit_"#_pos".bg"; \ + image { \ + normal: "bt_sm_hilight.png"; \ + border: 6 6 6 0; \ + } \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: "cit_"#_pos".fg2"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + visible: 0; \ + color: 255 255 255 0; \ + rel1.to: "cit_"#_pos".bg"; \ + rel2.to: "cit_"#_pos".bg"; \ + image { \ + normal: "bt_sm_shine.png"; \ + border: 6 6 6 0; \ + } \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: "cit_"#_pos".check"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1 { \ + to: "cit_"#_pos".bg"; \ + relative: 0.7 0.6; \ + offset: 1 1; \ + } \ + rel2 { \ + to: "cit_"#_pos".bg"; \ + relative: 1.1 1.2; \ + offset: -2 -2; \ + } \ + aspect: 1 1; \ + visible: 0; \ + color: 255 0 0 255; \ + image.normal: "check.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + programs { \ + program { \ + name: "cit_"#_pos".go_active"; \ + signal: "cit_"#_pos",selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "cit_"#_pos".bg"; \ + target: "cit_"#_pos".fg1"; \ + target: "cit_"#_pos".fg2"; \ + target: "cit_"#_pos".text"; \ + } \ + program { \ + name: "cit_"#_pos".go_passive"; \ + signal: "cit_"#_pos",unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".bg"; \ + target: "cit_"#_pos".fg1"; \ + target: "cit_"#_pos".fg2"; \ + target: "cit_"#_pos".text"; \ + } \ + program { \ + name: "cit_"#_pos".is_today"; \ + signal: "cit_"#_pos",today"; \ + source: "elm"; \ + action: STATE_SET "today" 0.0; \ + target: "cit_"#_pos".base"; \ + } \ + program { \ + name: "cit_"#_pos".not_today"; \ + signal: "cit_"#_pos",not_today"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".base"; \ + } \ + program { \ + source: "cit_"#_pos".clicked"; \ + signal: "mouse,clicked,1"; \ + source: "cit_"#_pos".event"; \ + action: SIGNAL_EMIT "elm,action,selected" #_pos; \ + } \ + program { \ + name: "cit_"#_pos".clear"; \ + signal: "cit_"#_pos",clear"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".check"; \ + target: "cit_"#_pos".hd"; \ + } \ + program { \ + name: "cit_"#_pos".checked"; \ + signal: "cit_"#_pos",checked"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "cit_"#_pos".check"; \ + } \ + program { \ + name: "cit_"#_pos".holiday"; \ + signal: "cit_"#_pos",holiday"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "cit_"#_pos".hd"; \ + } \ + } + +group { name: "elm/calendar/base/default"; + images { + image: "shelf_inset.png" COMP; + image: "bt_base1.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "sp_bt_l.png" COMP; + image: "sp_bt_r.png" COMP; + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_2.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "check.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + min: 0 30; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + align: 0.0 0.5; + } + } + part { name: "spinner-base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: 24 24; + max: 999999 24; + rel1.to: "bg"; + rel1.offset: 6 6; + rel2.to: "bg"; + rel2.offset: -7 -7; + color: 255 255 255 0; + align: 0.0 0.0; + } + } + part { name: "conf_over_spinner"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "spinner-base"; + rel1.offset: -3 -3; + rel2.to: "spinner-base"; + rel2.offset: 2 2; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "table-base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + min: 256 220; + rel1.to_x: "bg"; + rel1.to_y: "spinner-base"; + rel1.offset: 6 6; + rel1.relative: 0 1; + rel2.to: "bg"; + rel2.offset: -7 -7; + color: 255 255 255 0; + } + } + part { name: "conf_over_table"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "table-base"; + rel1.offset: -3 -3; + rel2.to: "table-base"; + rel2.offset: 2 2; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "header"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "table-base"; + rel1.relative: 0 0; + rel2.to: "table-base"; + rel2.relative: 1 0.1; + color: 255 255 255 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to_x: "table-base"; + rel1.to_y: "header"; + rel1.relative: 0 1; + rel1.offset: 3 0; + rel2.to: "table-base"; + rel2.offset: -3 0; + color: 255 255 255 0; + } + } + part { name: "left_bt"; + mouse_events: 1; + description { state: "default" 0.0; + rel1 { to: "spinner-base"; + offset: 2 2; + } + rel2 { to: "spinner-base"; + offset: -3 -3; + } + align: 0.0 0.5; + min: 24 24; + max: 24 24; + fixed: 1 1; + image { + normal: "bt_base1.png"; + border: 6 6 6 6; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + } + part { name: "left_over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "left_bt"; + rel2 { to: "left_bt"; + relative: 1.0 0.5; + } + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { name: "left_over2"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "left_bt"; + rel2.to: "left_bt"; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + } + part { name: "left_over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "left_bt"; + rel2.to: "left_bt"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "right_bt"; + mouse_events: 1; + description { state: "default" 0.0; + rel1 { to: "spinner-base"; + offset: -27 3; + } + rel2 { to: "spinner-base"; + offset: -3 -3; + } + align: 1.0 0.5; + min: 24 24; + max: 24 24; + fixed: 1 1; + image { + normal: "bt_base1.png"; + border: 5 5 4 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + } + part { name: "right_over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "right_bt"; + rel2 { to: "right_bt"; + relative: 1.0 0.5; + } + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { name: "right_over2"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "right_bt"; + rel2.to: "right_bt"; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + } + part { name: "right_over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "right_bt"; + rel2.to: "right_bt"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "left_bt_icon"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "left_bt"; + rel2.to: "left_bt"; + align: 0.5 0.5; + min: 16 16; + max: 16 16; + image.normal: "sp_bt_l.png"; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_r.png"; + } + } + part { name: "right_bt_icon"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "right_bt"; + rel2.to: "right_bt"; + align: 0.5 0.5; + min: 16 16; + max: 16 16; + image.normal: "sp_bt_r.png"; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_l.png"; + } + } + part { name: "month_text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; + offset: 3 2; + to: "left_bt"; + to_y: "spinner-base"; + } + rel2 { relative: 0.0 1.0; + offset: -3 -2; + to_x: "right_bt"; + to_y: "spinner-base"; + } + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 12; + min: 1 1; + align: 0.5 0.5; + } + } + } + CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6) + CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6) + CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13) + CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20) + CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27) + CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34) + CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41) + } + programs { + program { name: "dec_start"; + signal: "mouse,down,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec_stop"; + signal: "mouse,up,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,stop" ""; + } + program { name: "inc_start"; + signal: "mouse,down,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc_stop"; + signal: "mouse,up,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,stop" ""; + } + program { + name: "left_bt_click"; + signal: "mouse,down,1"; + source: "left_over2"; + action: STATE_SET "clicked" 0.0; + target: "left_bt"; + } + program { + name: "left_bt_unclick"; + signal: "mouse,up,1"; + source: "left_over2"; + action: STATE_SET "default" 0.0; + target: "left_bt"; + } + program { + name: "left_bt_click2"; + signal: "mouse,down,1"; + source: "left_over3"; + action: STATE_SET "clicked" 0.0; + target: "left_over3"; + } + program { + name: "left_bt_unclick2"; + signal: "mouse,up,1"; + source: "left_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left_over3"; + } + program { + name: "right_bt_click"; + signal: "mouse,down,1"; + source: "right_over2"; + action: STATE_SET "clicked" 0.0; + target: "right_bt"; + } + program { + name: "right_bt_unclick"; + signal: "mouse,up,1"; + source: "right_over2"; + action: STATE_SET "default" 0.0; + target: "right_bt"; + } + program { + name: "right_bt_click2"; + signal: "mouse,down,1"; + source: "right_over3"; + action: STATE_SET "clicked" 0.0; + target: "right_over3"; + } + program { + name: "right_bt_unclick2"; + signal: "mouse,up,1"; + source: "right_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right_over3"; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + } +} + +#undef CIT +#undef CH + diff --git a/libraries/elementary/data/themes/widgets/check.edc b/libraries/elementary/data/themes/widgets/check.edc new file mode 100644 index 0000000..ba63cec --- /dev/null +++ b/libraries/elementary/data/themes/widgets/check.edc @@ -0,0 +1,694 @@ +group { name: "elm/check/base/default"; + images { + image: "check_base.png" COMP; + image: "check.png" COMP; + image: "check2.png" COMP; + } + parts { + part { name: "bg"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.relative: 0.0 1.0; + rel2.offset: 1 -2; + align: 0.0 0.5; + min: 16 16; + max: 16 16; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image { + normal: "check_base.png"; + border: 5 5 5 5; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "check"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "bg"; + offset: 1 1; + } + rel2 { + to: "bg"; + offset: -2 -2; + } + visible: 0; + color: 255 255 255 255; + image.normal: "check.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 128 128 128 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.to_x: "bg"; + rel2.offset: 1 -2; + rel2.relative: 1.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + fixed: 1 0; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.relative: 1.0 1.0; + rel2.offset: -2 -2; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 1; + align: -1.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "check"; + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "check"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); + else + set_state(PART:"elm.swallow.content", "disabled", 0.0); + + get_state(PART:"check", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"check", "disabled_visible", 0.0); + else + set_state(PART:"check", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + + get_state(PART:"check", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"check", "visible", 0.0); + else + set_state(PART:"check", "default", 0.0); + } + } + } +} + +group { name: "elm/check/base/toggle"; + images { + image: "shelf_inset.png" COMP; + image: "bt_basew.png" COMP; + image: "bt_bases.png" COMP; + image: "bt_hilightw.png" COMP; + image: "tog_base_on.png" COMP; + image: "tog_base_off.png" COMP; + image: "tog_dis_base_on.png" COMP; + image: "tog_dis_base_off.png" COMP; + } + script { + public is_rtl; + } + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -4 3; + rel2.offset: -4 -4; + align: 1.0 0.5; + min: 96 16; + max: 96 16; + aspect: 4.0 4.0; + aspect_preference: VERTICAL; + color: 255 255 255 255; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 255 255 255 255; + } + } + part { name: "button"; + type: RECT; + scale: 1; + clip_to: "clipper"; + mouse_events: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "bg"; + } + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bg"; + rel2.to: "bg"; + min: 16 16; + max: 16 16; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + dragable { + events: "button"; + } + description { state: "default" 0.0; + rel1.to_x: "bg"; + rel1.offset: 0 0; + rel1.relative: 0.0 0.0; + rel2.to_x: "bg"; + rel2.offset: -1 -1; + rel2.relative: 1.0 1.0; + color: 0 0 0 0; + } + } + part { name: "onrect"; + type: IMAGE; + scale: 1; + clip_to: "clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button"; + rel1.relative: -5.0 0.0; + rel2.to: "button"; + rel2.relative: 0.5 1.0; + image.normal: "tog_base_on.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "tog_dis_base_on.png"; + } + } + part { name: "offrect"; + type: IMAGE; + scale: 1; + clip_to: "clipper"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button"; + rel1.relative: 0.5 0.0; + rel2.to: "button"; + rel2.relative: 6.0 1.0; + image.normal: "tog_base_off.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "tog_dis_base_off.png"; + } + } + part { name: "elm.offtext"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_x: "button"; + rel1.relative: 1.0 0.0; + rel2.to_x: "offrect"; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 1; + align: 0.5 0.5; + text: "OFF"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "elm.ontext"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_x: "onrect"; + rel1.offset: 1 1; + rel2.to_x: "button"; + rel2.offset: 0 0; + rel2.relative: 0.0 1.0; + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 1; + align: 0.5 0.5; + text: "ON"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + color3: 0 0 0 24; + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel1.to: "bg"; + rel2.offset: 0 0; + rel2.to: "bg"; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "button0"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "button2"; + rel1.offset: -4 -4; + rel2.to: "button2"; + rel2.offset: 3 3; + image { + normal: "bt_bases.png"; + border: 11 11 11 11; + } + image.middle: SOLID; + color: 255 255 255 128; + } + } + part { name: "button2"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "button"; + rel1.offset: -2 -2; + rel2.to: "button"; + rel2.offset: 1 1; + image { + normal: "bt_basew.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + } + part { name: "button3"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "button2"; + rel2.to: "button2"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilightw.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.offset: 4 4; + rel2.relative: 0.0 1.0; + rel2.offset: 3 -5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + rel2.offset: 4 -5; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 4; + rel2.to_x: "bg"; + rel2.relative: 0.0 1.0; + rel2.offset: -5 -5; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + visible: 1; + text.min: 1 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "drag_end"; + signal: "mouse,up,1"; + source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + if (dx > 0.5) + { + set_drag(PART:"button", 1.0, 0.0); + } + else + { + set_drag(PART:"button", 0.0, 0.0); + } + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + emit("elm,action,check,on", ""); + } + else { + emit("elm,action,check,off", ""); + } + + } + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 100.0; + } + else { + drag = 0.0; + } + set_drag(PART:"button", drag, 0.0); + } + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 0.0; + } + else { + drag = 100.0; + } + set_drag(PART:"button", drag, 0.0); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.offtext"; + target: "elm.ontext"; + target: "onrect"; + target: "offrect"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); + else + set_state(PART:"elm.swallow.content", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "onrect"; + target: "offrect"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(is_rtl, 1); + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(is_rtl, 0); + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/clock.edc b/libraries/elementary/data/themes/widgets/clock.edc new file mode 100644 index 0000000..41390b1 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/clock.edc @@ -0,0 +1,1216 @@ +group { name: "elm/clock/flipdigit/default"; + images { + image: "flip_base.png" COMP; + image: "flip_base_shad.png" COMP; + image: "flip_shad.png" COMP; + image: "flip_0t.png" COMP; + image: "flip_0b.png" COMP; + image: "flip_1t.png" COMP; + image: "flip_1b.png" COMP; + image: "flip_2t.png" COMP; + image: "flip_2b.png" COMP; + image: "flip_3t.png" COMP; + image: "flip_3b.png" COMP; + image: "flip_4t.png" COMP; + image: "flip_4b.png" COMP; + image: "flip_5t.png" COMP; + image: "flip_5b.png" COMP; + image: "flip_6t.png" COMP; + image: "flip_6b.png" COMP; + image: "flip_7t.png" COMP; + image: "flip_7b.png" COMP; + image: "flip_8t.png" COMP; + image: "flip_8b.png" COMP; + image: "flip_9t.png" COMP; + image: "flip_9b.png" COMP; + image: "arrow_up.png" COMP; + image: "arrow_down.png" COMP; + } + script { + public v0_cur, v0_pre, v0_lock, v0_next; + + public animator2(val, Float:pos) { + new st1[11], st2[11], v; + + v = get_int(v0_cur); + snprintf(st1, 10, "%ih", v); + snprintf(st2, 10, "%i", v); + set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); + if (pos >= 1.0) { + set_state(PART:"sh", "default", 0.0); + set_int(v0_lock, 0); + v = get_int(v0_next); + if (v >= 0) { + set_int(v0_next, -1); + message(MSG_INT, 1, v); + } + } + } + public animator1(val, Float:pos) { + new st1[11], st2[11], v; + + v = get_int(v0_pre); + snprintf(st1, 10, "%i", v); + snprintf(st2, 10, "%ih", v); + set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); + if (pos >= 1.0) anim(0.2, "animator2", val); + } + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT) && (id == 1)) { + new value, v, buf[11]; + + value = getarg(2); + if (get_int(v0_lock) == 1) { + set_int(v0_next, value); + return; + } + v = get_int(v0_cur); + set_int(v0_pre, v); + set_int(v0_cur, value); + set_int(v0_lock, 1); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"bot0", buf, 0.0); + snprintf(buf, 10, "%ih", get_int(v0_cur)); + set_state(PART:"bot", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_cur)); + set_state(PART:"top0", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"top", buf, 0.0); + set_state(PART:"sh", "default", 0.0); + anim(0.2, "animator1", 1); + } + } + } + parts { + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.to: "base"; + rel2.offset: 3 3; + rel2.to: "base"; + image { + normal: "flip_base_shad.png"; + border: 8 8 8 8; + } + } + } + part { name: "base"; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + // FIXME 48x96 should be the native pixel design, right now + // its 80x160. fix int he artwork later + min: 24 48; + aspect: 0.5 0.5; + // max: 24 48; + image.normal: "flip_base.png"; + } + } + part { name: "b"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel1.relative: 0.0 0.5; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "t"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bot0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "flip_0b.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "flip_0b.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "flip_1b.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + image.normal: "flip_2b.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + image.normal: "flip_3b.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + image.normal: "flip_4b.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + image.normal: "flip_5b.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + image.normal: "flip_6b.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + image.normal: "flip_7b.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + image.normal: "flip_8b.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + image.normal: "flip_9b.png"; + } + } + part { name: "sh"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + rel2.relative: 1.0 0.0; + image.normal: "flip_shad.png"; + } + description { state: "half" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "bot"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "flip_0b.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_0b.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_0b.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_1b.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_1b.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_2b.png"; + } + description { state: "2h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_2b.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_3b.png"; + } + description { state: "3h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_3b.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_4b.png"; + } + description { state: "4h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_4b.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_5b.png"; + } + description { state: "5h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_5b.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_6b.png"; + } + description { state: "6h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_6b.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_7b.png"; + } + description { state: "7h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_7b.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_8b.png"; + } + description { state: "8h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_8b.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_9b.png"; + } + description { state: "9h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_9b.png"; + } + } + part { name: "top0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "flip_0t.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "flip_0t.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "flip_1t.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + image.normal: "flip_2t.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + image.normal: "flip_3t.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + image.normal: "flip_4t.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + image.normal: "flip_5t.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + image.normal: "flip_6t.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + image.normal: "flip_7t.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + image.normal: "flip_8t.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + image.normal: "flip_9t.png"; + } + } + part { name: "top"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "flip_0t.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_0t.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_0t.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_1t.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_1t.png"; + } + description { state: "2" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_2t.png"; + } + description { state: "2h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_2t.png"; + } + description { state: "3" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_3t.png"; + } + description { state: "3h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_3t.png"; + } + description { state: "4" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_4t.png"; + } + description { state: "4h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_4t.png"; + } + description { state: "5" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_5t.png"; + } + description { state: "5h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_5t.png"; + } + description { state: "6" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_6t.png"; + } + description { state: "6h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_6t.png"; + } + description { state: "7" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_7t.png"; + } + description { state: "7h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_7t.png"; + } + description { state: "8" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_8t.png"; + } + description { state: "8h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_8t.png"; + } + description { state: "9" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_9t.png"; + } + description { state: "9h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_9t.png"; + } + } + part { name: "atop"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 15 15; + max: 15 15; + align: 0.5 0.0; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "arrow_up.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "abot"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 15 15; + max: 15 15; + align: 0.5 1.0; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "arrow_down.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_int(v0_cur, 0); + set_int(v0_pre, 0); + set_int(v0_lock, 0); + set_int(v0_next, -1); + } + } + program { name: "edit_on"; + signal: "elm,state,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "atop"; + target: "abot"; + target: "t"; + target: "b"; + } + program { name: "edit_off"; + signal: "elm,state,edit,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "atop"; + target: "abot"; + target: "t"; + target: "b"; + } + program { name: "up"; + signal: "mouse,down,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "down"; + signal: "mouse,down,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + } +} + +group { name: "elm/clock/flipampm/default"; + images { + image: "flip_base.png" COMP; + image: "flip_base_shad.png" COMP; + image: "flip_shad.png" COMP; + image: "flip_amt.png" COMP; + image: "flip_amb.png" COMP; + image: "flip_pmt.png" COMP; + image: "flip_pmb.png" COMP; + image: "arrow_up.png" COMP; + image: "arrow_down.png" COMP; + } + script { + public v0_cur, v0_pre, v0_lock, v0_next; + + public animator2(val, Float:pos) { + new st1[11], st2[11], v; + + v = get_int(v0_cur); + snprintf(st1, 10, "%ih", v); + snprintf(st2, 10, "%i", v); + set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); + if (pos >= 1.0) { + set_state(PART:"sh", "default", 0.0); + set_int(v0_lock, 0); + v = get_int(v0_next); + if (v >= 0) { + set_int(v0_next, -1); + message(MSG_INT, 1, v); + } + } + } + public animator1(val, Float:pos) { + new st1[11], st2[11], v; + + v = get_int(v0_pre); + snprintf(st1, 10, "%i", v); + snprintf(st2, 10, "%ih", v); + set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); + set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); + if (pos >= 1.0) anim(0.2, "animator2", val); + } + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT) && (id == 1)) { + new value, v, buf[11]; + + value = getarg(2); + if (get_int(v0_lock) == 1) { + set_int(v0_next, value); + return; + } + v = get_int(v0_cur); + set_int(v0_pre, v); + set_int(v0_cur, value); + set_int(v0_lock, 1); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"bot0", buf, 0.0); + snprintf(buf, 10, "%ih", get_int(v0_cur)); + set_state(PART:"bot", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_cur)); + set_state(PART:"top0", buf, 0.0); + snprintf(buf, 10, "%i", get_int(v0_pre)); + set_state(PART:"top", buf, 0.0); + set_state(PART:"sh", "default", 0.0); + anim(0.2, "animator1", 1); + } + } + } + parts { + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.to: "base"; + rel2.offset: 3 3; + rel2.to: "base"; + image { + normal: "flip_base_shad.png"; + border: 8 8 8 8; + } + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + // FIXME 48x96 should be the native pixel design, right now + // its 80x160. fix int he artwork later + aspect: 0.5 0.5; + min: 24 48; + // max: 24 48; + image.normal: "flip_base.png"; + } + } + part { name: "b"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 0.5; + rel2.to: "base"; + color: 0 0 0 0; + } + } + part { name: "t"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + } + part { name: "bot0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "flip_amb.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "flip_amb.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "flip_pmb.png"; + } + } + part { name: "sh"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + rel2.relative: 1.0 0.0; + image.normal: "flip_shad.png"; + } + description { state: "half" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "bot"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "flip_amb.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_amb.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_amb.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + image.normal: "flip_pmb.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + image.normal: "flip_pmb.png"; + } + } + part { name: "top0"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "flip_amt.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + image.normal: "flip_amt.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + image.normal: "flip_pmt.png"; + } + } + part { name: "top"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "flip_amt.png"; + } + description { state: "0" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_amt.png"; + } + description { state: "0h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_amt.png"; + } + description { state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 0.0; + image.normal: "flip_pmt.png"; + } + description { state: "1h" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + image.normal: "flip_pmt.png"; + } + } + part { name: "atop"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 15 15; + max: 15 15; + align: 0.5 0.0; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "arrow_up.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "abot"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 15 15; + max: 15 15; + align: 0.5 1.0; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "arrow_down.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_int(v0_cur, 0); + set_int(v0_pre, 0); + set_int(v0_lock, 0); + set_int(v0_next, -1); + } + } + program { name: "edit_on"; + signal: "elm,state,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "atop"; + target: "abot"; + } + /* + program { name: "edit_off"; + signal: "elm,state,edit,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "atop"; + target: "abot"; + } + */ + program { name: "up"; + signal: "mouse,down,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "down"; + signal: "mouse,down,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + } +} + +group { name: "elm/clock/base-all/default"; + parts { + part { name: "d0"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0000000 0.0; + rel2.relative: 0.1250000 1.0; + } + } + part { name: "d1"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.1250000 0.0; + rel2.relative: 0.2500000 1.0; + } + } + part { name: "c0"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.2500000 0.0; + rel2.relative: 0.3125000 1.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + text: ":"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + } + part { name: "d2"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.3125000 0.0; + rel2.relative: 0.4375000 1.0; + } + } + part { name: "d3"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.4375000 0.0; + rel2.relative: 0.5625000 1.0; + } + } + // (if seconds) + part { name: "c1"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5625000 0.0; + rel2.relative: 0.6250000 1.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + text: ":"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + } + // (if seconds) + part { name: "d4"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.6250000 0.0; + rel2.relative: 0.7500000 1.0; + } + } + // (if seconds) + part { name: "d5"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.7500000 0.0; + rel2.relative: 0.8750000 1.0; + } + } + // (if am_pm) + part { name: "ampm"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.8750000 0.0; + rel2.relative: 1.0 1.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base-seconds/default"; + parts { + part { name: "d0"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.000000000 0.0; + rel2.relative: 0.142857143 1.0; + } + } + part { name: "d1"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.142857143 0.0; + rel2.relative: 0.285714286 1.0; + } + } + part { name: "c0"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.285714286 0.0; + rel2.relative: 0.357142857 1.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + text: ":"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + } + part { name: "d2"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.357142857 0.0; + rel2.relative: 0.500000000 1.0; + } + } + part { name: "d3"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.500000000 0.0; + rel2.relative: 0.642857143 1.0; + } + } + // (if seconds) + part { name: "c1"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.642857143 0.0; + rel2.relative: 0.714285714 1.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + text: ":"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + } + // (if seconds) + part { name: "d4"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.714285714 0.0; + rel2.relative: 0.857142857 1.0; + } + } + // (if seconds) + part { name: "d5"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.857142857 0.0; + rel2.relative: 1.000000000 1.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base-am_pm/default"; + parts { + part { name: "d0"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.000000000 0.0; + rel2.relative: 0.181818182 1.0; + } + } + part { name: "d1"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.181818182 0.0; + rel2.relative: 0.363636364 1.0; + } + } + part { name: "c0"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.363636364 0.0; + rel2.relative: 0.454545455 1.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + text: ":"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + } + part { name: "d2"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.454545455 0.0; + rel2.relative: 0.636363636 1.0; + } + } + part { name: "d3"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.636363636 0.0; + rel2.relative: 0.818181818 1.0; + } + } + // (if am_pm) + part { name: "ampm"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.818181818 0.0; + rel2.relative: 1.0 1.0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base/default"; + parts { + part { name: "d0"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.000000000 0.0; + rel2.relative: 0.222222222 1.0; + } + } + part { name: "d1"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.222222222 0.0; + rel2.relative: 0.444444444 1.0; + } + } + part { name: "c0"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.444444444 0.0; + rel2.relative: 0.555555556 1.0; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + text: ":"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + } + part { name: "d2"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.555555556 0.0; + rel2.relative: 0.777777778 1.0; + } + } + part { name: "d3"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.777777778 0.0; + rel2.relative: 1.000000000 1.0; + } + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/colorselector.edc b/libraries/elementary/data/themes/widgets/colorselector.edc new file mode 100644 index 0000000..5ae8d16 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/colorselector.edc @@ -0,0 +1,401 @@ +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/colorselector/palette/default"; + data.item: "horizontal_pad" "10"; + data.item: "vertical_pad" "10"; + parts { + part { name: "palette"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part{ name: "bottom_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 0 20; + fixed: 0 1; + rel1.relative: 0.0 1.0; + rel1.to: "palette"; + rel2.to: "palette"; + align: 0.0 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + min: 0 0; + } + } + part { name: "selector"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + to: "bottom_padding"; + } + } + } + } + programs { + program { name: "palette"; + source: "elm"; + signal: "elm,state,palette"; + action: STATE_SET "disabled" 0.0; + target: "bottom_padding"; + } + program { name: "components"; + source: "elm"; + signal: "elm,state,components"; + action: STATE_SET "disabled" 0.0; + target: "bottom_padding"; + } + program { name: "both"; + source: "elm"; + signal: "elm,state,both"; + action: STATE_SET "default" 0.0; + target: "bottom_padding"; + } + + } +} + +group { name: "elm/colorselector/bg/default"; + parts { + part { name: "elm.colorbar_0"; + type: SWALLOW; + description { state: "default" 0.0; + min: 120 30; + rel1.relative: 0.0 0.00653594771; + rel2.relative: 1.0 0.254901961; + } + } + part { name: "elm.colorbar_1"; + type: SWALLOW; + description { state: "default" 0.0; + min: 120 30; + rel1.relative: 0.0 0.254901961; + rel2.relative: 1.0 0.503267974; + } + } + part { name: "elm.colorbar_2"; + type: SWALLOW; + description { state: "default" 0.0; + min: 120 30; + rel1.relative: 0.0 0.503267974; + rel2.relative: 1.0 0.751633987; + } + } + part { name: "elm.colorbar_3"; + type: SWALLOW; + description { state: "default" 0.0; + min: 120 30; + rel1.relative: 0.0 0.751633987; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "elm/colorselector/base/default"; + parts { + part { name: "elm.bar_bg"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + min: 60 22; + rel1 { + relative: 0.0 0.8; + to_x: "elm.arrow_bg"; + to_y: "elm.arrow_icon"; + offset: 0 0; + } + rel2 { + relative: 1.0 0.83; + to_x: "elm.arrow_bg"; + offset: 0 0; + } + } + } + part { name: "elm.bar"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.bar_bg"; + rel2.to: "elm.bar_bg"; + } + } + part { name: "elm.arrow_bg"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.17; + offset: 3 0; + to_x: "elm.l_button"; + } + rel2 { + relative: 0.0 0.83; + offset: -4 0; + to_x: "elm.r_button"; + } + } + } + part { name: "elm.arrow"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 1 1; + fixed: 1 1; + align: 0 0; + rel1 { + to_x: "elm.arrow_bg"; + } + rel2 { + relative: 0.0 0.17; + to_x: "elm.arrow_bg"; + } + color: 0 0 0 0; + visible: 0; + } + dragable { + confine: "elm.arrow_bg"; + x: 1 1 0; + y: 0 0 0; + } + } + part { name: "elm.arrow_icon"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + min: 25 15; + max: 25 15; + fixed: 1 1; + align: 0.5 0; + rel1 { + to_x: "elm.arrow"; + } + rel2 { + relative: 1.0 0.0; + offset: 0 10; + to_x: "elm.arrow"; + } + } + } + part { name: "event"; + type: RECT; + description { state: "default" 0.0; + rel1 { + to: "elm.arrow_icon"; + } + rel2 { + to_x: "elm.arrow_icon"; + to_y: "elm.arrow_bg"; + offset: 0 0; + } + color: 0 0 0 0; + } + dragable { + events: "elm.arrow"; + } + } + part { name: "elm.l_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 24 24; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + to_y: "elm.bar_bg"; + } + rel2 { + relative: 0.0 1.0; + to_y: "elm.bar_bg"; + } + align: 0.0 0.5; + } + } + part { name: "elm.r_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 24 24; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + to_y: "elm.bar_bg"; + } + rel2 { + relative: 1.0 1.0; + to_y: "elm.bar_bg"; + } + align: 1.0 0.5; + } + } + } +} + +group{ name: "elm/colorselector/image/colorbar_0/default"; + images { + image: "color_picker_color.png" COMP; + } + parts { + part { name: "colorbar_0_image"; + type: IMAGE; + description { state: "default" 0.0; + rel2.offset: -1 -1; + image.normal: "color_picker_color.png"; + } + } + } +} + +group { name: "elm/colorselector/image/colorbar_1/default"; + images { + image: "color_picker_opacity.png" COMP; + } + parts { + part { name: "colorbar_1_image"; + type: IMAGE; + description { state: "default" 0.0; + rel2.offset: -1 -1; + image.normal: "color_picker_opacity.png"; + } + } + } +} + +group { name: "elm/colorselector/image/colorbar_2/default"; + images { + image: "color_picker_brightness.png" COMP; + } + parts { + part { name: "colorbar_2_image"; + type: IMAGE; + description { state: "default" 0.0; + rel2.offset: -1 -1; + image.normal: "color_picker_brightness.png"; + } + } + } +} + +group { name: "elm/colorselector/image/colorbar_3/default"; + images { + image: "color_picker_alpha.png" COMP; + } + parts { + part { name: "colorbar_3_image"; + type: IMAGE; + description { state: "default" 0.0; + rel2.offset: -1 -1; + image.normal: "color_picker_alpha.png"; + } + } + } +} + +group { name: "elm/colorselector/bg_image/colorbar_3/default"; + images { + image: "color_picker_alpha_bg.png" COMP; + } + parts { + part { name: "colorbar_3_image"; + type: IMAGE; + description { state: "default" 0.0; + rel2.offset: -1 -1; + image.normal: "color_picker_alpha_bg.png"; + } + } + } +} + +group { name: "elm/colorselector/arrow/default"; + images { + image: "icon_arrow_down.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "arrow_image"; + type: IMAGE; + description { state: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + } +} + +group { name: "elm/colorselector/item/default"; + parts { + part { name: "color_bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 40 40; + } + } + part { name: "color_obj"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + } + } + part { name: "focus_color"; + scale: 1; + type: RECT; + description { state: "default" 0.0; + visible: 0; + min: 38 38; + rel1.to: "color_bg"; + rel2.to: "color_bg"; + color: 255 255 255 80; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "item_focus"; + source: "elm"; + signal: "elm,state,selected"; + action: STATE_SET "focused" 0.0; + target: "focus_color"; + } + program { name: "item_unfocus"; + source: "elm"; + signal: "elm,state,unselected"; + action: STATE_SET "default" 0.0; + target: "focus_color"; + } + } +} + +group { name: "elm/colorselector/item/color/default"; + parts { + part { name: "color_rect"; + type: RECT; + scale: 1; + description{ state: "default" 0.0; + } + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/conformant.edc b/libraries/elementary/data/themes/widgets/conformant.edc new file mode 100644 index 0000000..373d41d --- /dev/null +++ b/libraries/elementary/data/themes/widgets/conformant.edc @@ -0,0 +1,53 @@ +group { name: "elm/conformant/base/default"; + parts { + part { name: "elm.swallow.indicator"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.5; + rel1.relative: 0.0 1.0; + rel1.to_y: "elm.swallow.indicator"; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.swallow.clipboard"; + } + } + part { name: "elm.swallow.clipboard"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 0.0; + rel1.to_y: "elm.swallow.virtualkeypad"; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.swallow.virtualkeypad"; + } + } + part { name: "elm.swallow.virtualkeypad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 0.0; + rel1.to_y: "elm.swallow.softkey"; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.swallow.softkey"; + } + } + part { name: "elm.swallow.softkey"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/ctxpopup.edc b/libraries/elementary/data/themes/widgets/ctxpopup.edc new file mode 100644 index 0000000..c07990c --- /dev/null +++ b/libraries/elementary/data/themes/widgets/ctxpopup.edc @@ -0,0 +1,1119 @@ +group { name: "elm/scroller/base/ctxpopup"; + data { + item: "focus_highlight" "on"; + } + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if(!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if(!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "bt_sm_base2.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "sl_bt2_2.png" COMP; + } + parts { + part { name: "clipper"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to:"sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2{ to:"clipper"; relative: 1.0 1.0; } + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.0; + rel1{ to:"clipper"; relative: 1.0 0.0; } + rel2{ to:"clipper"; relative: 1.0 1.0; } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + max: 10 99999; + rel1 { relative: 0.5 0.5; to: "sb_vbar"; } + rel2 { relative: 0.5 0.5; to: "sb_vbar"; } + image { normal: "bt_sm_base2.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + } + part { name: "sb_vbar_over1"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.vbar"; + image { normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + part { name: "sb_vbar_over2"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + image { normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2{ to:"clipper"; relative: 1.0 1.0; } + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 1.0; + rel1 { to:"clipper"; relative: 0.0 1.0; } + rel2 { to:"clipper"; relative: 1.0 1.0; } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + min: 17 10; + max: 99999 10; + fixed: 1 1; + rel1 { relative: 0.5 0.5; to: "sb_hbar"; } + rel2 { relative: 0.5 0.5; to: "sb_hbar"; } + image { normal: "bt_sm_base2.png"; + border: 4 4 4 4; + middle: SOLID; + } + } + } + part { name: "sb_hbar_over1"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.hbar"; + image { normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + part { name: "sb_hbar_over2"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + image { normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_int(sbvis_v, 0); + set_int(sbvis_h, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + } + } + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 1.0; + target: "sb_vbar_clip"; + } + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 1.0; + target: "sb_hbar_clip"; + } + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", "") + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/ctxpopup/bg/default"; + parts { + part { name: "ctxpopup_bg"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + } + } + } + programs { + program { name: "clicked_event"; + signal: "mouse,clicked,1"; + source: "ctxpopup_bg"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "ctxpopup_bg"; + transition: LINEAR 0.25; + } + program { name: "hide"; + signal: "elm,state,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "ctxpopup_bg"; + transition: LINEAR 0.25; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/ctxpopup/base/default"; + images { + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + } + parts { + part { name: "arrow_area_left"; + type: RECT; + mouse_events: 0; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + visible: 0; + min: 20 0; + fixed: 1 1; + align: 1 0.5; + rel1 { + to_y: "base"; + } + rel2 { + relative:0 1; + to:"base"; + } + } + } + part { name: "arrow_area_right"; + type: RECT; + mouse_events: 0; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + visible: 0; + min: 20 0; + fixed: 1 1; + align: 0 0.5; + rel1 { + relative: 1 0; + to:"base"; + } + rel2 { + to_y: "base"; + } + } + } + part { name: "arrow_area_up"; + type: RECT; + mouse_events: 0; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + visible: 0; + min: 0 20; + fixed: 1 1; + align: 0.5 1; + rel1 { + to_x: "base"; + } + rel2 { + relative: 1 0; + to:"base"; + } + } + } + part { name: "arrow_area_down"; + type: RECT; + mouse_events: 0; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + visible: 0; + min: 0 20; + fixed: 1 1; + align: 0.5 0; + rel1 { + relative: 0 1; + to:"base"; + } + rel2 { + to_x: "base"; + } + } + } + part { name: "elm.swallow.arrow_up"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "ctxpopup_clip"; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_up"; + } + description { state: "default" 0.0; + min: 36 20; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_down"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "ctxpopup_clip"; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_down"; + } + description { state: "default" 0.0; + min: 36 20; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_left"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "ctxpopup_clip"; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_left"; + } + description { state: "default" 0.0; + min: 20 36; + fixed: 1 1; + visible: 1; + } + } + part { name: "elm.swallow.arrow_right"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "ctxpopup_clip"; + dragable { + x: 1 1 0; + y: 1 1 0; + confine: "arrow_area_right"; + } + description { state: "default" 0.0; + min: 20 36; + fixed: 1 1; + visible: 1; + } + } + part { name: "base"; + scale: 1; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel2.offset: 3 3; + image { normal: "bt_base2.png"; + border: 7 7 7 7; + } + } + } + part { name: "over1"; + scale: 1; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + image { normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { name: "over2"; + scale: 1; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image { normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "ctxpopup_clip"; + description { state: "default" 0.0; + rel1 { to:"base"; offset: 4 4; } + rel2 { to:"base"; offset: -5 -5; } + } + } + part { name: "ctxpopup_clip"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1 { to:"base"; relative: 0 0; } + rel2 { to:"base"; relative: 0 1; } + } + description { state: "show_up" 0.0; + color: 255 255 255 0; + rel1 { to:"arrow_area_down"; relative: 0 1; } + rel2 { to:"arrow_area_down"; relative: 1 1; } + } + description { state: "show_left" 0.0; + color: 255 255 255 0; + rel1 { to:"arrow_area_right"; relative: 1 0; } + rel2 { to:"arrow_area_right"; relative: 1 1; } + } + description { state: "show_right" 0.0; + color: 255 255 255 0; + rel1 { to:"arrow_area_left"; relative: 0 0; } + rel2 { to:"arrow_area_left"; relative: 0 1; } + } + description { state: "show_down" 0.0; + color: 255 255 255 0; + rel1 { to:"arrow_area_up"; relative: 0 0; } + rel2 { to:"arrow_area_up"; relative: 1 0; } + } + description { state: "hide_up" 0.0; + color: 255 255 255 255; + rel1 { to:"arrow_area_down"; relative: 0 1; } + rel2 { to:"arrow_area_down"; relative: 1 1; } + } + description { state: "hide_left" 0.0; + color: 255 255 255 255; + rel1 { to:"arrow_area_right"; relative: 1 0; } + rel2 { to:"arrow_area_right"; relative: 1 1; } + } + description { state: "hide_right" 0.0; + color: 255 255 255 255; + rel1 { to:"arrow_area_left"; relative: 0 0; } + rel2 { to:"arrow_area_left"; relative: 0 1; } + } + description { state: "hide_down" 0.0; + color: 255 255 255 255; + rel1 { to:"arrow_area_up"; relative: 0 0; } + rel2 { to:"arrow_area_up"; relative: 1 0; } + } + description { state: "visible" 0.0; + color: 255 255 255 255; + rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; } + rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; } + } + } + } + programs { + program { name: "show"; + signal: "elm,state,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + } + program { name: "show_up"; + signal: "elm,state,show,up"; + source: "elm"; + action: STATE_SET "show_up" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + } + program { name: "show_left"; + signal: "elm,state,show,left"; + source: "elm"; + action: STATE_SET "show_left" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + } + program { name: "show_right"; + signal: "elm,state,show,right"; + source: "elm"; + action: STATE_SET "show_right" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + } + program { name: "show_down"; + signal: "elm,state,show,down"; + source: "elm"; + action: STATE_SET "show_down" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + } + program { name: "hide_up"; + signal: "elm,state,hide,up"; + source: "elm"; + action: STATE_SET "hide_up" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + after: "hide_finished"; + } + program { name: "hide_left"; + signal: "elm,state,hide,left"; + source: "elm"; + action: STATE_SET "hide_left" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + after: "hide_finished"; + } + program { name: "hide_right"; + signal: "elm,state,hide,right"; + source: "elm"; + action: STATE_SET "hide_right" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + after: "hide_finished"; + } + program { name: "hide_down"; + signal: "elm,state,hide,down"; + source: "elm"; + action: STATE_SET "hide_down" 0.0; + transition: LINEAR 0.25; + target: "ctxpopup_clip"; + after: "hide_finished"; + } + program { name: "hide_finished"; + action: SIGNAL_EMIT "elm,action,hide,finished" ""; + } + + } +} +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/ctxpopup/arrow/default"; + images { + image: "ctxpopup_arrow_left.png" COMP; + image: "ctxpopup_arrow_right.png" COMP; + image: "ctxpopup_arrow_up.png" COMP; + image: "ctxpopup_arrow_down.png" COMP; + } + parts { + part { name: "ctxpopup_arrow"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: 36 36; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "left" 0.0; + min: 20 36; + fixed: 1 1; + align: 0.0 0.5; + rel1 { offset: 3 0; } + rel2 { offset: 2 -1; } + image { normal: "ctxpopup_arrow_left.png"; } + } + description { state: "right" 0.0; + min: 20 36; + fixed: 1 1; + align: 1.0 0.5; + rel1 { offset: -5 0; } + rel2 { offset: -6 -1; } + image { normal: "ctxpopup_arrow_right.png"; } + } + description { state: "top" 0.0; + min: 36 20; + fixed: 1 1; + align: 0.5 0.0; + rel1 { offset: 0 5; } + rel2 { offset: -1 4; } + image { normal: "ctxpopup_arrow_up.png"; } + } + description { state: "bottom" 0.0; + min: 36 20; + fixed: 1 1; + align: 0.5 1.0; + rel1 { offset: 0 -5; } + rel2 { offset: -1 -6; } + image { normal: "ctxpopup_arrow_down.png"; } + } + } + } + programs { + program { name: "enable_left_arrow"; + signal: "elm,state,left"; + source: "elm"; + action: STATE_SET "left" 0.0; + target: "ctxpopup_arrow"; + } + program { name: "enable_right_arrow"; + signal: "elm,state,right"; + source: "elm"; + action: STATE_SET "right" 0.0; + target: "ctxpopup_arrow"; + } + program { name: "enable_top_arrow"; + signal: "elm,state,top"; + source: "elm"; + action: STATE_SET "top" 0.0; + target: "ctxpopup_arrow"; + } + program { name: "enable_bottom_arrow"; + signal: "elm,state,bottom"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "ctxpopup_arrow"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/default"; + alias: "elm/ctxpopup/text_style_item/default"; + alias: "elm/ctxpopup/icon_style_item/default"; + images { + image: "hoversel_entry_bg.png" COMP; + } + parts { + part { name: "event"; + mouse_events: 1; + description { state: "default" 0.0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image { normal:"hoversel_entry_bg.png"; + border: 0 0 2 2; + } + fill.smooth: 0; + color: 255 255 255 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 25 25; + max: 25 25; + align: 0 0.5; + aspect: 1.0 1.0; + rel1 { offset: 10 10; } + rel2 { offset: 0 -10; } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 1 40; + fixed: 0 1; + align: 0.5 0.5; + rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; } + rel2 { relative: 1.0 1.0; offset: -11 -1; } + color: 255 255 255 255; + text { + font: "Sans"; + size: 10; + align: 0.0 0.5; + min: 1 1; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } + part { name: "over1"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "enabled" 0.0; + color: 127 127 127 127; + } + } + part { name: "blocker"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "enabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "item_unclick"; + signal: "mouse,up,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "disclip"; + target: "blocker"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + target: "blocker"; + } + program { name: "item_click2"; + signal: "mouse,down,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "clicked", 0.0); + set_state(PART:"bg", "clicked", 0.0); + } + } + program { name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/item_compress/default"; + images { + image: "hoversel_entry_bg.png" COMP; + } + parts { + part { name: "event"; + mouse_events: 1; + description { state: "default" 0.0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image { normal:"hoversel_entry_bg.png"; + border: 0 0 2 2; + } + fill.smooth: 0; + color: 255 255 255 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 25 25; + max: 25 25; + align: 0 0.5; + aspect: 1.0 1.0; + rel1 { offset: 10 10; } + rel2 { offset: 0 -10; } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 1 40; + fixed: 0 1; + align: 0.5 0.5; + rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; } + rel2 { relative: 1.0 1.0; } + color: 255 255 255 255; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } + part { name: "over1"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "enabled" 0.0; + color: 127 127 127 127; + } + } + part { name: "blocker"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "enabled" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "item_unclick"; + signal: "mouse,up,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "disclip"; + target: "blocker"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + target: "blocker"; + } + program { name: "item_click2"; + signal: "mouse,down,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "clicked", 0.0); + set_state(PART:"bg", "clicked", 0.0); + } + } + program { name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/datetime.edc b/libraries/elementary/data/themes/widgets/datetime.edc new file mode 100644 index 0000000..fe68ab3 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/datetime.edc @@ -0,0 +1,349 @@ +/////////////////////////////////////////////////////////////////////////////// +// datetime +/////////////////////////////////////////////////////////////////////////////// + +#define DATETIME_FIELD(_pos) \ + part {\ + name: "field"#_pos; \ + type: SWALLOW; \ + scale: 1;\ + clip_to: "clipper";\ + description { state: "default" 0.0; \ + visible: 0;\ + min: 0 0;\ + align: 0.0 0.5;\ + fixed: 1 0;\ + rel1 {\ + relative: 1.0 0.0;\ + to: "separator"#_pos;\ + }\ + rel2 {\ + relative: 1.0 1.0;\ + to: "separator"#_pos;\ + }\ + }\ + description { state: "enable" 0.0;\ + inherit: "default" 0.0;\ + visible: 1;\ + min: 25 25;\ + }\ + }\ + programs{\ + program {\ + name: "field_"#_pos"enabled";\ + signal: "field"#_pos",enable";\ + source: "elm";\ + action: STATE_SET "enable" 0.0;\ + target: "field"#_pos;\ + }\ + program {\ + name: "field_"#_pos"disabled";\ + signal: "field"#_pos",disable";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + target: "field"#_pos;\ + }\ + } + +#define DATETIME_SEPARATOR(_pos,_after) \ + part {\ + name: "separator"#_pos; \ + type: TEXT;\ + scale: 1;\ + description {\ + state: "default" 0.0;\ + visible: 0;\ + min: 0 0;\ + align: 0.0 0.5;\ + fixed: 1 0;\ + rel1 {\ + relative: 1.0 0.0;\ + to: "field"#_after;\ + }\ + rel2 {\ + relative: 1.0 1.0;\ + to: "field"#_after;\ + }\ + color: 100 100 100 255;\ + text {\ + font: "SLP:style=Roman";\ + size: 13;\ + min: 1 0;\ + align: 0.2 0.5;\ + }\ + }\ + description { state: "enable" 0.0;\ + inherit: "default" 0.0;\ + visible: 1;\ + min: 13 25;\ + }\ + }\ + programs {\ + program {\ + name: "separator"#_pos",enabled";\ + signal: "field"#_after",enable";\ + source: "elm";\ + action: STATE_SET "enable" 0.0;\ + target: "separator"#_pos;\ + }\ + program {\ + name: "separator"#_pos",disabled";\ + signal: "field"#_after",disable";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + target: "separator"#_pos;\ + }\ + } + + +group { name: "elm/datetime/base/default"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "separator0"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 13 25; + align: 0.0 0.5; + fixed: 1 0; + rel2 { + relative: 0.0 1.0; + to: "bg"; + } + } + } + DATETIME_FIELD(0) + DATETIME_SEPARATOR(1,0) + DATETIME_FIELD(1) + DATETIME_SEPARATOR(2,1) + DATETIME_FIELD(2) + DATETIME_SEPARATOR(3,2) + DATETIME_FIELD(3) + DATETIME_SEPARATOR(4,3) + DATETIME_FIELD(4) + DATETIME_SEPARATOR(5,4) + DATETIME_FIELD(5) + DATETIME_SEPARATOR(6,5) + part { + name: "clipper"; + type: RECT; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "separator0"; + } + rel2 { + relative: 1.0 1.0; + to: "separator6"; + } + color: 255 255 255 255; + } + description { state: "enable" 0.0; + inherit: "default" 0.0; + color: 255 255 255 127; + } + } + part { + name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "disble_datetime"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "disabler"; + target: "clipper"; + } + program { + name: "enable_datetime"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "clipper"; + } + } +}//end datetime group + +/////////////////////////////////////////////////////////////////////////////// +// diskselector item : datetime style +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/diskselector/item/datetime/default"; + data { + item: "len_threshold" "10"; + item: "min_height" "-1"; + item: "min_width" "-1"; + } + parts { + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 25 25; + fixed: 1 1; + align: 0.0 0.0; + color: 172 172 172 255; + visible: 1; + text { + font: "Sans,Edje-Vera"; + size: 13; + min: 1 1; + } + } + description { + state: "center_sel" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "left_side" 0.0; + inherit: "default" 0.0; + color: 152 152 152 255; + text.size: 10; + text.align: 0.2 0.5; + } + description { state: "left_side_sel" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + text.size: 10; + text.align: 0.2 0.5; + } + description { state: "right_side" 0.0; + inherit: "default" 0.0; + color: 152 152 152 255; + text.size: 10; + text.align: 0.8 0.5; + } + description { state: "right_side_sel" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + text.size: 10; + text.align: 0.8 0.5; + } + } + part { + name: "over1"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + } + } + } + programs { + script { + public field_pos; // center = 0,left = 1, right =2. + public field_selected; //field is selected(1) or not(0). + + public update_state() { + new pos, is_sel; + pos = get_int(field_pos) + is_sel = get_int(field_selected); + + if (is_sel == 1) + { + if (pos == 0) + set_state(PART:"elm.text", "center_sel", 0.0); + else if (pos == 1) + set_state(PART:"elm.text", "left_side_sel", 0.0); + else if (pos == 2) + set_state(PART:"elm.text", "right_side_sel", 0.0); + } + else if (is_sel == 0) + { + if (pos == 0) + set_state(PART:"elm.text", "default", 0.0); + else if (pos == 1) + set_state(PART:"elm.text", "left_side", 0.0); + else if (pos == 2) + set_state(PART:"elm.text", "right_side", 0.0); + } + } + } + program { + name: "selected_text"; + signal: "elm,state,selected"; + source: "elm"; + script { + set_int(field_selected, 1); + update_state(); + } + } + program { + name: "default_text"; + signal: "elm,state,default"; + source: "elm"; + script { + set_int(field_selected, 0); + update_state(); + } + } + program { name: "center_text"; + signal: "elm,state,center"; + source: "elm"; + script { + set_int(field_pos, 0); + update_state(); + } + } + program { name: "center_small_text"; + signal: "elm,state,center_small"; + source: "elm"; + script { + set_int(field_pos, 0); + update_state(); + } + } + program { name: "l_side_text"; + signal: "elm,state,left_side"; + source: "elm"; + script { + set_int(field_pos, 1); + update_state(); + } + } + program { name: "r_side_text"; + signal: "elm,state,right_side"; + source: "elm"; + script { + set_int(field_pos, 2); + update_state(); + } + } + program { + name: "field_click"; + signal: "mouse,clicked,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +// end of datetime style +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/dayselector.edc b/libraries/elementary/data/themes/widgets/dayselector.edc new file mode 100644 index 0000000..fb140b7 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/dayselector.edc @@ -0,0 +1,478 @@ +#define DAYSELECOR_DAY_POS_LEFT 1 +#define DAYSELECOR_DAY_POS_RIGHT 2 +#define DAYSELECOR_DAY_POS_MIDDLE 3 +#define DAYSELECOR_DAY_TYPE_WEEKDAY 1 +#define DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT 2 +#define DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 3 +#define DAYSELECOR_DAY_STATE_DEFAULT 1 +#define DAYSELECOR_DAY_STATE_PRESSED 2 +#define DAYSELECOR_DAY_STATE_SELECTED 3 + +#define DAYSELECTOR_DAY(_pos, _after)\ + part {\ + name: "day"#_pos;\ + type: SWALLOW;\ + scale: 1;\ + clip_to: "clipper";\ + description { state: "default" 0.0;\ + visible: 0;\ + min: 0 0;\ + align: 0.0 0.5;\ + fixed: 1 0;\ + rel1 {\ + relative: 1.0 0.0;\ + to: "day"#_after;\ + offset: 1 0;\ + }\ + rel2 {\ + relative: 1.0 1.0;\ + to: "day"#_after;\ + }\ + }\ + description { state: "visible" 0.0;\ + inherit: "default" 0.0;\ + visible: 1;\ + min: 40 25;\ + }\ + }\ + programs{\ + program {\ + name: "day"#_pos"visible";\ + signal: "day"#_pos",visible";\ + source: "elm";\ + action: STATE_SET "visible" 0.0;\ + target: "day"#_pos;\ + }\ + program {\ + name: "day"#_pos"notvisible";\ + signal: "day"#_pos",default";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + target: "day"#_pos;\ + }\ + } + +group { + name: "elm/dayselector/base/default"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { + state: "default" 0.0; + rel1 { + relative: 0.5 0.0; + to: "day0"; + } + rel2 { + relative: 0.5 1.0; + to: "day6"; + } + color: 199 199 199 255; + } + } + part { + name: "day0"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { + state: "default" 0.0; + visible: 0; + min: 0 0; + align: 0.0 0.5; + fixed: 1 0; + rel2.relative: 0.0 1.0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 40 25; + } + } + DAYSELECTOR_DAY(1, 0) + DAYSELECTOR_DAY(2, 1) + DAYSELECTOR_DAY(3, 2) + DAYSELECTOR_DAY(4, 3) + DAYSELECTOR_DAY(5, 4) + DAYSELECTOR_DAY(6, 5) + part { + name: "clipper"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "day0"; + rel2.to: "day6"; + color: 255 255 255 255; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 200 200 200 255; + } + } + part { + name: "disabler"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "disble_dayselector"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "disabler"; + target: "clipper"; + } + program { + name: "enable_dayselector"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "clipper"; + } + program { + name: "day0_visible"; + signal: "day0,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "day0"; + } + program { + name: "day0_default"; + signal: "day0,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "day0"; + } + } +} + +group { + name: "elm/check/base/dayselector/default"; + images { + image: "seg_single_normal.png" COMP; + image: "seg_left_normal.png" COMP; + image: "seg_left_pressed.png" COMP; + image: "seg_left_selected.png" COMP; + image: "seg_right_normal.png" COMP; + image: "seg_right_pressed.png" COMP; + image: "seg_right_selected.png" COMP; + image: "seg_middle_normal.png" COMP; + image: "seg_middle_pressed.png" COMP; + image: "seg_middle_selected.png" COMP; + } + script { + public check_pos; // Left, Right, Middle. + public check_type; // Weekday, Weekend. + public check_state = DAYSELECOR_DAY_STATE_DEFAULT; // Default, Pressed, Selected. + + public check_bg_show() { + if(get_int(check_pos) == DAYSELECOR_DAY_POS_LEFT) { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) + set_state(PART:"bg", "default_left", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) + set_state(PART:"bg", "pressed_left", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) + set_state(PART:"bg", "selected_left", 0.0); + } + else if(get_int(check_pos) == DAYSELECOR_DAY_POS_RIGHT) { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) + set_state(PART:"bg", "default_right", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) + set_state(PART:"bg", "pressed_right", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) + set_state(PART:"bg", "selected_right", 0.0); + } + else if(get_int(check_pos) == DAYSELECOR_DAY_POS_MIDDLE) { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) + set_state(PART:"bg", "default_middle", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) + set_state(PART:"bg", "pressed_middle", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) + set_state(PART:"bg", "selected_middle", 0.0); + } + } + public check_text_show() { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) + set_state(PART:"elm.text", "selected", 0.0); + else { + if(get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKDAY) + set_state(PART:"elm.text", "default", 0.0); + else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT) + set_state(PART:"elm.text", "weekend_default", 0.0); + else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1) + set_state(PART:"elm.text", "weekend_style1", 0.0); + } + } + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + image { + normal: "seg_single_normal.png"; + border: 7 7 7 7; + border_scale: 1; + middle: 1; + } + } + description { state: "default_left" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_left_normal.png"; + border: 6 1 7 7; + } + } + description { state: "default_right" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_right_normal.png"; + border: 1 6 7 7; + } + } + description { state: "default_middle" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_middle_normal.png"; + border: 2 2 2 2; + } + } + description { state: "pressed_left" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_left_pressed.png"; + border: 6 1 7 7; + } + } + description { state: "pressed_right" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_right_pressed.png"; + border: 1 6 7 7; + } + } + description { state: "pressed_middle" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_middle_pressed.png"; + border: 1 1 2 2; + } + } + description { state: "selected_left" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_left_selected.png"; + border: 6 3 7 7; + } + } + description { state: "selected_right" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_right_selected.png"; + border: 3 6 7 7; + } + } + description { state: "selected_middle" 0.0; + inherit: "default" 0.0; + image { + normal: "seg_middle_selected.png"; + border: 3 3 3 3; + } + } + } + part { + name: "left_padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 5 0; + visible: 0; + fixed: 1 0; + align: 0.0 0.5; + rel2 { + relative: 0.0 1.0; + } + } + } + part { + name: "right_padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 5 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "left_padding"; + relative: 1.0 0.0; + } + rel2 { + to: "right_padding"; + relative: 0.0 1.0; + } + color: 224 224 224 255; + text { + font: "Sans,Edje-Vera"; + size: 20; + min: 1 1; + } + } + description { + state: "weekend_default" 0.0; + inherit: "default" 0.0; + color: 225 49 8 255; + } + description { + state: "weekend_style1" 0.0; + inherit: "default" 0.0; + color: 60 100 255 255; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 50 50 50 255; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "check,pressed"; + signal: "mouse,down,1"; + source: "events"; + script { + set_int(check_state, DAYSELECOR_DAY_STATE_PRESSED); + check_bg_show(); + } + } + program { + name: "check,toggle"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { + name: "check,on"; + signal: "elm,state,check,on"; + source: "elm"; + script { + set_int(check_state, DAYSELECOR_DAY_STATE_SELECTED); + check_bg_show(); + check_text_show(); + } + } + program { + name: "check,off"; + signal: "elm,state,check,off"; + source: "elm"; + script { + set_int(check_state, DAYSELECOR_DAY_STATE_DEFAULT); + check_bg_show(); + check_text_show(); + } + } + program { name: "check,left"; + signal: "elm,pos,check,left"; + source: "elm"; + script { + set_int(check_pos, DAYSELECOR_DAY_POS_LEFT); + check_bg_show(); + } + } + program { name: "check,right"; + signal: "elm,pos,check,right"; + source: "elm"; + script { + set_int(check_pos, DAYSELECOR_DAY_POS_RIGHT); + check_bg_show(); + } + } + program { name: "check,middle"; + signal: "elm,pos,check,middle"; + source: "elm"; + script { + set_int(check_pos, DAYSELECOR_DAY_POS_MIDDLE); + check_bg_show(); + } + } + program { name: "check,weekday"; + signal: "elm,type,weekday,default"; + source: ""; + script { + set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKDAY); + check_text_show(); + } + } + program { name: "check,weekend,default"; + signal: "elm,type,weekend,default"; + source: ""; + script { + set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT); + check_text_show(); + } + } + program { name: "check,weekend,style1"; + signal: "elm,type,weekend,style1"; + source: ""; + script { + set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1); + check_text_show(); + } + } + } +} + +#undef DAYSELECOR_DAY_POS_LEFT +#undef DAYSELECOR_DAY_POS_RIGHT +#undef DAYSELECOR_DAY_POS_MIDDLE +#undef DAYSELECOR_DAY_TYPE_WEEKDAY +#undef DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT +#undef DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 +#undef DAYSELECOR_DAY_STATE_DEFAULT +#undef DAYSELECOR_DAY_STATE_PRESSED +#undef DAYSELECOR_DAY_STATE_SELECTED +#undef DAYSELECTOR_DAY diff --git a/libraries/elementary/data/themes/widgets/diskselector.edc b/libraries/elementary/data/themes/widgets/diskselector.edc new file mode 100644 index 0000000..97b3663 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/diskselector.edc @@ -0,0 +1,185 @@ +group { name: "elm/diskselector/base/default"; + images { + image: "bar_shine.png" COMP; + } + + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + } + } + part { name: "shine_left"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: -0.1 0; + rel2.to: "bg"; + rel2.relative: 0.1 1; + image.normal: "bar_shine.png"; + color: 255 255 255 120; + } + } + part { name: "shine_center"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.2 0; + rel2.to: "bg"; + rel2.relative: 0.8 1; + image.normal: "bar_shine.png"; + color: 255 255 255 180; + } + } + part { name: "shine_right"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.9 0; + rel2.to: "bg"; + rel2.relative: 1.1 1; + image.normal: "bar_shine.png"; + color: 255 255 255 120; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } +} + +group { name: "elm/diskselector/item/default"; + + data { + item: "len_threshold" "14"; + item: "display_item_num" "3"; + item: "min_height" "-1"; + item: "min_width" "-1"; + } + + parts { + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0 0; + offset: 4 4; + } + rel2 { + relative: 0 1; + offset: 4 -5; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + } + description { state: "default_small" 0.0; + inherit: "default" 0.0; + rel1.relative: 0 0.2; + rel2.relative: 0 0.8; + } + description { state: "left_side" 0.0; + inherit: "default" 0.0; + rel1.relative: 0 0.2; + rel2.relative: 0 0.8; + color: 255 255 255 160; + } + description { state: "right_side" 0.0; + inherit: "left_side" 0.0; + rel1.relative: 0.4 0.2; + rel2.relative: 0.4 0.8; + color: 255 255 255 160; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1 0.0; + rel1.to_x: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + visible: 0; + text { + font: "Sans,Edje-Vera"; + size: 13; + align: 0.5 0.5; + min: 0 1; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_small" 0.0; + inherit: "default" 0.0; + visible: 1; + text.size: 10; + } + description { state: "left_side" 0.0; + inherit: "default" 0.0; + color: 172 172 172 255; + text.size: 10; + visible: 1; + text.align: 0.2 0.5; + } + description { state: "right_side" 0.0; + inherit: "default" 0.0; + color: 172 172 172 255; + visible: 1; + text.size: 10; + text.align: 0.8 0.5; + } + } + } + + programs { + program { name: "center_text"; + signal: "elm,state,center"; + source: "elm"; + action: STATE_SET "show" 0.0; + target: "elm.text"; + target: "elm.swallow.icon"; + } + program { name: "center_small_text"; + signal: "elm,state,center_small"; + source: "elm"; + action: STATE_SET "default_small" 0.0; + target: "elm.text"; + target: "elm.swallow.icon"; + } + program { name: "l_side_text"; + signal: "elm,state,left_side"; + source: "elm"; + action: STATE_SET "left_side" 0.0; + target: "elm.text"; + target: "elm.swallow.icon"; + } + program { name: "r_side_text"; + signal: "elm,state,right_side"; + source: "elm"; + action: STATE_SET "right_side" 0.0; + target: "elm.text"; + target: "elm.swallow.icon"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/entry.edc b/libraries/elementary/data/themes/widgets/entry.edc new file mode 100644 index 0000000..6fbee9d --- /dev/null +++ b/libraries/elementary/data/themes/widgets/entry.edc @@ -0,0 +1,1396 @@ +group { name: "elm/scroller/entry/default"; + + data { + item: "focus_highlight" "on"; + } + + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "shelf_inset.png" COMP; + image: "bt_sm_base2.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "sl_bt2_2.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "contentclipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel2.to: "elm.swallow.end"; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "bg"; + relative: -1.0 0.0; + offset: 0 0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + offset: -1 -1; + } + visible: 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + align: 0.0 1.0; + rel1 { + to: "bg"; + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + offset: -1 -1; + } + visible: 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "bg"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + offset: -1 -1; + } + visible: 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + to: "bg"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + offset: -1 -1; + } + visible: 1; + } + } + part { name: "elm.swallow.content"; + clip_to: "contentclipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -5 -5; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 10 17; + align: 1.0 0.0; + rel1 { + relative: 0.0 0.0; + offset: -2 2; + to_y: "elm.swallow.content"; + to_x: "elm.swallow.end"; + } + rel2 { + relative: 0.0 0.0; + offset: -2 -1; + to_y: "sb_hbar"; + to_x: "elm.swallow.end"; + } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + max: 10 99999; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + } + part { name: "sb_vbar_over1"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + part { name: "sb_vbar_over2"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 17 10; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 2 0; + to_x: "elm.swallow.content"; + to_y: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_x: "sb_vbar"; + to_y: "elm.swallow.content"; + } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + max: 99999 10; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 4 4 4 4; + middle: SOLID; + } + } + } + part { name: "sb_hbar_over1"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "sb_hbar_over2"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_shine.png"; + border: 4 4 4 0; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + } + } + program { name: "icon_show"; + signal: "elm,action,show,icon"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,action,hide,icon"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,action,show,end"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,action,hide,end"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +// emoticon images from: +// Tanya - Latvia +// http://lazycrazy.deviantart.com/ +// http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621 +group { name: "elm/entry/emoticon/angry/default"; images.image: + "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-angry.png"; } } } } +group { name: "elm/entry/emoticon/angry-shout/default"; images.image: + "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-angry-shout.png"; } } } } +group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image: + "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-crazy-laugh.png"; } } } } +group { name: "elm/entry/emoticon/evil-laugh/default"; images.image: + "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-evil-laugh.png"; } } } } +group { name: "elm/entry/emoticon/evil/default"; images.image: + "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-evil.png"; } } } } +group { name: "elm/entry/emoticon/goggle-smile/default"; images.image: + "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-goggle-smile.png"; } } } } +group { name: "elm/entry/emoticon/grumpy/default"; images.image: + "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-grumpy.png"; } } } } +group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image: + "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-grumpy-smile.png"; } } } } +group { name: "elm/entry/emoticon/guilty/default"; images.image: + "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-guilty.png"; } } } } +group { name: "elm/entry/emoticon/guilty-smile/default"; images.image: + "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-guilty-smile.png"; } } } } +group { name: "elm/entry/emoticon/haha/default"; images.image: + "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-haha.png"; } } } } +group { name: "elm/entry/emoticon/half-smile/default"; images.image: + "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-half-smile.png"; } } } } +group { name: "elm/entry/emoticon/happy-panting/default"; images.image: + "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-happy-panting.png"; } } } } +group { name: "elm/entry/emoticon/happy/default"; images.image: + "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-happy.png"; } } } } +group { name: "elm/entry/emoticon/indifferent/default"; images.image: + "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-indifferent.png"; } } } } +group { name: "elm/entry/emoticon/kiss/default"; images.image: + "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-kiss.png"; } } } } +group { name: "elm/entry/emoticon/knowing-grin/default"; images.image: + "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-knowing-grin.png"; } } } } +group { name: "elm/entry/emoticon/laugh/default"; images.image: + "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-laugh.png"; } } } } +group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image: + "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-little-bit-sorry.png"; } } } } +group { name: "elm/entry/emoticon/love-lots/default"; images.image: + "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-love-lots.png"; } } } } +group { name: "elm/entry/emoticon/love/default"; images.image: + "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-love.png"; } } } } +group { name: "elm/entry/emoticon/minimal-smile/default"; images.image: + "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-minimal-smile.png"; } } } } +group { name: "elm/entry/emoticon/not-happy/default"; images.image: + "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-not-happy.png"; } } } } +group { name: "elm/entry/emoticon/not-impressed/default"; images.image: + "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-not-impressed.png"; } } } } +group { name: "elm/entry/emoticon/omg/default"; images.image: + "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-omg.png"; } } } } +group { name: "elm/entry/emoticon/opensmile/default"; images.image: + "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-opensmile.png"; } } } } +group { name: "elm/entry/emoticon/smile/default"; images.image: + "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-smile.png"; } } } } +group { name: "elm/entry/emoticon/sorry/default"; images.image: + "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-sorry.png"; } } } } +group { name: "elm/entry/emoticon/squint-laugh/default"; images.image: + "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-squint-laugh.png"; } } } } +group { name: "elm/entry/emoticon/surprised/default"; images.image: + "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-surprised.png"; } } } } +group { name: "elm/entry/emoticon/suspicious/default"; images.image: + "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-suspicious.png"; } } } } +group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image: + "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-tongue-dangling.png"; } } } } +group { name: "elm/entry/emoticon/tongue-poke/default"; images.image: + "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-tongue-poke.png"; } } } } +group { name: "elm/entry/emoticon/uh/default"; images.image: + "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-uh.png"; } } } } +group { name: "elm/entry/emoticon/unhappy/default"; images.image: + "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-unhappy.png"; } } } } +group { name: "elm/entry/emoticon/very-sorry/default"; images.image: + "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-very-sorry.png"; } } } } +group { name: "elm/entry/emoticon/what/default"; images.image: + "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-what.png"; } } } } +group { name: "elm/entry/emoticon/wink/default"; images.image: + "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-wink.png"; } } } } +group { name: "elm/entry/emoticon/worried/default"; images.image: + "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-worried.png"; } } } } +group { name: "elm/entry/emoticon/wtf/default"; images.image: + "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-wtf.png"; } } } } + //------------------------------------------------------------ +group { name: "elm/entry/base/default"; + styles + { + style { name: "entry_textblock_style"; + base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_textblock_disabled_style"; + base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_textblock_guide_style"; + base: "font=Sans font_size=10 color=#00000040 wrap=word text_class=entry left_margin=4 right_margin=4 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } + data { + // item: context_menu_orientation "horizontal"; + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale: 1; + entry_mode: EDITABLE; + select_mode: EXPLICIT; + multiline: 1; + source: "elm/entry/selection/default"; // selection under + // source2: "X"; // selection over + // source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + // source6: "X"; // anchor over + description { state: "default" 0.0; + /* we gotta use 0 0 here, because of scrolled entries */ + fixed: 0 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "gdisable"; + signal: "elm,guide,disabled"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { name: "genable"; + signal: "elm,guide,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + } +} + +group { name: "elm/entry/base-mixedwrap/default"; + inherit: "elm/entry/base/default"; + styles + { + style { name: "entry_textblock_style_mixedwrap"; + base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_textblock_disabled_style_mixedwrap"; + base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_textblock_guide_style_mixedwrap"; + base: "font=Sans font_size=10 color=#00000040 wrap=mixed text_class=entry left_margin=4 right_margin=4 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style_mixedwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style_mixedwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_mixedwrap"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base-charwrap/default"; + inherit: "elm/entry/base/default"; + styles + { + style { name: "entry_textblock_style_charwrap"; + base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_textblock_disabled_style_charwrap"; + base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_textblock_guide_style_charwrap"; + base: "font=Sans font_size=10 color=#00000040 wrap=char text_class=entry left_margin=4 right_margin=4 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_charwrap"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base-nowrap/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base-single/default"; + inherit: "elm/entry/base/default"; + styles + { + style { name: "entry_single_textblock_style"; + base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#800 underline=on underline_color=#8008"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_single_textblock_disabled_style"; + base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry left_margin=4 right_margin=4"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#000"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; + } + style { name: "entry_single_textblock_guide_style"; + base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry left_margin=4 right_margin=4 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + multiline: 0; + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-single-noedit/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-noedit/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-noedit-mixedwrap/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style_mixedwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_mixedwrap"; + } + } + } + } +} + +group { name: "elm/entry/base-noedit-charwrap/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + text { + style: "entry_textblock_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style_charwrap"; + } + } + } + } +} + +group { name: "elm/entry/base-nowrap-noedit/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_textblock_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-password/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.guide"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + style: "entry_single_textblock_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + entry_mode: PASSWORD; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source4: "elm/entry/cursor/default"; // cursorover + source5: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { + style: "entry_single_textblock_style"; + repch: "*"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { + style: "entry_single_textblock_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/cursor/default"; + images { + image: "cur_box.png" COMP; + image: "cur_hi.png" COMP; + image: "cur_shad.png" COMP; + image: "cur_shine.png" COMP; + image: "cur_glow.png" COMP; + } + parts { + part { name: "clip2"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "clip"; + type: RECT; + mouse_events: 0; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.offset: -10 0; + rel2.offset: 9 9; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bg"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: -2 0; + rel2.to: "base"; + rel2.offset: 1 1; + image.border: 2 2 2 2; + image.normal: "cur_shad.png"; + } + } + part { name: "base"; + mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + min: 2 2; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -1; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + image.normal: "cur_box.png"; + } + } + part { name: "hi"; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + image.normal: "cur_hi.png"; + } + } + part { name: "shine"; + mouse_events: 0; + clip_to: "clip"; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.75; + image.border: 2 2 1 0; + image.normal: "cur_shine.png"; + fill.smooth: 0; + } + } + part { name: "glow"; + mouse_events: 0; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 -2.0; + rel1.offset: -2 0; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: 1 1; + image.border: 2 2 0 4; + image.normal: "cur_glow.png"; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + source: ""; + action: STATE_SET "hidden" 0.0; + in: 1.0 0.0; + transition: DECELERATE 2.0; + target: "glow"; + after: "show2"; + } + program { name: "show2"; + action: STATE_SET "hidden" 0.0; + in: 0.2 0.0; + target: "clip"; + after: "show3"; + } + program { name: "show3"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + target: "clip"; + after: "show4"; + } + program { name: "show4"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + transition: DECELERATE 0.5; + target: "glow"; + after: "show"; + } + program { name: "focused"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "focused" 0.0; + target: "clip2"; + } + program { name: "unfocused"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip2"; + } + } +} + +group { name: "elm/entry/selection/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 128 128 128 128; + } + } + } +} + +group { name: "elm/entry/anchor/default"; + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 128 0 0 64; + } + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/fileselector.edc b/libraries/elementary/data/themes/widgets/fileselector.edc new file mode 100644 index 0000000..9013a09 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/fileselector.edc @@ -0,0 +1,160 @@ +group { name: "elm/entry/path/separator/default"; + images.image: "arrow_right.png" COMP; + parts { + part { name: "icon"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "arrow_right.png"; + max: 64 64; + aspect: 1.0 1.0; + } + } + } +} + +group { name: "elm/fileselector/base/default"; + data { + item: "path_separator" ""; + } + parts { + part { name: "elm.swallow.up"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 10 10; + fixed: 1 1; + rel2 { + relative: 0.0 0.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.home"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 10 10; + fixed: 1 1; + rel1 { + to: "elm.swallow.up"; + relative: 1.0 0.0; + offset: 5 0; + } + rel2 { + to: "elm.swallow.up"; + relative: 1.0 1.0; + offset: 20 -1; + } + } + } + part { name: "elm.swallow.files"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + min: 10 10; + fixed: 1 1; + rel1 { + to_y: "elm.swallow.home"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to_y: "elm.swallow.path"; + relative: 1.0 0.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.path"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + rel1 { + to_y: "elm.swallow.filename"; + relative: 0.0 0.0; + offset: 0 -1; + } + rel2 { + to_y: "elm.swallow.filename"; + relative: 1.0 0.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.filename"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + rel1 { + to_y: "elm.swallow.ok"; + relative: 0.0 0.0; + offset: 0 -1; + } + rel2 { + to_y: "elm.swallow.ok"; + relative: 1.0 0.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.cancel"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + to: "elm.swallow.ok"; + relative: 0.0 0.0; + offset: -3 0; + } + rel2 { + to: "elm.swallow.ok"; + relative: 0.0 1.0; + offset: -3 -1; + } + } + } + part { name: "elm.swallow.ok"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/fileselector_entry/base/default"; + parts { + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 50 10; + rel2 { to_x: "elm.swallow.button"; + relative: 0.0 1.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.button"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + min: 10 10; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -21 0; + } + } + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/flipselector.edc b/libraries/elementary/data/themes/widgets/flipselector.edc new file mode 100644 index 0000000..39c3117 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/flipselector.edc @@ -0,0 +1,538 @@ +#define FLIP_PICKER_MAX_LEN (50) +#define FLIP_PICKER_MAX_LEN_STR "50" + +group { name: "elm/flipselector/base/default"; + images { + image: "flip_base.png" COMP; + image: "flip_base_shad.png" COMP; + image: "flip_shad.png" COMP; + image: "arrow_up.png" COMP; + image: "arrow_down.png" COMP; + image: "flip_t.png" COMP; + image: "flip_b.png" COMP; + } + + data { + item: "max_len" FLIP_PICKER_MAX_LEN_STR; + } + + //FIXME: quick successive clicks on, say, up, lead to nastiness + script { + public cur, prev, next, lock; + + public animator_bottom_down(val, Float:pos) { + new tmp[FLIP_PICKER_MAX_LEN]; + + set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default", + 0.0); + set_tween_state(PART:"shadow", pos, "half", 0.0, "full", + 0.0); + + if (pos >= 1.0) { + set_state(PART:"shadow", "default", 0.0); + set_int(lock, 0); + + fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); + if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { + replace_str(next, 0, ""); + message(MSG_STRING, 1, tmp); + } + } + } + + public animator_top_down(val, Float:pos) { + set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink", + 0.0); + set_tween_state(PART:"shadow", pos, "default", 0.0, "half", + 0.0); + + if (pos >= 1.0) + anim(0.2, "animator_bottom_down", val); + } + + public animator_bottom_up(val, Float:pos) { + set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink", + 0.0); + set_tween_state(PART:"shadow", pos, "full", 0.0, "half", + 0.0); + + if (pos >= 1.0) + anim(0.2, "animator_top_up", val); + } + + public animator_top_up(val, Float:pos) { + new tmp[FLIP_PICKER_MAX_LEN]; + + set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default", + 0.0); + set_tween_state(PART:"shadow", pos, "half", 0.0, "default", + 0.0); + + if (pos >= 1.0) { + set_state(PART:"shadow", "default", 0.0); + set_int(lock, 0); + + fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); + if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { + replace_str(next, 0, ""); + message(MSG_STRING, 2, tmp); + } + } + } + + public message(Msg_Type:type, id, ...) { + /* flip down */ + if ((type == MSG_STRING) && (id == 1)) { + new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN]; + + snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); + + if (get_int(lock) == 1) { + replace_str(next, 0, value); + return; + } + + fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); + + set_text(PART:"bottom_b", tmp); + + set_state(PART:"elm.top", "shrink", 0.0); + set_text(PART:"elm.top", tmp); + set_state(PART:"elm.top", "default", 0.0); + set_text(PART:"elm.top", tmp); + + replace_str(prev, 0, tmp); + + set_state(PART:"elm.bottom", "default", 0.0); + set_text(PART:"elm.bottom", value); + set_state(PART:"elm.bottom", "shrink", 0.0); + set_text(PART:"elm.bottom", value); + + set_text(PART:"top_b", value); + + replace_str(cur, 0, value); + + set_state(PART:"bottom_sheet", "shrink", 0.0); + set_state(PART:"top_sheet", "default", 0.0); + + set_int(lock, 1); + set_state(PART:"shadow", "default", 0.0); + anim(0.2, "animator_top_down", 1); + } + + /* flip up */ + if ((type == MSG_STRING) && (id == 2)) { + new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN]; + + snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); + + if (get_int(lock) == 1) { + replace_str(next, 0, value); + return; + } + + fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); + + set_text(PART:"top_b", tmp); + + set_state(PART:"elm.bottom", "shrink", 0.0); + set_text(PART:"elm.bottom", tmp); + set_state(PART:"elm.bottom", "default", 0.0); + set_text(PART:"elm.bottom", tmp); + + replace_str(prev, 0, tmp); + + set_state(PART:"elm.top", "default", 0.0); + set_text(PART:"elm.top", value); + set_state(PART:"elm.top", "shrink", 0.0); + set_text(PART:"elm.top", value); + + set_text(PART:"bottom_b", value); + + replace_str(cur, 0, value); + + set_state(PART:"bottom_sheet", "default", 0.0); + set_state(PART:"top_sheet", "shrink", 0.0); + + set_int(lock, 1); + set_state(PART:"shadow", "full", 0.0); + anim(0.2, "animator_bottom_up", 1); + } + } + } + + parts { + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.to: "base"; + rel2.offset: 3 3; + rel2.to: "base"; + image { + normal: "flip_base_shad.png"; + border: 8 8 8 8; + } + } + } + + part { name: "base"; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + min: 24 48; + image.normal: "flip_base.png"; + } + } + + part { name: "b"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 0.5; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { name: "t"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { name: "bottom_sheet_static"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "flip_b.png"; + } + } + + part { name: "bottom_b"; + mouse_events: 0; + clip_to: "bottom_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 255; + color2: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 30; + min: 1 1; + align: 0.5 0.5; + } + } + } + + part { name: "shadow"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + rel2.relative: 1.0 0.0; + image.normal: "flip_shad.png"; + } + description { state: "half" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + + part { name: "bottom_sheet"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "flip_b.png"; + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + } + } + + part { name: "elm.bottom"; + mouse_events: 0; + clip_to: "bottom_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 255; + color2: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 30; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */ + } + } + + part { name: "top_sheet_static"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "flip_t.png"; + } + } + + part { name: "top_b"; + mouse_events: 0; + clip_to: "top_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 255; + color2: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 30; + min: 1 1; + align: 0.5 0.5; + source: "elm.top"; + } + } + } + + part { name: "top_sheet"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 1; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "flip_t.png"; + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel1.relative: 0.0 1.0; + } + } + + part { name: "elm.top"; + mouse_events: 0; + clip_to: "top_clipper"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 255; + color2: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 30; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.5; + } + } + + part { name: "arrow_top"; + mouse_events: 0; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + align: 0.5 0.0; + rel1.to: "t"; + rel2.to: "t"; + image.normal: "arrow_up.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow_bottom"; + mouse_events: 0; + clip_to: "disclip"; + scale: 1; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + align: 0.5 1.0; + rel1.to: "b"; + rel2.to: "b"; + image.normal: "arrow_down.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { + type: RECT; + mouse_events: 0; + name: "top_clipper"; + clip_to: "disclip"; + description { + state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + visible: 1; + } + } + + part { + type: RECT; + mouse_events: 0; + name: "bottom_clipper"; + clip_to: "disclip"; + description { + state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + visible: 1; + } + } + + part { + type: RECT; + name: "disclip"; + description { + state: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "enabled" 0.0; + color: 100 100 100 100; + } + } + + part { + type: RECT; + name: "event_blocker"; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + } + + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + append_str(cur, ""); + append_str(prev, ""); + append_str(next, ""); + set_int(lock, 0); + } + } + + program { name: "hide_arrows"; + signal: "elm,state,button,hidden"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "arrow_top"; + target: "arrow_bottom"; + target: "t"; + target: "b"; + } + + program { name: "show_arrows"; + signal: "elm,state,button,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow_top"; + target: "arrow_bottom"; + target: "t"; + target: "b"; + } + + program { name: "up"; + signal: "mouse,down,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; + } + program { name: "down"; + signal: "mouse,down,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "disclip"; + target: "event_blocker"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + target: "event_blocker"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/frame.edc b/libraries/elementary/data/themes/widgets/frame.edc new file mode 100644 index 0000000..07937fb --- /dev/null +++ b/libraries/elementary/data/themes/widgets/frame.edc @@ -0,0 +1,380 @@ +group { name: "elm/frame/base/default"; + images { + image: "frame_1.png" COMP; + image: "frame_2.png" COMP; + image: "dia_grad.png" COMP; + } + parts { + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "dia_grad.png"; + rel1.to: "over"; + rel2.to: "over"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + rel2.to: "elm.swallow.content"; + rel2.offset: 9 9; + image { + normal: "frame_2.png"; + border: 5 5 32 26; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + offset: 6 6; + } + rel2 { + relative: 1.0 0.0; + offset: -7 6; + } + color: 0 0 0 64; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 1 1; + max: 1 1; + align: 0.0 0.0; + } + } + } + part { name: "over"; + mouse_events: 0; + description { state: "default" 0.0; + min: 2 2; + rel1.offset: 4 4; + rel2.to: "clip"; + rel2.offset: 5 5; + image { + normal: "frame_1.png"; + border: 2 2 28 22; + middle: 0; + } + fill.smooth : 0; + } + } + part { + name: "clip"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + to_y: "elm.text"; + relative: 0.0 1.0; + offset: 8 2; + } + rel2.offset: -9 -9; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1 { + to_y: "elm.text"; + relative: 0.0 1.0; + offset: 8 2; + } + rel2.offset: -9 -9; + } + description { state: "collapsed" 0.0; + inherit: "default" 0.0; + minmul: 1.0 0.0; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + } + } + programs { + program { name: "collapse"; + action: STATE_SET "collapsed" 0.0; + target: "elm.swallow.content"; + transition: BOUNCE 0.5 1.0 3; + after: "signal"; + } + program { name: "expand"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: BOUNCE 0.5 1.0 3; + after: "signal"; + } + program { name: "click"; + signal: "mouse,up,1"; + source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "toggle"; + signal: "elm,action,toggle"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) + run_program(PROGRAM:"collapse"); + else + run_program(PROGRAM:"expand"); + } + } + program { name: "switch"; + signal: "elm,action,switch"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.swallow.content", "collapsed", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "signal"; + action: SIGNAL_EMIT "elm,anim,done" "elm"; + } + } +} + +group { name: "elm/frame/base/pad_small"; + parts { + part { name: "b0"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 4 4; + max: 4 4; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 4 4; + max: 4 4; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/pad_medium"; + parts { + part { name: "b0"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 8 8; + max: 8 8; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 8 8; + max: 8 8; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/pad_large"; + parts { + part { name: "b0"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 16 16; + max: 16 16; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 16 16; + max: 16 16; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/pad_huge"; + parts { + part { name: "b0"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 32 32; + max: 32 32; + align: 0.0 0.0; + } + } + part { name: "b1"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "default" 0.0; + visible: 0; + min: 32 32; + max: 32 32; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "b0"; + relative: 1.0 1.0; + offset: 0 0; + } + rel2 { + to: "b1"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + } +} + +group { name: "elm/frame/base/outdent_top"; + images { + image: "outdent-top.png" COMP; + } + parts { + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "outdent-top.png"; + image.border: 0 0 0 13; + fill.smooth: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -13; + } + } + } +} + +group { name: "elm/frame/base/outdent_bottom"; + images { + image: "outdent-bottom.png" COMP; + } + parts { + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "outdent-bottom.png"; + image.border: 0 0 13 0; + fill.smooth: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 2 12; + rel2.offset: -3 -3; + } + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/gengrid.edc b/libraries/elementary/data/themes/widgets/gengrid.edc new file mode 100644 index 0000000..44b02f6 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/gengrid.edc @@ -0,0 +1,1474 @@ +group { name: "elm/gengrid/item/default/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "reorder_bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -10 -10; + } + rel2 { + relative: 1.0 1.0; + offset: 12 12; + } + image { + normal: "bt_bases.png"; + border: 6 6 6 6; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "base_sh"; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 1.0; + offset: 0 -10; + } + rel2 { + to_y: "elm.text"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: -1 4; + } + rel2 { + to_y: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + rel1 { + relative: 1.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 5 5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.5 0.0; + text_class: "grid_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { name: "go_reorder_disabled"; + signal: "elm,state,reorder,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { name: "go_reorder_enabled"; + signal: "elm,state,reorder,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + } +} +group { name: "elm/gengrid/item/default_style/default"; + styles + { + style { name: "gengrid_style"; + base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "gengrid_selected_style"; + base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "base_sh"; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + min: 16 28; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + to_y: "base"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 0.5; + offset: -1 -5; + } + text { + style: "gengrid_style"; + min: 1 1; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text { + style: "gengrid_selected_style"; + } + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/gengrid/item/up/default"; + data.item: "texts" "elm.text"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "arrow_up.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2.offset: 2 2; + image { normal: "bt_sm_base1.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "image"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + aspect_preference: BOTH; + aspect: 1.0 1.0; + image.normal: "arrow_up.png"; + rel2 { + to_y: "elm.text"; + relative: 1.0 0.0; + offset: -1 -2; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 20 -25; + } + rel2 { + relative: 1.0 1.0; + offset: -21 -3; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.5 0.0; + text_class: "grid_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2 { + relative: 1.0 0.5; + offset: 2 -1; + } + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2.offset: 2 2; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/gengrid/item/album-preview/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4"; + data.item: "states" "have_files"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "icon_folder.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2.offset: 2 2; + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "image"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + aspect_preference: BOTH; + aspect: 1.0 1.0; + image.normal: "icon_folder.png"; + rel2 { + to_y: "elm.text"; + relative: 1.0 0.0; + offset: -1 -2; + } + } + } + part { name: "have-files-clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "icon_box_margin"; + type: RECT; + mouse_events: 0; + clip_to: "have-files-clipper"; + description { state: "default" 0.0; + color: 0 0 0 255; + rel1 { + to: "icon_box"; + offset: -1 -1; + } + rel2 { + to: "icon_box"; + offset: 0 0; + } + } + } + part { name: "icon_box"; + type: RECT; + mouse_events: 0; + clip_to: "have-files-clipper"; + description { state: "default" 0.0; + color: 255 255 255 255; + align: 1.0 1.0; + min: 32 32; + rel1 { + relative: 0.25 0.25; + offset: 0 0; + } + rel2 { + relative: 1.0 0.0; + offset: -11 -4; + to_y: "elm.text"; + } + } + } + part { name: "elm.swallow.icon.1"; + type: SWALLOW; + mouse_events: 0; + clip_to: "have-files-clipper"; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + to: "icon_box"; + } + rel2 { + relative: 0.5 0.5; + offset: -1 -1; + to: "icon_box"; + } + } + } + part { name: "elm.swallow.icon.2"; + type: SWALLOW; + mouse_events: 0; + clip_to: "have-files-clipper"; + description { state: "default" 0.0; + rel1 { + relative: 0.5 0.0; + to: "icon_box"; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -1; + to: "icon_box"; + } + } + } + part { name: "elm.swallow.icon.3"; + type: SWALLOW; + mouse_events: 0; + clip_to: "have-files-clipper"; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.5; + to: "icon_box"; + } + rel2 { + relative: 0.5 1.0; + offset: -1 -1; + to: "icon_box"; + } + } + } + part { name: "elm.swallow.icon.4"; + type: SWALLOW; + mouse_events: 0; + clip_to: "have-files-clipper"; + description { state: "default" 0.0; + rel1 { + relative: 0.5 0.5; + to: "icon_box"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "icon_box"; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 20 -30; + } + rel2 { + relative: 1.0 1.0; + offset: -21 -15; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.5 0.0; + text_class: "grid_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2 { + relative: 1.0 0.5; + offset: 2 -1; + } + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2.offset: 2 2; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + signal: "elm,state,have_files,active"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "have-files-clipper"; + } + } +} + +group { name: "elm/gengrid/item/thumb/default"; + data { + item: "contents" "elm.swallow.icon"; + item: "texts" "elm.text"; + } + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "thumb_shadow.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2.offset: 2 2; + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "border-shadow"; + type: IMAGE; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.icon"; + offset: -18 -18; + } + rel2 { + to_x: "elm.swallow.icon"; + to_y: "elm.text"; + offset: 17 17; + } + image { + normal: "thumb_shadow.png"; + border: 17 17 17 17; + middle: NONE; + } + } + } + part { name: "border"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "border-shadow"; + offset: 16 16; + } + rel2 { + to: "border-shadow"; + offset: -15 -15; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + mouse_events: 0; + description { state: "default" 0.0; + aspect_preference: BOTH; + aspect: 1.0 1.0; + rel1.offset: 0 8; + rel2 { + to_y: "elm.text"; + relative: 1.0 0.0; + offset: -1 -2; + } + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 255; + color3: 0 0 0 0; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + offset: 20 -30; + } + rel2 { + relative: 1.0 1.0; + offset: -21 -15; + } + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.5 0.0; + text_class: "grid_item"; + } + } + } + part { name: "fg1"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2 { + relative: 1.0 0.5; + offset: 2 -1; + } + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.offset: -3 -3; + rel2.offset: 2 2; + image { + image: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + } + program { + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + transition: LINEAR 0.1; + } + } +} +group { name: "elm/gengrid/item/group_index/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "group_index.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 0; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "group_index.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/genlist.edc b/libraries/elementary/data/themes/widgets/genlist.edc new file mode 100644 index 0000000..a831d9f --- /dev/null +++ b/libraries/elementary/data/themes/widgets/genlist.edc @@ -0,0 +1,10192 @@ +group { name: "elm/genlist/item/default/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + data.item: "flips" "elm.text.flip"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_2.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "reorder_bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -7 -7; + } + rel2 { + relative: 1.0 1.0; + offset: 9 9; + } + image { + normal: "bt_bases.png"; + border: 6 6 6 6; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image.normal: "ilist_2.png"; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "default" 1.0; + inherit: "default" 0.0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + description { + state: "selected" 1.0; + inherit: "selected" 0.0; + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; + clip_to: "disclip"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "selected" 1.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "selected" 1.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "odd"; + signal: "elm,state,odd"; + source: "elm"; + action: STATE_SET "default" 1.0; + target: "base_sh"; + target: "base"; + } + program { + name: "even"; + signal: "elm,state,even"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base_sh"; + target: "base"; + } + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"base", st, 30, vl); + set_state(PART:"bg", "selected", vl); + set_state(PART:"fg1", "selected", vl); + set_state(PART:"fg2", "selected", vl); + set_state(PART:"elm.text", "selected", vl); + } + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"base", st, 30, vl); + set_state(PART:"bg", "default", vl); + set_state(PART:"fg1", "default", vl); + set_state(PART:"fg2", "default", vl); + set_state(PART:"elm.text", "default", vl); + } + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "go_reorder_disabled"; + signal: "elm,state,reorder,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { + name: "go_reorder_enabled"; + signal: "elm,state,reorder,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { name: "flip_enabled"; + signal: "elm,state,flip,enabled"; + source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "elm.text.flip"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + program { name: "flip_disabled"; + signal: "elm,state,flip,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.text.flip"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + } +} +group { name: "elm/genlist/item/group_index/default"; + alias: "elm/genlist/item_compress/group_index/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "group_index.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 0; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "group_index.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_compress/message/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.title.1 elm.title.2 elm.text"; + // data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_2.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + styles { + style { name: "genlist_textblock_style"; + base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + style { name: "genlist_textblock_style2"; + base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "tab" "\t"; + } + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image.normal: "ilist_2.png"; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.title.1"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + // min: 16 16; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.0; + offset: -5 4; + } + color: 0 0 0 255; + color3: 0 0 0 0; + align: 0.0 0.0; + text { + font: "Sans"; + size: 10; + min: 0 1; + // min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.title.2"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + // min: 16 16; + rel1 { + to_y: "elm.title.1"; + relative: 0.0 1.0; + offset: 4 0; + } + rel2 { + to_y: "elm.title.1"; + relative: 1.0 1.0; + offset: -5 0; + } + color: 0 0 0 255; + color3: 0 0 0 0; + align: 0.0 0.0; + text { + font: "Sans"; + size: 10; + min: 0 1; + // min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // fixed: 0 1; + // min: 16 16; + rel1 { + to_y: "elm.title.2"; + relative: 0.0 1.0; + offset: 4 0; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + align: 0.0 0.0; + text { + style: "genlist_textblock_style"; + min: 0 1; + // min: 1 1; + align: 0.0 0.0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text { + style: "genlist_textblock_style2"; + } + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "odd"; + signal: "elm,state,odd"; + source: "elm"; + action: STATE_SET "default" 1.0; + target: "base_sh"; + target: "base"; + } + program { + name: "even"; + signal: "elm,state,even"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base_sh"; + target: "base"; + } + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/genlist/item_compress/default/default"; + inherit: "elm/genlist/item/default/default"; + data.item: "texts" "elm.text"; + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + text { + min: 0 1; + } + } + } + } +} + +group { name: "elm/genlist/tree/default/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_2.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_left.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "reorder_bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -7 -7; + } + rel2 { + relative: 1.0 1.0; + offset: 9 9; + } + image { + normal: "bt_bases.png"; + border: 6 6 6 6; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image.normal: "ilist_2.png"; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + description { state: "active" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "odd"; + signal: "elm,state,odd"; + source: "elm"; + action: STATE_SET "default" 1.0; + target: "base_sh"; + target: "base"; + } + program { + name: "even"; + signal: "elm,state,even"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base_sh"; + target: "base"; + } + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "go_reorder_disabled"; + signal: "elm,state,reorder,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { + name: "go_reorder_enabled"; + signal: "elm,state,reorder,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "active", vl); + } + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "default", vl); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow", st, 0.0); + } + } + } + } +} +group { name: "elm/genlist/tree_compress/default/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_left.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image.normal: "ilist_2.png"; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + description { state: "active" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "odd"; + signal: "elm,state,odd"; + source: "elm"; + action: STATE_SET "default" 1.0; + target: "base_sh"; + target: "base"; + } + program { + name: "even"; + signal: "elm,state,even"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base_sh"; + target: "base"; + } + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "active", vl); + } + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "default", vl); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow", st, 0.0); + } + } + } + } +} +group { name: "elm/genlist/item/default_style/default"; + styles + { + style { name: "genlist_style"; + base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + style { name: "genlist_selected_style"; + base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 28; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + to_y: "base"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 0.5; + offset: -1 -5; + } + text { + style: "genlist_style"; + min: 1 1; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text { + style: "genlist_selected_style"; + } + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_odd/default_style/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 28; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + to_y: "base"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 0.5; + offset: -1 -5; + } + text { + style: "genlist_style"; + min: 1 1; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text { + style: "genlist_selected_style"; + } + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/genlist/tree/default_style/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 28; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXTBLOCK; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + to_y: "base"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 0.5; + offset: -1 -5; + } + text { + style: "genlist_style"; + min: 1 1; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text { + style: "genlist_selected_style"; + } + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} +group { name: "elm/genlist/tree_odd/default_style/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 28; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXTBLOCK; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + to_y: "base"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 0.5; + offset: -1 -5; + } + text { + style: "genlist_style"; + min: 1 1; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + text { + style: "genlist_selected_style"; + } + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} + + +group { name: "elm/genlist/item/double_label/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_compress/double_label/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_odd/double_label/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_compress_odd/double_label/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/genlist/tree/double_label/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} +group { name: "elm/genlist/tree_compress/double_label/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} +group { name: "elm/genlist/tree_odd/double_label/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 1 1; + // min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} + +group { name: "elm/genlist/item/icon_top_text_bottom/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 0.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_odd/icon_top_text_bottom/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -5; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to_x: "elm.swallow.pad"; + relative: 0.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/genlist/tree/icon_top_text_bottom/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} +group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.5 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} + + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/genlist/tree_compress_odd/double_label/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + // data.item: "states" ""; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.sub"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.5; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + target: "elm.text.sub"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "arrow"; + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} + +group { name: "elm/genlist/item_compress/media/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.album-artist"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.text.title"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.album-artist"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.album-artist"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.album-artist"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_compress_odd/media/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.album-artist"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.text.title"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.album-artist"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.album-artist"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.album-artist"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/genlist/item_compress/media-album/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.trackno elm.text.length"; + data.item: "states" "elm.state.trackno"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + script { + public dot_visible; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { + name: "elm.text.trackno"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + align: 0.0 0.0; + fixed: 1 0; + rel1 { + to_y: "elm.text.title"; + relative: 0.0 0.0; + offset: 5 0; + } + rel2 { + to_y: "elm.text.title"; + relative: 0.0 1.0; + offset: 20 0; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 1.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { + name: "dot"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + visible: 0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to_x: "elm.text.trackno"; + to_y: "elm.text.title"; + relative: 1.0 0.0; + offset: 1 0; + } + rel2 { + to_x: "elm.text.trackno"; + to_y: "elm.text.title"; + relative: 1.0 1.0; + offset: 1 0; + + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.0 0.5; + text: "."; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + visible: 1; + } + } + programs { + program { + signal: "elm,state,elm.state.trackno,active"; + source: "elm"; + script { + set_state(PART:"dot", "visible", 0.0); + set_int(dot_visible, 1); + } + } + } + part { name: "elm.text.title"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "dot"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.length"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.trackno"; + target: "elm.text.length"; + after: "dot_active"; + } + program { + name: "dot_active"; + script { + if (get_int(dot_visible) == 1) + set_state(PART:"dot", "selected", 0.0); + } + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.length"; + target: "elm.text.trackno"; + transition: LINEAR 0.1; + after: "dot_passive"; + } + program { + name: "dot_passive"; + script { + if (get_int(dot_visible) == 1) + set_state(PART:"dot", "visible", 0.0); + } + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_compress_odd/media-album/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.trackno elm.text.length"; + data.item: "states" "elm.state.trackno"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + script { + public dot_visible; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { + name: "elm.text.trackno"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + align: 0.0 0.0; + fixed: 1 0; + rel1 { + to_y: "elm.text.title"; + relative: 0.0 0.0; + offset: 5 0; + } + rel2 { + to_y: "elm.text.title"; + relative: 0.0 1.0; + offset: 20 0; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 1.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { + name: "dot"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + visible: 0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to_x: "elm.text.trackno"; + to_y: "elm.text.title"; + relative: 1.0 0.0; + offset: 1 0; + } + rel2 { + to_x: "elm.text.trackno"; + to_y: "elm.text.title"; + relative: 1.0 1.0; + offset: 1 0; + + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.0 0.5; + text: "."; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + visible: 1; + } + } + programs { + program { + signal: "elm,state,elm.state.trackno,active"; + source: "elm"; + script { + set_state(PART:"dot", "visible", 0.0); + set_int(dot_visible, 1); + } + } + } + part { name: "elm.text.title"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "dot"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.length"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.length"; + target: "elm.text.trackno"; + after: "dot_active"; + } + program { + name: "dot_active"; + script { + if (get_int(dot_visible) == 1) + set_state(PART:"dot", "selected", 0.0); + } + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.length"; + target: "elm.text.trackno"; + transition: LINEAR 0.1; + after: "dot_passive"; + } + program { + name: "dot_passive"; + script { + if (get_int(dot_visible) == 1) + set_state(PART:"dot", "visible", 0.0); + } + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/genlist/item_compress/media-preview/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.artist"; + data.item: "contents" "elm.swallow.preview"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.preview"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + min: 68 68; + max: 68 68; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.text.title"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.swallow.preview"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.artist"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.swallow.preview"; + relative: 1.0 0.5; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.artist"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.artist"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/genlist/item_compress_odd/media-preview/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.artist"; + data.item: "contents" "elm.swallow.preview"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.preview"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + min: 68 68; + max: 68 68; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + } + } + part { name: "elm.text.title"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.swallow.preview"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "elm.text.artist"; + clip_to: "disclip"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.swallow.preview"; + relative: 1.0 0.5; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -5; + } + color: 0 0 0 128; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 8; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 0 0 0 32; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.artist"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text.title"; + target: "elm.text.artist"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} + +group { name: "elm/genlist/item/mode/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.mode"; + data.item: "contents" "elm.swallow.mode"; + data.item: "mode_part" "elm.swallow.origin"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_2.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image.normal: "ilist_2.png"; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + description { + state: "selected" 1.0; + inherit: "selected" 0.0; + } + } + part { name: "elm.text.mode"; + clip_to: "disclip"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 255; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + } + part { name: "elm.swallow.mode"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.5 0.0; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "selected" 1.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "selected" 1.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + // Transparent part between base parts and slidable parts + part { name: "event_block_layer"; + type: RECT; + clip_to: "disclip"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "pers"; + clip_to: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.origin"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1.relative: 1 0; + rel2.relative: 2 1; + } + description { state: "rotate" 0.0; + inherit: "default" 0.0; + map { + perspective: "pers"; + on: 1; + smooth: 1; + perspective_on: 1; + backface_cull: 1; + rotation { + center: "pers"; + x: 0.0; + y: 0.0; + z: 0.0; + } + } + } + description { state: "rotate" 1.0; + inherit: "default" 0.0; + map { + perspective: "pers"; + on: 1; + smooth: 1; + perspective_on: 1; + backface_cull: 1; + rotation { + center: "pers"; + x: 90.0; + y: 0.0; + z: 0.0; + } + } + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { + name: "odd"; + signal: "elm,state,odd"; + source: "elm"; + action: STATE_SET "default" 1.0; + target: "base_sh"; + target: "base"; + } + program { + name: "even"; + signal: "elm,state,even"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base_sh"; + target: "base"; + } + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"base", st, 30, vl); + set_state(PART:"bg", "selected", vl); + set_state(PART:"fg1", "selected", vl); + set_state(PART:"fg2", "selected", vl); + } + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"base", st, 30, vl); + set_state(PART:"bg", "default", vl); + set_state(PART:"fg1", "default", vl); + set_state(PART:"fg2", "default", vl); + } + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "slide_right"; + signal: "elm,state,slide,active"; + source: "elm"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.origin"; + transition: ACCELERATE 0.5 CURRENT; + after: "unblock_event"; + } + program { + name: "unblock_event"; + action: STATE_SET "repeat_events" 0.0; + target: "event_block_layer"; + } + program { + name: "slide_left"; + signal: "elm,state,slide,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "slide_left2"; + } + program { + name: "slide_left2"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + transition: DECELERATE 0.5 CURRENT; + after: "slide_left_finished"; + } + program { + name: "slide_left_finished"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + program { + name: "rotate_on"; + signal: "elm,state,rotate,active"; + source: "elm"; + action: STATE_SET "rotate" 0.0; + target: "elm.swallow.origin"; + after: "rotate_on2"; + } + program { + name: "rotate_on2"; + action: STATE_SET "rotate" 1.0; + target: "elm.swallow.origin"; + transition: LINEAR 0.5; + after: "unblock_event"; + } + program { + name: "rotate_off"; + signal: "elm,state,rotate,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "rotate_off2"; + } + program { + name: "rotate_off2"; + action: STATE_SET "rotate" 0.0; + transition: LINEAR 0.5; + target: "elm.swallow.origin"; + after: "rotate_off3"; + } + program { + name: "rotate_off3"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + after: "rotate_off_finished"; + } + program { + name: "rotate_off_finished"; + action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm"; + } + } +} + +group { name: "elm/genlist/item_odd/mode/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.mode"; + data.item: "contents" "elm.swallow.mode"; + data.item: "mode_part" "elm.swallow.origin"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.text.mode"; + clip_to: "disclip"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0.5 1.0; + color: 0 0 0 255; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + } + part { name: "elm.swallow.mode"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.5 0.0; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + // Transparent part between base parts and slidable parts + part { name: "event_block_layer"; + type: RECT; + clip_to: "disclip"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "pers"; + clip_to: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.origin"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1.relative: 1 0; + rel2.relative: 2 1; + } + description { state: "rotate" 0.0; + inherit: "default" 0.0; + map { + perspective: "pers"; + on: 1; + smooth: 1; + perspective_on: 1; + backface_cull: 1; + rotation { + center: "pers"; + x: 0.0; + y: 0.0; + z: 0.0; + } + } + } + description { state: "rotate" 1.0; + inherit: "default" 0.0; + map { + perspective: "pers"; + on: 1; + smooth: 1; + perspective_on: 1; + backface_cull: 1; + rotation { + center: "pers"; + x: 90.0; + y: 0.0; + z: 0.0; + } + } + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "slide_right"; + signal: "elm,state,slide,active"; + source: "elm"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.origin"; + transition: ACCELERATE 0.5; + after: "unblock_event"; + } + program { + name: "unblock_event"; + action: STATE_SET "repeat_events" 0.0; + target: "event_block_layer"; + } + program { + name: "slide_left"; + signal: "elm,state,slide,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "slide_left2"; + } + program { + name: "slide_left2"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + transition: DECELERATE 0.5; + after: "slide_left_finished"; + } + program { + name: "slide_left_finished"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + program { + name: "rotate_on"; + signal: "elm,state,rotate,active"; + source: "elm"; + action: STATE_SET "rotate" 0.0; + target: "elm.swallow.origin"; + after: "rotate_on2"; + } + program { + name: "rotate_on2"; + action: STATE_SET "rotate" 1.0; + target: "elm.swallow.origin"; + transition: LINEAR 0.5; + after: "unblock_event"; + } + program { + name: "rotate_off"; + signal: "elm,state,rotate,passive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "rotate_off2"; + } + program { + name: "rotate_off2"; + action: STATE_SET "rotate" 0.0; + transition: LINEAR 0.5; + target: "elm.swallow.origin"; + after: "rotate_off3"; + } + program { + name: "rotate_off3"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.origin"; + after: "rotate_off_finished"; + } + program { + name: "rotate_off_finished"; + action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm"; + } + } +} +group { name: "elm/genlist/item/edit/default"; + data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_2.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image.normal: "ilist_2.png"; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + to_x: "elm.padding.right"; + relative: 1.0 1.0; + offset: 1 1; + } + } + description { + state: "selected" 1.0; + inherit: "selected" 0.0; + } + } + part { name: "elm.padding.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + fixed: 1 0; + visible: 0; + align: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.padding.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 5 0; + fixed: 1 0; + visible: 0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.edit.icon.1"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + color: 255 255 255 255; + rel1 { + to_x: "elm.padding.left"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.padding.left"; + relative: 1.0 1.0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.padding.icon1.right"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 5 0; + fixed: 1 0; + visible: 0; + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.edit.icon.1"; + } + rel2.to_x: "elm.edit.icon.1"; + } + } + part { name: "elm.swallow.decorate.content"; + clip_to: "disclip"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.icon1.right"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.icon2.left"; + } + } + description { state: "flipped" 0.0; + inherit: "default" 0.0; + rel1.to_x: "elm.padding.left"; + rel2 { + relative: 1.3 1.0; + to_x: "elm.padding.right"; + } + } + } + part { name: "elm.padding.icon2.left"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 5 0; + fixed: 1 0; + visible: 0; + color: 255 0 255 255; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + to_x: "elm.edit.icon.2"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.edit.icon.2"; + } + } + } + part { name: "elm.edit.icon.2"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 0.0 0.0; + to_x: "elm.padding.right"; + } + rel2 { + relative: 0.0 1.0; + to_x: "elm.padding.right"; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"base", st, 30, vl); + set_state(PART:"bg", "selected", vl); + set_state(PART:"fg1", "selected", vl); + set_state(PART:"fg2", "selected", vl); + } + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"base", st, 30, vl); + set_state(PART:"bg", "default", vl); + set_state(PART:"fg1", "default", vl); + set_state(PART:"fg2", "default", vl); + } + } + program { + name: "odd"; + signal: "elm,state,odd"; + source: "elm"; + action: STATE_SET "default" 1.0; + target: "base_sh"; + target: "base"; + } + program { + name: "even"; + signal: "elm,state,even"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base_sh"; + target: "base"; + } + program { name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + // edit mode signal + program { name: "edit_mode_enabled_effect"; + signal: "elm,state,decorate,enabled,effect"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: DECELERATE 0.7; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + } + program { name: "edit_mode_disabled_effect"; + signal: "elm,state,decorate,disabled,effect"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.7; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + } + program { name: "edit_mode_enabled"; + signal: "elm,state,decorate,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + } + program { name: "edit_mode_disabled"; + signal: "elm,state,decorate,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + } + program { + name: "enable_flip_mode"; + signal: "elm,state,flip,enabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + after: "enable_flip_mode_next"; + } + program { + name: "enable_flip_mode_next"; + action: STATE_SET "flipped" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.decorate.content"; + } + program { + name: "disable_flip_mode"; + signal: "elm,state,flip,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.decorate.content"; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + } + } +} + +#define GENLIST_PART_MAP_START( param_x, param_y, param_z ) \ +description { state: "map_transition" 0.0; \ + inherit: "default" 0.0; \ + color: 50 50 50 100; \ + map { \ + perspective: "point"; \ + on: 1; \ + smooth: 1; \ + perspective_on: 1; \ + backface_cull: 1; \ + rotation { \ + center: "point"; \ + x: param_x; \ + y: param_y; \ + z: param_z; \ + } \ + } \ +} \ +description { \ + state: "hide" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ +} + +#define GENLIST_PART_MAP_FINISH( param_x, param_y, param_z ) \ +description { \ + state: "map_rotate" 0.0; \ + inherit: "default" 0.0; \ + map { \ + perspective: "point"; \ + on: 1; \ + smooth: 1; \ + perspective_on: 1; \ + backface_cull: 1; \ + rotation { \ + center: "point"; \ + x: param_x; \ + y: param_y; \ + z: param_z; \ + } \ + } \ +} + +group { name: "elm/genlist/tree/tree_effect/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" "20"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_2.png" COMP; + image: "ilist_item_shadow.png" COMP; + image: "icon_arrow_left.png" COMP; + image: "icon_arrow_right.png" COMP; + image: "icon_arrow_down.png" COMP; + } + parts { + part { name: "point"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 0.0; } + } + } + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "reorder_bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -7 -7; + } + rel2 { + relative: 1.0 1.0; + offset: 9 9; + } + image { + normal: "bt_bases.png"; + border: 6 6 6 6; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + visible: 0; + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image.normal: "ilist_2.png"; + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "elm.swallow.pad"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "arrow"; + clip_to: "disclip"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1 { + to_x: "elm.swallow.pad"; + relative: 1.0 0.0; + offset: -1 4; + } + rel2 { + to_x: "elm.swallow.pad"; + relative: 1.0 1.0; + offset: -1 -5; + } + image.normal: "icon_arrow_right.png"; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + description { state: "active" 0.1; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + to_x: "arrow"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "arrow"; + relative: 1.0 1.0; + offset: 4 -5; + } + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) + GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + // signal: elm,state,%s,active + // a "check" item named %s went active + // signal: elm,state,%s,passive + // a "check" item named %s went passive + // default is passive + program { + name: "odd"; + signal: "elm,state,odd"; + source: "elm"; + action: STATE_SET "default" 1.0; + target: "base_sh"; + target: "base"; + } + program { + name: "even"; + signal: "elm,state,even"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base_sh"; + target: "base"; + } + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "go_reorder_disabled"; + signal: "elm,state,reorder,disabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { + name: "go_reorder_enabled"; + signal: "elm,state,reorder,enabled"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + target: "reorder_bg"; + transition: DECELERATE 0.5; + } + program { + name: "expand"; + signal: "mouse,up,1"; + source: "arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + program { + name: "go_expanded"; + signal: "elm,state,expanded"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "active", vl); + } + } + program { + name: "go_contracted"; + signal: "elm,state,contracted"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + set_state(PART:"arrow", "default", vl); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow", st, 0.0); + } + } + } + program { + name: "rotaion_transition"; + signal: "flip_item"; + action: STATE_SET "map_transition" 0.0; + after: "rotation"; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + program { + name: "rotation"; + action: STATE_SET "map_rotate" 0.0; + transition: LINEAR 0.2; + after: "rotation_end"; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + program { + name: "rotation_end"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + program { + name: "rotation_transition2"; + signal: "elm,state,contract_flip"; + action: STATE_SET "map_rotate" 0.0; + after: "rotation2"; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + program { + name: "rotation2"; + action: STATE_SET "map_transition" 0.0; + transition: LINEAR 0.5; + after: "rotation3"; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + program { + name: "rotation3"; + action: STATE_SET "hide" 0.0; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + program { + name: "show"; + signal: "elm,state,show"; + action: STATE_SET "default" 0.0; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + program { + name: "hide"; + signal: "elm,state,hide"; + action: STATE_SET "hide" 0.0; + target: "reorder_bg"; + target: "base_sh"; + target: "base"; + target: "bg"; + target: "arrow"; + target: "elm.swallow.pad"; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + target: "elm.text"; + target: "fg1"; + target: "fg2"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/hover.edc b/libraries/elementary/data/themes/widgets/hover.edc new file mode 100644 index 0000000..ac13899 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/hover.edc @@ -0,0 +1,1184 @@ +/* TODO: replicate diagonal swallow slots to the other hover styles */ +group { name: "elm/hover/base/default"; + images { + image: "shad_circ.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.size"; + rel1.offset: -32 -32; + rel2.to: "elm.swallow.size"; + rel2.offset: 31 31; + fill.smooth: 0; + } + } + part { name: "box"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.swallow.size"; + rel1.offset: -2 -2; + rel2.to: "elm.swallow.size"; + rel2.offset: 1 1; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: -1 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.top-left"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 0.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 -1; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.top-right"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.slot.bottom-right"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + } + part { name: "elm.swallow.slot.bottom-left"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 0; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + } +} + +group { name: "elm/hover/base/popout"; + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "leftclip"; + type: RECT; + description { state: "default" 0.0; + rel2.to_x: "pop"; + rel2.relative: 0.0 1.0; + rel2.offset: 1 -1; + } + } + part { name: "left"; + clip_to: "leftclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.left"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.left"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + clip_to: "leftclip"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: -1 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -7 0; + rel2.offset: -7 -1; + align: 1.0 0.5; + } + } + part { name: "leftover"; + clip_to: "leftclip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "left"; + rel2.to: "left"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "rightclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to_x: "pop"; + rel1.relative: 1.0 0.0; + rel1.offset: -2 0; + } + } + part { name: "right"; + clip_to: "rightclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.right"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.right"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + clip_to: "rightclip"; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 6 0; + rel2.offset: 6 -1; + align: 0.0 0.5; + } + } + part { name: "rightover"; + clip_to: "rightclip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "right"; + rel2.to: "right"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "topclip"; + type: RECT; + description { state: "default" 0.0; + rel2.to_y: "pop"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 1; + } + } + part { name: "top"; + clip_to: "topclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.top"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.top"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + clip_to: "topclip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 -1; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -7; + rel2.offset: -1 -7; + align: 0.5 1.0; + } + } + part { name: "topover"; + clip_to: "topclip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "top"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "bottomclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to_y: "pop"; + rel1.relative: 0.0 1.0; + rel1.offset: -1 -2; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.bottom"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.bottom"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 6; + rel2.offset: -1 6; + align: 0.5 0.0; + } + } + part { name: "bottomover"; + clip_to: "bottomclip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.size"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.size"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.middle"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + + program { name: "leftshow"; + signal: "elm,action,slot,left,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "left"; + target: "elm.swallow.slot.left"; + } + program { name: "lefthide"; + signal: "elm,action,slot,left,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left"; + target: "elm.swallow.slot.left"; + } + program { name: "rightshow"; + signal: "elm,action,slot,right,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "right"; + target: "elm.swallow.slot.right"; + } + program { name: "righthide"; + signal: "elm,action,slot,right,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right"; + target: "elm.swallow.slot.right"; + } + program { name: "topshow"; + signal: "elm,action,slot,top,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "top"; + target: "elm.swallow.slot.top"; + } + program { name: "tophide"; + signal: "elm,action,slot,top,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "top"; + target: "elm.swallow.slot.top"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + } +} + +//In the hover used by the menu only the bottom part is used. +group { name: "elm/hover/base/menu"; + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bottomclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to_y: "pop"; + rel1.relative: 0.0 1.0; + rel1.offset: -1 -2; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.bottom"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.bottom"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 6; + rel2.offset: -1 6; + align: 0.5 0.0; + } + } + part { name: "pop"; + mouse_events: 1; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.middle"; + rel2.offset: 4 4; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + } +} + +//In the hover used by the submenu only the bottom part is used +//and no part should interact except the bottom area +group { name: "elm/hover/base/submenu"; + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + //here we do non catch events like the hover hover does + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + part { name: "elm.swallow.slot.left"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.right"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.top"; + type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "bottomclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to_y: "pop"; + rel1.relative: 0.0 1.0; + rel1.offset: -1 -2; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.bottom"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.bottom"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 6; + rel2.offset: -1 6; + align: 0.5 0.0; + } + } + part { name: "pop"; + mouse_events: 1; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.middle"; + rel2.offset: 4 4; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + } +} + +group { name: "elm/hover/base/hoversel_vertical/default"; + alias: "elm/hover/base/hoversel_vertical/entry"; + images { + // image: "shad_circ.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "outdent-top.png" COMP; + image: "outdent-bottom.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + /* + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "button_image"; + rel1.offset: -64 -64; + rel2.to: "button_image"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + */ +part { name: "button_image"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.slot.top"; + rel1.to_y: "elm.swallow.slot.top"; + rel1.offset: -2 -6; + rel2.to_x: "elm.swallow.slot.top"; + rel2.to_y: "elm.swallow.slot.bottom"; + rel2.offset: 1 5; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "bottom" 0.0; + rel1.to_x: "elm.swallow.slot.bottom"; + rel1.to_y: "elm.swallow.slot.top"; + rel1.offset: -2 -6; + rel2.to_x: "elm.swallow.slot.bottom"; + rel2.to_y: "elm.swallow.slot.bottom"; + rel2.offset: 1 5; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } +} + +part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } +} + +part { name: "topclip"; + type: RECT; + description { state: "default" 0.0; + rel2.to_y: "edge_top"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 7; + } +} +part { name: "elm.swallow.slot.top"; + type: SWALLOW; + clip_to: "topclip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 -1; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -7; + rel2.offset: -1 -7; + align: 0.5 1.0; + } +} + +part { name: "bottomclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to_y: "edge_bottom"; + rel1.relative: 0.0 1.0; + rel1.offset: -1 -8; + } +} +part { name: "elm.swallow.slot.bottom"; + type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 6; + rel2.offset: -1 6; + align: 0.5 0.0; + } +} + +part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } +} +part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } +} +part { name: "edge_top"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "elm.swallow.size"; + offset: 0 -10; + } + rel2 { + to: "elm.swallow.size"; + } + image.normal: "outdent-bottom.png"; + image.border: 0 0 13 0; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } +} +part { name: "edge_bottom"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "elm.swallow.size"; + } + rel2 { + to: "elm.swallow.size"; + offset: -1 9; + } + image.normal: "outdent-top.png"; + image.border: 0 0 0 13; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } +} +part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } +} +} +programs { + program { name: "end"; + signal: "mouse,up,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" ""; + } + + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "topshow"; + signal: "elm,action,slot,top,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "edge_top"; + after: "topshow2"; + } + program { name: "topshow2"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.top"; + } + program { name: "topshow3"; + signal: "elm,action,slot,top,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + } + program { name: "tophide"; + signal: "elm,action,slot,top,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.top"; + after: "tophide2"; + } + program { name: "tophide2"; + action: STATE_SET "default" 0.0; + target: "edge_top"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "edge_bottom"; + after: "bottomshow2"; + } + program { name: "bottomshow2"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomshow3"; + signal: "elm,action,slot,bottom,show"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "button_image"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.bottom"; + after: "bottomhide2"; + } + program { name: "bottomhide2"; + action: STATE_SET "default" 0.0; + target: "edge_bottom"; + } +} +} +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/icon.edc b/libraries/elementary/data/themes/widgets/icon.edc new file mode 100644 index 0000000..452365c --- /dev/null +++ b/libraries/elementary/data/themes/widgets/icon.edc @@ -0,0 +1,59 @@ +#define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + alias: "elm/icon/"##Alias##"/default"; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } + +#define GROUP_ICON(Name, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } + +group { name: "elm/icon/arrow_down/default"; + alias: "elm/icon/toolbar/arrow_down/default"; + alias: "elm/icon/toolbar/more_menu/default"; min: 32 32; + images.image: "icon_arrow_down.png" COMP; parts { part { name: "base"; + description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "icon_arrow_down.png"; } } } } + +GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0); +GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0); +GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0); +GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0); +GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0); +GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0); +GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0); +GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0); +GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0); +GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0); +GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0); +GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0); +GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0); +/////////////////////////////////////////////////////////////////////////////// +GROUP_ICON("menu/home", "icon_home.png", 24, 24); +GROUP_ICON("menu/close", "icon_close.png", 24, 24); +GROUP_ICON("menu/apps", "icon_apps.png", 24, 24); +GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24); +GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24); +GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24); +GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24); +GROUP_ICON("menu/chat", "icon_chat.png", 24, 24); +GROUP_ICON("menu/clock", "icon_clock.png", 24, 24); +GROUP_ICON("menu/delete", "icon_delete.png", 24, 24); +GROUP_ICON("menu/edit", "icon_edit.png", 24, 24); +GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24); +GROUP_ICON("menu/folder", "icon_folder.png", 24, 24); +GROUP_ICON("menu/file", "icon_file.png", 24, 24); + +GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0); +GROUP_ICON("media_player/info", "mp_info.png", 16, 0); +GROUP_ICON("media_player/next", "mp_next.png", 16, 0); +GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0); +GROUP_ICON("media_player/play", "mp_play.png", 16, 0); +GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0); +GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0); +GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0); + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/index.edc b/libraries/elementary/data/themes/widgets/index.edc new file mode 100644 index 0000000..73833c6 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/index.edc @@ -0,0 +1,808 @@ +group { name: "elm/index/base/vertical/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + } + parts { + part { name: "clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.5; + offset: -1 5; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -6; + } + } + } + part { name: "button_image"; + mouse_events: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "elm.text.body"; + offset: -5 -5; + } + rel2 { + to: "elm.text"; + offset: 4 4; + } + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + } + part { name: "elm.text.body"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "elm.text"; + relative: 0.0 0.0; + offset: 5 0; + } + rel2 { + to: "elm.text"; + relative: 0.0 1.0; + offset: 5 -1; + } + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 20; + min: 1 1; + align: 1.0 0.5; + } + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.event.0"; + to_y: "elm.dragable.pointer"; + relative: 0.0 0.5; + offset: -16 0; + } + rel2 { + to_x: "elm.swallow.event.0"; + to_y: "elm.dragable.pointer"; + relative: 0.0 0.5; + offset: -16 -1; + } + color: 255 0 0 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 20; + min: 1 1; + align: 1.0 0.5; + } + } + } + part { name: "over1"; + mouse_events: 0; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "button_image"; + } + rel2 { + to: "button_image"; + relative: 1.0 0.5; + } + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "button_image"; + } + rel2 { + to: "button_image"; + } + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + } + part { name: "elm.dragable.pointer"; + type: RECT; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 1 1 0; + } + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 1; + min: 8 8; + max: 8 8; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "active2"; + signal: "elm,indicator,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + program { name: "inactive2"; + signal: "elm,indicator,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + } +} + +group { name: "elm/index/item/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1 { + offset: -16 0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: 0 0 0 128; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + } +} + +group { name: "elm/index/item_odd/vertical/default"; + data.item: "stacking" "below"; + images { + image: "ilist_2.png" COMP; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1 { + offset: -16 0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: 0 0 0 128; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + } +} +group { name: "elm/index/base/horizontal/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + } + parts { + part { name: "clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + rel1 { + relative: 0.5 1; + offset: 0 0; + } + rel2 { + relative: 0.5 1; + offset: -1 -1; + } + } + } + part { name: "button_image"; + mouse_events: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "elm.text"; + offset: -5 -5; + } + rel2 { + to: "elm.text"; + offset: 4 4; + } + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + } + part { name: "elm.text.body"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 1 1; + rel1 { + to: "elm.text"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.text"; + relative: 0.1 0.0; + } + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 20; + min: 1 1; + align: 0.5 1; + } + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 1 1; + rel1 { + to_x: "elm.dragable.pointer"; + to_y: "elm.swallow.event.0"; + relative: 0.5 0; + offset: 0 -16; + } + rel2 { + to_x: "elm.dragable.pointer"; + to_y: "elm.swallow.event.0"; + relative: 0.5 0; + offset: -1 -16; + } + color: 255 0 0 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 20; + min: 1 1; + align: 0.5 1; + } + } + } + part { name: "over1"; + mouse_events: 0; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "button_image"; + } + rel2 { + to: "button_image"; + relative: 0.5 1; + } + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "button_image"; + } + rel2 { + to: "button_image"; + } + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + } + part { name: "elm.dragable.pointer"; + type: RECT; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 1 1 0; + } + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 1; + min: 8 8; + max: 8 8; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "active2"; + signal: "elm,indicator,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + program { name: "inactive2"; + signal: "elm,indicator,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + } +} +group { name: "elm/index/item/horizontal/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1 { + offset: 0 -16; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.25 0.0; + } + rel2 { + to: "base"; + relative: 0.75 1.0; + } + color: 0 0 0 128; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + } +} +group { name: "elm/index/item_odd/horizontal/default"; + data.item: "stacking" "below"; + images { + image: "ilist_2.png" COMP; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1 { + offset: 0 -16; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.25 0.0; + } + rel2 { + to: "base"; + relative: 0.75 1.0; + } + color: 0 0 0 128; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/label.edc b/libraries/elementary/data/themes/widgets/label.edc new file mode 100644 index 0000000..3e52408 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/label.edc @@ -0,0 +1,417 @@ +#define TEXT_SLIDE_DURATION 10 + +group { name: "elm/label/base/default"; + data.item: "default_font_size" "10"; + data.item: "min_font_size" "6"; + data.item: "max_font_size" "60"; + styles { + style { name: "textblock_style"; + base: "font=Sans font_size=10 color=#000 text_class=label left_margin=4 right_margin=4"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + } + } + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + text { + style: "textblock_style"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/label/base/marker"; + data.item: "default_font_size" "10"; + data.item: "min_font_size" "6"; + data.item: "max_font_size" "60"; + styles { + style { name: "textblock_style2"; + base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label left_margin=4 right_margin=4"; + tag: "hilight" "+ color=#ffff"; + tag: "b" "+ color=#ffff"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { + style: "textblock_style2"; + min: 1 1; + } + } + } + } +} + +group { name: "elm/label/base/slide_long"; + data.item: "default_font_size" "10"; + data.item: "min_font_size" "6"; + data.item: "max_font_size" "60"; + + script { + public g_duration, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 0)) { + new Float:duration; + duration = getfarg(2); + set_float(g_duration, duration); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 1.0 0.0; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script + { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script + { + stop_slide(); + } + } + } +} + + +group { name: "elm/label/base/slide_short"; + data.item: "default_font_size" "10"; + data.item: "min_font_size" "6"; + data.item: "max_font_size" "60"; + + script { + public g_duration, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 0)) { + new Float:duration; + duration = getfarg(2); + set_float(g_duration, duration); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script + { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script + { + stop_slide(); + } + } + } +} + +group { name: "elm/label/base/slide_bounce"; + data.item: "default_font_size" "10"; + data.item: "min_font_size" "6"; + data.item: "max_font_size" "60"; + + script { + public g_duration, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 0)) { + new Float:duration; + duration = getfarg(2); + set_float(g_duration, duration); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + } + public slide_to_begin() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_begin_anim", 1); + set_int(g_anim_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + + parts { + part { name: "label.text.clip"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "textblock_style"; + min: 1 1; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + } + } + } + programs { + program { name: "start_slide"; + source: "elm"; + signal: "elm,state,slide,start"; + script + { + start_slide(); + } + } + program { name: "stop_slide"; + source: "elm"; + signal: "elm,state,slide,stop"; + script + { + stop_slide(); + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/layout.edc b/libraries/elementary/data/themes/widgets/layout.edc new file mode 100644 index 0000000..804d323 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/layout.edc @@ -0,0 +1,827 @@ +/* application with toolbar and main content area */ +group { name: "elm/layout/application/toolbar-content"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel2 { + relative: 1.0 0.0; + offset: -1 47; + } + } + } + } +} + +/* application with toolbar and main content area with a back button and title area */ +group { name: "elm/layout/application/toolbar-content-back"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { to_y: "title_clipper"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel2 { + relative: 1.0 0.0; + offset: -1 47; + } + } + } + part { name: "title_clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + rel1 { + to_y: "back"; + } + rel2 { + to_y: "back"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "back_clipper"; + type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "back"; + type: EXTERNAL; + source: "elm/button"; + clip_to: "back_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: 0 1; + } + rel2 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: 50 32; + } + params.string: "label" "Back"; + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } + program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + } + + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + offset: -2 1; + } + rel2 { to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + offset: -1 32; + } + } + } + + part { name: "elm.text.title"; + type: TEXT; + effect: SOFT_SHADOW; + scale: 1; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + to_x: "back"; + relative: 1.0 1.0; + offset: 2 1; + } + rel2 { to_y: "back"; + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -3 -1; + } + text { + font: "Sans:style=Bold"; + size: 12; + } + } + } + } +} + +/* application with toolbar and main content area with a back and next buttons and title area */ +group { name: "elm/layout/application/toolbar-content-back-next"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { to_y: "title_clipper"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel2 { + relative: 1.0 0.0; + offset: -1 47; + } + } + } + part { name: "title_clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + rel1 { + to_y: "back"; + } + rel2 { + to_y: "back"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "back"; + type: EXTERNAL; + source: "elm/button"; + clip_to: "back_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: 0 1; + } + rel2 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: 50 32; + } + params.string: "label" "Back"; + } + } + part { name: "back_clipper"; + type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "next"; + type: EXTERNAL; + source: "elm/button"; + clip_to: "next_clipper"; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + offset: -2 1; + } + rel2 { to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + offset: -1 32; + } + params.string: "label" "Next"; + } + } + part { name: "next_clipper"; + type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } + program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + } + program { + signal: "clicked"; + source: "next"; + action: SIGNAL_EMIT "elm,action,next" ""; + } + program { + signal: "elm,next,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "next_clipper"; + } + program { + signal: "elm,next,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "next_clipper"; + } + } + part { name: "elm.text.title"; + type: TEXT; + effect: SOFT_SHADOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + to_x: "back"; + relative: 1.0 1.0; + offset: 2 1; + } + rel2 { to_y: "back"; + to_x: "next"; + relative: 0.0 1.0; + offset: -3 -1; + } + text { + font: "Sans:style=Bold"; + size: 12; + } + } + } + } +} +/* application with a main content area with a back button and title area */ +group { name: "elm/layout/application/content-back"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { to_y: "title_clipper"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + part { name: "title_clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + rel1 { + to_y: "back"; + } + rel2 { + to_y: "back"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "back_clipper"; + type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "back"; + type: EXTERNAL; + source: "elm/button"; + clip_to: "back_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + offset: 0 1; + } + rel2 { + relative: 0.0 0.0; + offset: 50 32; + } + params.string: "label" "Back"; + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } + program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + } + + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -2 1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 32; + } + } + } + + part { name: "elm.text.title"; + type: TEXT; + effect: SOFT_SHADOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "back"; + relative: 1.0 0.0; + offset: 2 1; + } + rel2 { to_y: "back"; + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -3 -1; + } + text { + font: "Sans:style=Bold"; + size: 12; + } + } + } + } +} + +/* application with a main content area with a back and next buttons and title area */ +group { name: "elm/layout/application/content-back-next"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { to_y: "title_clipper"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + + part { name: "title_clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + rel1 { + to_y: "back"; + } + rel2 { + to_y: "back"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "back"; + type: EXTERNAL; + source: "elm/button"; + clip_to: "back_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + offset: 0 1; + } + rel2 { + relative: 0.0 0.0; + offset: 50 32; + } + params.string: "label" "Back"; + } + } + part { name: "back_clipper"; + type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "next"; + type: EXTERNAL; + source: "elm/button"; + clip_to: "next_clipper"; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -2 1; + } + rel2 { + relative: 1.0 0.0; + offset: -1 32; + } + params.string: "label" "Next"; + } + } + part { name: "next_clipper"; + type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + programs { + program { + signal: "clicked"; + source: "back"; + action: SIGNAL_EMIT "elm,action,back" ""; + } + program { + signal: "elm,title,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + program { + signal: "elm,back,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + } + program { + signal: "clicked"; + source: "next"; + action: SIGNAL_EMIT "elm,action,next" ""; + } + program { + signal: "elm,next,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "next_clipper"; + } + program { + signal: "elm,next,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "next_clipper"; + } + } + part { name: "elm.text.title"; + type: TEXT; + effect: SOFT_SHADOW; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1 { + to_x: "back"; + relative: 1.0 0.0; + offset: 2 1; + } + rel2 { to_y: "back"; + to_x: "next"; + relative: 0.0 1.0; + offset: -3 -1; + } + text { + font: "Sans:style=Bold"; + size: 12; + } + } + } + } +} + +/* application with toolbar and main content area as a vertical box */ +group { name: "elm/layout/application/toolbar-vbox"; + parts { + part { name: "elm.box.content"; + type: BOX; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 1; + } + box.layout: "vertical"; + } + } + + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel2 { + relative: 1.0 0.0; + offset: -1 47; + } + } + } + } +} + +/* application with toolbar and main content area as a table */ +group { name: "elm/layout/application/toolbar-table"; + parts { + part { name: "elm.table.content"; + type: TABLE; + description { state: "default" 0.0; + rel1 { to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + + part { name: "elm.external.toolbar"; + type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel2 { + relative: 1.0 0.0; + offset: -1 47; + } + } + } + } +} +/* a simple title layout, with a label and two icons */ +group { name: "elm/layout/application/titlebar"; + images { + image: "toolbar_sel.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 0 33; + max: 99999 33; + align: 0.5 0.0; + rel1.offset: -1 0; + rel2.offset: 1 0; + image { + normal: "toolbar_sel.png"; + border: 3 3 0 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 0; + } + rel2 { + to: "base"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "base"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -5 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.icon"; + to_y: "base"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.swallow.end"; + to_y: "base"; + relative: 0.0 1.0; + } + text { + font: "Sans"; + size: 12; + min: 0 0; + align: 0.5 0.5; + text_class: "title_bar"; + } + } + } + } + programs { + program { name: "show_icon"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "hide_icon"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "show_end"; + signal: "elm,state,end,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "hide_end"; + signal: "elm,state,end,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/list.edc b/libraries/elementary/data/themes/widgets/list.edc new file mode 100644 index 0000000..8a12592 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/list.edc @@ -0,0 +1,1691 @@ +group { name: "elm/list/item/default"; + data.item: "stacking" "above"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/list/item_odd/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { + name: "elm.swallow.icon"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { + name: "elm.swallow.end"; + clip_to: "disclip"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { + name: "elm.text"; + clip_to: "disclip"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: -1.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + clip_to: "disclip"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + } +} +group { name: "elm/list/item_compress/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + min: 0 10; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + } +} +group { name: "elm/list/item_compress_odd/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -5; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + offset: -5 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -1 -5; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + // min: 1 1; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/list/h_item/default"; + data.item: "stacking" "above"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1_h.png" COMP; + image: "ilist_item_shadow_h.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 10 0; + fixed: 1 1; + rel1 { + to: "base"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 -1; + } + image { + normal: "ilist_item_shadow_h.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1_h.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.0; + offset: -5 4; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + offset: 4 -5; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + rel1 { + to_x: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 1.0 0.0; + offset: -5 -1; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + } +} +group { name: "elm/list/h_item_odd/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2_h.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2_h.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.0; + offset: -5 4; + } + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + offset: 4 -5; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 1.0 0.0; + offset: -5 -1; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + } +} +group { name: "elm/list/h_item_compress/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_1_h.png" COMP; + image: "ilist_item_shadow_h.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base_sh"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + min: 10 0; + rel1 { + to: "base"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 -1; + } + image { + normal: "ilist_item_shadow_h.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1_h.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.0; + offset: -5 4; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + offset: 4 -5; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 1.0 0.0; + offset: -5 -1; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + } +} +group { name: "elm/list/h_item_compress_odd/default"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "ilist_2_h.png" COMP; + } + parts { + part { + name: "event"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2_h.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -5 -5; + } + rel2 { + relative: 1.0 1.0; + offset: 4 4; + } + image { + normal: "bt_sm_base1.png"; + border: 6 6 6 6; + } + image.middle: SOLID; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 0.0; + offset: -5 4; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + rel1 { + relative: 0.0 1.0; + offset: 4 -5; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 4 4; + } + rel2 { + to_x: "elm.swallow.end"; + relative: 1.0 0.0; + offset: -5 -1; + } + color: 0 0 0 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + } + } + part { name: "fg1"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.relative: 1.0 0.5; + rel2.to: "bg"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "fg2"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + } + program { + name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "fg1"; + target: "fg2"; + target: "elm.text"; + transition: LINEAR 0.1; + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/map.edc b/libraries/elementary/data/themes/widgets/map.edc new file mode 100644 index 0000000..2d7b177 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/map.edc @@ -0,0 +1,800 @@ +group { name: "elm/map/base/default"; + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "shelf_inset.png" COMP; + image: "bt_sm_base2.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 10 17; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: -2 0; + } + rel2 { + relative: 1.0 0.0; + offset: -2 -1; + to_y: "sb_hbar"; + } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + max: 10 99999; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + } + part { name: "sb_vbar_over1"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + part { name: "sb_vbar_over2"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 17 10; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -2; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -2; + to_x: "sb_vbar"; + } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + max: 99999 10; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 4 4 4 4; + middle: SOLID; + } + } + } + part { name: "sb_hbar_over1"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "sb_hbar_over2"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_shine.png"; + border: 4 4 4 0; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } +} +group { name: "elm/map/marker/radio/default"; + data { + item: size_w 24; + item: size_h 24; + item: size_max_w 58; + item: size_max_h 58; + } + images { + image: "radio2.png" COMP; + } + parts { + part { name: "whole"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "radio2.png"; + } + } + part { name: "elm.icon"; + type: SWALLOW; + clip_to: "whole"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.27 0.27; + rel2.relative: 0.73 0.73; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker/radio2/default"; + data { + item: size_w 24; + item: size_h 24; + item: size_max_w 58; + item: size_max_h 58; + } + images { + image: "map_item_2.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_item_2.png"; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker/empty/default"; + data { + item: size_w 22; + item: size_h 22; + item: size_max_w 64; + item: size_max_h 64; + } + parts { + part { name: "whole"; + type: RECT; + description { state: "default" 0.0; + } + } + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + } + } + part { name: "elm.icon"; + type: SWALLOW; + clip_to: "whole"; + mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1.relative: 0.28 0.25; + rel2.relative: 0.75 0.75; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + } + } + } + } + programs { + program { name: "open"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "open" "elm"; + } + program { name: "bringin"; + signal: "mouse,down,1,double"; + source: "base"; + action: SIGNAL_EMIT "bringin" "elm"; + } + } +} +group { name: "elm/map/marker_bubble/default"; + images { + image: "bubble.png" COMP; + image: "bubble_shine.png" COMP; + } + data { + item: size_w 400; + item: size_h 100; + } + parts { + part { name: "clipper"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "base0"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image { + normal: "bubble.png"; + border: 11 36 10 19; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "bubble_4.png"; + border: 11 36 18 9; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1 { + offset: 9 8; + } + rel2 { + offset: -10 -17; + } + } + } + part { name: "shine"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to: "base0"; + } + rel2 { + to: "base0"; + relative: 1.0 0.5; + } + image { + normal: "bubble_shine.png"; + border: 5 5 5 0; + } + fill.smooth: 0; + } + } + } + programs { + program { name: "show"; + signal: "show"; + action: STATE_SET "show" 0.0; + target: "clipper"; + transition: ACCELERATE 0.5; + } + } +} +group { name: "elm/map/circle/base/default"; + images { + image: "map_circle.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_circle.png"; + } + } + } +} +group { name: "elm/map/scale/base/default"; + data { + item: size_w 100; + item: size_h 25; + } + images { + image: "map_scale.png" COMP; + } + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_scale.png"; + image.border: 10 10 10 10; + } + } + part { name: "elm.text"; + type: TEXT; + ignore_flags: ON_HOLD; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color: 224 224 224 255; + color3: 0 0 0 64; + rel1 { + relative: 0 0; + offset: 1 1; + } + rel2 { + relative: 1 1; + offset: -1 -1; + } + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.1 0.5; + } + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/menu.edc b/libraries/elementary/data/themes/widgets/menu.edc new file mode 100644 index 0000000..6e09f11 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/menu.edc @@ -0,0 +1,769 @@ +group { name: "elm/menu/item/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + script { + public menu_text_visible; //0:hide (default), 1:visible + public menu_disable; //0:enable, 1:disable + } + parts { + part { name: "item_image"; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "item_image_disabled"; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 1; + align: 0.0 0.5; + rel1.offset: 4 4; + rel2.offset: 3 -5; + rel2.relative: 0.0 1.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -5; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 5 7; + rel2.offset: -10 -8; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "menu_item"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + color: 254 254 254 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + color: 0 0 0 128; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over_disabled"; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + // + program { + name: "item_mouse_in"; + signal: "mouse,in"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,activate" ""; + after: "item_mouse_in_2"; + after: "item_mouse_in_3"; + } + program { + name: "item_mouse_in_2"; + transition: DECELERATE 0.5; + script { + new v, d; + v = get_int(menu_text_visible); + d = get_int(menu_disable); + + if (v==1 && d==0) + run_program(PROGRAM:"selected_text"); + } + } + program { + name: "item_mouse_in_3"; + action : STATE_SET "visible" 0.0; + target: "item_image"; + target: "over1"; + transition: DECELERATE 0.5; + } + program { + name: "selected_text"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + transition: DECELERATE 0.5; + } + // + + // + program { + name: "item_mouse_out"; + signal: "mouse,out"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,inactivate" ""; + after: "item_mouse_out_2"; + after: "item_mouse_out_3"; + } + program { + name: "item_mouse_out_2"; + transition: DECELERATE 0.5; + script { + new v, d; + v = get_int(menu_text_visible); + d = get_int(menu_disable); + + if (v==1 && d==0) + run_program(PROGRAM:"visible_text"); + } + } + program { + name: "item_mouse_out_3"; + action: STATE_SET "default" 0.0; + target: "item_image"; + target: "over1"; + transition: DECELERATE 0.5; + } + program { + name: "visible_text"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + transition: DECELERATE 0.5; + } + // + + program { + name: "item_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: STATE_SET "visible" 0.0; + target: "item_image"; + } + program { + name: "item_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "item_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + set_int(menu_text_visible, 1); + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_int(menu_text_visible, 0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "item_image"; + target: "item_image_disabled"; + target: "over1"; + target: "over2"; + target: "over_disabled"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new v; + v = get_int(menu_text_visible); + if (v==1) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else if (v==0) + set_state(PART:"elm.text", "disabled", 0.0); + set_int(menu_disable, 1); + } + } + program { name: "item_select"; + signal: "elm,state,selected"; + source: "elm"; + after: "item_mouse_in_2"; + after: "item_mouse_in_3"; + } + program { name: "item_unselect"; + signal: "elm,state,unselected"; + source: "elm"; + after: "item_mouse_out_2"; + after: "item_mouse_out_3"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "item_image"; + target: "item_image_disabled"; + target: "over1"; + target: "over2"; + target: "over_disabled"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new v; + v = get_int(menu_text_visible); + if (v==1) + set_state(PART:"elm.text", "visible", 0.0); + else if (v==0) + set_state(PART:"elm.text", "default", 0.0); + set_int(menu_disable, 0); + } + } + } +} + +group { name: "elm/menu/item_with_submenu/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "arrow_right.png" COMP; + image: "arrow_left.png" COMP; + } + script { + public menu_text_visible; //0:hide (default), 1:visible + public menu_disable; //0:enable, 1:disable + } + parts { + part { name: "item_image"; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "item_image_disabled"; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "arrow"; + mouse_events: 1; + description { state: "default" 0.0; + color: 255 255 255 255; + align: 1.0 0.5; + aspect: 1 1; + aspect_preference: BOTH; + image { + normal: "arrow_right.png"; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 1; + align: 0.0 0.5; + rel1.offset: 4 4; + rel2.offset: 3 -5; + rel2.relative: 0.0 1.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -5; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 5 7; + rel2.offset: -10 -8; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "menu_item"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + color: 254 254 254 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + inherit: "visible" 0.0; + color: 0 0 0 128; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "over_disabled"; + mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + // + program { + name: "item_mouse_in"; + signal: "mouse,in"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,activate" ""; + after: "item_mouse_in_2"; + after: "item_mouse_in_3"; + } + program { + name: "item_mouse_in_2"; + transition: DECELERATE 0.5; + script { + new v, d; + v = get_int(menu_text_visible); + d = get_int(menu_disable); + + if (v==1 && d==0) + run_program(PROGRAM:"selected_text"); + } + } + program { + name: "item_mouse_in_3"; + action : STATE_SET "visible" 0.0; + target: "item_image"; + target: "over1"; + transition: DECELERATE 0.5; + } + program { + name: "selected_text"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + transition: DECELERATE 0.5; + } + // + + // + program { + name: "item_mouse_out"; + signal: "mouse,out"; + source: "over2"; + after: "item_mouse_out_2"; + after: "item_mouse_out_3"; + } + program { + name: "item_mouse_out_2"; + transition: DECELERATE 0.5; + script { + new v, d; + v = get_int(menu_text_visible); + d = get_int(menu_disable); + + if (v==1 && d==0) + run_program(PROGRAM:"visible_text"); + } + } + program { + name: "item_mouse_out_3"; + action: STATE_SET "default" 0.0; + target: "item_image"; + target: "over1"; + transition: DECELERATE 0.5; + } + program { + name: "visible_text"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + transition: DECELERATE 0.5; + } + // + + program { + name: "item_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: STATE_SET "visible" 0.0; + target: "item_image"; + } + program { + name: "item_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "item_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "menu_open"; + signal: "mouse,in"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,open" ""; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + set_int(menu_text_visible, 1); + set_state(PART:"elm.text", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + set_int(menu_text_visible, 0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "item_image"; + target: "item_image_disabled"; + target: "over1"; + target: "over2"; + target: "over_disabled"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else if (!strcmp(st, "default")) + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "item_image"; + target: "item_image_disabled"; + target: "over1"; + target: "over2"; + target: "over_disabled"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new v; + v = get_int(menu_text_visible); + if (v==1) + set_state(PART:"elm.text", "visible", 0.0); + else if (v==0) + set_state(PART:"elm.text", "default", 0.0); + set_int(menu_disable, 0); + } + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "arrow"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "arrow"; + } + } +} + +group { name: "elm/menu/separator/default"; + images { + image: "separator_h.png" COMP; + } + parts { + part { name: "separator"; // separator group + description { state: "default" 0.0; + min: 2 2; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image { + normal: "separator_h.png"; + } + fill { + smooth: 0; + } + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/multibuttonentry.edc b/libraries/elementary/data/themes/widgets/multibuttonentry.edc new file mode 100644 index 0000000..af6c358 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/multibuttonentry.edc @@ -0,0 +1,468 @@ + group { + name: "elm/multibuttonentry/base/default"; + data.item: "closed_button_type" "image"; /* image, label, default : label */ + data.item: "closed_height" 46; + parts { + part { + name: "elm.base"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + align: 0 0; + color: 0 0 0 0; + } + } + part { + name: "top.left.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 6 8; + fixed: 1 1; + rel1 { relative: 0.0 0.0;to:elm.base; } + rel2 { relative: 0.0 0.0;to:elm.base; } + align: 0 0; + color: 0 0 0 0; + } + } + part { + name: "bottom.right.pad"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 6 8; + fixed: 1 1; + rel1 { relative: 1.0 1.0;to:elm.base; } + rel2 { relative: 1.0 1.0;to:elm.base; } + align: 1 1; + color: 0 0 0 0; + } + } + part { + name: "box.swallow"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 1.0 1.0; to: "top.left.pad"; } + rel2 { relative: 0.0 0.0; to: "bottom.right.pad"; } + align: 0.0 0.0; + } + } + } + } + + group { + name: "elm/multibuttonentry/guidetext/default"; + parts { + part { + name: "elm.text.bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + } + } + part { + name: "elm.text"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + color: 130 130 130 255; + text { + font: "Sans:style=Roman"; + size: 16; + min: 0 1; + align: 0.0 0.5; + } + } + } + } + } + + group { + name: "elm/multibuttonentry/btn/default"; + data.item: "button_max_size" 130; + styles { + style { name: "multibuttonentry_textblock_style"; + base: "font=Arial:style=Medium align=0.5 font_size=16 color=#FFFFFF text_class=label ellipsis=1.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font=Sans:style=Bold"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { + name: "elm.base"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + min: 0 33; + max: 3000 33; + fixed: 1 1; + color: 255 255 255 0; + } + } + part{ + name: "top.padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 3 5; + fixed: 1 1; + rel1 { relative: 0.0 0.0;to:elm.base; } + rel2 { relative: 1.0 0.0;to:elm.base; } + color: 255 0 0 0; + align: 0 0; + } + } + part{ + name: "bottom.padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 3 5; + fixed: 1 1; + rel1 { relative: 0.0 1.0;to:elm.base; } + rel2 { relative: 1.0 1.0;to:elm.base; } + color: 0 255 0 0; + align: 0 1; + } + } + part { + name: "left.padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 0 0; + fixed: 0 0; + rel1 { relative: 0.0 0.0; to: "elm.base"; } + rel2 { relative: 0.0 1.0; to: "elm.base"; } + color: 255 0 255 0; + align: 0 0; + } + } + part { + name: "right.padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min : 5 0; + fixed: 0 0; + rel1 { relative: 1.0 0.0; to: "elm.base"; } + rel2 { relative: 1.0 1.0; to: "elm.base"; } + color: 0 0 255 0; + align: 1 1.0; + } + } + part { + name: "elm.btn.bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + min : 10 6; + max : 500 50; + fixed: 0 0; + rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";} + rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";} + color: 80 80 80 255; + } + description { + state: "focused" 0.0; + inherit: "default" 0.0; + color: 170 170 170 255; + } + } + part { + name: "elm.btn.text"; + type: TEXTBLOCK; + mouse_events: 1; + scale:1; + description { + state: "default" 0.0; + min: 6 6; + max: 120 33; + fixed: 0 1; + text { + text: "Auto Resized textblock"; + style: "multibuttonentry_textblock_style"; + min: 1 1; + align: 0.5 0.5; + } + rel1.to:"elm.btn.bg"; + rel2.to:"elm.btn.bg"; + rel1.offset: 10 10; + rel2.offset: -11 -11; + } + } + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "elm.btn.bg"; + action: SIGNAL_EMIT "clicked" "elm"; + } + program { + name: "default"; + signal: "default"; + action: STATE_SET "default" 0.0; + target: "elm.btn.bg"; + } + program { + name: "focused"; + signal: "focused"; + action: STATE_SET "focused" 0.0; + target: "elm.btn.bg"; + } + } + } + group { + name: "elm/label/base/extended/multibuttonentry_default"; + + styles { + style { + name: "textblock_style_multibuttonentry_default"; + base: "font=Sans:style=Medium font_size=16 color=#000000 wrap=char"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font=Sans:style=Bold"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { + name: "label.swallow.background"; + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + rel1 { relative: 0 0; to: "elm.text"; } + rel2 { relative: 1 1; to: "elm.text"; } + } + } + part { + name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + text { + style: "textblock_style_multibuttonentry_default"; + min: 1 1; + } + } + } + } + } + + group { + name: "elm/multibuttonentry/closedbutton/default"; + images { + image: "bt_basew.png" COMP; + image: "bt_base1.png" COMP; + image: "arrow_down.png" COMP; + image: "down.png" COMP; + } + data.item: "closed_button_height" 26; + data.item: "closed_button_width" 26; + + parts { + part { + name: "closed_button_bg"; + scale: 1; + mouse_events: 0; + type: IMAGE; + description { + state: "default" 0.0; + align: 0.5 0.5; + min: 26 26; + visible: 1; + image.normal: "bt_basew.png"; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + } + } + part { + name: "closed_button"; + scale: 1; + mouse_events: 1; + type: IMAGE; + description { + state: "default" 0.0; + align: 0.5 0.5; + min: 26 26; + visible: 1; + image.normal: "arrow_down.png"; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "down.png"; + } + } + } + + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "closed_button"; + action: STATE_SET "clicked" 0.0; + target: "closed_button_bg"; + target: "closed_button"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "closed_button"; + action: STATE_SET "default" 0.0; + target: "closed_button_bg"; + target: "closed_button"; + } + } + } + + group { + name: "elm/multibuttonentry/label/default"; + parts { + part { + name: "mbe.label.bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + color: 0 0 0 0; + min: 0 0; + fixed: 1 1; + } + description { + state: "no_text" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "mbe.label.left.padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + min: 3 0; + fixed: 1 1; + rel1.to: "mbe.label.bg"; + rel2 { + to: "mbe.label.bg"; + relative: 0.0 1.0; + } + align: 0 0.5; + } + description { + state: "no_text" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "mbe.label.right.padding"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + min: 3 0; + fixed: 1 1; + rel1 { + to: "mbe.label.bg"; + relative: 1.0 0.0; + } + rel2.to: "mbe.label.bg"; + align: 1 1.0; + } + description { + state: "no_text" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "mbe.label"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 255; + min: 0 33; + fixed: 1 1; + text { + font: "Sans:style=Roman"; + size: 16; + min: 1 1; + align: 0.0 0.428; + } + rel1 { relative: 1.0 1.0; to: "mbe.label.left.padding"; } + rel2 { relative: 0.0 0.0; to: "mbe.label.right.padding"; } + } + description { + state: "no_text" 0.0; + inherit: "default" 0.0; + min: 6 33; + } + } + } + programs { + program { + name: "has_text"; + signal: "elm,mbe,set_text"; + source: ""; + action: STATE_SET "default" 0.0; + target: "mbe.label.bg"; + target: "mbe.label.left.padding"; + target: "mbe.label.right.padding"; + target: "mbe.label"; + } + program { + name: "no_text"; + signal: "elm,mbe,clear_text"; + source: ""; + action: STATE_SET "no_text" 0.0; + target: "mbe.label.bg"; + target: "mbe.label.left.padding"; + target: "mbe.label.right.padding"; + target: "mbe.label"; + } + } + } + diff --git a/libraries/elementary/data/themes/widgets/naviframe.edc b/libraries/elementary/data/themes/widgets/naviframe.edc new file mode 100644 index 0000000..0867700 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/naviframe.edc @@ -0,0 +1,548 @@ +group { name: "elm/naviframe/base/default"; + name: "elm/naviframe/base/pager"; + parts { + part { name: "base0"; + description { state: "default" 0.0; + } + } + } +} +group { name: "elm/naviframe/item/basic/default"; + parts { + part { name: "title_clip"; + type: RECT; + description { state: "default" 0.0; + min: 1 55; + align: 0.0 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 0.0; } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to_y: "title_clip"; + rel1.relative: 0 1; + } + } + part { name: "content_base"; + type: RECT; + clip_to: "content_clip"; + description { state: "default" 0.0; + rel1 { to: "elm.swallow.content"; } + rel2 { to: "elm.swallow.content"; } + color: 225 225 225 255; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "content_clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "title_clip"; + rel2.relative: 1.0 1.0; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 1.0; + rel2.relative: 0.0 1.0; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 1.0; + rel2.relative: 2.0 1.0; + } + } + part { name: "title_base"; + type: RECT; + description { state: "default" 0.0; + rel1 { to: "title_clip"; } + rel2 { to: "title_clip"; } + color: 225 225 225 255; + } + } + part { name: "title_separator"; + type: RECT; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 5; + align: 0.5 1; + fixed: 0 1; + rel1 { to: "title_clip"; relative: 0 1; } + rel2 { to: "title_clip"; } + color: 150 150 150 255; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 80 40; + max: 80 40; + align: 0 0; + fixed: 1 1; + rel1.offset: 5 5; + rel1.to: "title_base"; + rel2.offset: -1 -6; + rel2.to: "title_base"; + } + } + part { name: "elm.swallow.next_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 80 40; + max: 80 40; + align: 1 0; + fixed: 1 1; + rel1.offset: 0 5; + rel1.to: "title_base"; + rel2.offset: -6 -6; + rel2.to: "title_base"; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 40 40; + max: 40 40; + fixed: 1 1; + align: 1 0.5; + rel1.to: "elm.text.title"; + rel1.relative: 0 0; + rel2.to: "elm.text.title"; + rel2.relative: 0 1; + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + repeat_events: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + text { font: "Sans:style=Bold"; + size: 12; + min: 0 0; + max: 1 0; + align: 0.5 0.5; + } + color: 0 0 0 255; + align: 0.5 0.5; + rel1.to: "title_base"; + rel2.to: "title_base"; + } + } + part { name: "elm.text.subtitle"; + type: TEXT; + scale: 1; + repeat_events: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + text { font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + max: 1 0; + align: 0.5 1; + } + rel1.to_y: "elm.text.title"; + rel1.relative: 0 1; + rel1.to: "title_base"; + rel1.offset: 0 -3; + rel2.to: "title_base"; + rel2.offset: -1 -4; + color: 50 50 50 255; + align: 0.5 0; + } + } + } + programs { + program { name: "content_new_pusehd"; + signal: "elm,state,new,pushed,internal"; + source: ""; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.content"; + after: "show_finished"; + } + program { name: "content_cur_pusehd"; + signal: "elm,state,cur,pushed,internal"; + source: ""; + action: STATE_SET "left" 0.0; + target: "elm.swallow.content"; + transition: DECELERATE 0.5; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,internal"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: DECELERATE 0.5; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,internal"; + source: ""; + action: STATE_SET "right" 0.0; + target: "elm.swallow.content"; + transition: DECELERATE 0.5; + after: "popped_finished"; + } + program { name: "cur_pushed"; + signal: "elm,state,cur,pushed"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "default", 0.0); + emit("elm,state,cur,pushed,internal", ""); + } + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "right", 0.0); + emit("elm,state,new,pushed,internal", ""); + } + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "left", 0.0); + emit("elm,state,prev,popped,internal", ""); + } + } + program { name: "cur_popped"; + signal: "elm,state,cur,popped"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "default", 0.0); + emit("elm,state,cur,popped,internal", ""); + } + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clip"; + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "title_clip"; + } + program { + name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "title_base"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + } +} +group { name: "elm/naviframe/item/overlap/default"; + parts { + part { name: "title_clip"; + type: RECT; + description { state: "default" 0.0; + min: 1 55; + align: 0.0 0.0; + fixed: 0 1; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 0.0; } + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 0; + fixed: 1 1; + } + } + part { name: "content_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to_y: "title_clip"; + rel1.relative: 0 1; + color: 255 255 255 255; + visible: 1; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "content_base"; + type: RECT; + clip_to: "content_clip"; + description { state: "default" 0.0; + rel1 { to: "elm.swallow.content"; } + rel2 { to: "elm.swallow.content"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "content_clip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "title_clip"; + rel2.relative: 1.0 1.0; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 1.0; + rel2.relative: 2.0 1.0; + } + } + part { name: "title_base"; + type: RECT; + description { state: "default" 0.0; + rel1 { to: "title_clip"; } + rel2 { to: "title_clip"; } + color: 225 225 225 255; + } + } + part { name: "title_separator"; + type: RECT; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 5; + align: 0.5 1; + fixed: 0 1; + rel1 { to: "title_clip"; relative: 0 1; } + rel2 { to: "title_clip"; } + color: 150 150 150 255; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 80 40; + max: 80 40; + align: 0 0; + fixed: 1 1; + rel1.offset: 5 5; + rel1.to: "title_base"; + rel2.offset: -1 -6; + rel2.to: "title_base"; + } + } + part { name: "elm.swallow.next_btn"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 80 40; + max: 80 40; + align: 1 0; + fixed: 1 1; + rel1.offset: 0 5; + rel1.to: "title_base"; + rel2.offset: -6 -6; + rel2.to: "title_base"; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 40 40; + max: 40 40; + fixed: 1 1; + align: 1 0.5; + rel1.to: "elm.text.title"; + rel1.relative: 0 0; + rel2.to: "elm.text.title"; + rel2.relative: 0 1; + } + } + part { name: "elm.text.title"; + type: TEXT; + scale: 1; + repeat_events: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + text { font: "Sans:style=Bold"; + size: 12; + min: 0 0; + max: 1 0; + align: 0.5 0.5; + } + color: 0 0 0 255; + align: 0.5 0.5; + rel1.to: "title_base"; + rel2.to: "title_base"; + } + } + part { name: "elm.text.subtitle"; + type: TEXT; + scale: 1; + repeat_events: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + text { font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + max: 1 0; + align: 0.5 1; + } + rel1.to_y: "elm.text.title"; + rel1.relative: 0 1; + rel1.to: "title_base"; + rel1.offset: 0 -3; + rel2.to: "title_base"; + rel2.offset: -1 -4; + color: 50 50 50 255; + align: 0.5 0; + } + } + } + programs { + program { name: "content_new_pusehd"; + signal: "elm,state,new,pushed,internal"; + source: ""; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.content"; + target: "content_clip"; + after: "show_finished"; + } + program { name: "content_cur_pusehd"; + signal: "elm,state,cur,pushed,internal"; + source: ""; + action: STATE_SET "left" 0.0; + target: "elm.swallow.content"; + target: "content_clip"; + transition: DECELERATE 0.5; + after: "pushed_finished"; + } + program { name: "content_prev_popped"; + signal: "elm,state,prev,popped,internal"; + source: ""; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "content_clip"; + transition: DECELERATE 0.5; + after: "show_finished"; + } + program { name: "content_cur_popped"; + signal: "elm,state,cur,popped,internal"; + source: ""; + action: STATE_SET "right" 0.0; + target: "elm.swallow.content"; + target: "content_clip"; + transition: DECELERATE 0.5; + after: "popped_finished"; + } + program { name: "cur_pushed"; + signal: "elm,state,cur,pushed"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"content_clip", "default", 0.0); + emit("elm,state,cur,pushed,internal", ""); + } + } + program { name: "new_pushed"; + signal: "elm,state,new,pushed"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "right", 0.0); + set_state(PART:"content_clip", "right", 0.0); + emit("elm,state,new,pushed,internal", ""); + } + } + program { name: "prev_popped"; + signal: "elm,state,prev,popped"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "left", 0.0); + set_state(PART:"content_clip", "left", 0.0); + emit("elm,state,prev,popped,internal", ""); + } + } + program { name: "cur_popped"; + signal: "elm,state,cur,popped"; + source: "elm"; + script { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"content_clip", "default", 0.0); + emit("elm,state,cur,popped,internal", ""); + } + } + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "content_clip"; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clip"; + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "title_clip"; + } + program { + name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "title_base"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + program { name: "show_finished"; + action: SIGNAL_EMIT "elm,action,show,finished" ""; + } + program { name: "pushed_finished"; + action: SIGNAL_EMIT "elm,action,pushed,finished" ""; + } + program { name: "popped_finished"; + action: SIGNAL_EMIT "elm,action,popped,finished" ""; + } + } +} diff --git a/libraries/elementary/data/themes/widgets/notify.edc b/libraries/elementary/data/themes/widgets/notify.edc new file mode 100644 index 0000000..429696d --- /dev/null +++ b/libraries/elementary/data/themes/widgets/notify.edc @@ -0,0 +1,862 @@ +group { name: "elm/notify/block_events/default"; + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 64; + visible: 1; + } + } + } + programs { + program { + name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} +group { name: "elm/notify/top/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/center/default"; + //this group is a design similar to the inwin group + images { + image: "bt_dis_base.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/bottom/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/left/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/right/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/top_left/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/top_right/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/bottom_left/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +group { name: "elm/notify/bottom_right/default"; + //this group is a design similar to the inwin group + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "show_2"; + signal: "show"; + action: STATE_SET "default" 0.0; + target: "base"; + after: "show_3"; + } + program { name: "show_3"; + signal: "show"; + action: STATE_SET "visible" 0.0; + target: "base"; + transition: LINEAR 0.5; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/panel.edc b/libraries/elementary/data/themes/widgets/panel.edc new file mode 100644 index 0000000..f571d70 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/panel.edc @@ -0,0 +1,1250 @@ +group { + name: "elm/panel/base/left"; + images + { + image: "bt_base1.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "icon_arrow_left.png" COMP; + image: "icon_arrow_right.png" COMP; + } + data { + item: "focus_highlight" "on"; + } + parts + { + part { name: "focus_highlight"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + to: "btn"; + offset: -8 -8; + } + rel2 { + to: "btn"; + offset: 7 7; + } + image { + normal: "frame_2.png"; + border: 5 5 32 26; + middle: 0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "bg"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel2.offset: -1 -1; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel1.offset: 21 0; + rel2.relative: 0.0 1.0; + rel2.offset: 20 -1; + } + } + part + { + name: "clipper"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 + { + offset: 4 4; + to: "base"; + } + rel2 + { + offset: -5 -5; + to: "base"; + } + } + } + part + { + name: "btn"; + type: IMAGE; + mouse_events: 1; + description + { + state: "default" 0.0; + max: 32 48; + fixed: 1 1; + align: 0.0 0.5; + rel1 + { + relative: 1.0 0.0; + offset: -3 0; + to_x: "base"; + } + rel2.to_x: "bg"; + image + { + normal: "bt_base1.png"; + border: 0 5 4 12; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part + { + name: "btn_over"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2 + { + relative: 1.0 0.5; + to: "btn"; + } + image + { + normal: "bt_hilight.png"; + border: 0 7 7 0; + } + } + } + part + { + name: "btn_over2"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_shine.png"; + border: 0 7 7 7; + } + } + } + part + { + name: "btn_over3"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "btn_icon"; + type: IMAGE; + repeat_events: 1; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: 16 16; + max: 16 16; + image.normal: "icon_arrow_left.png"; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_right.png"; + } + } + part + { + name: "base"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.offset: -20 -1; + image + { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part + { + name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description + { + state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs + { + program + { + name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "btn_click"; + signal: "mouse,down,1"; + source: "btn_over2"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program + { + name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn_over2"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program + { + name: "btn_click2"; + signal: "mouse,down,1"; + source: "btn_over3"; + action: STATE_SET "clicked" 0.0; + target: "btn_over3"; + } + program + { + name: "btn_unclick2"; + signal: "mouse,up,1"; + source: "btn_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "btn_over3"; + } + program + { + name: "btn_unclick3"; + signal: "mouse,clicked,1"; + source: "btn_over2"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} + +group { + name: "elm/panel/base/top"; + images + { + image: "bt_base1.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "icon_arrow_up.png" COMP; + image: "icon_arrow_down.png" COMP; + } + data { + item: "focus_highlight" "on"; + } + parts + { + part { name: "focus_highlight"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + to: "btn"; + offset: -8 -8; + } + rel2 { + to: "btn"; + offset: 7 7; + } + image { + normal: "frame_2.png"; + border: 5 5 32 26; + middle: 0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "bg"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel2.offset: -1 -1; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -1.0; + rel1.offset: 0 20; + rel2.relative: 1.0 0.0; + rel2.offset: -1 20; + } + } + part + { + name: "clipper"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 + { + offset: 4 4; + to: "base"; + } + rel2 + { + offset: -5 -5; + to: "base"; + } + } + } + part + { + name: "btn"; + type: IMAGE; + mouse_events: 1; + description + { + state: "default" 0.0; + max: 48 32; + fixed: 1 1; + align: 0.5 0.0; + rel1 + { + relative: 0.0 1.0; + offset: 0 -6; + to_y: "base"; + } + rel2.to_y: "bg"; + image + { + normal: "bt_base1.png"; + border: 12 4 0 5; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part + { + name: "btn_over"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2 + { + relative: 1.0 0.5; + to: "btn"; + } + image + { + normal: "bt_hilight.png"; + border: 0 7 7 0; + } + } + } + part + { + name: "btn_over2"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_shine.png"; + border: 0 7 7 7; + } + } + } + part + { + name: "btn_over3"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "btn_icon"; + type: IMAGE; + repeat_events: 1; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: 16 16; + max: 16 16; + image.normal: "icon_arrow_up.png"; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + part + { + name: "base"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.offset: -1 -20; + image + { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part + { + name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description + { + state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs + { + program + { + name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "btn_click"; + signal: "mouse,down,1"; + source: "btn_over2"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program + { + name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn_over2"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program + { + name: "btn_click2"; + signal: "mouse,down,1"; + source: "btn_over3"; + action: STATE_SET "clicked" 0.0; + target: "btn_over3"; + } + program + { + name: "btn_unclick2"; + signal: "mouse,up,1"; + source: "btn_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "btn_over3"; + } + program + { + name: "btn_unclick3"; + signal: "mouse,clicked,1"; + source: "btn_over2"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} + +group { + name: "elm/panel/base/bottom"; + images + { + image: "bt_base1.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "icon_arrow_up.png" COMP; + image: "icon_arrow_down.png" COMP; + } + data { + item: "focus_highlight" "on"; + } + parts + { + part { name: "focus_highlight"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + to: "btn"; + offset: -8 -8; + } + rel2 { + to: "btn"; + offset: 7 7; + } + image { + normal: "frame_2.png"; + border: 5 5 32 26; + middle: 0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "bg"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel2.offset: -1 -1; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: -1 -24; + rel2.relative: 1.0 2.0; + rel2.offset: 0 -21; + } + } + part + { + name: "clipper"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 + { + offset: 4 4; + to: "base"; + } + rel2 + { + offset: -5 -5; + to: "base"; + } + } + } + part + { + name: "btn"; + type: IMAGE; + mouse_events: 1; + description + { + state: "default" 0.0; + max: 48 32; + fixed: 1 1; + align: 0.5 0.0; + rel1.to_y: "bg"; + rel2{ + relative: 1.0 0.0; + offset: 0 5; + to_y: "base"; + } + image + { + normal: "bt_base1.png"; + border: 4 12 5 0; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part + { + name: "btn_over"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2 + { + relative: 1.0 0.5; + to: "btn"; + } + image + { + normal: "bt_hilight.png"; + border: 0 7 7 0; + } + } + } + part + { + name: "btn_over2"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_shine.png"; + border: 0 7 7 7; + } + } + } + part + { + name: "btn_over3"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "btn_icon"; + type: IMAGE; + repeat_events: 1; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: 16 16; + max: 16 16; + image.normal: "icon_arrow_down.png"; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_up.png"; + } + } + part + { + name: "base"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: -1 20; + rel2.to: "bg"; + image + { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part + { + name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description + { + state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs + { + program + { + name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "btn_click"; + signal: "mouse,down,1"; + source: "btn_over2"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program + { + name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn_over2"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program + { + name: "btn_click2"; + signal: "mouse,down,1"; + source: "btn_over3"; + action: STATE_SET "clicked" 0.0; + target: "btn_over3"; + } + program + { + name: "btn_unclick2"; + signal: "mouse,up,1"; + source: "btn_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "btn_over3"; + } + program + { + name: "btn_unclick3"; + signal: "mouse,clicked,1"; + source: "btn_over2"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} + +group { + name: "elm/panel/base/right"; + images + { + image: "bt_base1.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "icon_arrow_left.png" COMP; + image: "icon_arrow_right.png" COMP; + } + parts + { + part { name: "focus_highlight"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + rel1 { + to: "btn"; + offset: -8 -8; + } + rel2 { + to: "btn"; + offset: 7 7; + } + image { + normal: "frame_2.png"; + border: 5 5 32 26; + middle: 0; + } + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "bg"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1.relative: 0.0 0.0; + rel1.offset: 0 0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -22 0; + rel2.relative: 2.0 1.0; + rel2.offset: -23 -1; + } + } + part + { + name: "clipper"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 + { + offset: 4 4; + to: "base"; + } + rel2 + { + offset: -5 -5; + to: "base"; + } + } + } + part + { + name: "btn"; + type: IMAGE; + mouse_events: 1; + description + { + state: "default" 0.0; + max: 32 48; + fixed: 1 1; + align: 1 0.5; + rel1 + { + to_x: "bg"; + } + rel2 + { + offset: 2 0; + relative: 0.0 1; + to_x: "base"; + } + image + { + normal: "bt_base1.png"; + border: 5 0 4 12; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part + { + name: "btn_over"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2 + { + relative: 1.0 0.5; + to: "btn"; + } + image + { + normal: "bt_hilight.png"; + border: 7 0 7 0; + } + } + } + part + { + name: "btn_over2"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_shine.png"; + border: 7 0 7 7; + } + } + } + part + { + name: "btn_over3"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "btn"; + rel2.to: "btn"; + image + { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth: 0; + } + description + { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part + { + name: "btn_icon"; + type: IMAGE; + repeat_events: 1; + description + { + state: "default" 0.0; + rel1.to: "btn"; + rel2.to: "btn"; + align: 0.5 0.5; + min: 16 16; + max: 16 16; + image.normal: "icon_arrow_right.png"; + } + description + { + state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_left.png"; + } + } + part + { + name: "base"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: 20 0; + rel2.to: "bg"; + image + { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part + { + name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description + { + state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + } + programs + { + program + { + name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "bg"; + target: "btn_icon"; + transition: LINEAR 0.5; + } + program + { + name: "btn_click"; + signal: "mouse,down,1"; + source: "btn_over2"; + action: STATE_SET "clicked" 0.0; + target: "btn"; + } + program + { + name: "btn_unclick"; + signal: "mouse,up,1"; + source: "btn_over2"; + action: STATE_SET "default" 0.0; + target: "btn"; + } + program + { + name: "btn_click2"; + signal: "mouse,down,1"; + source: "btn_over3"; + action: STATE_SET "clicked" 0.0; + target: "btn_over3"; + } + program + { + name: "btn_unclick2"; + signal: "mouse,up,1"; + source: "btn_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "btn_over3"; + } + program + { + name: "btn_unclick3"; + signal: "mouse,up,1"; + source: "btn_over2"; + action: SIGNAL_EMIT "elm,action,panel,toggle" ""; + } + program { name: "highlight_show"; + signal: "elm,action,focus"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,unfocus"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/panes.edc b/libraries/elementary/data/themes/widgets/panes.edc new file mode 100644 index 0000000..10423e8 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/panes.edc @@ -0,0 +1,853 @@ +group { + name: "elm/panes/vertical/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "arrow_right.png" COMP; + image: "arrow_left.png" COMP; + } + parts + { + part + { + name: "whole"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + visible: 0; + } + } + + //2 contents + part + { + name: "whole_left"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel2.to_x: "elm.bar"; + rel2.relative: 0.0 1.0; + visible: 1; + } + } + part + { + name: "elm.swallow.left"; + type: SWALLOW; + clip_to: "whole_left"; + description + { + state: "default" 0.0; + rel1.to: "whole_left"; + rel2.to: "whole_left"; + } + } + + part + { + name: "whole_right"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to_x: "elm.bar"; + rel1.relative: 1.0 0.0; + visible: 1; + } + } + part + { + name: "elm.swallow.right"; + type: SWALLOW; + clip_to: "whole_right"; + description + { + state: "default" 0.0; + rel1.to: "whole_right"; + rel2.to: "whole_right"; + } + } + //BAR + part { name: "elm.bar"; + mouse_events: 1; + dragable { + confine: "whole"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + max: 15 9999; + min: 15 100; + rel1.relative: 0.0 0.5; + rel2.relative: 1.0 0.5; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name:"bar_disabled"; + type: RECT; + description { state:"default" 0.0; + rel1.to_x: "elm.bar"; + rel2.to_x: "elm.bar"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + //Arrow + part { + name: "arrow_right"; + repeat_events: 1; + description { state: "default" 0.0; + min: 45 45; + max: 45 45; + color: 255 255 255 0; + + rel1.relative: 1.0 0.5; + rel1.to_x: "elm.bar"; + rel1.offset: 45/2 -45/2; + + rel2.relative: 1.0 0.5; + rel2.to_x: "elm.bar"; + rel2.offset: 45/2 45/2; + + image.normal: "arrow_right.png"; + + fixed: 1 1; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + } + description { state: "anim_1" 0.0; + inherit: "default" 0.0; + color: 255 255 255 200; + rel1.offset: (45/2 + 10) -45/2; + rel2.offset: (45/2 +10) 45/2; + } + description { state: "anim_1" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + color: 255 255 255 200; + rel1.offset: (45/2 + 10) -45/2; + rel2.offset: (45/2 +10) 45/2; + } + description { state: "anim_2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + rel1.offset: (45/2 + 20) -45/2; + rel2.offset: (45/2 + 20) 45/2; + } + description { state: "anim_2" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_left.png"; + color: 255 255 255 0; + rel1.offset: (45/2 + 20) -45/2; + rel2.offset: (45/2 + 20) 45/2; + } + } + part { + name: "arrow_left"; + repeat_events: 1; + description { state: "default" 0.0; + min: 45 45; + max: 45 45; + color: 255 255 255 0; + + rel1.relative: 0.0 0.5; + rel1.to_x: "elm.bar"; + rel1.offset: -45/2 -45/2; + + rel2.relative: 0.0 0.5; + rel2.to_x: "elm.bar"; + rel2.offset: -45/2 45/2; + + image.normal: "arrow_left.png"; + + fixed: 1 1; + } + description { state: "default" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_right.png"; + } + description { state: "anim_1" 0.0; + inherit: "default" 0.0; + color: 255 255 255 200; + rel1.offset: (-45/2 - 10) -45/2; + rel2.offset: (-45/2 - 10) 45/2; + } + description { state: "anim_1" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_right.png"; + color: 255 255 255 200; + rel1.offset: (-45/2 - 10) -45/2; + rel2.offset: (-45/2 - 10) 45/2; + } + description { state: "anim_2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + rel1.offset: (-45/2 - 20) -45/2; + rel2.offset: (-45/2 - 20) 45/2; + } + description { state: "anim_2" 0.1; + inherit: "default" 0.0; + image.normal: "arrow_right.png"; + color: 255 255 255 0; + rel1.offset: (-45/2 - 20) -45/2; + rel2.offset: (-45/2 - 20) 45/2; + } + } + + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + after: "arrow_anim_start"; + } + program { + name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "elm.bar"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + after: "arrow_anim_stop"; + } + program { + name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "elm.bar"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "button_down_double"; + signal: "mouse,down,1,double"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,click,double" ""; + } + + //arrows animation + program { + name: "arrow_anim_start"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.0) { + run_program(PROGRAM:"arrow_anim_start_ltr"); + } + else { + run_program(PROGRAM:"arrow_anim_start_rtl"); + } + } + } + program { + name: "arrow_anim_stop"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.0) { + run_program(PROGRAM:"arrow_anim_stop_ltr"); + } + else { + run_program(PROGRAM:"arrow_anim_stop_rtl"); + } + } + } + + program { + name: "arrow_anim_start_ltr"; + action: STATE_SET "anim_1" 0.0; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_1_ltr"; + } + program { + name: "arrow_anim_1_ltr"; + action: STATE_SET "anim_2" 0.0; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_2_ltr"; + } + program { + name: "arrow_anim_2_ltr"; + action: STATE_SET "default" 0.0; + target: "arrow_right"; + target: "arrow_left"; + after: "arrow_anim_start_ltr"; + } + program { + name: "arrow_anim_stop_ltr"; + action: ACTION_STOP; + target: "arrow_anim_start_ltr"; + target: "arrow_anim_1_ltr"; + target: "arrow_anim_2_ltr"; + after: "arrow_anim_stop_1_ltr"; + } + program { + name: "arrow_anim_stop_1_ltr"; + action: STATE_SET "default" 0.0; + target: "arrow_right"; + target: "arrow_left"; + transition: DECELERATE 0.4; + } + program { + name: "arrow_anim_start_rtl"; + action: STATE_SET "anim_1" 0.1; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_1_rtl"; + } + program { + name: "arrow_anim_1_rtl"; + action: STATE_SET "anim_2" 0.1; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_2_rtl"; + } + program { + name: "arrow_anim_2_rtl"; + action: STATE_SET "default" 0.1; + target: "arrow_right"; + target: "arrow_left"; + after: "arrow_anim_start_rtl"; + } + program { + name: "arrow_anim_stop_rtl"; + action: ACTION_STOP; + target: "arrow_anim_start_rtl"; + target: "arrow_anim_1_rtl"; + target: "arrow_anim_2_rtl"; + after: "arrow_anim_stop_1_rtl"; + } + program { + name: "arrow_anim_stop_1_rtl"; + action: STATE_SET "default" 0.1; + target: "arrow_right"; + target: "arrow_left"; + transition: DECELERATE 0.4; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow_left", st, 0.1); + } + get_state(PART:"arrow_right", st, 30, vl); + if (vl == 0.0) { + set_state(PART:"arrow_right", st, 0.1); + } + } + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + script { + new st[31]; + new Float:vl; + get_state(PART:"arrow_left", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow_left", st, 0.0); + } + get_state(PART:"arrow_right", st, 30, vl); + if (vl == 0.1) { + set_state(PART:"arrow_right", st, 0.0); + } + } + } + //fix the pane + program { + name: "panes_fixed"; + signal: "elm.panes.fixed"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.bar"; + target: "over1"; + target: "bar_disabled"; + } + //allow the movement by interaction + program { + name: "panes_unfixed"; + signal: "elm.panes.unfixed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bar"; + target: "over1"; + target: "bar_disabled"; + } + } +} + +group { + name: "elm/panes/horizontal/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "arrow_up.png" COMP; + image: "arrow_down.png" COMP; + } + parts + { + part + { + name: "whole"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + visible: 0; + } + } + + //2 contents + part + { + name: "whole_left"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel2.to_y: "elm.bar"; + rel2.relative: 1.0 0.0; + visible: 1; + } + } + part + { + name: "elm.swallow.left"; + type: SWALLOW; + clip_to: "whole_left"; + description + { + state: "default" 0.0; + rel1.to: "whole_left"; + rel2.to: "whole_left"; + } + } + + part + { + name: "whole_right"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to_y: "elm.bar"; + rel1.relative: 0.0 1.0; + visible: 1; + } + } + part + { + name: "elm.swallow.right"; + type: SWALLOW; + clip_to: "whole_right"; + description + { + state: "default" 0.0; + rel1.to: "whole_right"; + rel2.to: "whole_right"; + } + } + //BAR + part { name: "elm.bar"; + mouse_events: 1; + dragable { + confine: "whole"; + x: 0 0 0; + y: 1 1 1; + } + description { state: "default" 0.0; + max: 999 15; + min: 100 15; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name:"bar_disabled"; + type: RECT; + description { state:"default" 0.0; + rel1.to_y: "elm.bar"; + rel2.to_y: "elm.bar"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + //Arrow + part { + name: "arrow_right"; + repeat_events: 1; + description { state: "default" 0.0; + min: 45 45; + max: 45 45; + color: 255 255 255 0; + + rel1.relative: 0.5 1.0; + rel1.to_y: "elm.bar"; + rel1.offset: -45/2 45/2; + + rel2.relative: 0.5 1.0; + rel2.to_y: "elm.bar"; + rel2.offset: 45/2 45/2; + + image.normal: "arrow_down.png"; + + fixed: 1 1; + } + description { state: "anim_1" 0.0; + inherit: "default" 0.0; + color: 255 255 255 200; + rel1.offset: -45/2 (45/2 +10); + rel2.offset: 45/2 (45/2 +10); + } + description { state: "anim_2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + rel1.offset: -45/2 (45/2 + 20); + rel2.offset: 45/2 (45/2 + 20); + } + } + part { + name: "arrow_left"; + repeat_events: 1; + description { state: "default" 0.0; + min: 45 45; + max: 45 45; + color: 255 255 255 0; + + rel1.relative: 0.5 0.0; + rel1.to_y: "elm.bar"; + rel1.offset: -45/2 -45/2; + + rel2.relative: 0.5 0.0; + rel2.to_y: "elm.bar"; + rel2.offset: 45/2 -45/2; + + image.normal: "arrow_up.png"; + + fixed: 1 1; + } + description { state: "anim_1" 0.0; + inherit: "default" 0.0; + color: 255 255 255 200; + rel1.offset: -45/2 (-45/2 - 10); + rel2.offset: 45/2 (-45/2 - 10); + } + description { state: "anim_2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + rel1.offset: -45/2 (-45/2 - 20); + rel2.offset: 45/2 (-45/2 - 20); + } + } + + } + programs { + program { + name: "button_click"; + signal: "mouse,down,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,press" ""; + after: "button_click_anim"; + after: "arrow_anim_start"; + } + program { + name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "elm.bar"; + } + program { + name: "button_unclick"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,unpress" ""; + after: "button_unclick_anim"; + after: "arrow_anim_stop"; + } + program { + name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "elm.bar"; + } + program { + name: "button_click2"; + signal: "mouse,down,1"; + source: "over3"; + action: STATE_SET "clicked" 0.0; + target: "over3"; + } + program { + name: "button_unclick2"; + signal: "mouse,up,1"; + source: "over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "over3"; + } + program { + name: "button_unclick3"; + signal: "mouse,up,1"; + source: "over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "button_down_double"; + signal: "mouse,down,1,double"; + source: "over3"; + action: SIGNAL_EMIT "elm,action,click,double" ""; + } + + //arrows animation + program { + name: "arrow_anim_start"; + action: STATE_SET "anim_1" 0.0; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_1"; + } + program { + name: "arrow_anim_1"; + action: STATE_SET "anim_2" 0.0; + target: "arrow_right"; + target: "arrow_left"; + transition: LINEAR 0.6; + after: "arrow_anim_2"; + } + program { + name: "arrow_anim_2"; + action: STATE_SET "default" 0.0; + target: "arrow_right"; + target: "arrow_left"; + after: "arrow_anim_start"; + } + program { + name: "arrow_anim_stop"; + action: ACTION_STOP; + target: "arrow_anim_start"; + target: "arrow_anim_1"; + target: "arrow_anim_2"; + after: "arrow_anim_stop_1"; + } + program { + name: "arrow_anim_stop_1"; + action: STATE_SET "default" 0.0; + target: "arrow_right"; + target: "arrow_left"; + transition: DECELERATE 0.4; + } + //fix the pane + program { + name: "panes_fixed"; + signal: "elm.panes.fixed"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.bar"; + target: "over1"; + target: "bar_disabled"; + } + //allow the movement by interaction + program { + name: "panes_unfixed"; + signal: "elm.panes.unfixed"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.bar"; + target: "over1"; + target: "bar_disabled"; + } + } +} + + + diff --git a/libraries/elementary/data/themes/widgets/photo.edc b/libraries/elementary/data/themes/widgets/photo.edc new file mode 100644 index 0000000..399450c --- /dev/null +++ b/libraries/elementary/data/themes/widgets/photo.edc @@ -0,0 +1,150 @@ +group { name: "elm/photo/base/default"; + images { + image: "frame_1.png" COMP; + image: "frame_2.png" COMP; + image: "dia_grad.png" COMP; + image: "head.png" COMP; + } + parts { + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "dia_grad.png"; + rel1.to: "over"; + rel2.to: "over"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "frame_2.png"; + border: 5 5 32 26; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "head"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "head.png"; + } + } + part { name: "clip"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + } + part { name: "over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image { + normal: "frame_1.png"; + border: 2 2 28 22; + middle: 0; + } + fill.smooth: 0; + } + } + } +} + +group { name: "elm/photo/base/shadow"; + images { + image: "shadow.png" COMP; + image: "black.png" COMP; + } + script { + public message(Msg_Type:type, id, ...) { + if( (type==MSG_INT_SET) && (id==0) ) + { + new w; + new h; + + custom_state(PART:"size", "default", 0.0); + + w = getarg(2); + h = getarg(3); + set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2); + set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1); + set_state(PART:"size", "custom", 0.0); + } + } + } + parts { + part { name: "size"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + } + part { + name: "shadow"; + type: IMAGE; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.to: "size"; + rel2.to: "size"; + rel1.relative: -0.06 -0.06; + rel2.relative: 1.07 1.07; + image.normal: "shadow.png"; + } + } + + + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -3 -3; + fixed: 1 1; + } + } + + part { + name: "border"; + type: IMAGE; + repeat_events: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 255; + rel1.to: "size"; + rel2.to: "size"; + image.normal: "black.png"; + image.border: 1 1 1 1; + image.middle: 0; + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/photocam.edc b/libraries/elementary/data/themes/widgets/photocam.edc new file mode 100644 index 0000000..8a1e197 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/photocam.edc @@ -0,0 +1,493 @@ +group { name: "elm/photocam/base/default"; + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "shelf_inset.png" COMP; + image: "bt_sm_base2.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 10 17; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: -2 0; + } + rel2 { + relative: 1.0 0.0; + offset: -2 -1; + to_y: "sb_hbar"; + } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + max: 10 99999; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + } + part { name: "sb_vbar_over1"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + part { name: "sb_vbar_over2"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 17 10; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -2; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -2; + to_x: "sb_vbar"; + } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + max: 99999 10; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 4 4 4 4; + middle: SOLID; + } + } + } + part { name: "sb_hbar_over1"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "sb_hbar_over2"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_shine.png"; + border: 4 4 4 0; + } + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/player.edc b/libraries/elementary/data/themes/widgets/player.edc new file mode 100644 index 0000000..e6f1996 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/player.edc @@ -0,0 +1,185 @@ +group { + name: "elm/player/base/default"; + min: 290 26; + + parts { + part { + type: SWALLOW; + name: "media_player/slider"; + + description { + rel2 { + relative: 1.0 0.0; + to_x: "media_player/forward"; + } + } + } + part { + type: SWALLOW; + name: "media_player/rewind"; + + description { + rel1 { + to_y: "media_player/slider"; + offset: 42 0; + relative: 0.0 1.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { + type: SWALLOW; + name: "media_player/prev"; + + description { + rel1 { + to: "media_player/rewind"; + relative: 1.0 0.0; + } + rel2 { + to: "media_player/rewind"; + relative: 2.0 1.0; + } + } + } + part { + type: SWALLOW; + name: "media_player/play"; + + description { + rel1 { + to: "media_player/prev"; + relative: 1.0 0.0; + } + rel2 { + to: "media_player/prev"; + relative: 2.0 1.0; + } + } + description { + state: hidden 0.0; + inherit: default 0.0; + visible: 0; + } + } + part { + type: SWALLOW; + name: "media_player/pause"; + + description { + rel1.to: "media_player/play"; + rel2.to: "media_player/play"; + } + description { + state: hidden 0.0; + inherit: default 0.0; + visible: 0; + } + } + part { + type: SWALLOW; + name: "media_player/info"; + description { + rel1 { + to: "media_player/play"; + relative: 1.0 0.0; + } + rel2 { + to: "media_player/play"; + relative: 2.0 1.0; + } + } + } + + part { + type: SWALLOW; + name: "media_player/stop"; + description { + rel1 { + to: "media_player/info"; + relative: 3.0 0.0; + } + rel2 { + to: "media_player/info"; + relative: 4.0 1.0; + } + } + } + part { + type: SWALLOW; + name: "media_player/next"; + description { + rel1 { + to: "media_player/stop"; + relative: 1.0 0.0; + } + rel2 { + to: "media_player/stop"; + relative: 2.0 1.0; + } + } + } + part { + type: SWALLOW; + name: "media_player/forward"; + description { + rel1 { + to: "media_player/next"; + relative: 1.0 0.0; + } + rel2 { + to: "media_player/next"; + relative: 2.0 1.0; + } + } + } + } + programs { + program { + signal: "show"; + source: ""; + after: "pause/0"; + } + program { + signal: "elm,player,play"; + source: "elm"; + after: "play/0"; + } + program { + signal: "elm,player,pause"; + source: "elm"; + after: "pause/0"; + } + program { + name: "play/0"; + + action: STATE_SET "hidden" 0.0; + target: "media_player/play"; + + after: "play/1"; + } + program { + name: "play/1"; + + action: STATE_SET "default" 0.0; + target: "media_player/pause"; + } + program { + name: "pause/0"; + + action: STATE_SET "hidden" 0.0; + target: "media_player/pause"; + + after: "pause/1"; + } + program { + name: "pause/1"; + + action: STATE_SET "default" 0.0; + target: "media_player/play"; + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/pointer.edc b/libraries/elementary/data/themes/widgets/pointer.edc new file mode 100644 index 0000000..2e04370 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/pointer.edc @@ -0,0 +1,190 @@ + group { + name: "elm/pointer/base/default"; + images { + image: "pointer.png" COMP; + image: "pointer_glow.png" COMP; + image: "pointer_glint_01.png" COMP; + image: "pointer_glint_02.png" COMP; + image: "pointer_glint_03.png" COMP; + image: "pointer_glint_04.png" COMP; + image: "pointer_glint_05.png" COMP; + image: "pointer_glint_06.png" COMP; + image: "pointer_glint_07.png" COMP; + image: "pointer_glint_08.png" COMP; + image: "pointer_glint_09.png" COMP; + image: "pointer_glint_10.png" COMP; + image: "pointer_glint_11.png" COMP; + image: "pointer_glint_12.png" COMP; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 0.71875 0.71875; + min: 23 32; + /* force a specific aspect ratio so + * when it gets scaled it wont squash + * or stretch */ + aspect_preference: BOTH; + /* both axes control aspect - thus it + * will be WITHIN the bounds the axes + * of thre part describe */ + image { + normal: "pointer.png"; + } + } + } + part { + name: "glow"; + /* this overlay is used to put a white glow + * around the pointer, so when the pointer is + * idle every now and again it will pulsate + * with this glow to just remind you where the + * pointer is (if you lose a black-ish + * pointer on a black background) */ + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + color: 255 255 255 0; + image.normal: "pointer_glow.png"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "glint"; + /* this overlay flips a series of small images + * over the pointer. they look like a white + * light/refelection when put over the pointer + * base image - and produce a "glinting" effect + * when played back fast */ + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + image.normal: "pointer_glint_12.png"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + image.tween: "pointer_glint_01.png"; + image.tween: "pointer_glint_02.png"; + image.tween: "pointer_glint_03.png"; + image.tween: "pointer_glint_04.png"; + image.tween: "pointer_glint_05.png"; + image.tween: "pointer_glint_06.png"; + image.tween: "pointer_glint_07.png"; + image.tween: "pointer_glint_08.png"; + image.tween: "pointer_glint_09.png"; + image.tween: "pointer_glint_10.png"; + image.tween: "pointer_glint_11.png"; + image.normal: "pointer_glint_12.png"; + } + } + part { + name: "elm.swallow.hotspot"; + /* this is a "fake" swallow part + * that is used by e to determine + * the pointer hotspot - or where + * the actual mouse events get + * reported from on the cursor */ + type: SWALLOW; + description { + state: "default" 0.0; + visible: 0; + rel1 { + /* the hotspot will scale with the cursor here */ + to: "base"; + relative: 0.27 0.125; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 0.27 0.125; + offset: 0 0; + } + } + } + } + programs { + program { + name: "mouse_down"; + /* called every time elm detects a mouse + * press */ + signal: "elm,action,mouse,down"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.3; + target: "glint"; + after: "mouse_down2"; + } + program { + name: "mouse_down2"; + action: STATE_SET "default" 0.0; + target: "glint"; + } + program { + name: "mouse_idle"; + /* called when e thinks the mouse went + * idle and isn't moving */ + signal: "elm,state,mouse,idle"; + source: "elm"; + action: STATE_SET "visible" 0.0; + in: 5.0 0.0; + transition: SINUSOIDAL 1.0; + target: "glow"; + after: "mouse_idle2"; + } + program { + name: "mouse_idle2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 2.0; + target: "glow"; + after: "mouse_idle"; + } + program { + name: "mouse_active"; + /* called when e sees the mouse become + * active again */ + signal: "elm,state,mouse,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "glow"; + after: "mouse_active2"; + } + program { + name: "mouse_active2"; + action: ACTION_STOP; + target: "mouse_idle"; + target: "mouse_idle2"; + } + // when mouse button is released. not used here + // program { name: "xx"; + // signal: "e,action,mouse,up"; + // source: "e"; + // } + // when mouse button is moved. not used here + // program { name: "xx"; + // signal: "e,action,mouse,move"; + // source: "e"; + // } + // when mouse wheel is scrolled. not used here + // program { name: "xx"; + // signal: "e,action,mouse,wheel"; + // source: "e"; + // } + } + } + diff --git a/libraries/elementary/data/themes/widgets/popup.edc b/libraries/elementary/data/themes/widgets/popup.edc new file mode 100644 index 0000000..b5229f7 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/popup.edc @@ -0,0 +1,892 @@ +#define POPUP_ITEM_STATE_ENABLED 0 +#define POPUP_ITEM_STATE_DISABLED 1 + +/*popup widget specific notify style style*/ +group { name: "elm/notify/block_events/popup"; + parts { + part { name: "block_events"; + type: RECT; + description { state: "default" 0.0; + color: 61 59 56 180; + } + } + } + programs { + program { name: "block_clicked"; + signal: "mouse,clicked,1"; + source: "block_events"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +group { name: "elm/label/base/popup/default"; + styles + { + style { name: "popup_desc_style"; + base: "font=Sans font_size=10 align=center color=#000000 text_class=label"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "left_top_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.0; + min: 10 0; + rel2.relative: 0 0; + } + } + part { name: "right_bottom_padding"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 1.0; + min: 10 0; + rel1.relative: 1 1; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 380 0; + text { + style: "popup_desc_style"; + min: 0 1; + max: 0 1; + } + rel1 { + relative: 1.0 1.0; + to: left_top_padding; + } + rel2 { + relative: 0.0 0.0; + to: right_bottom_padding; + } + } + } + } +} + +group { name: "elm/popup/base/default"; + styles { + style { name: "popup_title_style"; + base: "font=Sans font_size=15 align=center color=#ffffff wrap=mixed ellipsis=1.0"; + tag: "br" "\n"; + tag: "tab" "\t"; + } + } + parts { + part { name: "base"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 400 0; + color: 237 237 237 255; + align: 0.0 0.0; + } + } + part { name: "elm.bg.title"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 400 50; + fixed : 1 1; + align: 0.5 0.0; + visible: 0; + color: 172 172 172 255; + rel1 { + relative: 0.5 0.0; + to: "base"; + } + rel2 { + relative: 0.5 0.0; + to: "base"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "left_pad"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + fixed: 1 1; + align: 0.0 0.0; + visible: 0; + rel1.to: "elm.bg.title"; + } + } + part { name: "right_pad"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 10 0; + max: 10 0; + fixed: 1 1; + align: 1.0 1.0; + visible: 0; + rel2.to: "elm.bg.title"; + } + } + part { name: "elm.swallow.title.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 48 48; + max: 48 48; + fixed: 1 1; + align: 0.0 0.5; + rel1 { + to: "left_pad"; + relative: 1.0 0.0; + } + rel2 { + to: "right_pad"; + relative: 0.0 1.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale:1; + description { state: "default" 0.0; + text { + style: "popup_title_style"; + min: 0 0; + max: 0 1; + } + color: 255 255 255 255; + visible:0; + rel1 { + relative: 1.0 0.0; + to: "left_pad"; + } + rel2 { + relative: 0.0 1.0; + to: "right_pad"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 400 0; + fixed: 1 0; + rel1 { + relative: 0.5 0.0; + to: "base"; + } + rel2 { + relative: 0.5 1.0; + to: "base"; + } + } + description { state: "show_title_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + to: "elm.bg.title"; + } + } + description { state: "show_action_area" 0.0; + inherit: "default" 0.0; + rel2 { + relative: 0.5 0.0; + to: "elm.bg.action_area"; + } + } + description { state: "show_action_title_area" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + to: "elm.bg.title"; + } + rel2 { + relative: 0.5 0.0; + to: "elm.bg.action_area"; + } + } + } + part { name: "elm.bg.action_area"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 400 60; + fixed : 1 1; + align: 0.5 1.0; + visible: 0; + color: 183 183 183 255; + rel1 { + relative: 0.0 1.0; + to: "base"; + } + rel2.to: "base"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.action_area"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.bg.action_area"; + rel2.to: "elm.bg.action_area"; + } + } + } + programs { + program { name: show_title_icon; + signal: "elm,state,title,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.title.icon"; + } + program { name: hide_title_icon; + signal: "elm,state,title,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.title.icon"; + } + program { name: show_title_text; + signal: "elm,state,title,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text.title"; + } + program { name: hide_title_text; + signal: "elm,state,title,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + } + program { name: show_title_area; + signal: "elm,state,title_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.action_area", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "show_title_area", 0.0); + set_state(PART:"elm.bg.title", "visible", 0.0); + } + } + program { name: hide_title_area; + signal: "elm,state,title_area,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.action_area", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_action_area", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"elm.bg.title", "default", 0.0); + } + } + program { name: show_action_area; + signal: "elm,state,action_area,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.bg.title", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "show_action_area", 0.0); + set_state(PART:"elm.bg.action_area", "visible", 0.0); + } + } + program { name: hide_action_area; + signal: "elm,state,action_area,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.bg.title", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"elm.bg.action_area", "default", 0.0); + } + } + } /* end of programs */ +} + +group { name: "elm/popup/content/default"; + parts{ + part { name: "pad_t"; + type: RECT; + scale : 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 14; + fixed: 0 1; + visible: 0; + rel1 { + relative: 1.0 0.0; + to_x: "pad_l"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + } + } + } + part { name: "pad_l"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min : 10 0; + fixed: 1 0; + rel2.relative: 0.0 1.0; + visible: 0; + align: 0.0 0.0; + } + } + part { name: "pad_r"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min : 10 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + visible: 0; + align: 1.0 0.0; + } + } + part{ name:"elm.swallow.content"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 380 0; + fixed: 1 0; + rel1 { + relative: 0.5 1.0; + to: "pad_t"; + } + rel2 { + relative: 0.5 0.0; + to: "pad_b"; + } + } + } + part { name: "pad_b"; + type: RECT; + scale : 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.5 1.0; + min: 0 14; + fixed: 0 1; + visible: 0; + rel1 { + relative: 0.0 1.0; + to_x: "pad_l"; + } + rel2.to_x: "pad_r"; + } + } + } +} + + group { name: "elm/popup/item/default"; + script { + public item_state = POPUP_ITEM_STATE_ENABLED; + } + parts { + part { name: "event_blocker"; + description { state: "default" 0.0; + } + } + part { name: "bg"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + color: 240 240 240 255; + min: 0 71; + align: 0.5 0.0; + } + description { state: "clicked" 0.0; + color: 190 170 150 255; + } + } + part { name: "padding_left_top"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + } + part { name: "padding_right_bottom"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + } + part { name: "separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { state: "dafault" 0.0; + color: 180 180 180 255; + align: 0.5 1.0; + min: 0 1; + max: 999999 1; + } + } + part { name: "padding_icon_text"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + align: 0.0 0.0; + rel1 { + relative: 1.0 0.0; + to: "elm.swallow.content"; + } + rel2.to: "elm.swallow.content"; + fixed: 1 0; + min: 0 0; + visible: 0; + } + description { state: "visible" 0.0; //when icon is visible + inherit: "default" 0.0; + min: 10 0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 0; + min: 40 40; + max: 40 40; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "icononly" 0.0; + min: 40 40; + max: 40 40; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 1.0; + to_x: "padding_icon_text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to:"padding_right_bottom"; + } + align: 0.0 0.5; + color: 0 0 0 255; + text { + font: "Sans:style=Bold"; + size: 20; + min: 0 0; + align: 0.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 90 40; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 0 0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 1; + min: 90 40; + } + } + part { name: "over1"; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + } + } + part { name: "over2"; + repeat_events: 1; + description { state: "default" 0.0; + } + } + part { name: "disclip"; + type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + color: 87 87 87 128; + } + } + } + programs { + program { name: "item_unclick"; + signal: "mouse,up,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { name: "disable"; + signal: "elm,state,item,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + after: "disable_text"; + } + program { name: "enable"; + signal: "elm,state,item,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + after: "enable_text"; + } + program { name: "item_click2"; + signal: "mouse,down,1"; + source: "over2"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "clicked", 0.0); + set_state(PART:"bg", "clicked", 0.0); + } + } + program { name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over2"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "clicked")) + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + set_int(item_state, POPUP_ITEM_STATE_DISABLED); + } + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + set_int(item_state, POPUP_ITEM_STATE_ENABLED); + } + } + program { name: "text_show"; + signal: "elm,state,item,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,item,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,item,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,item,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + } + } + +group { name: "elm/popup/buttons1/default"; + data.item: "action_area_height" "140"; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 252 46; + max: 252 46; + fixed : 1 1; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + } + } +} + +group { name: "elm/popup/buttons2/default"; + data.item: "action_area_height" "140"; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 172 46; + max: 172 46; + fixed : 1 1; + align: 1.0 0.5; + rel1.to: "elm.rect.pad_btn"; + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 6 46; + max: 6 46; + fixed : 1 1; + visible: 0; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + } + part{ name:"actionbtn2"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 172 46; + max: 172 46; + fixed : 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn"; + } + rel2.to: "elm.rect.pad_btn"; + } + } + } +} + +group { name: "elm/popup/buttons3/default"; + data.item: "action_area_height" "140"; + parts{ + part{ name:"actionbtn1"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 120 46; + max: 120 46; + fixed : 1 1; + align: 1.0 0.5; + rel1.to: "elm.rect.pad_btn"; + rel2 { + relative: 0.0 1.0; + to: "elm.rect.pad_btn"; + } + } + } + part { name: "elm.rect.pad_btn"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 6 46; + max: 6 46; + fixed : 1 1; + visible: 0; + rel1.to: "actionbtn2"; + rel2 { + relative: 0.0 1.0; + to: "actionbtn2"; + } + } + } + part{ name:"actionbtn2"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 120 46; + max: 120 46; + fixed : 1 1; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + } + part { name: "elm.rect.pad_btn2"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + min: 6 46; + max: 6 46; + fixed : 1 1; + visible: 0; + rel1 { + relative: 1.0 0.0; + to: "actionbtn2"; + } + rel2.to: "actionbtn2"; + } + } + part{ name:"actionbtn3"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 120 46; + max: 120 46; + fixed : 1 1; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "elm.rect.pad_btn2"; + } + rel2.to: "elm.rect.pad_btn2"; + } + } + } +} + +#undef POPUP_ITEM_STATE_ENABLED +#undef POPUP_ITEM_STATE_DISABLED diff --git a/libraries/elementary/data/themes/widgets/progressbar.edc b/libraries/elementary/data/themes/widgets/progressbar.edc new file mode 100644 index 0000000..1f88ef2 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/progressbar.edc @@ -0,0 +1,850 @@ +/////////////////////////////////////////////////////////////////////////////// +// FIXME: this doesn't look too hot. need to fix it up +group { name: "elm/progressbar/horizontal/default"; + images { + image: "shelf_inset.png" COMP; + image: "bt_sm_base2.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "bt_sm_shine.png" COMP; + } + parts { + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.bar"; + mouse_events: 0; + type: SWALLOW; + description { + min: 48 28; + max: 99999 28; + state: "default" 0.0; + rel1 { + to_x: "elm.text"; + to_y: "elm.background.progressbar"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.background.progressbar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + offset: 4 0; + to_y: "elm.background.progressbar"; + } + rel2 { + offset: 3 -1; + relative: 0.0 1.0; + to_y: "elm.background.progressbar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 4; + rel2.to_x: "elm.swallow.content"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -5; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + rel1.offset: 0 4; + rel2.offset: 0 -5; + } + } + + part { name: "background"; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + } + } + } + + part { name: "elm.text.status"; + type: TEXT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 1; + rel1 { + to: "background"; + relative: 0.5 0.5; + } + rel2 { + to: "background"; + relative: 0.5 0.5; + } + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 1 1; + align: 0.5 0.0; + } + color: 0 0 0 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + text.min: 0 0; + } + } + + part { name: "elm.progress.progressbar"; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: 14 28; + fixed: 1 1; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + offset: -1 -1; + } + image { + normal: "bt_sm_base2.png"; + border: 6 6 6 6; + } + } + description { + state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "elm.swallow.bar"; + to_x: "elm.cur.progressbar"; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { + state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 0.1 1.0; + } + } + description { + state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.9 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + } + part { name: "text-bar"; + type: TEXT; + mouse_events: 0; + clip_to: "progress-rect"; + effect: SOFT_SHADOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + visible: 1; + rel1.to: "elm.text.status"; + rel1.offset: -1 -1; + rel2.to: "elm.text.status"; + text { + text_source: "elm.text.status"; + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 1 1; + align: 0.0 0.0; + } + color: 224 224 224 255; + color3: 0 0 0 64; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + text.min: 0 0; + } + } + + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + + part { name: "elm.cur.progressbar"; + mouse_events: 0; + dragable { + confine: "background"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + min: 14 28; + fixed: 1 1; + visible: 0; + rel1 { + to: "background"; + relative: 0 0; + } + rel2.to: "background"; + } + } + part { name: "progress-rect"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + } + } + } + programs { + program { name: "label_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "label_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "text-bar"; + target: "elm.text.status"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "text-bar"; + target: "elm.text.status"; + } + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + signal: "elm,state,slide,begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + after: "state_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + after: "units_hide"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/progressbar/vertical/default"; + images { + image: "shelf_inset.png" COMP; + image: "bt_sm_base2.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "bt_sm_shine.png" COMP; + } + parts { + part { name: "elm.background.progressbar"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 28 48; + max: 28 9999; + align: 0.5 1.0; + rel1 { + to_y: "elm.text"; + relative: 0.0 1.0; + offset: 0 2; + } + rel2 { + to_y: "elm.text.box"; + relative: 1.0 0.0; + offset: -1 -3; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + rel1 { + offset: 0 4; + to_x: "elm.swallow.bar"; + } + rel2 { + offset: -1 3; + relative: 1.0 0.0; + to_x: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + rel2.offset: -1 4; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 0.0; + rel1.to_y: "elm.swallow.content"; + rel1.relative: 0.5 1.0; + rel1.offset: 0 -1; + rel2.to_y: "elm.swallow.content"; + rel2.relative: 0.5 1.0; + rel2.offset: -1 -1; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + rel1.offset: 4 0; + rel2.offset: -5 0; + } + } + + part { name: "background"; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + } + } + } + + part { name: "elm.progress.progressbar"; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: 28 14; + fixed: 1 1; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to_x: "elm.swallow.bar"; + to_y: "elm.cur.progressbar"; + offset: -1 -1; + } + image { + normal: "bt_sm_base2.png"; + border: 6 6 6 6; + } + } + description { + state: "invert" 0.0; + inherit: "default" 0.0; + rel1 { + to_x: "elm.swallow.bar"; + to_y: "elm.cur.progressbar"; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + description { + state: "state_begin" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 0.1; + } + } + description { + state: "state_end" 0.0; + inherit: "default" 0.0; + rel1 { + to: "elm.swallow.bar"; + relative: 0.0 0.9; + } + rel2 { + to: "elm.swallow.bar"; + relative: 1.0 1.0; + } + } + } + + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.progress.progressbar"; + rel2.to: "elm.progress.progressbar"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + + part { name: "elm.cur.progressbar"; + mouse_events: 0; + dragable { + confine: "background"; + x: 0 0 0; + y: 1 1 1; + } + description { state: "default" 0.0; + min: 28 14; + fixed: 1 1; + visible: 0; + rel1 { + to: "background"; + relative: 0 0; + } + rel2.to: "background"; + } + } + + part { name: "elm.text.box"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "elm.text.status"; + offset: -2 -2; + } + rel2 { + to: "elm.text.status"; + offset: 2 2; + } + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.status"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel1.offset: 2 0; + rel2.relative: 1.0 1.0; + rel2.offset: -2 0; + color: 0 0 0 255; + text { + font: "Sans:style=Bold,Edje-Vera-Bold"; + size: 10; + min: 0 0; + align: 0.5 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + text.min: 1 1; + rel1.offset: 8 -9; + rel2.offset: -9 -9; + } + } + } + programs { + program { name: "label_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "label_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text.status"; + target: "elm.text.box"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + target: "elm.text.box"; + } + program { name: "slide_to_end"; + action: STATE_SET "state_end" 0.0; + transition: LINEAR 0.5; + target: "elm.progress.progressbar"; + after: "slide_to_begin"; + } + program { name: "slide_to_begin"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + transition: LINEAR 0.5; + after: "slide_to_end"; + } + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + after: "slide_to_end"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + after: "state_pulse"; + } + program { name: "state_pulse"; + signal: "elm,state,pulse"; + source: "elm"; + action: STATE_SET "state_begin" 0.0; + target: "elm.progress.progressbar"; + after: "units_hide"; + } + program { name: "state_fraction"; + signal: "elm,state,fraction"; + source: "elm"; + action: ACTION_STOP; + target: "slide_to_begin"; + target: "slide_to_end"; + target: "start_pulse"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + } + program { name: "set_invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "invert" 0.0; + target: "elm.progress.progressbar"; + target: "elm.cur.progressbar"; + } + program { name: "set_invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.progress.progressbar"; + target: "elm.cur.progressbar"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/progressbar/horizontal/wheel"; + images { + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "elm.background.progressbar"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + } + } + part { name: "elm.swallow.bar"; + mouse_events: 0; + type: SWALLOW; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "background"; + mouse_events: 0; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: 32 32; + max: 32 32; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image { + normal: "busy-9.png"; + border: 7 7 7 7; + } + } + description { + state: "pulse" 0.0; + inherit: "default" 0.0; + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + border: 7 7 7 7; + } + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "background"; + transition: LINEAR 0.5; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "background"; + } + } +} + + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/radio.edc b/libraries/elementary/data/themes/widgets/radio.edc new file mode 100644 index 0000000..59f93fd --- /dev/null +++ b/libraries/elementary/data/themes/widgets/radio.edc @@ -0,0 +1,215 @@ +group { name: "elm/radio/base/default"; + images { + image: "radio_base.png" COMP; + image: "radio.png" COMP; + image: "radio2.png" COMP; + } + parts { + part { name: "bg"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.relative: 0.0 1.0; + rel2.offset: 1 -2; + align: 0.0 0.5; + min: 16 16; + max: 16 16; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image.normal: "radio_base.png"; + } + } + part { name: "radio"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 0; + image.normal: "radio.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + color: 0 0 0 0; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.to_x: "bg"; + rel2.relative: 1.0 1.0; + rel2.offset: 2 -2; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + aspect: 1.0 1.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.relative: 1.0 1.0; + rel2.offset: -2 -2; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: -1.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,radio,toggle" ""; + } + program { name: "radio_on"; + signal: "elm,state,radio,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "radio"; + } + program { name: "radio_off"; + signal: "elm,state,radio,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "radio"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); + else + set_state(PART:"elm.swallow.content", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/scroller.edc b/libraries/elementary/data/themes/widgets/scroller.edc new file mode 100644 index 0000000..66d007b --- /dev/null +++ b/libraries/elementary/data/themes/widgets/scroller.edc @@ -0,0 +1,502 @@ +group { name: "elm/scroller/base/default"; + + alias: "elm/list/base/default"; + alias: "elm/genlist/base/default"; + alias: "elm/gengrid/base/default"; + alias: "elm/scroller/base/map_bubble"; + alias: "elm/genscroller/base/default"; + + data { + item: "focus_highlight" "on"; + } + + script { + public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; + public timer0(val) { + new v; + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; + } + } + images { + image: "shelf_inset.png" COMP; + image: "bt_sm_base2.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "sl_bt2_2.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + part { name: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; + clip_to: "sb_vbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 10 17; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: 0 2; + to_y: "elm.swallow.content"; + to_x: "elm.swallow.content"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to_y: "sb_hbar"; + to_x: "elm.swallow.content"; + } + } + } + part { name: "elm.dragable.vbar"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 10 17; + max: 10 99999; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 6 6 6 6; + middle: SOLID; + } + } + } + part { name: "sb_vbar_over1"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + part { name: "sb_vbar_over2"; + clip_to: "sb_vbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.vbar"; + rel2.to: "elm.dragable.vbar"; + image { + normal: "bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + + part { name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; + clip_to: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 17 10; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 2 0; + to_x: "elm.swallow.content"; + to_y: "elm.swallow.content"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_x: "sb_vbar"; + to_y: "elm.swallow.content"; + } + } + } + part { name: "elm.dragable.hbar"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "sb_hbar"; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 17 10; + max: 99999 10; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_hbar"; + } + image { + normal: "bt_sm_base2.png"; + border: 4 4 4 4; + middle: SOLID; + } + } + } + part { name: "sb_hbar_over1"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.relative: 1.0 0.5; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "sb_hbar_over2"; + clip_to: "sb_hbar_clip"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.dragable.hbar"; + rel2.to: "elm.dragable.hbar"; + image { + normal: "bt_sm_shine.png"; + border: 4 4 4 0; + } + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 128 128 128 128; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_state(PART:"sb_hbar_clip", "hidden", 0.0); + set_state(PART:"sb_vbar_clip", "hidden", 0.0); + set_int(sbvis_h, 0); + set_int(sbvis_v, 0); + set_int(sbalways_v, 0); + set_int(sbalways_h, 0); + set_int(sbvis_timer, 0); + } + } + + program { name: "vbar_show"; + signal: "elm,action,show,vbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + program { name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; + signal: "do-show-vbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + program { name: "sb_vbar_hide"; + signal: "do-hide-vbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_vbar_clip"; + } + + program { name: "hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + program { name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + } + } + program { name: "sb_hbar_show"; + signal: "do-show-hbar"; + source: ""; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + program { name: "sb_hbar_hide"; + signal: "do-hide-hbar"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "sb_hbar_clip"; + } + + program { name: "scroll"; + signal: "elm,action,scroll"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + v = get_int(sbvis_timer); + if (v > 0) cancel_timer(v); + v = timer(1.0, "timer0", 0); + set_int(sbvis_timer, v); + } + } + + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/segment_control.edc b/libraries/elementary/data/themes/widgets/segment_control.edc new file mode 100644 index 0000000..39dfbee --- /dev/null +++ b/libraries/elementary/data/themes/widgets/segment_control.edc @@ -0,0 +1,533 @@ +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/segment_control/base/default"; + #define SEGMENT_TYPE_SINGLE 1 + #define SEGMENT_TYPE_LEFT 2 + #define SEGMENT_TYPE_MIDDLE 3 + #define SEGMENT_TYPE_RIGHT 4 + #define SEGMENT_STATE_NORMAL 1 + #define SEGMENT_STATE_PRESSED 2 + #define SEGMENT_STATE_SELECTED 3 + #define SEGMENT_STATUS_ENABLED 0 + #define SEGMENT_STATUS_DISABLED 1 + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + min: 100 40; + } + } + } +} +group { name: "elm/segment_control/item/default"; + images { + image: "seg_single_pressed.png" COMP; + image: "seg_single_selected.png" COMP; + image: "seg_single_normal.png" COMP; + + image: "seg_left_pressed.png" COMP; + image: "seg_left_selected.png" COMP; + image: "seg_left_normal.png" COMP; + + image: "seg_middle_pressed.png" COMP; + image: "seg_middle_selected.png" COMP; + image: "seg_middle_normal.png" COMP; + + image: "seg_right_pressed.png" COMP; + image: "seg_right_selected.png" COMP; + image: "seg_right_normal.png" COMP; + } + parts { + part { name: "segment"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 1 1; + visible: 0; + image { + normal: "seg_single_normal.png"; + border: 7 7 7 7; + border_scale: 1; + middle: 1; + } + } + description { state: "default_single" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_single_normal.png"; + border: 7 7 7 7; + } + } + description { state: "default_left" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_left_normal.png"; + border: 6 1 7 7; + } + } + description { state: "default_right" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_right_normal.png"; + border: 1 6 7 7; + } + } + description { state: "default_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_middle_normal.png"; + border: 2 2 2 2; + } + } + description { state: "pressed_single" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_single_pressed.png"; + border: 7 7 7 7; + } + } + description { state: "pressed_left" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_left_pressed.png"; + border: 6 1 7 7; + } + } + description { state: "pressed_right" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_right_pressed.png"; + border: 1 6 7 7; + } + } + description { state: "pressed_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_middle_pressed.png"; + border: 1 1 2 2; + } + } + description { state: "selected_single" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_single_selected.png"; + border: 7 7 7 7; + } + } + description { state: "selected_left" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_left_selected.png"; + border: 6 3 7 7; + } + } + description { state: "selected_right" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_right_selected.png"; + border: 3 6 7 7; + } + } + description { state: "selected_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_middle_selected.png"; + border: 3 3 3 3; + } + } + } + part { name: "padding_frame"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + /* Add a padding of 2 pxs in all directions */ + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "icon.bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + fixed: 1 0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + part { name: "padding_icon_text"; + type: RECT; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; //when only icon or no icon is there + visible: 0; + align: 0.0 0.0; + rel1 { + to: "icon.bg"; + relative: 1.0 0.0; + } + rel2 { + to: "icon.bg"; + relative: 1.0 1.0; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + } + description { state: "visible" 0.0; //when icon is visible + inherit: "default" 0.0; + rel2.offset: 2 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1.to: "padding_frame"; + rel2.to: "padding_frame"; + rel2.relative: 0.0 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 0.3 1.0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 1 1; + rel1 { + to_x: "padding_icon_text"; + relative: 1.0 0.0; + } + rel2.to: "padding_frame"; + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans"; + ellipsis: 0.0; + fit: 1 1; + size: 24; + size_range: 8 36; + min: 0 1; + } + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 0 0 0 255; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 50 50 50 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 200 200 200 255; + } + } + part { name: "disabler"; + repeat_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 1 1; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + to: "segment"; + } + rel2 { + relative: 1.0 1.0; + to: "segment"; + } + color: 255 255 255 150; + } + description { state: "disabled_single" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_single_normal.png"; + border: 7 7 7 7; + } + } + description { state: "disabled_left" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_left_normal.png"; + border: 6 1 7 7; + } + } + description { state: "disabled_right" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_right_normal.png"; + border: 1 6 7 7; + } + } + description { state: "disabled_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "seg_middle_normal.png"; + border: 2 2 2 2; + } + } + } + } + programs { + script { + public seg_type; // Single, Left, Middle, Right. + public seg_state; // Normal/Default, Pressed, Selected. + public seg_status;// Enabled/Default, Disabled + + public update_state() { + new type, state, disabled; + type = get_int(seg_type); + state = get_int(seg_state); + disabled = get_int(seg_status); + + if(state == SEGMENT_STATE_NORMAL) + { + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"segment", "default_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"segment", "default_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"segment", "default_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"segment", "default_right", 0.0); + set_state(PART:"elm.text", "normal", 0.0); + } + else if(state == SEGMENT_STATE_PRESSED) + { + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"segment", "pressed_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"segment", "pressed_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"segment", "pressed_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"segment", "pressed_right", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + } + else if(state == SEGMENT_STATE_SELECTED) + { + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"segment", "selected_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"segment", "selected_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"segment", "selected_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"segment", "selected_right", 0.0); + set_state(PART:"elm.text", "selected", 0.0); + } + if(disabled == SEGMENT_STATUS_DISABLED) + { + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"disabler", "disabled_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"disabler", "disabled_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"disabler", "disabled_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"disabler", "disabled_right", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + } + else + set_state(PART:"disabler", "default", 0.0); + + } + } + program { + name: "segment_type_s"; + signal: "elm,type,segment,single"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_SINGLE); + update_state(); + } + } + program { + name: "segment_type_l"; + signal: "elm,type,segment,left"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_LEFT); + update_state(); + } + } + program { + name: "segment_type_m"; + signal: "elm,type,segment,middle"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_MIDDLE); + update_state(); + } + } + program { + name: "segment_type_r"; + signal: "elm,type,segment,right"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_RIGHT); + update_state(); + } + } + program { + name: "normal_segment"; + signal: "elm,state,segment,normal"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_NORMAL); + update_state(); + } + } + program { + name: "pressed_segment"; + signal: "elm,state,segment,pressed"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_PRESSED); + update_state(); + } + } + program { + name: "selected_segment"; + signal: "elm,state,segment,selected"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_SELECTED); + update_state(); + } + } + program { name: "disable_segment"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_DISABLED); + update_state(); + } + } + program { name: "enable_segment"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_ENABLED); + update_state(); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "selected")) + set_state(PART:"elm.text", "selected", 0.0); + else + set_state(PART:"elm.text", "normal", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "normal")) || (!strcmp(st, "selected"))) + { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"padding_icon_text", "visible", 0.0); + } + else + { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"padding_icon_text", "icononly", 0.0); + } + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + } + #undef SEGMENT_TYPE_SINGLE + #undef SEGMENT_TYPE_LEFT + #undef SEGMENT_TYPE_MIDDLE + #undef SEGMENT_TYPE_RIGHT + #undef SEGMENT_STATE_NORMAL + #undef SEGMENT_STATE_PRESSED + #undef SEGMENT_STATE_SELECTED + #undef SEGMENT_STATUS_ENABLED + #undef SEGMENT_STATUS_DISABLED +} diff --git a/libraries/elementary/data/themes/widgets/separator.edc b/libraries/elementary/data/themes/widgets/separator.edc new file mode 100644 index 0000000..0780c53 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/separator.edc @@ -0,0 +1,43 @@ +group { name: "elm/separator/horizontal/default"; + images { + image: "separator_h.png" COMP; + } + parts { + part { name: "separator"; // separator group + description { state: "default" 0.0; + min: 2 2; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image { + normal: "separator_h.png"; + } + fill { + smooth: 0; + } + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/separator/vertical/default"; + images { + image: "separator_v.png" COMP; + } + parts { + part { name: "separator"; // separator group + description { state: "default" 0.0; + min: 2 2; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image { + normal: "separator_v.png"; + } + fill { + smooth: 0; + } + } + } + } +} + diff --git a/libraries/elementary/data/themes/widgets/slider.edc b/libraries/elementary/data/themes/widgets/slider.edc new file mode 100644 index 0000000..ab60f5b --- /dev/null +++ b/libraries/elementary/data/themes/widgets/slider.edc @@ -0,0 +1,1385 @@ +group { name: "elm/slider/hidden/limit"; + parts { + part { name: "elm.units.min"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + } + part { name: "elm.units.max"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + } + } + } + programs { + program { name: "visisble"; + signal: "limits,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.units.min"; + target: "elm.units.max"; + } + program { name: "hide"; + signal: "limits,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.units.min"; + target: "elm.units.max"; + } + } +} + +group { name: "elm/slider/horizontal/default"; + alias: "elm/slider/horizontal/disabled"; + images { + image: "sl_bg.png" COMP; + image: "sl_bg_over.png" COMP; + + image: "sl_units.png" COMP; + } + parts { + alias: "default" "elm.text"; + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + max: 99999 6; + min: 0 6; + rel1 { to: "bg"; + offset: 1 0; + } + rel2 { to: "bg"; + offset: -2 -1; + } + image.normal: "sl_bg.png"; + fill.smooth: 0; + } + } + part { name: "level"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2 { + to_y: "base"; + to_x: "elm.dragable.slider"; + relative: 0.5 1.0; + } + color: 255 0 0 200; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 0 0 100; + } + description { state: "disabled_inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "level2"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_y: "base"; + to_x: "elm.dragable.slider"; + relative: 0.5 0.0; + } + rel2.to: "base"; + color: 255 0 0 200; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_inverted" 0.0; + inherit: "default" 0.0; + color: 255 0 0 100; + visible: 1; + } + } + part { + name: "base_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: -1 -1; + rel2.to: "base"; + rel2.offset: 0 0; + image { + normal: "sl_bg_over.png"; + border: 3 3 3 3; + } + fill.smooth: 0; + } + } + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 48 24; + max: 99999 24; + align: 1.0 0.5; + rel1 { + to_x: "elm.text"; + relative: 1.0 0.0; + offset: 8 0; + } + rel2 { + to_x: "limits"; + relative: 0.0 1.0; + offset: -10 -1; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + offset: 4 0; + to_y: "elm.swallow.bar"; + } + rel2 { + offset: 3 -1; + relative: 0.0 1.0; + to_y: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 4 -1; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 4; + rel2.to_x: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -5; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + rel1.offset: 0 4; + rel2.offset: 0 -5; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 128 128 128; + visible: 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + description { + state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + rel1 { + offset: -4 0; + relative: 1.0 0.0; + to_y: "elm.swallow.bar"; + } + rel2 { + offset: -3 -1; + to_y: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: -4 -1; + } + } + part { name: "units"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1 { + to_x: "limits"; + offset: 0 5; + } + rel2 { + to_x: "limits"; + offset: 5 -3; + } + image { + normal: "sl_units.png"; + border: 0 5 3 8; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + alias: "elm.units.min" "limits:elm.units.min"; + alias: "elm.units.max" "limits:elm.units.max"; + part { name: "limits"; + type: GROUP; + source: "elm/slider/hidden/limit"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + min: SOURCE; + fixed: 1 1; + rel1.to_x: "elm.swallow.end"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 8; + rel2.to_x: "elm.swallow.end"; + rel2.relative: 0.0 1.0; + rel2.offset: 0 -9; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.offset: -5 0; + rel2.offset: -5 -1; + } + } + part { name: "elm.units"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to_x: "limits"; + rel2.to_x: "limits"; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 1.0 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 128 128 128; + visible: 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/horizontal/indicator/default"; + mouse_events: 1; + repeat_events: 1; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "bg"; + } + description { state: "default" 0.0; + min: 0 24; + max: 0 24; + fixed: 1 1; + rel1 { + relative: 0.5 0.0; + to_x: "bg"; + } + rel2 { + relative: 0.5 1.0; + to_x: "bg"; + } + color: 255 0 0 100; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,state,end,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,state,end,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.units"; + target: "limits"; + target: "units"; + after: "limits,children,visible"; + } + program { name: "limits,children,visible"; + action: SIGNAL_EMIT "limits:limits,visible" "elm"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.units"; + target: "limits"; + target: "units"; + after: "limits,children,hide"; + } + program { name: "limits,children,hide"; + action: SIGNAL_EMIT "limits:limits,hide" "elm"; + } + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "inverted" 0.0; + target: "level"; + target: "level2"; + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "level"; + target: "level2"; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + // target: "button0"; + target: "disabler"; + after: "disable_text"; + after: "disable_ind"; + } + + program { name: "disable_ind"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.units", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.units", "disabled_visible", 0.0); + else + set_state(PART:"elm.units", "disabled", 0.0); + + get_state(PART:"level2", st, 30, vl); + if (!strcmp(st, "inverted")) + { + set_state(PART:"level", "disabled_inverted", 0.0); + set_state(PART:"level2", "disabled_inverted", 0.0); + } + else + { + set_state(PART:"level", "disabled", 0.0); + set_state(PART:"level2", "disabled", 0.0); + } + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + // target: "button0"; + target: "disabler"; + after: "enable_text"; + after: "enable_ind"; + } + + program { name: "enable_ind"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm"; + } + + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.units", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.units", "visible", 0.0); + else + set_state(PART:"elm.units", "default", 0.0); + + get_state(PART:"level2", st, 30, vl); + if (!strcmp(st, "disabled_inverted")) + { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + } + else + { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + } + } + } + } +} + +group { name: "elm/slider/vertical/default"; + images { + image: "slv_bg.png" COMP; + image: "slv_bg_over.png" COMP; + + image: "slv_units.png" COMP; + } + parts { + alias: "default" "elm.text"; + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + max: 6 99999; + min: 6 0; + rel1 { to: "bg"; + offset: 1 0; + } + rel2 { to: "bg"; + offset: -2 -1; + } + image.normal: "slv_bg.png"; + fill.smooth: 0; + } + } + part { name: "level"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "base"; + rel2 { + to_x: "base"; + to_y: "elm.dragable.slider"; + relative: 1.0 0.5; + } + color: 255 0 0 200; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 0 0 100; + } + description { state: "disabled_inverted" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "level2"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to_x: "base"; + to_y: "elm.dragable.slider"; + relative: 0.0 0.5; + } + rel2.to: "base"; + color: 255 0 0 200; + } + description { state: "inverted" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 0 0 100; + } + description { state: "disabled_inverted" 0.0; + inherit: "default" 0.0; + color: 255 0 0 100; + visible: 1; + } + } + part { + name: "base_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: -1 -1; + rel2.to: "base"; + rel2.offset: 0 0; + image { + normal: "slv_bg_over.png"; + border: 3 3 3 3; + } + fill.smooth: 0; + } + } + part { name: "bg"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.bar"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 24 48; + max: 24 9999; + align: 0.5 1.0; + rel1 { + to_y: "elm.text"; + relative: 0.0 1.0; + offset: 0 10; + } + rel2 { + to_y: "limits"; + relative: 1.0 0.0; + offset: -1 -8; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + rel1 { + offset: 0 4; + to_x: "elm.swallow.bar"; + } + rel2 { + offset: -1 3; + relative: 1.0 0.0; + to_x: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + rel2.offset: -1 4; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 0 1; + align: 0.5 0.0; + rel1.to_y: "elm.swallow.icon"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -1; + rel2.to_y: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + rel1.offset: 4 0; + rel2.offset: -5 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 128 128 128; + visible: 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + description { + state: "default" 0.0; + visible: 0; + align: 0.5 1.0; + rel1 { + offset: 0 -4; + relative: 0.0 1.0; + to_x: "elm.swallow.bar"; + } + rel2 { + offset: -1 -3; + to_x: "elm.swallow.bar"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + rel2.offset: -1 -4; + } + } + part { name: "units"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1 { + to: "limits"; + offset: -8 0; + } + rel2 { + to: "limits"; + offset: 7 8; + } + image { + normal: "slv_units.png"; + border: 8 8 0 9; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "limits"; + type: GROUP; + source: "elm/slider/hidden/limit"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: SOURCE; + align: 0.5 1.0; + rel1.to_y: "elm.swallow.end"; + rel1.relative: 0.0 0.0; + rel1.offset: 8 0; + rel2.to_y: "elm.swallow.end"; + rel2.relative: 1.0 0.0; + rel2.offset: -9 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.offset: 8 -9; + rel2.offset: -9 -9; + } + } + part { name: "elm.units"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to: "limits"; + rel2.to: "limits"; + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + color: 0 0 0 128; + color3: 0 0 0 0; + } + } + part { name: "elm.dragable.slider"; + type: GROUP; + source: "elm/slider/vertical/indicator/default"; + mouse_events: 1; + repeat_events: 1; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "bg"; + } + description { state: "default" 0.0; + min: 24 0; + max: 24 0; + fixed: 1 1; + rel1 { + relative: 0.5 0.0; + to_y: "bg"; + } + rel2 { + relative: 0.5 1.0; + to_y: "bg"; + } + color: 0 0 0 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,state,end,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,state,end,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "units_show"; + signal: "elm,state,units,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.units"; + target: "limits"; + target: "units"; + after: "limits,children,visible"; + } + program { name: "limits,children,visible"; + action: SIGNAL_EMIT "limits:limits,visible" "elm"; + } + program { name: "units_hide"; + signal: "elm,state,units,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.units"; + target: "limits"; + target: "units"; + after: "limits,children,hide"; + } + program { name: "limits,children,hide"; + action: SIGNAL_EMIT "limits:limits,hide" "elm"; + } + program { name: "invert_on"; + signal: "elm,state,inverted,on"; + source: "elm"; + action: STATE_SET "inverted" 0.0; + target: "level"; + target: "level2"; + } + program { name: "invert_off"; + signal: "elm,state,inverted,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "level"; + target: "level2"; + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + // target: "button0"; + target: "disabler"; + after: "disable_text"; + after: "disable_ind"; + } + + program { name: "disable_ind"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm"; + } + + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.units", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.units", "disabled_visible", 0.0); + else + set_state(PART:"elm.units", "disabled", 0.0); + + get_state(PART:"level2", st, 30, vl); + if (!strcmp(st, "inverted")) + { + set_state(PART:"level", "disabled_inverted", 0.0); + set_state(PART:"level2", "disabled_inverted", 0.0); + } + else + { + set_state(PART:"level", "disabled", 0.0); + set_state(PART:"level2", "disabled", 0.0); + } + } + } + + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + // target: "button0"; + target: "disabler"; + after: "enable_text"; + after: "enable_ind"; + } + + program { name: "enable_ind"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.units", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.units", "visible", 0.0); + else + set_state(PART:"elm.units", "default", 0.0); + + get_state(PART:"level2", st, 30, vl); + if (!strcmp(st, "disabled_inverted")) + { + set_state(PART:"level", "inverted", 0.0); + set_state(PART:"level2", "inverted", 0.0); + } + else + { + set_state(PART:"level", "default", 0.0); + set_state(PART:"level2", "default", 0.0); + } + } + } + } +} +group { name: "elm/slider/horizontal/indicator/default"; + alias: "elm/slider/horizontal/indicator/disabled"; + alias: "elm/slider/vertical/indicator/default"; + alias: "elm/slider/vertical/indicator/disabled"; + images { + image: "sl_bt_0.png" COMP; + image: "sl_bt_1.png" COMP; + image: "sl_bt_2.png" COMP; + image: "sl_bt_3.png" COMP; + image: "sl_bt2_0_0.png" COMP; + image: "sl_bt2_0_1.png" COMP; + image: "sl_bt2_0_2.png" COMP; + image: "sl_bt2_1.png" COMP; + image: "sl_bt2_2.png" COMP; + } + script { + public value_hide = 0; + public set_value_show() { + set_int(value_hide, 0); + } + public set_value_hide() { + set_int(value_hide, 1); + } + public thumb_down() { + if (get_int(value_hide) == 1) { + set_state(PART:"elm.indicator", "default", 0.0); + set_state(PART:"button3", "default", 0.0); + set_state(PART:"button4", "default", 0.0); + set_state(PART:"button5", "default", 0.0); + set_state(PART:"button6", "default", 0.0); + set_state(PART:"button7", "default", 0.0); + } else { + set_state(PART:"elm.indicator", "visible", 0.0); + set_state(PART:"button3", "visible", 0.0); + set_state(PART:"button4", "visible", 0.0); + set_state(PART:"button5", "visible", 0.0); + set_state(PART:"button6", "visible", 0.0); + set_state(PART:"button7", "visible", 0.0); + } + } + public thumb_up() { + set_state(PART:"elm.indicator", "default", 0.0); + set_state(PART:"button3", "default", 0.0); + set_state(PART:"button4", "default", 0.0); + set_state(PART:"button5", "default", 0.0); + set_state(PART:"button6", "default", 0.0); + set_state(PART:"button7", "default", 0.0); + } + } + parts { + part { name: "button_events"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 16 16; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + part { name: "button0"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + max: 17 999; + min: 17 24; + image { + normal: "sl_bt_0.png"; + border: 5 5 5 10; + } + fill.smooth: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "sl_bt_3.png"; + border: 5 5 5 10; + } + } + } + part { name: "button1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button0"; + rel2 { + to: "button0"; + relative: 1.0 0.5; + offset: -1 -5; + } + image { + normal: "sl_bt_1.png"; + border: 5 5 5 0; + } + } + } + part { name: "button2"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button0"; + rel2.to: "button0"; + image { + normal: "sl_bt_2.png"; + border: 5 5 5 10; + } + fill.smooth: 0; + } + } + part { name: "button3"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 8 32; + align: 1.0 0.5; + rel1 { + to_x: "elm.indicator"; + to_y: "button4"; + relative: 0.0 0.0; + offset: -7 0; + } + rel2 { + to: "button4"; + relative: 0.0 1.0; + offset: -1 -1; + } + image { + normal: "sl_bt2_0_0.png"; + border: 6 0 6 12; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "button4"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + max: 15 999; + min: 15 32; + rel1 { + to_x: "button0"; + to_y: "elm.indicator"; + offset: 0 0; + } + rel2.to: "button0"; + image { + normal: "sl_bt2_0_1.png"; + border: 0 0 6 12; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "button5"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + min: 8 32; + align: 0.0 0.5; + rel1 { + to: "button4"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to_x: "elm.indicator"; + to_y: "button4"; + relative: 1.0 1.0; + offset: 6 -1; + } + image { + normal: "sl_bt2_0_2.png"; + border: 0 6 6 12; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.indicator"; + type: TEXT; + mouse_events: 0; + effect: SOFT_SHADOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + to: "button0"; + relative: 0.0 -0.25; + offset: 0 0; + } + rel2 { + to_x: "button0"; + relative: 1.0 -0.25; + offset: -1 0; + } + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 0 0; + align: 0.5 0.5; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + rel1.offset: 0 -1; + rel2.offset: -1 -1; + } + } + part { name: "button6"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.to: "button3"; + rel2 { + to: "button5"; + relative: 1.0 0.3; + offset: -1 -1; + } + image { + normal: "sl_bt2_1.png"; + border: 5 5 5 0; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "button7"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.to: "button3"; + rel2.to: "button5"; + image { + normal: "sl_bt2_2.png"; + border: 5 5 5 0; + middle: 0; + } + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "set_val_show"; + signal: "elm,state,val,show"; + source: "elm"; + script { + set_value_show(); + } + } + program { name: "set_val_hide"; + signal: "elm,state,val,hide"; + source: "elm"; + script { + set_value_hide(); + } + } + program { name: "val_show"; + signal: "mouse,down,*"; + source: "button_events"; + script { + thumb_down(); + } + } + program { name: "val_hide"; + signal: "mouse,up,*"; + source: "button_events"; + script { + thumb_up(); + } + } + program { name: "indicator_show"; + signal: "elm,state,indicator,show"; + source: "elm"; + script { + thumb_down(); + } + } + program { name: "indicator_hide"; + signal: "elm,state,indicator,hide"; + source: "elm"; + script { + thumb_up(); + } + } + program { + name: "go_disabled"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "button0"; + } + program { + name: "go_enabled"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "button0"; + } + } +} + + diff --git a/libraries/elementary/data/themes/widgets/slideshow.edc b/libraries/elementary/data/themes/widgets/slideshow.edc new file mode 100644 index 0000000..e7b0898 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/slideshow.edc @@ -0,0 +1,396 @@ +group { name: "elm/slideshow/base/default"; + data { + item: transitions "fade black_fade horizontal vertical square"; + item: layouts "fullscreen not_fullscreen"; + } + parts { + part { name: "whole"; + type: RECT; + description { + state: "default" 0.0; + visible: 1; + color: 20 20 20 255; + } + } + part { name: "image_1_whole"; + type: RECT; + description { + state: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + description { + state: "black_fade_prev_next_init" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "black_fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + description { + state: "horizontal_next_init" 0.0; + inherit: "default" 0.0; + } + description { + state: "horizontal_next" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + description { + state: "horizontal_prev_init" 0.0; + inherit: "default" 0.0; + } + description { + state: "horizontal_prev" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + description { + state: "vertical_next_init" 0.0; + inherit: "default" 0.0; + } + description { + state: "vertical_next" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { + state: "vertical_prev_init" 0.0; + inherit: "default" 0.0; + } + description { + state: "vertical_prev" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { + state: "square_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "image_2_whole"; + type: RECT; + description { + state: "default" 0.0; + visible: 1; + color: 255 255 255 0; + } + description { + state: "fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "black_fade_prev_next_init" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + description { + state: "black_fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "horizontal_next_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + color: 255 255 255 255; + } + description { + state: "horizontal_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "horizontal_prev_init" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + color: 255 255 255 255; + } + description { + state: "horizontal_prev" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "vertical_next_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + color: 255 255 255 255; + } + description { + state: "vertical_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "vertical_prev_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + color: 255 255 255 255; + } + description { + state: "vertical_prev" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "square_prev_next_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + color: 255 255 255 255; + } + description { + state: "square_prev_next" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.1"; + type: SWALLOW; + clip_to: "image_1_whole"; + description { + state: "default" 0.0; + rel1.to: "image_1_whole"; + rel2.to: "image_1_whole"; + color: 255 255 255 255; + } + description { + state: "not_fullscreen" 0.0; + rel1.relative: 0.1 0.1; + rel1.to: "image_1_whole"; + rel2.relative: 0.9 0.9; + rel2.to: "image_1_whole"; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.2"; + type: SWALLOW; + clip_to: "image_2_whole"; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1.to: "image_2_whole"; + rel2.to: "image_2_whole"; + } + description { + state: "not_fullscreen" 0.0; + color: 255 255 255 255; + rel1.relative: 0.1 0.1; + rel1.to: "image_2_whole"; + rel2.relative: 0.9 0.9; + rel2.to: "image_2_whole"; + } + } + part { name: "events_catcher"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + //Substyle + program { name: "layout_fullscreen"; + signal: "layout,fullscreen"; + source: "slideshow"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.1"; + target: "elm.swallow.2"; + transition: SINUSOIDAL 1.0; + } + program { name: "layout_not_fullscreen"; + signal: "layout,not_fullscreen"; + source: "slideshow"; + action: STATE_SET "not_fullscreen" 0.0; + target: "elm.swallow.1"; + target: "elm.swallow.2"; + transition: SINUSOIDAL 1.0; + } + // + program { name: "fade_next"; + signal: "fade,next"; + source: "slideshow"; + action: STATE_SET "default" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "fade_next_2"; + } + program { name: "fade_next_2"; + action: STATE_SET "fade_prev_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "fade_previous"; + signal: "fade,previous"; + source: "slideshow"; + action: STATE_SET "default" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "fade_previous_2"; + } + program { name: "fade_previous_2"; + action: STATE_SET "fade_prev_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "black_fade_next"; + signal: "black_fade,next"; + source: "slideshow"; + action: STATE_SET "black_fade_prev_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "black_fade_next_2"; + } + program { name: "black_fade_next_2"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_1_whole"; + transition: SINUSOIDAL 0.75; + after: "black_fade_next_3"; + } + program { name: "black_fade_next_3"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_2_whole"; + transition: SINUSOIDAL 0.75; + after: "end"; + } + program { name: "black_fade_previous"; + signal: "black_fade,previous"; + source: "slideshow"; + action: STATE_SET "black_fade_prev_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "black_fade_previous_2"; + } + program { name: "black_fade_previous_2"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_1_whole"; + transition: SINUSOIDAL 0.75; + after: "black_fade_previous_3"; + } + program { name: "black_fade_previous_3"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_2_whole"; + transition: SINUSOIDAL 0.75; + after: "end"; + } + program { name: "horizontal_next"; + signal: "horizontal,next"; + source: "slideshow"; + action: STATE_SET "horizontal_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "horizontal_next_2"; + } + program { name: "horizontal_next_2"; + action: STATE_SET "horizontal_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "horizontal_previous"; + signal: "horizontal,previous"; + source: "slideshow"; + action: STATE_SET "horizontal_prev_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "horizontal_previous_2"; + } + program { name: "horizontal_previous_2"; + action: STATE_SET "horizontal_prev" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "vertical_next"; + signal: "vertical,next"; + source: "slideshow"; + action: STATE_SET "vertical_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "vertical_next_2"; + } + program { name: "vertical_next_2"; + action: STATE_SET "vertical_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "vertical_previous"; + signal: "vertical,previous"; + source: "slideshow"; + action: STATE_SET "vertical_prev_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "vertical_previous_2"; + } + program { name: "vertical_previous_2"; + action: STATE_SET "vertical_prev" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "square_next"; + signal: "square,next"; + source: "slideshow"; + action: STATE_SET "square_prev_next_init" 0.0; + target: "image_2_whole"; + after: "square_next_2"; + } + program { name: "square_next_2"; + action: STATE_SET "square_prev_next" 0.0; + target: "image_2_whole"; + target: "image_1_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "square_previous"; + signal: "square,previous"; + source: "slideshow"; + action: STATE_SET "square_prev_next_init" 0.0; + target: "image_2_whole"; + after: "square_next_2"; + } + program { name: "end"; + action: SIGNAL_EMIT "end" "slideshow"; + } + program { name: "end_signal"; + signal: "anim,end"; + source: "slideshow"; + action: STATE_SET "default" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/spinner.edc b/libraries/elementary/data/themes/widgets/spinner.edc new file mode 100644 index 0000000..ad58b65 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/spinner.edc @@ -0,0 +1,1033 @@ +group { name: "elm/spinner/base/default"; + images { + image: "shelf_inset.png" COMP; + image: "bt_base1.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "sp_bt_l.png" COMP; + image: "sp_bt_r.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + min: 0 30; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "left_bt"; + mouse_events: 1; + description { state: "default" 0.0; + rel1 { to: "bg"; + offset: 3 3; + } + rel2 { to: "bg"; + offset: -4 -4; + } + align: 0.0 0.5; + min: 24 24; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image { + normal: "bt_base1.png"; + border: 6 6 6 6; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "left_over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "left_bt"; + rel2 { to: "left_bt"; + relative: 1.0 0.5; + } + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "left_over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "left_bt"; + rel2.to: "left_bt"; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "left_over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "left_bt"; + rel2.to: "left_bt"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "right_bt"; + mouse_events: 1; + description { state: "default" 0.0; + rel1 { to: "bg"; + offset: -26 3; + } + rel2 { to: "bg"; + offset: -4 -4; + } + align: 1.0 0.5; + min: 24 24; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image { + normal: "bt_base1.png"; + border: 5 5 4 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_base1.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "right_over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "right_bt"; + rel2 { to: "right_bt"; + relative: 1.0 0.5; + } + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "right_over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1.to: "right_bt"; + rel2.to: "right_bt"; + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "right_over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "right_bt"; + rel2.to: "right_bt"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "left_bt_icon"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "left_bt"; + rel1.offset: 4 4; + rel2.to: "left_bt"; + rel2.offset: -5 -5; + align: 0.5 0.5; + min: 16 16; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "sp_bt_l.png"; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_r.png"; + } + } + part { name: "right_bt_icon"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "right_bt"; + rel1.offset: 4 4; + rel2.to: "right_bt"; + rel2.offset: -5 -5; + align: 0.5 0.5; + min: 16 16; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "sp_bt_r.png"; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "sp_bt_l.png"; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 0.0 0.5; + rel1 { relative: 1.0 0.0; + offset: 3 2; + to_x: "left_bt"; + to_y: "bg"; + } + rel2 { relative: 0.0 1.0; + offset: -3 -2; + to_x: "right_bt"; + to_y: "bg"; + } + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + } + part { name: "elm.dragable.slider"; + type: RECT; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + } + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + dragable { + events: "elm.dragable.slider"; + } + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { relative: 1.0 0.5; + offset: 3 2; + to_x: "left_bt"; + to_y: "bg"; + } + rel2 { relative: 0.0 0.5; + offset: -3 -2; + to_x: "right_bt"; + to_y: "bg"; + } + fixed: 1 1; + color: 0 0 0 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "dec"; + signal: "mouse,down,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { + name: "left_bt_click"; + signal: "mouse,down,1"; + source: "left_over2"; + action: STATE_SET "clicked" 0.0; + target: "left_bt"; + } + program { + name: "left_bt_unclick"; + signal: "mouse,up,1"; + source: "left_over2"; + action: STATE_SET "default" 0.0; + target: "left_bt"; + } + program { + name: "left_bt_click2"; + signal: "mouse,down,1"; + source: "left_over3"; + action: STATE_SET "clicked" 0.0; + target: "left_over3"; + } + program { + name: "left_bt_unclick2"; + signal: "mouse,up,1"; + source: "left_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left_over3"; + } + program { + name: "left_bt_unclick3"; + signal: "mouse,up,1"; + source: "left_over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "left_bt_pressed_anim"; + signal: "elm,left,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "left_bt"; + target: "left_over3"; + after: "left_bt_unpressed_anim"; + } + program { + name: "left_bt_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left_bt"; + target: "left_over3"; + } + + program { + name: "right_bt_click"; + signal: "mouse,down,1"; + source: "right_over2"; + action: STATE_SET "clicked" 0.0; + target: "right_bt"; + } + program { + name: "right_bt_unclick"; + signal: "mouse,up,1"; + source: "right_over2"; + action: STATE_SET "default" 0.0; + target: "right_bt"; + } + program { + name: "right_bt_click2"; + signal: "mouse,down,1"; + source: "right_over3"; + action: STATE_SET "clicked" 0.0; + target: "right_over3"; + } + program { + name: "right_bt_unclick2"; + signal: "mouse,up,1"; + source: "right_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right_over3"; + } + program { + name: "right_bt_unclick3"; + signal: "mouse,up,1"; + source: "right_over2"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "right_bt_pressed_anim"; + signal: "elm,right,anim,activate"; + source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "right_bt"; + target: "right_over3"; + after: "right_bt_unpressed_anim"; + } + program { + name: "right_bt_unpressed_anim"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right_bt"; + target: "right_over3"; + } + + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "left_bt"; + target: "left_over1"; + target: "left_over2"; + target: "right_bt"; + target: "right_over1"; + target: "right_over2"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.text", "disabled_active", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.swallow.entry", "disabled_active", 0.0); + else + set_state(PART:"elm.swallow.entry", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "left_bt"; + target: "left_over1"; + target: "left_over2"; + target: "right_bt"; + target: "right_over1"; + target: "right_over2"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.text", "active", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.swallow.entry", "active", 0.0); + else + set_state(PART:"elm.swallow.entry", "default", 0.0); + } + } + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "toggle_text"; + signal: "mouse,up,1"; + source: "button_events"; + action: SIGNAL_EMIT "elm,action,entry,toggle" ""; + } + program { name: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "right_bt_icon"; + target: "left_bt_icon"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/spinner/base/vertical"; + images { + image: "shelf_inset.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "up.png" COMP; + image: "down.png" COMP; + image: "bt_spinner_up.png" COMP; + image: "bt_spinner_down.png" COMP; + image: "bt_spinner_hilight.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + min: 0 30; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + } + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "down_bt"; + mouse_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "up_bt"; + relative: 0 1; + offset: 0 1; + } + rel2 { + to_y: "bg"; + to_x: "up_bt"; + relative: 1 1; + offset: -1 -4; + } + align: 1.0 0.5; + min: 24 16; + image { + normal: "bt_spinner_down.png"; + border: 6 6 6 6; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_spinner_down.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "down_over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "down_bt"; + rel2.to: "down_bt"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "up_bt"; + mouse_events: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1 { to: "bg"; + relative: 0 0; + offset: 0 2; + } + rel2 { to: "bg"; + relative: 1 0.5; + offset: -3 0; + } + align: 1.0 0.5; + min: 24 16; + aspect: 1.5 1.0; + aspect_preference: BOTH; + image { + normal: "bt_spinner_up.png"; + border: 6 6 6 6; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "bt_spinner_up.png"; + image.middle: SOLID; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { name: "up_over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "up_bt"; + rel2 { to: "up_bt"; + relative: 1.0 0.5; + } + image { + normal: "bt_spinner_hilight.png"; + border: 7 7 7 0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "up_over3"; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "up_bt"; + rel2.to: "up_bt"; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "down_bt_icon"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "down_bt"; + rel1.offset: 5 3; + rel2.to: "down_bt"; + rel2.offset: -6 -3; + align: 0.5 0.5; + image.normal: "down.png"; + } + } + part { name: "up_bt_icon"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "up_bt"; + rel1.offset: 5 3; + rel2.to: "up_bt"; + rel2.offset: -6 -3; + align: 0.5 0.5; + image.normal: "up.png"; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 1; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; + offset: 3 2; + to_x: "bg"; + to_y: "bg"; + } + rel2 { relative: 0.0 1.0; + offset: -3 -2; + to_x: "down_bt"; + to_y: "bg"; + } + color: 0 0 0 255; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + } + part { name: "elm.dragable.slider"; + type: RECT; + mouse_events: 0; + scale: 1; + dragable { + x: 1 1 0; + y: 0 0 0; + } + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { name: "button_events"; + type: RECT; + dragable { + events: "elm.dragable.slider"; + } + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { relative: 0.0 0.5; + offset: 3 2; + to: "bg"; + } + rel2 { relative: 1.0 0.5; + offset: -3 -2; + to: "bg"; + } + fixed: 1 1; + color: 0 0 0 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "dec"; + signal: "mouse,down,1"; + source: "down_bt"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec2"; + signal: "mouse,up,1"; + source: "down_bt"; + action: SIGNAL_EMIT "elm,action,decrement,stop" ""; + } + program { name: "inc"; + signal: "mouse,down,1"; + source: "up_bt"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc2"; + signal: "mouse,up,1"; + source: "up_bt"; + action: SIGNAL_EMIT "elm,action,increment,stop" ""; + } + program { + name: "down_bt_click2"; + signal: "mouse,down,1"; + source: "down_over3"; + action: STATE_SET "clicked" 0.0; + target: "down_over3"; + } + program { + name: "down_bt_unclick2"; + signal: "mouse,up,1"; + source: "down_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "down_over3"; + } + program { + name: "up_bt_click2"; + signal: "mouse,down,1"; + source: "up_over3"; + action: STATE_SET "clicked" 0.0; + target: "up_over3"; + } + program { + name: "up_bt_unclick2"; + signal: "mouse,up,1"; + source: "up_over3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "up_over3"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "down_bt"; + target: "up_bt"; + target: "disabler"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.text", "disabled_active", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "active")) + set_state(PART:"elm.swallow.entry", "disabled_active", 0.0); + else + set_state(PART:"elm.swallow.entry", "disabled", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "down_bt"; + target: "up_bt"; + target: "disabler"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.text", "active", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.entry", st, 30, vl); + if (!strcmp(st, "disabled_active")) + set_state(PART:"elm.swallow.entry", "active", 0.0); + else + set_state(PART:"elm.swallow.entry", "default", 0.0); + } + } + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "toggle_text"; + signal: "mouse,up,1"; + source: "button_events"; + action: SIGNAL_EMIT "elm,action,entry,toggle" ""; + } + } +} + + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/thumb.edc b/libraries/elementary/data/themes/widgets/thumb.edc new file mode 100644 index 0000000..5fd0cb4 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/thumb.edc @@ -0,0 +1,185 @@ +group { name: "elm/thumb/base/default"; + images { + image: "frame_1.png" COMP; + image: "frame_2.png" COMP; + image: "dia_grad.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "base0"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "dia_grad.png"; + rel1.to: "over"; + rel2.to: "over"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { name: "base"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "frame_2.png"; + border: 5 5 32 26; + middle: 0; + } + fill.smooth : 0; + } + } + part { name: "clip"; + mouse_events: 0; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + } + part { name: "progress"; + mouse_events: 0; + + clip_to: "clip"; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + visible: 0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + border: 7 7 7 7; + } + } + } + part { name: "over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image { + normal: "frame_1.png"; + border: 2 2 28 22; + middle: 0; + } + fill.smooth: 0; + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "progress"; + transition: LINEAR 0.5; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "progress"; + } + } + } +} + +group { name: "elm/thumb/base/noframe"; + images { + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + } + part { name: "progress"; + mouse_events: 0; + description { state: "default" 0.0; + min: 32 32; + max: 32 32; + visible: 0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + border: 7 7 7 7; + } + } + } + programs { + program { name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "progress"; + transition: LINEAR 0.5; + after: "start_pulse"; + } + program { name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "progress"; + } + } + } +} + + diff --git a/libraries/elementary/data/themes/widgets/toolbar.edc b/libraries/elementary/data/themes/widgets/toolbar.edc new file mode 100644 index 0000000..4d1d2f0 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/toolbar.edc @@ -0,0 +1,685 @@ +group { name: "elm/toolbar/base/default"; + images { + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + image: "bt_dis_shine.png" COMP; + image: "icon_left_arrow.png" COMP; + image: "icon_right_arrow.png" COMP; + } + parts { + part { name: "base"; + mouse_events: 1; + description { state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2.offset: -3 -3; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "base"; + offset: 2 2; + } + rel2 { + to: "base"; + offset: -3 -3; + } + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + part { name: "over2"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image { + normal: "bt_dis_shine.png"; + border: 4 4 4 4; + } + } + } + part { name: "over1"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + color: 255 255 255 128; + } + } + part { name: "left_arrow"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "icon_left_arrow.png"; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + align: 0.0 0.5; + min: 32 32; + max: 32 32; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "right_arrow"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "icon_right_arrow.png"; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + align: 1.0 0.5; + min: 32 32; + max: 32 32; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "sb_hbar_show"; + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "left_arrow"; + target: "right_arrow"; + } + program { name: "sb_hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "left_arrow"; + target: "right_arrow"; + transition: LINEAR 0.5; + } + } +} + +group { name: "elm/toolbar/item/default"; + images { + image: "toolbar_sel.png" COMP; + } + data.item: "transition_animation_on" "1"; + parts { + part { name: "label2"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 0 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color: 0 0 0 255; + text { + font: "Sans"; + text_source: "elm.text"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "label2_new"; + type: TEXT; + mouse_events: 0; + scale: 1; + clip_to: "elm.text_new.clipper"; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 0 1; + rel1.to: "elm.text_new"; + rel2.to: "elm.text_new"; + color: 0 0 0 255; + text { + font: "Sans"; + text_source: "elm.text_new"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "bg"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + image { + normal: "toolbar_sel.png"; + border: 3 3 0 0; + } + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "elm.icon.clipper"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to_y: "elm.text"; + relative: 1.0 0.0; + offset: -3 -1; + } + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon_new"; + type: SWALLOW; + clip_to: "elm.icon_new.clipper"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to_y: "elm.text_new"; + relative: 1.0 0.0; + offset: -3 -1; + } + color: 0 0 0 0; + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "elm.text.clipper"; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + visible: 0; + color: 224 224 224 255; + color3: 0 0 0 32; + text { + font: "Sans:style=Bold"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "elm.text_new"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + clip_to: "elm.text_new.clipper"; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + visible: 0; + color: 224 224 224 255; + color3: 0 0 0 32; + text { + font: "Sans:style=Bold"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "elm.text.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "animation" 0.0; + color: 255 255 255 0; + } + } + part { name: "elm.text_new.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "animation" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.icon.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "animation" 0.0; + color: 255 255 255 0; + } + } + part { name: "elm.icon_new.clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "animation" 0.0; + color: 255 255 255 255; + } + } + part { name: "event"; + type: RECT; + mouse_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { name: "go_active"; + signal: "elm,state,selected"; + source: "elm"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "elm.text"; + target: "label2"; + target: "elm.text_new"; + target: "label2_new"; + transition: LINEAR 0.2; + } + program { name: "go_passive"; + signal: "elm,state,unselected"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + target: "label2"; + target: "elm.text_new"; + target: "label2_new"; + transition: LINEAR 0.1; + } + program { name: "go"; + signal: "mouse,clicked,1"; + source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "mouse,in"; + signal: "mouse,in"; + source: "event"; + action: SIGNAL_EMIT "elm,mouse,in" "elm"; + } + program { name: "mouse,out"; + signal: "mouse,out"; + source: "event"; + action: SIGNAL_EMIT "elm,mouse,out" "elm"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "label2"; + target: "label2_new"; + target: "bg"; + after: "disable_text"; + } + program { name: "disable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"elm.text_new", "disabled_visible", 0.0); + } + else + { + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"elm.text_new", "disabled", 0.0); + } + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "label2"; + target: "label2_new"; + target: "bg"; + after: "enable_text"; + } + program { name: "enable_text"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + { + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"elm.text_new", "visible", 0.0); + } + else + { + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"elm.text_new", "default", 0.0); + } + } + } + program { name: "label_set,animation,forward"; + signal: "elm,state,label_set,forward"; + source: "elm"; + after: "label_set,animation"; + } + program { name: "label_set,animation,backward"; + signal: "elm,state,label_set,backward"; + source: "elm"; + after: "label_set,animation"; + } + program { name: "label_set,animation"; + signal: "elm,state,label_set"; + source: "elm"; + action: STATE_SET "animation" 0.0; + target: "elm.text.clipper"; + target: "elm.text_new.clipper"; + transition: LINEAR 0.2; + after: "label_set,animation,done"; + } + program { name: "label_set,animation,done"; + action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; + } + program { name: "label,reset"; + signal: "elm,state,label,reset"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.clipper"; + target: "elm.text_new.clipper"; + } + program { name: "icon_set,animation,forward"; + signal: "elm,state,icon_set,forward"; + source: "elm"; + after: "icon_set,animation"; + } + program { name: "icon_set,animation,backward"; + signal: "elm,state,icon_set,backward"; + source: "elm"; + after: "icon_set,animation"; + } + program { name: "icon_set,animation"; + signal: "elm,state,icon_set"; + source: "elm"; + action: STATE_SET "animation" 0.0; + target: "elm.icon.clipper"; + target: "elm.icon_new.clipper"; + transition: LINEAR 0.2; + after: "icon_set,animation,done"; + } + program { name: "icon_set,animation,done"; + action: SIGNAL_EMIT "elm,state,icon_set,done" "elm"; + } + program { name: "icon,reset"; + signal: "elm,state,icon,reset"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.icon.clipper"; + target: "elm.icon_new.clipper"; + } + } +} + +group { name: "elm/toolbar/item/item_horizontal"; + inherit: "elm/toolbar/item/default"; + parts { + part { name: "elm.swallow.icon"; + description { state: "default" 0.0; + fixed: 1 1; + aspect: 1 1; + aspect_preference: VERTICAL; + align: 0.0 0.5; + rel1.offset: 3 3; + rel1.relative: 0 0; + rel2.offset: 3 -4; + rel2.relative: 0 1; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon_new"; + description { state: "default" 0.0; + fixed: 1 1; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + align: 1 0.5; + min: 0 1; + rel1.offset: 1 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + text.align: 0 0.5; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + part { name: "elm.text_new"; + description { state: "default" 0.0; + align: 1 0.5; + min: 0 1; + rel1.offset: 1 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + text.align: 0 0.5; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 0 0 0 0; + visible: 1; + text.min: 1 1; + } + } + } +} + +group { name: "elm/toolbar/separator/default"; + images { + image: "toolbar_separator_v.png" COMP; + } + parts { + part { name: "separator"; // separator group + description { state: "default" 0.0; + min: 2 2; + max: 2 9999; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image { + normal: "toolbar_separator_v.png"; + } + fill { + smooth: 0; + } + } + } + } +} + +group { name: "elm/toolbar/object/default"; + parts { + part { name: "elm.swallow.object"; // object group + type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} diff --git a/libraries/elementary/data/themes/widgets/tooltip.edc b/libraries/elementary/data/themes/widgets/tooltip.edc new file mode 100644 index 0000000..5a88d49 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/tooltip.edc @@ -0,0 +1,497 @@ +group { name: "elm/label/base/tooltip"; + styles { + style { name: "tooltip_style"; + base: "font=Sans font_size=8 color=#666 wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + text { + style: "tooltip_style"; + min: 1 1; + } + } + } + } +} + +group { name: "elm/tooltip/base/default"; + min: 30 30; + data { + item: "pad_x" "20"; + item: "pad_y" "20"; + item: "pad_border_x" "10"; + item: "pad_border_y" "10"; + item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */ + } + images { + image: "tooltip-base.png" COMP; + image: "tooltip-corner-top-left-tip.png" COMP; + image: "tooltip-corner-top-right-tip.png" COMP; + image: "tooltip-corner-bottom-left-tip.png" COMP; + image: "tooltip-corner-bottom-right-tip.png" COMP; + image: "tooltip-edge-left-tip.png" COMP; + image: "tooltip-edge-right-tip.png" COMP; + image: "tooltip-edge-bottom-tip.png" COMP; + image: "tooltip-edge-top-tip.png" COMP; + } + script { + hide_corners() { + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + } + hide_edges() { + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + } + + show_corner_top_left() { + set_state(PART:"corner-top-left", "visible", 0.0); + + set_state(PART:"corner-top-right", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + hide_edges(); + } + show_corner_top_right() { + set_state(PART:"corner-top-right", "visible", 0.0); + + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + hide_edges(); + } + + show_corner_bottom_left() { + set_state(PART:"corner-bottom-left", "visible", 0.0); + + set_state(PART:"corner-bottom-right", "default", 0.0); + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + hide_edges(); + } + show_corner_bottom_right() { + set_state(PART:"corner-bottom-right", "visible", 0.0); + + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + hide_edges(); + } + + show_edge_left(Float:val) { + set_state(PART:"clipper-edge-left", "visible", 0.0); + set_drag(PART:"edge-drag-left", 0.0, val); + + set_state(PART:"clipper-edge-right", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + hide_corners(); + } + show_edge_right(Float:val) { + set_state(PART:"clipper-edge-right", "visible", 0.0); + set_drag(PART:"edge-drag-right", 0.0, val); + + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + hide_corners(); + } + + show_edge_top(Float:val) { + set_state(PART:"clipper-edge-top", "visible", 0.0); + set_drag(PART:"edge-drag-top", val, 0.0); + + set_state(PART:"clipper-edge-bottom", "default", 0.0); + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + hide_corners(); + } + show_edge_bottom(Float:val) { + set_state(PART:"clipper-edge-bottom", "visible", 0.0); + set_drag(PART:"edge-drag-bottom", val, 0.0); + + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + hide_corners(); + } + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 1)) { + new Float:x, Float:y; + + x = getfarg(2); + y = getfarg(3); + + if (x < 0.0) + { + if (y < 0.0) show_corner_top_left(); + else if (y > 1.0) show_corner_bottom_left(); + else show_edge_left(y); + } + else if (x > 1.0) + { + if (y < 0.0) show_corner_top_right(); + else if (y > 1.0) show_corner_bottom_right(); + else show_edge_right(y); + } + else + { + if (y < 0.0) show_edge_top(x); + else if (y > 1.0) show_edge_bottom(x); + else + { + hide_corners(); + hide_edges(); + } + } + } + } + } + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "pop"; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 30 30; + rel1 { + to: "elm.swallow.content"; + offset: -15 -15; + } + rel2 { + to: "elm.swallow.content"; + offset: 14 14; + } + image { + normal: "tooltip-base.png"; + border: 14 14 14 14; + } + image.middle: SOLID; + } + } + + #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \ + part { name: "corner-"name_; \ + type: IMAGE; \ + mouse_events: 0; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + color: 255 255 255 0; \ + visible: 0; \ + min: 14 14; \ + max: 14 14; \ + align: ax ay; \ + fixed: 1 1; \ + rel1 { \ + relative: rx ry; \ + offset: ox oy; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: rx ry; \ + offset: ox oy; \ + to: "elm.swallow.content"; \ + } \ + image.normal: "tooltip-corner-"name_"-tip.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + visible: 1; \ + } \ + } + TT_CORNER("top-left", 0, 0, 1, 1, 4, 4); + TT_CORNER("top-right", 1, 0, 0, 1, -5, 4); + TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5); + TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5); + #undef TT_CORNER + + #define TT_EDGE_VERT(name_, rx, ax, ox) \ + part { name: "clipper-edge-"name_; \ + type: RECT; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + color: 255 255 255 0; \ + visible: 0; \ + min: 14 14; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1 { \ + relative: rx 0.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: rx 1.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + visible: 1; \ + } \ + } \ + part { name: "edge-area-"name_; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 14 14; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1 { \ + relative: rx 0.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: rx 1.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + } \ + } \ + part { name: "edge-drag-"name_; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + dragable { \ + x: 0 0 0; \ + y: 1 1 0; \ + confine: "edge-area-"name_; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 14 14; \ + rel1.to: "edge-area-"name_; \ + rel2.to: "edge-area-"name_; \ + } \ + } \ + part { name: "edge-img-"name_; \ + type: IMAGE; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + min: 14 14; \ + max: 14 14; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1.to: "edge-drag-"name_; \ + rel2.to: "edge-drag-"name_; \ + image.normal: "tooltip-edge-"name_"-tip.png"; \ + } \ + } + TT_EDGE_VERT("left", 0, 1, -2); + TT_EDGE_VERT("right", 1, 0, 1); + #undef TT_EDGE_VERT + + #define TT_EDGE_HORIZ(name_, ry, ay, oy) \ + part { name: "clipper-edge-"name_; \ + type: RECT; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + color: 255 255 255 0; \ + visible: 0; \ + min: 14 14; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1 { \ + relative: 0.0 ry; \ + offset: 0 oy; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: 1.0 ry; \ + offset: 0 oy; \ + to: "elm.swallow.content"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + visible: 1; \ + } \ + } \ + part { name: "edge-area-"name_; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 14 14; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1 { \ + relative: 0.0 ry; \ + offset: 0 oy; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: 1.0 ry; \ + offset: 0 oy; \ + to: "elm.swallow.content"; \ + } \ + } \ + } \ + part { name: "edge-drag-"name_; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + confine: "edge-area-"name_; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 14 14; \ + rel1.to: "edge-area-"name_; \ + rel2.to: "edge-area-"name_; \ + } \ + } \ + part { name: "edge-img-"name_; \ + type: IMAGE; \ + mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + min: 14 14; \ + max: 14 14; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1.to: "edge-drag-"name_; \ + rel2.to: "edge-drag-"name_; \ + image.normal: "tooltip-edge-"name_"-tip.png"; \ + } \ + } + TT_EDGE_HORIZ("top", 0, 1, -2); + TT_EDGE_HORIZ("bottom", 1, 0, 1); + #undef TT_EDGE_HORIZ + + part { name: "clipper_content"; + type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper_content"; + description { state: "default" 0.0; } + } + programs { + program { + name: "show0"; + signal: "elm,action,show"; + source: "elm"; + action: ACTION_STOP; + target: "hide0"; + target: "hide1"; + target: "hide2"; + target: "hide3"; + after: "show1"; + after: "show2"; + } + program { + name: "show1"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.15; + target: "clipper"; + } + program { + name: "show2"; + in: 0.1 0.0; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.15; + target: "clipper_content"; + } + + program { + name: "hide0"; + signal: "elm,action,hide"; + source: "elm"; + action: ACTION_STOP; + target: "show0"; + target: "show1"; + target: "show2"; + after: "hide1"; + after: "hide2"; + after: "hide3"; + } + program { + name: "hide1"; + script { + hide_corners(); + hide_edges(); + } + } + program { + name: "hide2"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "clipper_content"; + } + program { + name: "hide3"; + in: 0.1 0.0; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "clipper"; + } + } + } +} +group { name: "elm/tooltip/base/transparent"; + data { + item: "pad_x" "10"; + item: "pad_y" "10"; + item: "transparent" "enabled"; + } + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/video.edc b/libraries/elementary/data/themes/widgets/video.edc new file mode 100644 index 0000000..628cbfe --- /dev/null +++ b/libraries/elementary/data/themes/widgets/video.edc @@ -0,0 +1,64 @@ +group { + name: "elm/video/base/default"; + + parts { + part { + name: "clipper"; + type: RECT; + + description { + color: 255 255 255 255; + } + description { + state: "darker" 0.0; + color: 128 128 128 255; + } + } + part { + name: "elm.swallow.video"; + type: SWALLOW; + + clip_to: "clipper"; + mouse_events: 1; + repeat_events: 1; + + description { + aspect_preference: BOTH; + aspect: 1 1; + } + } + } + + programs { + program { + signal: "elm,video,load"; + source: "elm"; + + action: STATE_SET "darker" 0.0; + target: "clipper"; + } + program { + signal: "elm,video,play"; + source: "elm"; + + action: STATE_SET "default" 0.0; + target: "clipper"; + } + program { + signal: "elm,video,end"; + source: "elm"; + + action: STATE_SET "darker" 0.0; + target: "clipper"; + transition: LINEAR 0.5; + } + program { + signal: "elm,video,pause"; + source: "elm"; + + action: STATE_SET "darker" 0.0; + target: "clipper"; + } + } +} +///////////////////////////////////////////////////////////////////////// diff --git a/libraries/elementary/data/themes/widgets/win.edc b/libraries/elementary/data/themes/widgets/win.edc new file mode 100644 index 0000000..bcdf78b --- /dev/null +++ b/libraries/elementary/data/themes/widgets/win.edc @@ -0,0 +1,246 @@ +group { name: "elm/win/inwin/default"; + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.1 0.1; + rel2.relative: 0.9 0.9; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + } +} + +group { name: "elm/win/inwin/minimal"; + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + } +} + +group { name: "elm/win/inwin/minimal_vertical"; + images { + image: "shad_circ.png" COMP; + image: "bt_dis_base.png" COMP; + image: "bt_dis_hilight.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 1.0; + color: 0 0 0 64; + } + } + part { name: "shad"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shad_circ.png"; + rel1.to: "elm.swallow.content"; + rel1.offset: -64 -64; + rel2.to: "elm.swallow.content"; + rel2.offset: 63 63; + fill.smooth: 0; + } + } + part { name: "pop"; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "bt_dis_base.png"; + border: 4 4 4 4; + } + image.middle: SOLID; + } + } + part { name: "popover"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "pop"; + rel2.to: "pop"; + rel2.relative: 1.0 0.5; + image { + normal: "bt_dis_hilight.png"; + border: 4 4 4 0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.1 0.5; + rel2.relative: 0.9 0.5; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + // transition: DECELERATE 0.5; + target: "base"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// -- cgit v1.1