aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc40778
-rw-r--r--data/themes/images/Makefile.am471
-rw-r--r--data/themes/images/about_bot.pngbin4456 -> 0 bytes
-rw-r--r--data/themes/images/about_mid.pngbin257 -> 0 bytes
-rw-r--r--data/themes/images/about_top.pngbin4432 -> 0 bytes
-rw-r--r--data/themes/images/arrow_down.pngbin255 -> 0 bytes
-rw-r--r--data/themes/images/arrow_left.pngbin272 -> 0 bytes
-rw-r--r--data/themes/images/arrow_right.pngbin272 -> 0 bytes
-rw-r--r--data/themes/images/arrow_up.pngbin261 -> 0 bytes
-rw-r--r--data/themes/images/base_bg.pngbin198 -> 0 bytes
-rw-r--r--data/themes/images/batt_base.pngbin1162 -> 0 bytes
-rw-r--r--data/themes/images/batt_level.pngbin324 -> 0 bytes
-rw-r--r--data/themes/images/batt_over.pngbin1985 -> 0 bytes
-rw-r--r--data/themes/images/batt_power.pngbin1921 -> 0 bytes
-rw-r--r--data/themes/images/bd_bottom.pngbin258 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_close_focused.pngbin532 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_close_shadow.pngbin536 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_close_unfocused.pngbin452 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_max_focused.pngbin457 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_max_shadow.pngbin558 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_max_unfocused.pngbin395 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_min_focused.pngbin374 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_min_shadow.pngbin461 -> 0 bytes
-rw-r--r--data/themes/images/bd_button_min_unfocused.pngbin332 -> 0 bytes
-rw-r--r--data/themes/images/bd_resize_b.pngbin356 -> 0 bytes
-rw-r--r--data/themes/images/bd_title_bg.pngbin716 -> 0 bytes
-rw-r--r--data/themes/images/bd_title_over.pngbin368 -> 0 bytes
-rw-r--r--data/themes/images/bd_top.pngbin215 -> 0 bytes
-rw-r--r--data/themes/images/bd_top_hilight.pngbin195 -> 0 bytes
-rw-r--r--data/themes/images/bg_pattern.pngbin975 -> 0 bytes
-rw-r--r--data/themes/images/bg_radgrad.pngbin382706 -> 0 bytes
-rw-r--r--data/themes/images/bg_shadow.pngbin10162 -> 0 bytes
-rw-r--r--data/themes/images/big_arrow_down.pngbin1332 -> 0 bytes
-rw-r--r--data/themes/images/big_arrow_up.pngbin1461 -> 0 bytes
-rw-r--r--data/themes/images/bnw.pngbin7408 -> 0 bytes
-rw-r--r--data/themes/images/bt_base1.pngbin952 -> 0 bytes
-rw-r--r--data/themes/images/bt_base2.pngbin981 -> 0 bytes
-rw-r--r--data/themes/images/bt_basew.pngbin1527 -> 0 bytes
-rw-r--r--data/themes/images/bt_dis_base.pngbin1101 -> 0 bytes
-rw-r--r--data/themes/images/bt_dis_hilight.pngbin230 -> 0 bytes
-rw-r--r--data/themes/images/bt_dis_shine.pngbin1153 -> 0 bytes
-rw-r--r--data/themes/images/bt_glow.pngbin629 -> 0 bytes
-rw-r--r--data/themes/images/bt_hilight.pngbin361 -> 0 bytes
-rw-r--r--data/themes/images/bt_hilightw.pngbin279 -> 0 bytes
-rw-r--r--data/themes/images/bt_shine.pngbin305 -> 0 bytes
-rw-r--r--data/themes/images/bt_sm_base1.pngbin477 -> 0 bytes
-rw-r--r--data/themes/images/bt_sm_base2.pngbin482 -> 0 bytes
-rw-r--r--data/themes/images/bt_sm_hilight.pngbin285 -> 0 bytes
-rw-r--r--data/themes/images/bt_sm_shine.pngbin275 -> 0 bytes
-rw-r--r--data/themes/images/bulb-0.pngbin2306 -> 0 bytes
-rw-r--r--data/themes/images/bulb-1.pngbin1984 -> 0 bytes
-rw-r--r--data/themes/images/bulb-2.pngbin648 -> 0 bytes
-rw-r--r--data/themes/images/busy-1.pngbin1322 -> 0 bytes
-rw-r--r--data/themes/images/busy-2.pngbin1431 -> 0 bytes
-rw-r--r--data/themes/images/busy-3.pngbin1439 -> 0 bytes
-rw-r--r--data/themes/images/busy-4.pngbin1444 -> 0 bytes
-rw-r--r--data/themes/images/busy-5.pngbin1402 -> 0 bytes
-rw-r--r--data/themes/images/busy-6.pngbin1370 -> 0 bytes
-rw-r--r--data/themes/images/busy-7.pngbin1400 -> 0 bytes
-rw-r--r--data/themes/images/busy-8.pngbin1413 -> 0 bytes
-rw-r--r--data/themes/images/busy-9.pngbin1376 -> 0 bytes
-rw-r--r--data/themes/images/ch-h1-2.pngbin306 -> 0 bytes
-rw-r--r--data/themes/images/ch-h1-3.pngbin221 -> 0 bytes
-rw-r--r--data/themes/images/ch-h1.pngbin377 -> 0 bytes
-rw-r--r--data/themes/images/ch-h2-2.pngbin295 -> 0 bytes
-rw-r--r--data/themes/images/ch-h2-3.pngbin188 -> 0 bytes
-rw-r--r--data/themes/images/ch-h2.pngbin605 -> 0 bytes
-rw-r--r--data/themes/images/ch-m1-2.pngbin356 -> 0 bytes
-rw-r--r--data/themes/images/ch-m1-3.pngbin254 -> 0 bytes
-rw-r--r--data/themes/images/ch-m1.pngbin460 -> 0 bytes
-rw-r--r--data/themes/images/ch-m2-2.pngbin398 -> 0 bytes
-rw-r--r--data/themes/images/ch-m2-3.pngbin202 -> 0 bytes
-rw-r--r--data/themes/images/ch-m2.pngbin810 -> 0 bytes
-rw-r--r--data/themes/images/ch-s1-2.pngbin278 -> 0 bytes
-rw-r--r--data/themes/images/ch-s1-3.pngbin215 -> 0 bytes
-rw-r--r--data/themes/images/ch-s1.pngbin319 -> 0 bytes
-rw-r--r--data/themes/images/ch-s2-2.pngbin317 -> 0 bytes
-rw-r--r--data/themes/images/ch-s2-3.pngbin217 -> 0 bytes
-rw-r--r--data/themes/images/ch-s2.pngbin616 -> 0 bytes
-rw-r--r--data/themes/images/check_base.pngbin320 -> 0 bytes
-rw-r--r--data/themes/images/check_on.pngbin487 -> 0 bytes
-rw-r--r--data/themes/images/check_sel.pngbin460 -> 0 bytes
-rw-r--r--data/themes/images/clock_base.pngbin4452 -> 0 bytes
-rw-r--r--data/themes/images/comp-sh1.pngbin1200 -> 0 bytes
-rw-r--r--data/themes/images/connman_bluetooth_128.pngbin2363 -> 0 bytes
-rw-r--r--data/themes/images/connman_bluetooth_32.pngbin1331 -> 0 bytes
-rw-r--r--data/themes/images/connman_cellular_128.pngbin2948 -> 0 bytes
-rw-r--r--data/themes/images/connman_cellular_32.pngbin1496 -> 0 bytes
-rw-r--r--data/themes/images/connman_ethernet_128.pngbin1606 -> 0 bytes
-rw-r--r--data/themes/images/connman_ethernet_32.pngbin1123 -> 0 bytes
-rw-r--r--data/themes/images/connman_security1_128.pngbin3330 -> 0 bytes
-rw-r--r--data/themes/images/connman_security1_32.pngbin1322 -> 0 bytes
-rw-r--r--data/themes/images/connman_security2_128.pngbin3583 -> 0 bytes
-rw-r--r--data/themes/images/connman_security2_32.pngbin1340 -> 0 bytes
-rw-r--r--data/themes/images/connman_status_online_128.pngbin1615 -> 0 bytes
-rw-r--r--data/themes/images/connman_status_online_32.pngbin1053 -> 0 bytes
-rw-r--r--data/themes/images/connman_status_ready_128.pngbin1657 -> 0 bytes
-rw-r--r--data/themes/images/connman_status_ready_32.pngbin1054 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_0_on_128.pngbin1769 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_0_on_32.pngbin1177 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_1_on_128.pngbin2410 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_1_on_32.pngbin1273 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_2_on_128.pngbin3164 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_2_on_32.pngbin1424 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_3_on_128.pngbin3421 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_3_on_32.pngbin1634 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_not_128.pngbin4889 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_not_32.pngbin2111 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_off_128.pngbin6630 -> 0 bytes
-rw-r--r--data/themes/images/connman_wifi_off_32.pngbin2320 -> 0 bytes
-rw-r--r--data/themes/images/dia_botshad.pngbin209 -> 0 bytes
-rw-r--r--data/themes/images/dia_grad.pngbin3802 -> 0 bytes
-rw-r--r--data/themes/images/dia_topshad.pngbin249 -> 0 bytes
-rw-r--r--data/themes/images/e17_fileman_thumb_bg.pngbin203 -> 0 bytes
-rw-r--r--data/themes/images/e17_mini_button_shadow2.pngbin568 -> 0 bytes
-rw-r--r--data/themes/images/efm_toolbar_bottom.pngbin409 -> 0 bytes
-rw-r--r--data/themes/images/efm_toolbar_top.pngbin194 -> 0 bytes
-rw-r--r--data/themes/images/everything_box.pngbin257 -> 0 bytes
-rw-r--r--data/themes/images/everything_item_bg.pngbin347 -> 0 bytes
-rw-r--r--data/themes/images/exclam.pngbin844 -> 0 bytes
-rw-r--r--data/themes/images/exq-bglight.pngbin4794 -> 0 bytes
-rw-r--r--data/themes/images/exq-dot-glow.pngbin493 -> 0 bytes
-rw-r--r--data/themes/images/exq-dot.pngbin213 -> 0 bytes
-rw-r--r--data/themes/images/exq-logo.pngbin16458 -> 0 bytes
-rw-r--r--data/themes/images/exq-vgrad.pngbin225 -> 0 bytes
-rw-r--r--data/themes/images/favorites.pngbin2530 -> 0 bytes
-rw-r--r--data/themes/images/flip_0b.pngbin1540 -> 0 bytes
-rw-r--r--data/themes/images/flip_0t.pngbin1547 -> 0 bytes
-rw-r--r--data/themes/images/flip_1b.pngbin451 -> 0 bytes
-rw-r--r--data/themes/images/flip_1t.pngbin666 -> 0 bytes
-rw-r--r--data/themes/images/flip_2b.pngbin1074 -> 0 bytes
-rw-r--r--data/themes/images/flip_2t.pngbin1495 -> 0 bytes
-rw-r--r--data/themes/images/flip_3b.pngbin1408 -> 0 bytes
-rw-r--r--data/themes/images/flip_3t.pngbin1444 -> 0 bytes
-rw-r--r--data/themes/images/flip_4b.pngbin705 -> 0 bytes
-rw-r--r--data/themes/images/flip_4t.pngbin1137 -> 0 bytes
-rw-r--r--data/themes/images/flip_5b.pngbin1490 -> 0 bytes
-rw-r--r--data/themes/images/flip_5t.pngbin824 -> 0 bytes
-rw-r--r--data/themes/images/flip_6b.pngbin1651 -> 0 bytes
-rw-r--r--data/themes/images/flip_6t.pngbin1569 -> 0 bytes
-rw-r--r--data/themes/images/flip_7b.pngbin1110 -> 0 bytes
-rw-r--r--data/themes/images/flip_7t.pngbin996 -> 0 bytes
-rw-r--r--data/themes/images/flip_8b.pngbin1660 -> 0 bytes
-rw-r--r--data/themes/images/flip_8t.pngbin1719 -> 0 bytes
-rw-r--r--data/themes/images/flip_9b.pngbin1512 -> 0 bytes
-rw-r--r--data/themes/images/flip_9t.pngbin1659 -> 0 bytes
-rw-r--r--data/themes/images/flip_amb.pngbin963 -> 0 bytes
-rw-r--r--data/themes/images/flip_amt.pngbin1075 -> 0 bytes
-rw-r--r--data/themes/images/flip_b.pngbin384 -> 0 bytes
-rw-r--r--data/themes/images/flip_base.pngbin598 -> 0 bytes
-rw-r--r--data/themes/images/flip_base_shad.pngbin826 -> 0 bytes
-rw-r--r--data/themes/images/flip_colon.pngbin403 -> 0 bytes
-rw-r--r--data/themes/images/flip_pmb.pngbin709 -> 0 bytes
-rw-r--r--data/themes/images/flip_pmt.pngbin1052 -> 0 bytes
-rw-r--r--data/themes/images/flip_shad.pngbin918 -> 0 bytes
-rw-r--r--data/themes/images/flip_t.pngbin442 -> 0 bytes
-rw-r--r--data/themes/images/frame_1.pngbin368 -> 0 bytes
-rw-r--r--data/themes/images/frame_2.pngbin676 -> 0 bytes
-rw-r--r--data/themes/images/gadman_border.pngbin683 -> 0 bytes
-rw-r--r--data/themes/images/gadman_bottom.pngbin459 -> 0 bytes
-rw-r--r--data/themes/images/gadman_frame.pngbin258 -> 0 bytes
-rw-r--r--data/themes/images/gadman_left.pngbin479 -> 0 bytes
-rw-r--r--data/themes/images/gadman_right.pngbin479 -> 0 bytes
-rw-r--r--data/themes/images/gadman_top.pngbin442 -> 0 bytes
-rw-r--r--data/themes/images/glow.pngbin757 -> 0 bytes
-rw-r--r--data/themes/images/gsm_0.pngbin343 -> 0 bytes
-rw-r--r--data/themes/images/gsm_1.pngbin346 -> 0 bytes
-rw-r--r--data/themes/images/gsm_2.pngbin349 -> 0 bytes
-rw-r--r--data/themes/images/gsm_3.pngbin346 -> 0 bytes
-rw-r--r--data/themes/images/gsm_4.pngbin340 -> 0 bytes
-rw-r--r--data/themes/images/gsm_no.pngbin427 -> 0 bytes
-rw-r--r--data/themes/images/icon_active.pngbin5380 -> 0 bytes
-rw-r--r--data/themes/images/icon_add.pngbin941 -> 0 bytes
-rw-r--r--data/themes/images/icon_add_fav.pngbin1925 -> 0 bytes
-rw-r--r--data/themes/images/icon_advanced.pngbin2259 -> 0 bytes
-rw-r--r--data/themes/images/icon_applications.pngbin2324 -> 0 bytes
-rw-r--r--data/themes/images/icon_applications_ibar.pngbin3224 -> 0 bytes
-rw-r--r--data/themes/images/icon_applications_new.pngbin2377 -> 0 bytes
-rw-r--r--data/themes/images/icon_applications_restart.pngbin3704 -> 0 bytes
-rw-r--r--data/themes/images/icon_applications_startup.pngbin3650 -> 0 bytes
-rw-r--r--data/themes/images/icon_autoscroll.pngbin2238 -> 0 bytes
-rw-r--r--data/themes/images/icon_behavior.pngbin4600 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_border.pngbin323 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_close.pngbin485 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_kill.pngbin444 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_lock.pngbin483 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_maximize.pngbin488 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_minimize.pngbin399 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_more.pngbin360 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_pager.pngbin331 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_pin.pngbin368 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_properties.pngbin486 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_remember.pngbin368 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_sendto.pngbin375 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_shaded.pngbin356 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_skip.pngbin353 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_stack_bot.pngbin441 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_stack_norm.pngbin504 -> 0 bytes
-rw-r--r--data/themes/images/icon_border_stack_top.pngbin386 -> 0 bytes
-rw-r--r--data/themes/images/icon_check.pngbin2218 -> 0 bytes
-rw-r--r--data/themes/images/icon_close.pngbin1615 -> 0 bytes
-rw-r--r--data/themes/images/icon_colors.pngbin3561 -> 0 bytes
-rw-r--r--data/themes/images/icon_config.pngbin3332 -> 0 bytes
-rw-r--r--data/themes/images/icon_configuration.pngbin3898 -> 0 bytes
-rw-r--r--data/themes/images/icon_del.pngbin613 -> 0 bytes
-rw-r--r--data/themes/images/icon_desklock.pngbin4494 -> 0 bytes
-rw-r--r--data/themes/images/icon_desklock_menu.pngbin1932 -> 0 bytes
-rw-r--r--data/themes/images/icon_desktops.pngbin1848 -> 0 bytes
-rw-r--r--data/themes/images/icon_directories.pngbin3625 -> 0 bytes
-rw-r--r--data/themes/images/icon_down_arrow.pngbin1805 -> 0 bytes
-rw-r--r--data/themes/images/icon_dummy.pngbin3284 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_arrange.pngbin217 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_arrange_name.pngbin205 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_arrange_time.pngbin216 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_cd.pngbin5838 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_copy.pngbin395 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_cut.pngbin365 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_delete.pngbin425 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_desktop.pngbin5405 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_dnd_ask.pngbin2213 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_dnd_copy.pngbin1741 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_dnd_move.pngbin2174 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_eject.pngbin1999 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_file.pngbin3762 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_file_del.pngbin3786 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_flash.pngbin1624 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_folder.pngbin1589 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_hdd.pngbin4946 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_home.pngbin3461 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_new.pngbin221 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_new_dir.pngbin198 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_open.pngbin405 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_paste.pngbin233 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_properties.pngbin476 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_refresh.pngbin390 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_rename.pngbin210 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_root.pngbin1887 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_select.pngbin186 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_sort.pngbin370 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_tmp.pngbin1559 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_usbmedia.pngbin12627 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_view.pngbin381 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_view_details.pngbin206 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_view_name.pngbin203 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_vol_mounted.pngbin1037 -> 0 bytes
-rw-r--r--data/themes/images/icon_efm_vol_unmounted.pngbin753 -> 0 bytes
-rw-r--r--data/themes/images/icon_engine.pngbin3103 -> 0 bytes
-rw-r--r--data/themes/images/icon_evry_clipboard.pngbin30612 -> 0 bytes
-rw-r--r--data/themes/images/icon_extensions.pngbin3512 -> 0 bytes
-rw-r--r--data/themes/images/icon_favorites.pngbin12356 -> 0 bytes
-rw-r--r--data/themes/images/icon_file_icons.pngbin3976 -> 0 bytes
-rw-r--r--data/themes/images/icon_fonts.pngbin2328 -> 0 bytes
-rw-r--r--data/themes/images/icon_gadget.pngbin5020 -> 0 bytes
-rw-r--r--data/themes/images/icon_globe.pngbin2212 -> 0 bytes
-rw-r--r--data/themes/images/icon_gradient.pngbin968 -> 0 bytes
-rw-r--r--data/themes/images/icon_halt.pngbin6075 -> 0 bytes
-rw-r--r--data/themes/images/icon_hibernate.pngbin3644 -> 0 bytes
-rw-r--r--data/themes/images/icon_icon_theme.pngbin4476 -> 0 bytes
-rw-r--r--data/themes/images/icon_illume.pngbin2814 -> 0 bytes
-rw-r--r--data/themes/images/icon_imc.pngbin3837 -> 0 bytes
-rw-r--r--data/themes/images/icon_interaction.pngbin1579 -> 0 bytes
-rw-r--r--data/themes/images/icon_intl.pngbin2316 -> 0 bytes
-rw-r--r--data/themes/images/icon_keyboard.pngbin2969 -> 0 bytes
-rw-r--r--data/themes/images/icon_keys.pngbin2232 -> 0 bytes
-rw-r--r--data/themes/images/icon_left_arrow.pngbin1675 -> 0 bytes
-rw-r--r--data/themes/images/icon_logout.pngbin1936 -> 0 bytes
-rw-r--r--data/themes/images/icon_look.pngbin5080 -> 0 bytes
-rw-r--r--data/themes/images/icon_lost_windows.pngbin1500 -> 0 bytes
-rw-r--r--data/themes/images/icon_menu_settings.pngbin5320 -> 0 bytes
-rw-r--r--data/themes/images/icon_menus.pngbin2783 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_audio_generic.pngbin4744 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_bdf.pngbin8156 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_c.pngbin5364 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_css.pngbin5729 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_deb.pngbin4108 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_doc.pngbin5028 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_executable_generic.pngbin6714 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_font_generic.pngbin7056 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_h.pngbin5223 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_html.pngbin5412 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_image_generic.pngbin4136 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_o.pngbin7530 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_package.pngbin11094 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_patch.pngbin6701 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_pcf.pngbin8177 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_pdf.pngbin10443 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_plain.pngbin3022 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_sh.pngbin8565 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_text_generic.pngbin4213 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_ttf.pngbin8740 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_video_generic.pngbin6211 -> 0 bytes
-rw-r--r--data/themes/images/icon_mime_xcf.pngbin7266 -> 0 bytes
-rw-r--r--data/themes/images/icon_mixer.pngbin3020 -> 0 bytes
-rw-r--r--data/themes/images/icon_modules.pngbin3175 -> 0 bytes
-rw-r--r--data/themes/images/icon_mouse.pngbin1763 -> 0 bytes
-rw-r--r--data/themes/images/icon_mouse_clean.pngbin4936 -> 0 bytes
-rw-r--r--data/themes/images/icon_mouse_extra.pngbin1525 -> 0 bytes
-rw-r--r--data/themes/images/icon_mouse_left.pngbin5122 -> 0 bytes
-rw-r--r--data/themes/images/icon_mouse_middle.pngbin5102 -> 0 bytes
-rw-r--r--data/themes/images/icon_mouse_right.pngbin5474 -> 0 bytes
-rw-r--r--data/themes/images/icon_mouse_wheel.pngbin4834 -> 0 bytes
-rw-r--r--data/themes/images/icon_new.pngbin2115 -> 0 bytes
-rw-r--r--data/themes/images/icon_pager.pngbin544 -> 0 bytes
-rw-r--r--data/themes/images/icon_performance.pngbin19926 -> 0 bytes
-rw-r--r--data/themes/images/icon_power_management.pngbin3517 -> 0 bytes
-rw-r--r--data/themes/images/icon_profiles.pngbin1650 -> 0 bytes
-rw-r--r--data/themes/images/icon_reboot.pngbin5518 -> 0 bytes
-rw-r--r--data/themes/images/icon_reset.pngbin5518 -> 0 bytes
-rw-r--r--data/themes/images/icon_resize.pngbin2153 -> 0 bytes
-rw-r--r--data/themes/images/icon_right_arrow.pngbin1664 -> 0 bytes
-rw-r--r--data/themes/images/icon_run.pngbin1374 -> 0 bytes
-rw-r--r--data/themes/images/icon_scale.pngbin1610 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_around.pngbin915 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_hflip.pngbin910 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_left.pngbin878 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_normal.pngbin1649 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_resolution.pngbin3420 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_right.pngbin925 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_setup.pngbin1649 -> 0 bytes
-rw-r--r--data/themes/images/icon_screen_vflip.pngbin890 -> 0 bytes
-rw-r--r--data/themes/images/icon_screensaver.pngbin4301 -> 0 bytes
-rw-r--r--data/themes/images/icon_screenshot.pngbin5659 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf.pngbin2706 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_bottom.pngbin597 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_bottom_desk.pngbin851 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_bottom_left.pngbin589 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_bottom_right.pngbin574 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_custom.pngbin905 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_dock.pngbin620 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_left.pngbin587 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_left_bottom.pngbin592 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_left_top.pngbin585 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_menu_bar.pngbin563 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_panel.pngbin535 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_right.pngbin588 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_right_bottom.pngbin586 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_right_top.pngbin623 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_top.pngbin591 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_top_desk.pngbin847 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_top_left.pngbin587 -> 0 bytes
-rw-r--r--data/themes/images/icon_shelf_top_right.pngbin593 -> 0 bytes
-rw-r--r--data/themes/images/icon_startup.pngbin3586 -> 0 bytes
-rw-r--r--data/themes/images/icon_suspend.pngbin3564 -> 0 bytes
-rw-r--r--data/themes/images/icon_swap.pngbin1791 -> 0 bytes
-rw-r--r--data/themes/images/icon_system.pngbin4423 -> 0 bytes
-rw-r--r--data/themes/images/icon_theme.pngbin3571 -> 0 bytes
-rw-r--r--data/themes/images/icon_toolbar.pngbin1287 -> 0 bytes
-rw-r--r--data/themes/images/icon_transitions.pngbin4017 -> 0 bytes
-rw-r--r--data/themes/images/icon_up_arrow.pngbin1699 -> 0 bytes
-rw-r--r--data/themes/images/icon_wallpaper.pngbin1501 -> 0 bytes
-rw-r--r--data/themes/images/icon_wallpaper_center.pngbin379 -> 0 bytes
-rw-r--r--data/themes/images/icon_wallpaper_center_flat.pngbin241 -> 0 bytes
-rw-r--r--data/themes/images/icon_wallpaper_grad_screen.pngbin239 -> 0 bytes
-rw-r--r--data/themes/images/icon_wallpaper_screen.pngbin506 -> 0 bytes
-rw-r--r--data/themes/images/icon_warning.pngbin3986 -> 0 bytes
-rw-r--r--data/themes/images/icon_win_move.pngbin627 -> 0 bytes
-rw-r--r--data/themes/images/icon_win_resize.pngbin834 -> 0 bytes
-rw-r--r--data/themes/images/icon_window_focus.pngbin1824 -> 0 bytes
-rw-r--r--data/themes/images/icon_window_geometry.pngbin1835 -> 0 bytes
-rw-r--r--data/themes/images/icon_window_manipulation.pngbin1330 -> 0 bytes
-rw-r--r--data/themes/images/icon_window_process_management.pngbin4402 -> 0 bytes
-rw-r--r--data/themes/images/icon_window_remembers.pngbin2088 -> 0 bytes
-rw-r--r--data/themes/images/icon_windows.pngbin1036 -> 0 bytes
-rw-r--r--data/themes/images/icon_winlist.pngbin1101 -> 0 bytes
-rw-r--r--data/themes/images/ilist_1.pngbin1281 -> 0 bytes
-rw-r--r--data/themes/images/ilist_2.pngbin1381 -> 0 bytes
-rw-r--r--data/themes/images/ilist_header_1.pngbin1309 -> 0 bytes
-rw-r--r--data/themes/images/ilist_header_2.pngbin1264 -> 0 bytes
-rw-r--r--data/themes/images/ilist_item_shadow.pngbin322 -> 0 bytes
-rw-r--r--data/themes/images/illume-apps.pngbin847 -> 0 bytes
-rw-r--r--data/themes/images/illume-close.pngbin2063 -> 0 bytes
-rw-r--r--data/themes/images/illume-home.pngbin1450 -> 0 bytes
-rw-r--r--data/themes/images/illume-kbd-on.pngbin2312 -> 0 bytes
-rw-r--r--data/themes/images/illume-kbd.pngbin2266 -> 0 bytes
-rw-r--r--data/themes/images/illume-mode-dual-left.pngbin676 -> 0 bytes
-rw-r--r--data/themes/images/illume-mode-dual-top.pngbin732 -> 0 bytes
-rw-r--r--data/themes/images/illume-mode-single.pngbin680 -> 0 bytes
-rw-r--r--data/themes/images/inset_raised.pngbin476 -> 0 bytes
-rw-r--r--data/themes/images/inset_sunk.pngbin509 -> 0 bytes
-rw-r--r--data/themes/images/inset_sunk_dark.pngbin476 -> 0 bytes
-rw-r--r--data/themes/images/k_grad.pngbin781 -> 0 bytes
-rw-r--r--data/themes/images/k_tabhl.pngbin458 -> 0 bytes
-rw-r--r--data/themes/images/k_tabhm.pngbin217 -> 0 bytes
-rw-r--r--data/themes/images/k_tabhr.pngbin457 -> 0 bytes
-rw-r--r--data/themes/images/k_tabl.pngbin264 -> 0 bytes
-rw-r--r--data/themes/images/k_tabr.pngbin266 -> 0 bytes
-rw-r--r--data/themes/images/k_tpsh.pngbin569 -> 0 bytes
-rw-r--r--data/themes/images/k_wtgr.pngbin1403 -> 0 bytes
-rw-r--r--data/themes/images/logo_black_128.pngbin7833 -> 0 bytes
-rw-r--r--data/themes/images/logo_white_128.pngbin7982 -> 0 bytes
-rw-r--r--data/themes/images/menu_arrow_normal.pngbin285 -> 0 bytes
-rw-r--r--data/themes/images/menu_arrow_sel.pngbin340 -> 0 bytes
-rw-r--r--data/themes/images/menu_sel_bg.pngbin961 -> 0 bytes
-rw-r--r--data/themes/images/menu_sel_fg.pngbin455 -> 0 bytes
-rw-r--r--data/themes/images/menu_sep.pngbin184 -> 0 bytes
-rw-r--r--data/themes/images/mixer.pngbin7940 -> 0 bytes
-rw-r--r--data/themes/images/mixer_high_left.pngbin4873 -> 0 bytes
-rw-r--r--data/themes/images/mixer_high_right.pngbin4875 -> 0 bytes
-rw-r--r--data/themes/images/mixer_low_left.pngbin1594 -> 0 bytes
-rw-r--r--data/themes/images/mixer_low_right.pngbin1619 -> 0 bytes
-rw-r--r--data/themes/images/mixer_med_left.pngbin3022 -> 0 bytes
-rw-r--r--data/themes/images/mixer_med_right.pngbin3034 -> 0 bytes
-rw-r--r--data/themes/images/outline.pngbin284 -> 0 bytes
-rw-r--r--data/themes/images/pager_base1.pngbin2092 -> 0 bytes
-rw-r--r--data/themes/images/pager_base2.pngbin2009 -> 0 bytes
-rw-r--r--data/themes/images/pager_base_pattern.pngbin412 -> 0 bytes
-rw-r--r--data/themes/images/pager_hi1.pngbin294 -> 0 bytes
-rw-r--r--data/themes/images/pager_hi2.pngbin274 -> 0 bytes
-rw-r--r--data/themes/images/pager_window.pngbin563 -> 0 bytes
-rw-r--r--data/themes/images/pager_window_shaded.pngbin363 -> 0 bytes
-rw-r--r--data/themes/images/pager_window_unsel.pngbin519 -> 0 bytes
-rw-r--r--data/themes/images/pointer.pngbin863 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_01.pngbin216 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_02.pngbin225 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_03.pngbin310 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_04.pngbin313 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_05.pngbin362 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_06.pngbin361 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_07.pngbin357 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_08.pngbin353 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_09.pngbin314 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_10.pngbin297 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_11.pngbin274 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glint_12.pngbin217 -> 0 bytes
-rw-r--r--data/themes/images/pointer_glow.pngbin662 -> 0 bytes
-rw-r--r--data/themes/images/pointer_mono.pngbin241 -> 0 bytes
-rw-r--r--data/themes/images/radio_base.pngbin436 -> 0 bytes
-rw-r--r--data/themes/images/radio_on.pngbin439 -> 0 bytes
-rw-r--r--data/themes/images/radio_sel.pngbin514 -> 0 bytes
-rw-r--r--data/themes/images/randr_icon_off.pngbin179 -> 0 bytes
-rw-r--r--data/themes/images/randr_icon_on.pngbin3016 -> 0 bytes
-rw-r--r--data/themes/images/randr_monitor.pngbin3466 -> 0 bytes
-rw-r--r--data/themes/images/randr_stand.pngbin2898 -> 0 bytes
-rw-r--r--data/themes/images/refresh.pngbin2798 -> 0 bytes
-rw-r--r--data/themes/images/sb_runnerh.pngbin160 -> 0 bytes
-rw-r--r--data/themes/images/sb_runnerv.pngbin166 -> 0 bytes
-rw-r--r--data/themes/images/shelf_alt_bg.pngbin1324 -> 0 bytes
-rw-r--r--data/themes/images/shelf_alt_over.pngbin578 -> 0 bytes
-rw-r--r--data/themes/images/shelf_alt_shine.pngbin485 -> 0 bytes
-rw-r--r--data/themes/images/shelf_alt_vert_bg.pngbin1480 -> 0 bytes
-rw-r--r--data/themes/images/silk.pngbin30781 -> 0 bytes
-rw-r--r--data/themes/images/slider.pngbin618 -> 0 bytes
-rw-r--r--data/themes/images/slider_clicked.pngbin561 -> 0 bytes
-rw-r--r--data/themes/images/systray_rounded_corners.pngbin205 -> 0 bytes
-rw-r--r--data/themes/images/t0-sh.pngbin936 -> 0 bytes
-rw-r--r--data/themes/images/t0.pngbin787 -> 0 bytes
-rw-r--r--data/themes/images/t1-sh.pngbin814 -> 0 bytes
-rw-r--r--data/themes/images/t1.pngbin805 -> 0 bytes
-rw-r--r--data/themes/images/t2.pngbin803 -> 0 bytes
-rw-r--r--data/themes/images/tacho_bg.pngbin7674 -> 0 bytes
-rw-r--r--data/themes/images/tacho_fg.pngbin7829 -> 0 bytes
-rw-r--r--data/themes/images/temp_base.pngbin1852 -> 0 bytes
-rw-r--r--data/themes/images/temp_mid.pngbin1321 -> 0 bytes
-rw-r--r--data/themes/images/temp_over.pngbin1672 -> 0 bytes
-rw-r--r--data/themes/images/theme-label.pngbin1225 -> 0 bytes
-rw-r--r--data/themes/images/toolbar_sel.pngbin2006 -> 0 bytes
-rw-r--r--data/themes/images/topsh.pngbin272 -> 0 bytes
-rw-r--r--data/themes/images/transition_vswipe.pngbin210 -> 0 bytes
-rw-r--r--data/themes/images/vgrad_dark.pngbin14461 -> 0 bytes
-rw-r--r--data/themes/images/vgrad_light.pngbin12517 -> 0 bytes
-rw-r--r--data/themes/images/wizard_bt1.pngbin6326 -> 0 bytes
-rw-r--r--data/themes/images/wizard_bt2.pngbin6489 -> 0 bytes
-rw-r--r--data/themes/images/wizard_pattern.pngbin747 -> 0 bytes
-rw-r--r--data/themes/images/wp-bot1.pngbin272 -> 0 bytes
-rw-r--r--data/themes/images/wp-bot2.pngbin372 -> 0 bytes
-rw-r--r--data/themes/images/wp-tb1.pngbin1400 -> 0 bytes
-rw-r--r--data/themes/images/wp-tb2.pngbin1841 -> 0 bytes
-rw-r--r--data/themes/images/wp-tb3.pngbin2575 -> 0 bytes
-rw-r--r--data/themes/images/wp-tbs.pngbin2922 -> 0 bytes
-rw-r--r--data/themes/images/xkbshad.pngbin333 -> 0 bytes
470 files changed, 0 insertions, 41249 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
deleted file mode 100644
index 24991b37d..000000000
--- a/data/themes/default.edc
+++ /dev/null
@@ -1,40778 +0,0 @@
-// TODO:
-// Formatting review.
-// Formatting Process: 1. http://tools.arantius.com/tabifier in C mode
-// 2. sed 's/\t/ /g' default.edc > formatted.edc
-// 3. Fix up defines, script{}, comments and other nicknacks.
-// 4. Replace ": " with ": " and "// " with "// " and so on.
-//
-// Icons:
-// EFM - All popup icons ... eg, paste copy delete properties
-// Icons for Menus modules
-// Icon for Edge Bindings
-// Icon for Modes?
-// Replace all (well, most) instances of icon_dummy.png
-//
-/*
- * So how do themes work?
- *
- * Themes DECLARE objects (groups of parts) inside a 'collections' section.
- * Each of these groups are an element of a theme - much like an image in a
- * web page with <img src=blah.jpg>, but MUCH more powerful. They can scale
- * without just being stretched or tiled, they can react to all sorts of events
- * from the user (mouse for example) or other logical events (like being shown
- * or hidden, etc.) or synthetic signals from enlightenment itself indicating
- * some new state.
- *
- * Each group is split into a parts section that contains all the elements
- * that make up that group, and how they are laid out. Each part can have
- * multiple states - described in description sections. There must always be
- * at least a default description of value 0.0. After this there may possibly
- * be a programs section. This defines behavior and how the group will react
- * to events/signals.
- *
- * A theme is simply made up of a LOT of these. If a group is not provided in
- * the theme you are using, it will fall back to the default theme to get the
- * element. It is assumed the default theme is 100% complete and provides
- * everything E needs. If this is not the case, there will be problems, so
- * replace the default theme with great care. As long as the theme you make is
- * just a normal "overlay" (and falls back to the default where things are
- * missing) Things will be fairly safe. If you want to make a full default
- * replacement you will need to methodically go through all of this file
- * and make sure you have replaced/provided everything here.
- */
-
-/* Spectrum used in all the gradient icons
- * This needs to be defined outside of the collections
- *
- * FIXME: this is bad. namespacing! FIXME!
- */
-#if 0
-spectra {
- spectrum {
- name: "black_to_trans";
- color: 0 0 0 255 1;
- color: 0 0 0 0 1;
- }
-}
-#endif
-/* color classes are used to control the colors of text and also apply
- * tints to images. These can be controlled with the colors dialog. Below
- * are the standard color_class names that the module looks for in a
- * theme. Consider color classes as a style that can be applied to many
- * different items without tinkering with the theme.
- *
- * color: Font color (Defaults to black)
- * color2: Outline color (Defaults to transparent)
- * color3: Shadow color (Defaults to transparent)
- *
- */
-
-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;
- }
- color_class {
- name: "menu_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "menu_title";
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- color_class {
- name: "menu_title_active";
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- color_class {
- name: "menu_item";
- color: 0 0 0 255;
- color3: 0 0 0 0;
- }
- color_class {
- name: "menu_item_active";
- color: 255 255 255 255;
- color3: 0 0 0 64;
- }
- color_class {
- name: "menu_item_disabled";
- color: 110 110 110 255;
- color3: 0 0 0 0;
- }
- color_class {
- name: "shelf_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "scrollframe_base";
- color: 255 255 255 255;
- }
- // this seems totaly bogus, should be per module or really used as
- // a unique color for all modules!
- // color_class {
- // name: "module_label";
- // color: 0 0 0 0;
- // }
- color_class {
- name: "winlist_label";
- color: 0 0 0 255;
- }
- color_class {
- name: "winlist_item";
- color: 0 0 0 255;
- color3: 0 0 0 0;
- }
- color_class {
- name: "winlist_item_active";
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- color_class {
- name: "button_text";
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- color_class {
- name: "button_text_disabled";
- color: 0 0 0 128;
- color3: 0 0 0 0;
- }
- color_class {
- name: "fileman_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "ilist_item_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "ilist_item_odd_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "ilist_item_header_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "ilist_item_header_odd_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "ilist_item";
- color: 0 0 0 255;
- color3: 0 0 0 0;
- }
- color_class {
- name: "ilist_item_odd";
- color: 0 0 0 255;
- color3: 0 0 0 0;
- }
- color_class {
- name: "ilist_item_selected";
- color: 255 255 255 255;
- color3: 0 0 0 64;
- }
- color_class {
- name: "ilist_item_header";
- color: 224 224 224 255;
- color3: 0 0 0 32;
- }
- color_class {
- name: "ilist_item_header_odd";
- color: 224 224 224 255;
- color3: 0 0 0 32;
- }
- color_class {
- name: "dialog_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "move_text";
- color: 0 0 0 255;
- }
- color_class {
- name: "resize_text";
- color: 0 0 0 255;
- }
- color_class {
- name: "check_text";
- color: 0 0 0 255;
- }
- color_class {
- name: "check_text_disabled";
- color: 0 0 0 128;
- }
- color_class {
- name: "radio_text";
- color: 0 0 0 255;
- }
- color_class {
- name: "radio_text_disabled";
- color: 0 0 0 128;
- }
- color_class {
- name: "entry_text";
- color: 0 0 0 255;
- }
- color_class {
- name: "entry_text_disabled";
- color: 128 128 128 255;
- }
- color_class {
- name: "slider_text";
- color: 0 0 0 255;
- }
- color_class {
- name: "slider_text_disabled";
- color: 0 0 0 128;
- }
- color_class {
- name: "frame_base";
- color: 255 255 255 255;
- }
- color_class {
- name: "label_text";
- color: 0 0 0 255;
- }
- color_class {
- name: "label_text_disabled";
- color: 0 0 0 128;
- }
- color_class {
- name: "comp_focus-out_color";
- color: 255 255 255 220;
- }
- color_class {
- name: "tasks_text";
- color: 0 0 0 255;
- color3: 0 0 0 0;
- }
- color_class {
- name: "tasks_text_focused";
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
-}
-
-/*
- * this section defines all the theme elements (a collection of groupings of
- * parts (images, text, rects etc.))
- */
-
-data.item: "gtk-theme" "B_and_W";
-collections {
-/* begin the collection of edje groups that are in this file */
-
-/////////////////////////////////////////////////////////////////////////////
-/*** DEFAULT WALLPAPER ***/
- group {
- name: "e/desktop/background";
- /* the name of the group */
- /* this section defines that images are to be included and how to
- * encode them */
- images {
- image: "bg_radgrad.png" COMP;
- image: "bg_pattern.png" COMP;
- }
- /* this section actually contains the list of parts from bottom to top
- * (defining the layering/stacking order) */
- parts {
- part { name: "bg";
- mouse_events: 0;
- /* this is the base background */
- description { state: "default" 0.0;
- image {
- normal: "bg_radgrad.png";
- scale_hint: STATIC;
- }
- fill.smooth: 0;
- aspect: (1024/653) (1024/653);
- aspect_preference: NONE;
- }
- }
- part { name: "pat";
- mouse_events: 0;
- /* this is the base background */
- description { state: "default" 0.0;
- image.normal: "bg_pattern.png";
- fill.size.relative: 0.0 0.0;
- fill.size.offset: 256 256;
- }
- }
- }
- }
-
-/////////////////////////////////////////////////////////////////////////////
-/*** DEFAULT WINDOW BORDER ***/
- group {
- name: "e/widgets/border/default/border";
- /* more images - for the border specifically. remember each images {}
- * section fills a global images namespace, so if you re-use an image
- * between sections, only 1 copy is kept, so names here are unique. if
- * different image {} sections specify the same image but use different
- * compression specifications, the compression scheme is undefined and
- * may use any one of the schemes requested, so make sure you use the
- * same compression scheme */
- 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;
- }
- /* this would tell E that the border is not a solid rectanle, but is
- * shaped (has transparent sections) and so would follow a different
- * code path for such borders. the default is not shaped, so this is
- * not enabled here, but left commented out for illustration purposes */
- // data.item: "shaped" "1";
- parts {
- part {
- name: "top";
- mouse_events: 0;
- /* accept no mouse events here */
- description {
- state: "default" 0.0;
- rel1 {
- /* this defines the top-left (rel1) point of the part
- * and where it is placed. the below values are
- * actually the default values, so there is no need
- * to actually declare them. */
- relative: 0.0 0.0;
- /* make this point relative to the top
- * left of the whole eje object (there
- * is no to: section so it's the whole
- * object). note that the point is
- * calculated as:
- * p.x = obj.width * relative.x
- * p.y = obj.height * relative.y
- * (as the to item is the whole object)
- */
- offset: 0 0;
- /* and from the relative point, have an offset
- * of 0 pixels - i.e. - none */
- }
- rel2 {
- relative: 1.0 1.0;
- /* the bottom-right is relative to the
- * base of the title - this way the
- * title region will scale based on font
- * size */
- offset: -1 -1;
- /* relative to the bottom right */
- to_y: "title_base";
- /* only y is relative to title_base. the
- * rest is relative to the whole object
- * (because its not specified) */
- }
- color_class: "border_top";
- image {
- /* define the image to use */
- normal: "bd_top.png";
- /* the image */
- border: 2 2 2 2;
- /* border scaling attributes. this is the
- * number of pixels NOT to scale on the
- * left, right, top and bottom edges of the
- * image. this allows "bevelled" effects
- * or anything similar to look correct and
- * not scale/blur etc. along with the image
- * when it needs resizing */
- }
- }
- }
- part {
- name: "bottom";
- /* this is the bottom of the window */
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- /* relative to the bottom-left of the edje
- * but 4 pixels up */
- offset: 0 -4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color_class: "border_bottom";
- image {
- normal: "bd_bottom.png";
- border: 2 2 0 0;
- /* the left and right pixels are not to
- * be scaled when stretching */
- }
- }
- description {
- state: "shaded" 0.0;
- /* when in a shaded state then
- * don't display this part */
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "max" 0.0;
- /* whem maximised too */
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "icon_area";
- /* this is an invisible rectangle that we
- * use to place icons within. we use this
- * to keep it fixed as the "icone area" so
- * the actual swallow part that swallows
- * the icon can be moved/resized for
- * animations */
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- /* alignt to the left, but center vertically */
- aspect: 1.0 1.0;
- /* prefer ans aspect of 1.0 (ie width / height
- * is 1.0 - i.e. - square. aspect here is
- * min and max aspect that will be "allowed"
- * (since both min and max are 1.0 respectively
- * in order). */
- aspect_preference: VERTICAL;
- /* this means that the vertical
- * axis controls aspect and the
- * icon_area part size will be
- * governed by the height of the
- * part (the width simply following
- * along behind) */
- rel1 {
- /* rel1 - top-left corner of this part */
- relative: 0.0 0.0;
- offset: 2 2;
- /* 2 pixels in from the top-left of the border
- * corner */
- }
- rel2 {
- relative: 0.0 1.0;
- /* bottom-right of this part is also 2
- * pixels in from the left (but align will
- * mean it goes to the right) and be 2
- * pixels in from the bottom edge of
- * "title_base" (remember rel2 is the
- * pixel immediately OUTSIDE the part.
- * i.e. x + width & y + height). */
- offset: 2 -3;
- to_y: "title_base";
- }
- }
- description {
- state: "active" 0.0;
- /* and an active state */
- inherit: "default" 0.0;
- rel1 {
- offset: 2 3;
- /* 1 pixel down from default so it looks like it
- * is pressed down a bit */
- }
- rel2 {
- offset: 2 -2;
- /* same here - down 1 pixel from "default" */
- }
- }
- }
- part {
- name: "icon_area2";
- /* this area is another invisible rect
- * that is used for shuffling around parts
- * that are relative to it. the states
- * below are just a few "random" offsets
- * to make it look like whatever is
- * relative to icon_area2 is "jiggling"
- * around */
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- }
- description {
- state: "uw0" 0.0;
- /* jiggle */
- inherit: "default" 0.0;
- rel1.offset: -3 -2;
- rel2.offset: -4 -3;
- }
- description {
- state: "uw1" 0.0;
- /* jiggle some more */
- inherit: "default" 0.0;
- rel1.offset: 5 -2;
- rel2.offset: 4 -3;
- }
- description {
- state: "uw2" 0.0;
- /* look at me - jiggling! */
- inherit: "default" 0.0;
- rel1.offset: -1 4;
- rel2.offset: -2 3;
- }
- description {
- state: "uw3" 0.0;
- /* jiggling about */
- inherit: "default" 0.0;
- rel1.offset: -2 -1;
- rel2.offset: -3 -2;
- }
- description {
- state: "uw4" 0.0;
- /* one more jiggle for the dummies */
- inherit: "default" 0.0;
- rel1.offset: -4 1;
- rel2.offset: -5 0;
- }
- }
- part {
- name: "busy";
- /* this is an animation to spin a wheel when the app
- * seems too busy to respond to pings */
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- /* nomrally the busy part is not visible */
- color: 255 255 255 0;
- /* and its alpha is 0 - se will fade it
- * inm later so alpha to 0 (but 255 255
- * 255 for white so we dont also go from
- * dark to white while fading) */
- max: 32 32;
- /* no bigger than 32x32 - but allow it to be
- * smaller if needed */
- aspect: 1.0 1.0;
- /* square aspect */
- aspect_preference: BOTH;
- /* both axes determine aspect. that
- * means that the icon area may
- * be 100x50, but the aspect is 1.0
- * so therefore it will be 50x50 as the
- * max size. if the area is 50x100 it
- * will still be 50x50 as it must fit
- * WITHIN the bounds of BOTH axes */
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image {
- 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";
- normal: "busy-9.png";
- /* and we use image tweening. that
- * means that we flip through a series
- * of images when moving TO this state
- * over the transition time. it's like
- * specifying multiple frames of an
- * animatin sequence. the "final"
- * state is "normal". the images
- * between are the "tween" images
- * listed in order working towards
- * the "normal" image */
- }
- }
- description {
- state: "visible" 0.0;
- /* the visible state - inherit the
- * default one as its all the same, but
- * its visible and faded in */
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.icon";
- /* finally a swallow part - this is
- * just a placeholder to SWALLOW
- * other external evas objects into
- * this region and edje will control
- * any object swallowed as if it were
- * this part itself (move, resize,
- * etc.) */
- 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: "urgent";
- /* this is the urgnt part it is normally not
- * visible, but when the window is in an
- * urgent state (the app has set the urgency
- * hint) then we go to the visible state */
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- /* and in the visible state put the
- * exlamation image on top of the icon */
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "urgent2";
- /* this is another urgent element. it is actually
- * zoomed out to be larger and faded out at the
- * same time to give a "pulsating" look to the
- * exclamation mark to bring attention to it */
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 -1.0;
- rel2.relative: 2.0 2.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.text.title";
- /* this is a text part - the black
- * text on the white title top image */
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- /* allow this part to scale by a scale factor (dpi) */
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- /* align top and left */
- rel1 {
- relative: 1.0 0.0;
- offset: 9 2;
- to_x: "icon_area";
- /* relative to the right side of the icon
- * area but 9 pixels away */
- }
- rel2 {
- relative: 1.0 0.0;
- /* and the bottom right is inset by 8
- * pixels from the right of "title_base"
- * but as its aligned to the top we can
- * keep this at 2 pixels from the top of
- * the whole edje object and let alignment
- * make it extend downward from that point
- * with the text size defining the min size
- * vertically below */
- offset: -8 2;
- to_x: "title_base";
- }
- color_class: "border_title";
- /* give it a color class so people
- * can re-color it if they want */
- text {
- font: "Sans:style=Bold";
- /* Use the Bold style
- * of the Sans font from
- * fontconfig */
- size: 10;
- /* size in pixels - 10 */
- min: 0 1;
- /* the text will not determine minimum horizontal
- * size but WILL determine minimal vertical size
- * (thus 0 1 - horiz then vert flags) */
- align: 0.0 0.0;
- /* align text to top-left of the region
- * given */
- text_class: "title_bar";
- /* text class - so font and size
- * can be changed by users */
- }
- }
- description {
- state: "focused" 0.0;
- /* when the border is focused
- * then make the text fade out
- * and vanish */
- inherit: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bt_close";
- /* the close button shadow */
- mouse_events: 0;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 22 22;
- /* min and max size are the same, so never
- * resize this */
- max: 22 22;
- aspect: 1.0 1.0;
- /* square - always */
- aspect_preference: VERTICAL;
- /* the vetical axis controls size
- * when applying the aspect ratio
- * hint above */
- rel1 {
- relative: 1.0 0.0;
- offset: -2 1;
- to_x: "top";
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 -2;
- to_x: "top";
- to_y: "top";
- }
- image.normal: "bd_button_close_shadow.png";
- }
- }
- part {
- name: "bt_max";
- /* maximize button shadow */
- 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: 0.0 0.0;
- offset: -2 1;
- to_x: "bt_close";
- /* left of the close button */
- to_y: "top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -2 -2;
- to_x: "bt_close";
- /* left of the close button */
- to_y: "top";
- }
- image.normal: "bd_button_max_shadow.png";
- }
- }
- part {
- name: "bt_min";
- /* minimize button shadow */
- 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: 0.0 0.0;
- offset: -2 1;
- to_x: "bt_max";
- /* left of the maximize button */
- to_y: "top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -2 -2;
- to_x: "bt_max";
- /* left of the maximize button */
- to_y: "top";
- }
- image.normal: "bd_button_min_shadow.png";
- }
- }
- part {
- name: "top_hilight";
- /* an overlayed image to give the top of
- * a border a shiny look - very subtle */
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- 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";
- /* this is a rect part used to clip &
- * thus control the visibility of a group
- * of other parts (the images for the
- * buttons themselves) with just 1 part
- * doing the control as it acts as a
- * master switch for all things clipped
- * to this part */
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- /* visible and solid */
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- /* invisible and transparent */
- }
- }
- part {
- name: "bt_close_unfoc";
- mouse_events: 0;
- clip_to: "buttons_unfoc";
- /* clipping (thus visible region and
- * color + alpah is controlled by the
- * clip object */
- 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";
- 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";
- 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";
- /* another rect object for clipping */
- 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";
- mouse_events: 0;
- clip_to: "buttons_foc";
- /* controlled by the other clip object */
- 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";
- 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";
- 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";
- /* an invisible rect part/object used for
- * layout purposes */
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "icon_area";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -3 4;
- to_y: "e.text.title";
- to_x: "bt_min";
- }
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "title_base";
- }
- rel2 {
- to: "title_base";
- relative: 1.0 0.0;
- }
- 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 {
- to: "title_base";
- relative: 1.0 1.0;
- }
- }
- }
- part {
- name: "title2";
- /* this is interesting. it's another text part
- * that also displays the title text, but
- * normally is not visible. it is only made
- * visibile when the window becomes focused.
- * what is interesting is we tell it to source
- * the text content from another part - i.e.
- * the master "title" part which E sets the
- * text of. when that changes this part also
- * changes its text. this is a good way to
- * use multiple text objects for effects and
- * other things that can copy/mimic the content
- * of another part */
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SOFT_SHADOW;
- /* different style to before - because its
- * focused */
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 1.0;
- rel1 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 0.0 1.0;
- offset: -1 0;
- }
- rel2 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 1.0 1.0;
- offset: 0 0;
- }
- color_class: "border_title_active";
- text {
- text_source: "e.text.title";
- /* and here is the magic. tell
- * the text to be sourced from
- * another part */
- 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";
- 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";
- mouse_events: 0;
- clip_to: "bottom_clip";
- description {
- state: "default" 0.0;
- min: 20 10;
- max: 20 10;
- rel1 {
- to: "bottom";
- relative: 0.5 0.0;
- offset: 0 -10;
- }
- rel2 {
- to: "bottom";
- relative: 0.5 0.0;
- offset: 0 -1;
- }
- 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: "e.swallow.client";
- /* this determines where the actual
- * client window will be placed in
- * the border design */
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- description {
- state: "max" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- }
- /* these transparent rect parts are used for catching events in a way
- * here objects for design don't affect the events. these parts
- * are named speciifcally because E has config listening for specific
- * signals (events) coming from these named parts and based on those
- * will perform certain actions. these are actually all configurable
- * by the user, so if they want, clicking the logical "titlebar" could
- * close the window, not move it, and so on. the user decides this.
- * the theme designer simply indicates the "logcal" use of the theme
- * elements they have created */
- part {
- name: "e.event.titlebar";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "title_base";
- rel2.to: "title_base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.resize.t";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 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: "e.event.resize.b";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.event.resize.tl";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 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: "e.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: "e.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: "e.event.resize.br";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: -16 -16;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.event.icon";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.close";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_close";
- rel2.to: "bt_close";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.minimize";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_min";
- rel2.to: "bt_min";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.maximize";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_max";
- rel2.to: "bt_max";
- color: 0 0 0 0;
- }
- }
- }
- /* programs - these are basically snippets of simple logic to respond to
- * incoming signals (generated by signal emisions by code or events) */
- programs {
- program {
- name: "focus_in";
- /* name of the program. must be unique
- * within the list of programs attached
- * to a group of parts */
- signal: "e,state,focused";
- /* what signal triggers this program,
- * if any. this can also be a glob like
- * "mouse,down,*" for example. note
- * that globs are slower to match
- * and empty strings are literal matches
- * too */
- source: "e";
- /* the source of the signal - this must also match for
- * the program to be run */
- action: STATE_SET "focused" 0.0;
- /* the action the program will
- * perform. in this case
- * it will set the state to
- * "focused" @ value 0.0 */
- transition: LINEAR 0.2;
- /* the time for the transition of the
- * action - it's a linear interpolation
- * of states here over 0.2 seconds */
- target: "title_back";
- /* these are the targets for the action.
- * i.e. which parts will have their state
- * set to "focused" over 0.2 seconds */
- target: "title2";
- target: "title_over";
- target: "buttons_foc";
- target: "buttons_unfoc";
- target: "e.text.title";
- }
- program {
- name: "focus_out";
- /* this program is run when focus is
- * removed from a window border */
- signal: "e,state,unfocused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "urgent";
- /* this program is run when the border is
- * meant to display an "urgent" state
- * (the application has something
- * important to show the user) */
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: DECELERATE 0.5;
- /* instead of a linear transition
- * this will vary from state A to B
- * but slow down towards the end */
- target: "urgent";
- target: "urgent2";
- after: "urgent2";
- /* when this program and its transition are
- * finished then chain (run) the "urgent2"
- * program below. this way a series of actions
- * and trnasitions can be chained together one
- * after the other */
- }
- program {
- name: "urgent2";
- action: STATE_SET "faded" 0.0;
- transition: LINEAR 0.5;
- target: "urgent2";
- after: "urgent3";
- }
- program {
- name: "urgent3";
- action: STATE_SET "visible" 0.0;
- target: "urgent2";
- /* notice - no transition. when not specified
- * it is assumed that the action should happen
- * immediately with no transition over time */
- after: "urgent2";
- }
- program {
- name: "urgentw0";
- /* these ae a list of icon "wobble"
- * programs to indicate urgency */
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw1";
- }
- program {
- name: "urgentw1";
- action: STATE_SET "uw1" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw2";
- }
- program {
- name: "urgentw2";
- action: STATE_SET "uw2" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw3";
- }
- program {
- name: "urgentw3";
- action: STATE_SET "uw3" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw4";
- }
- program {
- name: "urgentw4";
- action: STATE_SET "uw4" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw0";
- }
- program {
- name: "not_urgent";
- /* run when the window stops being
- * urgent */
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- /* this action will stop other running programs
- * that are currently active. the programs to
- * stop are named in the targets below */
- target: "urgentw0";
- target: "urgentw1";
- target: "urgentw2";
- target: "urgentw3";
- target: "urgentw4";
- target: "urgent";
- target: "urgent2";
- target: "urgent3";
- after: "not_urgent2";
- }
- program {
- name: "not_urgent2";
- action: STATE_SET "default" 0.0;
- target: "urgent";
- target: "urgent2";
- target: "icon_area2";
- }
- program {
- name: "hung";
- /* run when an app is known to be hung/not
- * responding to ping requests */
- signal: "e,state,hung";
- source: "e";
- action: STATE_SET "shrunk" 0.0;
- target: "e.swallow.icon";
- transition: DECELERATE 0.5;
- }
- program {
- name: "unhung";
- /* when an app was hung but has started to
- * respond again, this is run */
- signal: "e,state,unhung";
- source: "e";
- action: ACTION_STOP;
- target: "busy_anim";
- }
- program {
- name: "unhung2";
- signal: "e,state,unhung";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.swallow.icon";
- target: "busy";
- transition: ACCELERATE 0.5;
- }
- program {
- name: "busy_anim";
- /* multiple programs can be triggered
- * from the same signals so this is
- * also run when an app becomes "hung" */
- signal: "e,state,hung";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.3333;
- target: "busy";
- after: "busy_anim";
- }
- // don't have states/anim for a generic iconify action
- // program { name: "xx";
- // signal: "e,action,iconify";
- // source: "e";
- // }
- // don't have states/anim for a generic uniconify action
- // program { name: "xx";
- // signal: "e,action,uniconify";
- // source: "e";
- // }
- // don't have states/anim for a generic maximize action
- // program { name: "xx";
- // signal: "e,action,maximize";
- // source: "e";
- // }
- // don't have states/anim for a generic unmaximize action
- // program { name: "xx";
- // signal: "e,action,unmaximize";
- // source: "e";
- // }
- program {
- name: "max_full";
- /* run on fullscreen maximize */
- signal: "e,action,maximize,fullscreen";
- source: "e";
- action: STATE_SET "max" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- }
- program {
- name: "unmax_full";
- /* run on unmaximize from fullscreen */
- signal: "e,action,unmaximize,fullscreen";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- }
- program {
- name: "shade_end";
- /* run when the window finishes its
- * shading animation */
- signal: "e,state,shaded";
- signal: "e,state,shading";
- source: "e";
- action: STATE_SET "shaded" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- target: "e.event.resize.tl";
- target: "e.event.resize.tr";
- target: "e.event.resize.bl";
- target: "e.event.resize.br";
- target: "e.event.resize.t";
- target: "e.event.resize.b";
- }
- program {
- name: "unshade_start";
- /* run when the window starts
- * unshading itself */
- signal: "e,state,unshaded";
- signal: "e,state,unshading";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- target: "e.event.resize.tl";
- target: "e.event.resize.tr";
- target: "e.event.resize.bl";
- target: "e.event.resize.br";
- target: "e.event.resize.t";
- target: "e.event.resize.b";
- }
- program {
- name: "resize_b_on";
- signal: "mouse,in";
- /* on mouse enter... */
- source: "e.event.resize.b";
- /* in this named part */
- action: ACTION_STOP;
- /* stop the following programs */
- target: "resize_b_on2";
- target: "resize_b_on3";
- after: "resize_b_on2";
- /* then run... */
- }
- 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";
- /* on mouse leave... */
- source: "e.event.resize.b";
- action: ACTION_STOP;
- target: "resize_b_on";
- target: "resize_b_on2";
- target: "resize_b_on3";
- }
- program {
- name: "icon_down";
- signal: "mouse,down,*";
- /* if any mouse button is pressed... */
- source: "e.event.icon";
- action: STATE_SET "active" 0.0;
- target: "icon_area";
- }
- program {
- name: "icon_up";
- signal: "mouse,up,*";
- /* if any mouse button is released... */
- source: "e.event.icon";
- action: STATE_SET "default" 0.0;
- target: "icon_area";
- }
- program {
- name: "bt_close_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.close";
- action: STATE_SET "default" 0.0;
- target: "bt_close_unfoc";
- target: "bt_close_foc";
- }
- program {
- name: "bt_max_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.maximize";
- action: STATE_SET "default" 0.0;
- target: "bt_max_unfoc";
- target: "bt_max_foc";
- }
- program {
- name: "bt_min_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.minimize";
- action: STATE_SET "default" 0.0;
- target: "bt_min_unfoc";
- target: "bt_min_foc";
- }
- }
- }
- /* more border types - see comments in the default border for information */
- /*** SHAPED WINDOW BORDER ***/
- group {
- name: "e/widgets/border/shaped/border";
- 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;
- }
- data.item: "shaped" "1";
- parts {
- part {
- name: "top";
- 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;
- to_y: "title_base";
- }
- color_class: "border_top";
- image {
- normal: "bd_top.png";
- border: 2 2 2 2;
- }
- }
- }
- part {
- name: "bottom";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- 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 {
- relative: 0.0 0.0;
- 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: "busy";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- max: 32 32;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image {
- 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";
- normal: "busy-9.png";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.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: "urgent";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "urgent2";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 -1.0;
- rel2.relative: 2.0 2.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.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";
- 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_x: "top";
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 -2;
- to_x: "top";
- to_y: "top";
- }
- image.normal: "bd_button_close_shadow.png";
- }
- }
- part {
- name: "bt_max";
- 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: 0.0 0.0;
- 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";
- 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: 0.0 0.0;
- 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";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- 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";
- 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";
- 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";
- 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";
- 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";
- 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";
- 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;
- offset: 0 0;
- to_x: "icon_area";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -3 4;
- to_y: "e.text.title";
- to_x: "bt_min";
- }
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "title_base";
- }
- rel2 {
- to: "title_base";
- relative: 1.0 0.0;
- }
- 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 {
- to: "title_base";
- relative: 1.0 1.0;
- }
- }
- }
- 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 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 0.0 1.0;
- offset: -1 0;
- }
- rel2 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 1.0 1.0;
- offset: 0 1;
- }
- color_class: "border_title_active";
- text {
- text_source: "e.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";
- 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";
- mouse_events: 0;
- clip_to: "bottom_clip";
- description {
- state: "default" 0.0;
- min: 20 10;
- max: 20 10;
- rel1 {
- to: "bottom";
- relative: 0.5 0.0;
- offset: 0 -10;
- }
- rel2 {
- to: "bottom";
- relative: 0.5 0.0;
- offset: 0 -1;
- }
- 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: "e.swallow.client";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- description {
- state: "max" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- }
- part {
- name: "e.event.titlebar";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "title_base";
- rel2.to: "title_base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.resize.t";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 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: "e.event.resize.b";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.event.resize.tl";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 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: "e.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: "e.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: "e.event.resize.br";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: -16 -16;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.event.icon";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.close";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_close";
- rel2.to: "bt_close";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.minimize";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_min";
- rel2.to: "bt_min";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.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: "e,state,focused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "focus_out";
- signal: "e,state,unfocused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "urgent";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "visible" 0.0;
- target: "urgent";
- target: "urgent2";
- transition: DECELERATE 0.5;
- after: "urgent2";
- }
- program {
- name: "urgent2";
- action: STATE_SET "faded" 0.0;
- target: "urgent2";
- transition: LINEAR 0.5;
- after: "urgent3";
- }
- program {
- name: "urgent3";
- action: STATE_SET "visible" 0.0;
- target: "urgent2";
- after: "urgent2";
- }
- program {
- name: "urgentw0";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw1";
- }
- program {
- name: "urgentw1";
- action: STATE_SET "uw1" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw2";
- }
- program {
- name: "urgentw2";
- action: STATE_SET "uw2" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw3";
- }
- program {
- name: "urgentw3";
- action: STATE_SET "uw3" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw4";
- }
- program {
- name: "urgentw4";
- action: STATE_SET "uw4" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw0";
- }
- program {
- name: "not_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- target: "urgentw0";
- target: "urgentw1";
- target: "urgentw2";
- target: "urgentw3";
- target: "urgentw4";
- target: "urgent";
- target: "urgent2";
- target: "urgent3";
- after: "not_urgent2";
- }
- program {
- name: "not_urgent2";
- action: STATE_SET "default" 0.0;
- target: "urgent";
- target: "urgent2";
- target: "icon_area2";
- }
- program {
- name: "hung";
- signal: "e,state,hung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "shrunk" 0.0;
- target: "e.swallow.icon";
- transition: DECELERATE 0.5;
- }
- program {
- name: "unhung";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: ACTION_STOP;
- target: "busy_anim";
- }
- program {
- name: "unhung2";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "default" 0.0;
- target: "e.swallow.icon";
- target: "busy";
- transition: ACCELERATE 0.5;
- }
- program {
- name: "busy_anim";
- signal: "e,state,hung";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.3333;
- target: "busy";
- after: "busy_anim";
- }
- program {
- name: "max_full";
- signal: "e,action,maximize,fullscreen";
- source: "e";
- action: STATE_SET "max" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- }
- program {
- name: "unmax_full";
- signal: "e,action,unmaximize,fullscreen";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- }
- program {
- name: "shade_end";
- signal: "e,state,shaded";
- source: "e";
- action: STATE_SET "shaded" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- target: "e.event.resize.tl";
- target: "e.event.resize.tr";
- target: "e.event.resize.bl";
- target: "e.event.resize.br";
- target: "e.event.resize.t";
- target: "e.event.resize.b";
- }
- program {
- name: "unshade_start";
- signal: "e,state,unshading";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- target: "e.event.resize.tl";
- target: "e.event.resize.tr";
- target: "e.event.resize.bl";
- target: "e.event.resize.br";
- target: "e.event.resize.t";
- target: "e.event.resize.b";
- }
- program {
- name: "resize_b_on";
- signal: "mouse,in";
- source: "e.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: "e.event.resize.b";
- action: ACTION_STOP;
- target: "resize_b_on";
- target: "resize_b_on2";
- target: "resize_b_on3";
- }
- program {
- name: "icon_down";
- signal: "mouse,down,*";
- source: "e.event.icon";
- action: STATE_SET "active" 0.0;
- target: "icon_area";
- }
- program {
- name: "icon_up";
- signal: "mouse,up,*";
- source: "e.event.icon";
- action: STATE_SET "default" 0.0;
- target: "icon_area";
- }
- program {
- name: "bt_close_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.close";
- action: STATE_SET "default" 0.0;
- target: "bt_close_unfoc";
- target: "bt_close_foc";
- }
- program {
- name: "bt_max_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.maximize";
- action: STATE_SET "default" 0.0;
- target: "bt_max_unfoc";
- target: "bt_max_foc";
- }
- program {
- name: "bt_min_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.minimize";
- action: STATE_SET "default" 0.0;
- target: "bt_min_unfoc";
- target: "bt_min_foc";
- }
- }
- }
- /*** NORESIZE WINDOW BORDER ***/
- group {
- name: "e/widgets/border/noresize/border";
- images {
- image: "bd_top.png" COMP;
- image: "bd_top_hilight.png" COMP;
- image: "bd_title_bg.png" COMP;
- image: "bd_title_over.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";
- 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;
- to_y: "title_base";
- }
- color_class: "border_top";
- image {
- normal: "bd_top.png";
- border: 2 2 2 2;
- }
- }
- }
- 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 {
- relative: 0.0 0.0;
- 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: "busy";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- max: 32 32;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image {
- 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";
- normal: "busy-9.png";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.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: "urgent";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "urgent2";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 -1.0;
- rel2.relative: 2.0 2.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.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";
- 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_x: "top";
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 -2;
- to_x: "top";
- to_y: "top";
- }
- image.normal: "bd_button_close_shadow.png";
- }
- }
- part {
- name: "bt_max";
- 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: 0.0 0.0;
- 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";
- 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: 0.0 0.0;
- 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";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- 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";
- 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";
- 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";
- 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";
- 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";
- 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";
- 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;
- offset: 0 0;
- to_x: "icon_area";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -3 4;
- to_y: "e.text.title";
- to_x: "bt_min";
- }
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "title_base";
- }
- rel2 {
- to: "title_base";
- relative: 1.0 0.0;
- }
- 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 {
- to: "title_base";
- relative: 1.0 1.0;
- }
- }
- }
- 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 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 0.0 1.0;
- offset: -1 0;
- }
- rel2 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 1.0 1.0;
- offset: 0 1;
- }
- color_class: "border_title_active";
- text {
- text_source: "e.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";
- 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: "e.swallow.client";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- description {
- state: "max" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- }
- part {
- name: "e.event.titlebar";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "title_base";
- rel2.to: "title_base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.icon";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.close";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_close";
- rel2.to: "bt_close";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.minimize";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_min";
- rel2.to: "bt_min";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.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: "e,state,focused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "focus_out";
- signal: "e,state,unfocused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "urgent";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "visible" 0.0;
- target: "urgent";
- target: "urgent2";
- transition: DECELERATE 0.5;
- after: "urgent2";
- }
- program {
- name: "urgent2";
- action: STATE_SET "faded" 0.0;
- target: "urgent2";
- transition: LINEAR 0.5;
- after: "urgent3";
- }
- program {
- name: "urgent3";
- action: STATE_SET "visible" 0.0;
- target: "urgent2";
- after: "urgent2";
- }
- program {
- name: "urgentw0";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw1";
- }
- program {
- name: "urgentw1";
- action: STATE_SET "uw1" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw2";
- }
- program {
- name: "urgentw2";
- action: STATE_SET "uw2" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw3";
- }
- program {
- name: "urgentw3";
- action: STATE_SET "uw3" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw4";
- }
- program {
- name: "urgentw4";
- action: STATE_SET "uw4" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw0";
- }
- program {
- name: "not_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- target: "urgentw0";
- target: "urgentw1";
- target: "urgentw2";
- target: "urgentw3";
- target: "urgentw4";
- target: "urgent";
- target: "urgent2";
- target: "urgent3";
- after: "not_urgent2";
- }
- program {
- name: "not_urgent2";
- action: STATE_SET "default" 0.0;
- target: "urgent";
- target: "urgent2";
- target: "icon_area2";
- }
- program {
- name: "hung";
- signal: "e,state,hung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "shrunk" 0.0;
- target: "e.swallow.icon";
- transition: DECELERATE 0.5;
- }
- program {
- name: "unhung";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: ACTION_STOP;
- target: "busy_anim";
- }
- program {
- name: "unhung2";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "default" 0.0;
- target: "e.swallow.icon";
- target: "busy";
- transition: ACCELERATE 0.5;
- }
- program {
- name: "busy_anim";
- signal: "e,state,hung";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.3333;
- target: "busy";
- after: "busy_anim";
- }
- program {
- name: "max_full";
- signal: "e,action,maximize,fullscreen";
- source: "e";
- action: STATE_SET "max" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "unmax_full";
- signal: "e,action,unmaximize,fullscreen";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "shade_end";
- signal: "e,state,shaded";
- source: "e";
- action: STATE_SET "shaded" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "unshade_start";
- signal: "e,state,unshading";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "icon_down";
- signal: "mouse,down,*";
- source: "e.event.icon";
- action: STATE_SET "active" 0.0;
- target: "icon_area";
- }
- program {
- name: "icon_up";
- signal: "mouse,up,*";
- source: "e.event.icon";
- action: STATE_SET "default" 0.0;
- target: "icon_area";
- }
- program {
- name: "bt_close_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.close";
- action: STATE_SET "default" 0.0;
- target: "bt_close_unfoc";
- target: "bt_close_foc";
- }
- program {
- name: "bt_max_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.maximize";
- action: STATE_SET "default" 0.0;
- target: "bt_max_unfoc";
- target: "bt_max_foc";
- }
- program {
- name: "bt_min_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.minimize";
- action: STATE_SET "default" 0.0;
- target: "bt_min_unfoc";
- target: "bt_min_foc";
- }
- }
- }
- /*** DIALOG WINDOW BORDER ***/
- group {
- name: "e/widgets/border/dialog/border";
- 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;
- }
- parts {
- part {
- name: "top";
- 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;
- to_y: "title_base";
- }
- color_class: "border_top";
- image {
- normal: "bd_top.png";
- border: 2 2 2 2;
- }
- }
- }
- part {
- name: "bottom";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- 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 {
- relative: 0.0 0.0;
- 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: "busy";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- max: 32 32;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image {
- 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";
- normal: "busy-9.png";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.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: "urgent";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "urgent2";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 -1.0;
- rel2.relative: 2.0 2.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.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";
- 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_x: "top";
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 -2;
- to_x: "top";
- to_y: "top";
- }
- image.normal: "bd_button_close_shadow.png";
- }
- }
- part {
- name: "top_hilight";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- 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";
- 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: "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";
- 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: "title_base";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "icon_area";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -3 4;
- to_y: "e.text.title";
- to_x: "bt_close";
- }
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "title_base";
- }
- rel2 {
- to: "title_base";
- relative: 1.0 0.0;
- }
- 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 {
- to: "title_base";
- relative: 1.0 1.0;
- }
- }
- }
- 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 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 0.0 1.0;
- offset: -1 0;
- }
- rel2 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 1.0 1.0;
- offset: 0 1;
- }
- color_class: "border_title_active";
- text {
- text_source: "e.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";
- 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";
- mouse_events: 0;
- clip_to: "bottom_clip";
- description {
- state: "default" 0.0;
- min: 20 10;
- max: 20 10;
- rel1 {
- to: "bottom";
- relative: 0.5 0.0;
- offset: 0 -10;
- }
- rel2 {
- to: "bottom";
- relative: 0.5 0.0;
- offset: 0 -1;
- }
- 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: "e.swallow.client";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- description {
- state: "max" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- to_y: "bottom";
- }
- }
- }
- part {
- name: "e.event.titlebar";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "title_base";
- rel2.to: "title_base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.resize.t";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 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: "e.event.resize.b";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.event.resize.tl";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 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: "e.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: "e.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: "e.event.resize.br";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: -16 -16;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.event.icon";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.close";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_close";
- rel2.to: "bt_close";
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "focus_in";
- signal: "e,state,focused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "focus_out";
- signal: "e,state,unfocused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "urgent";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "visible" 0.0;
- target: "urgent";
- target: "urgent2";
- transition: DECELERATE 0.5;
- after: "urgent2";
- }
- program {
- name: "urgent2";
- action: STATE_SET "faded" 0.0;
- target: "urgent2";
- transition: LINEAR 0.5;
- after: "urgent3";
- }
- program {
- name: "urgent3";
- action: STATE_SET "visible" 0.0;
- target: "urgent2";
- after: "urgent2";
- }
- program {
- name: "urgentw0";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw1";
- }
- program {
- name: "urgentw1";
- action: STATE_SET "uw1" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw2";
- }
- program {
- name: "urgentw2";
- action: STATE_SET "uw2" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw3";
- }
- program {
- name: "urgentw3";
- action: STATE_SET "uw3" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw4";
- }
- program {
- name: "urgentw4";
- action: STATE_SET "uw4" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw0";
- }
- program {
- name: "not_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- target: "urgentw0";
- target: "urgentw1";
- target: "urgentw2";
- target: "urgentw3";
- target: "urgentw4";
- target: "urgent";
- target: "urgent2";
- target: "urgent3";
- after: "not_urgent2";
- }
- program {
- name: "not_urgent2";
- action: STATE_SET "default" 0.0;
- target: "urgent";
- target: "urgent2";
- target: "icon_area2";
- }
- program {
- name: "hung";
- signal: "e,state,hung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "shrunk" 0.0;
- target: "e.swallow.icon";
- transition: DECELERATE 0.5;
- }
- program {
- name: "unhung";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: ACTION_STOP;
- target: "busy_anim";
- }
- program {
- name: "unhung2";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "default" 0.0;
- target: "e.swallow.icon";
- target: "busy";
- transition: ACCELERATE 0.5;
- }
- program {
- name: "busy_anim";
- signal: "e,state,hung";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.3333;
- target: "busy";
- after: "busy_anim";
- }
- program {
- name: "max_full";
- signal: "e,action,maximize,fullscreen";
- source: "e";
- action: STATE_SET "max" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- }
- program {
- name: "unmax_full";
- signal: "e,action,unmaximize,fullscreen";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- }
- program {
- name: "shade_end";
- signal: "e,state,shaded";
- source: "e";
- action: STATE_SET "shaded" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- target: "e.event.resize.tl";
- target: "e.event.resize.tr";
- target: "e.event.resize.bl";
- target: "e.event.resize.br";
- target: "e.event.resize.t";
- target: "e.event.resize.b";
- }
- program {
- name: "unshade_start";
- signal: "e,state,unshading";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bottom";
- target: "e.swallow.client";
- target: "e.event.resize.tl";
- target: "e.event.resize.tr";
- target: "e.event.resize.bl";
- target: "e.event.resize.br";
- target: "e.event.resize.t";
- target: "e.event.resize.b";
- }
- program {
- name: "resize_b_on";
- signal: "mouse,in";
- source: "e.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: "e.event.resize.b";
- action: ACTION_STOP;
- target: "resize_b_on";
- target: "resize_b_on2";
- target: "resize_b_on3";
- }
- program {
- name: "icon_down";
- signal: "mouse,down,*";
- source: "e.event.icon";
- action: STATE_SET "active" 0.0;
- target: "icon_area";
- }
- program {
- name: "icon_up";
- signal: "mouse,up,*";
- source: "e.event.icon";
- action: STATE_SET "default" 0.0;
- target: "icon_area";
- }
- program {
- name: "bt_close_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.close";
- action: STATE_SET "default" 0.0;
- target: "bt_close_unfoc";
- target: "bt_close_foc";
- }
- }
- }
- /*** NORESIZE DIALOG WINDOW BORDER ***/
- group {
- name: "e/widgets/border/noresize_dialog/border";
- images {
- image: "bd_top.png" COMP;
- image: "bd_top_hilight.png" COMP;
- image: "bd_title_bg.png" COMP;
- image: "bd_title_over.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;
- }
- parts {
- part {
- name: "top";
- 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;
- to_y: "title_base";
- }
- color_class: "border_top";
- image {
- normal: "bd_top.png";
- border: 2 2 2 2;
- }
- }
- }
- 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 {
- relative: 0.0 0.0;
- 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: "busy";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- max: 32 32;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image {
- 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";
- normal: "busy-9.png";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.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: "urgent";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "urgent2";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 -1.0;
- rel2.relative: 2.0 2.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.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";
- 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_x: "top";
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 -2;
- to_x: "top";
- to_y: "top";
- }
- image.normal: "bd_button_close_shadow.png";
- }
- }
- part {
- name: "top_hilight";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- 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";
- 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: "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";
- 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: "title_base";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "icon_area";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -3 4;
- to_y: "e.text.title";
- to_x: "bt_close";
- }
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "title_base";
- }
- rel2 {
- to: "title_base";
- relative: 1.0 0.0;
- }
- 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 {
- to: "title_base";
- relative: 1.0 1.0;
- }
- }
- }
- 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 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 0.0 1.0;
- offset: -1 0;
- }
- rel2 {
- to_x: "e.text.title";
- to_y: "title_back";
- relative: 1.0 1.0;
- offset: 0 1;
- }
- color_class: "border_title_active";
- text {
- text_source: "e.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";
- 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: "e.swallow.client";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- }
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- description {
- state: "max" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_y: "top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- }
- part {
- name: "e.event.titlebar";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "title_base";
- rel2.to: "title_base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.icon";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "icon_area";
- rel2.to: "icon_area";
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.close";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "bt_close";
- rel2.to: "bt_close";
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "focus_in";
- signal: "e,state,focused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "focus_out";
- signal: "e,state,unfocused";
- source: "e";
- 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: "e.text.title";
- }
- program {
- name: "urgent";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "visible" 0.0;
- target: "urgent";
- target: "urgent2";
- transition: DECELERATE 0.5;
- after: "urgent2";
- }
- program {
- name: "urgent2";
- action: STATE_SET "faded" 0.0;
- target: "urgent2";
- transition: LINEAR 0.5;
- after: "urgent3";
- }
- program {
- name: "urgent3";
- action: STATE_SET "visible" 0.0;
- target: "urgent2";
- after: "urgent2";
- }
- program {
- name: "urgentw0";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw1";
- }
- program {
- name: "urgentw1";
- action: STATE_SET "uw1" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw2";
- }
- program {
- name: "urgentw2";
- action: STATE_SET "uw2" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw3";
- }
- program {
- name: "urgentw3";
- action: STATE_SET "uw3" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw4";
- }
- program {
- name: "urgentw4";
- action: STATE_SET "uw4" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw0";
- }
- program {
- name: "not_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- target: "urgentw0";
- target: "urgentw1";
- target: "urgentw2";
- target: "urgentw3";
- target: "urgentw4";
- target: "urgent";
- target: "urgent2";
- target: "urgent3";
- after: "not_urgent2";
- }
- program {
- name: "not_urgent2";
- action: STATE_SET "default" 0.0;
- target: "urgent";
- target: "urgent2";
- target: "icon_area2";
- }
- program {
- name: "hung";
- signal: "e,state,hung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "shrunk" 0.0;
- target: "e.swallow.icon";
- transition: DECELERATE 0.5;
- }
- program {
- name: "unhung";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: ACTION_STOP;
- target: "busy_anim";
- }
- program {
- name: "unhung2";
- signal: "e,state,unhung";
- source: "e";
- /* FIXME: */
- action: STATE_SET "default" 0.0;
- target: "e.swallow.icon";
- target: "busy";
- transition: ACCELERATE 0.5;
- }
- program {
- name: "busy_anim";
- signal: "e,state,hung";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.3333;
- target: "busy";
- after: "busy_anim";
- }
- program {
- name: "max_full";
- signal: "e,action,maximize,fullscreen";
- source: "e";
- action: STATE_SET "max" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "unmax_full";
- signal: "e,action,unmaximize,fullscreen";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "shade_end";
- signal: "e,state,shaded";
- source: "e";
- action: STATE_SET "shaded" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "unshade_start";
- signal: "e,state,unshading";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.swallow.client";
- }
- program {
- name: "icon_down";
- signal: "mouse,down,*";
- source: "e.event.icon";
- action: STATE_SET "active" 0.0;
- target: "icon_area";
- }
- program {
- name: "icon_up";
- signal: "mouse,up,*";
- source: "e.event.icon";
- action: STATE_SET "default" 0.0;
- target: "icon_area";
- }
- program {
- name: "bt_close_down";
- signal: "mouse,down,*";
- source: "e.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: "e.event.close";
- action: STATE_SET "default" 0.0;
- target: "bt_close_unfoc";
- target: "bt_close_foc";
- }
- }
- }
- /*** BONUS BORDERS TO CHOOSE FROM ***/
- group {
- name: "e/widgets/border/pixel/border";
- parts {
- part {
- name: "px1";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- color: 0 0 0 255;
- }
- }
- part {
- name: "px2";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 255;
- }
- }
- part {
- name: "px3";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 -2;
- }
- color: 0 0 0 255;
- }
- }
- part {
- name: "px4";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 1;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -2;
- }
- color: 0 0 0 255;
- }
- }
- part {
- name: "e.swallow.client";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 1 1;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 -2;
- }
- }
- }
- part {
- name: "e.event.resize.t";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 3;
- }
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.resize.b";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.event.resize.tl";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 15 15;
- }
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.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;
- }
- }
- part {
- name: "e.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;
- }
- }
- part {
- name: "e.event.resize.br";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: -16 -16;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 0;
- }
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** THE DEFAULT MOUSE CURSOR - COLOR ***/
-
- group {
- name: "e/pointer/enlightenment/default/color";
- 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;
- /* 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: "e.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 e detects a mouse
- * press */
- signal: "e,action,mouse,down";
- source: "e";
- 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: "e,state,mouse,idle";
- source: "e";
- 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: "e,state,mouse,active";
- source: "e";
- 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";
- // }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** THE DEFAULT MOUSE CURSOR - MONOCHROME. REALLY BORING ***/
- /* This pointer is used if the Xserver does not support full ARGB color
- * pointers. This can happen if X is old or the driver or libxcursor did
- * not exist when ecore was compiled. since the cursor will be literally
- * reduced down to black and white with a single transparency mask,
- * colors other than black and whigte will be lost (and be approximated
- * with dithering) and any translucency other than completely opaque or
- * completely transparent pixels will also be lost. it then makes sense
- * to have a special black and white only image with no semi-transparency
- * so when this is displayed it will look directly as intended by the
- * artist */
-
- group {
- name: "e/pointer/enlightenment/default/mono";
- images {
- image: "pointer_mono.png" COMP;
- /* a simple mono cursor image */
- }
- parts {
- part {
- name: "e/pointer";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "pointer_mono.png";
- }
- }
- }
- part {
- name: "hotspot";
- /* this cursor also has a hotspot */
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 0.0 0.0;
- offset: 1 1;
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 1 1;
- }
- }
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** SLIDESEL */
-
- /* this is a horizontal slide selector in e where you drag it horizontally
- * and different icons appear with text near it indicating what is
- * selected. not actually used anywhere, currently, but in e nevertheless */
-
- group {
- name: "e/widgets/slidesel";
- images {
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- image: "bt_dis_shine.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to_y: "e.text.label";
- relative: 0.0 1.0;
- offset: 2 2;
- }
- rel2.offset: -3 -3;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- }
- }
- 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: "e.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;
- }
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- align: 0.5 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -3 2;
- }
- align: 0.0 0.0;
- color: 255 255 255 255;
- color3: 0 0 0 32;
- text {
- font: "Sans:style=Bold";
- size: 10;
- min: 0 1;
- align: 0.5 0.0;
- text_class: "slidesel_label";
- }
- }
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** TOOLBAR ****/
-
- group {
- name: "e/widgets/toolbar";
- 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;
- }
- }
- }
- 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: "e.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: 1;
- scale: 1;
- 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: 1;
- scale: 1;
- 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: "e.dragable.hbar";
- mouse_events: 0;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "base";
- }
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- 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: "e,action,show,hbar";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.5;
- target: "left_arrow";
- target: "right_arrow";
- }
- program {
- name: "sb_hbar_hide";
- signal: "e,action,hide,hbar";
- source: "e";
- action: STATE_SET "hidden" 0.0;
- target: "left_arrow";
- target: "right_arrow";
- transition: LINEAR 0.5;
- }
- program {
- name: "sb_left";
- signal: "mouse,down,1";
- source: "left_arrow";
- action: SIGNAL_EMIT "e,action,prev" "e";
- after: "sb_left_repeat";
- }
- program {
- name: "sb_left_repeat";
- action: SIGNAL_EMIT "e,action,prev" "e";
- in: 0.3 0.0;
- after: "sb_left_repeat";
- }
- program {
- name: "sb_left_repeat_stop";
- signal: "mouse,up,1";
- source: "left_arrow";
- action: ACTION_STOP;
- target: "sb_left_repeat";
- }
- program {
- name: "sb_right";
- signal: "mouse,down,1";
- source: "right_arrow";
- action: SIGNAL_EMIT "e,action,next" "e";
- after: "sb_right_repeat";
- }
- program {
- name: "sb_right_repeat";
- action: SIGNAL_EMIT "e,action,next" "e";
- in: 0.3 0.0;
- after: "sb_right_repeat";
- }
- program {
- name: "sb_right_repeat_stop";
- signal: "mouse,up,1";
- source: "right_arrow";
- action: ACTION_STOP;
- target: "sb_right_repeat";
- }
- }
- }
- group {
- name: "e/widgets/toolbar/item";
- images {
- image: "toolbar_sel.png" COMP;
- }
- parts {
- part {
- name: "label2";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 1.0;
- fixed: 0 1;
- rel1.to: "e.text.label";
- rel2.to: "e.text.label";
- color: 0 0 0 255;
- text {
- font: "Sans";
- text_source: "e.text.label";
- size: 10;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "fileman_icon";
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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;
- }
- fill.smooth: 0;
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- // aspect: 1.0 1.0;
- // aspect_preference: VERTICAL;
- rel1 {
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to_y: "e.text.label";
- relative: 1.0 0.0;
- offset: -3 -1;
- }
- color: 0 0 0 0;
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 1.0;
- fixed: 0 1;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 2;
- }
- 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: "fileman_icon";
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "e.text.label";
- target: "label2";
- transition: LINEAR 0.2;
- }
- program {
- name: "go_passive";
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "e.text.label";
- target: "label2";
- transition: LINEAR 0.1;
- }
- program {
- name: "go";
- signal: "mouse,up,1";
- source: "event";
- action: SIGNAL_EMIT "e,action,click" "e";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MENUS ***/
-
- /* this is the background for all menus. it also may optionally display a
- * title for the menu. this is wrapped around all the menu items that are
- * laid out in a vertical list from top to bottom */
-
- group {
- name: "e/widgets/menu/default/background";
- images {
- image: "base_bg.png" COMP;
- image: "bd_top_hilight.png" COMP;
- image: "bd_title_bg.png" COMP;
- image: "bd_title_over.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- align: 0.5 0.0;
- color_class: "menu_base";
- image {
- normal: "base_bg.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- /* note - a shortcut for avoiding doing
- * fill { smooth: 0; } */
- }
- }
- part {
- name: "top_hilight";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 15;
- }
- image.normal: "bd_top_hilight.png";
- fill.smooth: 0;
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -5 0;
- }
- image {
- normal: "bd_title_bg.png";
- border: 7 7 2 7;
- }
- fill.smooth: 0;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 0;
- }
- rel2 {
- to_y: "e.text.title";
- relative: 1.0 1.0;
- offset: -5 -4;
- }
- }
- }
- part {
- name: "e.text.title";
- /* e sets the text of this to the title
- * if there is any */
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SOFT_SHADOW;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- align: 0.5 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- color_class: "menu_title";
- text {
- text_source: "e.text.title";
- font: "Sans:style=Bold";
- size: 10;
- align: 0.5 0.0;
- min: 0 0;
- text_class: "menu_title";
- }
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color_class: "menu_title_active";
- text.min: 1 1;
- }
- }
- part {
- name: "title_over";
- 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: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "e.swallow.content";
- /* this swallow part determines
- * where in the menu the vertical
- * list of menu items is put */
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- to_y: "e.text.title";
- relative: 0.0 1.0;
- offset: 2 1;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- }
- }
- }
- programs {
- program {
- name: "on";
- /* this program is run when e emits a signal
- * to display a title. e will also set the
- * title text */
- signal: "e,action,show,title";
- source: "e";
- action: STATE_SET "active" 0.0;
- target: "title_back";
- target: "e.text.title";
- target: "title_over";
- }
- program {
- name: "off";
- /* run when the title is removed */
- signal: "e,action,hide,title";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "title_back";
- target: "e.text.title";
- target: "title_over";
- }
- }
- }
- /* this is placed as a horizontal separator between menu items in the
- * vertical menu item list. it has no functionality other than being
- * a visual separator */
- group {
- name: "e/widgets/menu/default/separator";
- images {
- image: "menu_sep.png" COMP;
- }
- parts {
- part {
- name: "separator";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 16 2;
- rel1.offset: 2 2;
- rel2.offset: -3 -3;
- image {
- normal: "menu_sep.png";
- border: 2 2 0 0;
- }
- fill.smooth: 0;
- }
- }
- }
- }
- /* this is used for regular menu items. this is what swallows/holds the
- * whole line of the menu item, icon, check/radio mark, label and submenu
- * indicator, where applicable */
- group {
- name: "e/widgets/menu/default/item_bg";
- /* this is idential to the regular menu item above, but used only for
- * items that have a submenu. this is to allow for a possible different
- * look for submenu holding items. here this is identical to to the
- * normal menu item, thus we are making use of the alias directive that
- * gives a group the ability to go by manu names */
- alias: "e/widgets/menu/default/submenu_bg";
- images {
- image: "menu_sel_bg.png" COMP;
- image: "menu_sel_fg.png" COMP;
- }
- parts {
- 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 -3;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 5;
- }
- image {
- normal: "menu_sel_bg.png";
- border: 8 8 5 9;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 2;
- }
- }
- }
- part {
- name: "e.swallow.content";
- /* all item content will go here */
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.offset: 2 1;
- rel2.offset: -3 -2;
- }
- }
- part {
- name: "fg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "menu_sel_fg.png";
- border: 8 8 5 9;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- }
- programs {
- program {
- name: "sel";
- /* when the menu item is selected (hilighted)
- * this program is run to give the whole item
- * an overall selected look */
- signal: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- transition: LINEAR 0.2;
- target: "bg";
- target: "fg";
- }
- program {
- name: "unsel";
- /* when selection is removed from the menu
- * item */
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.1;
- target: "bg";
- target: "fg";
- }
- }
- }
- /* this group holds a menu icon. here we just use it to add padding around
- * the icon. And to gray-out when disabled */
- group {
- name: "e/widgets/menu/default/icon";
- parts {
- part {
- name: "clip";
- type: RECT;
- description {
- min: 10 10;
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "disabled" 0.0;
- color: 255 255 255 128;
- }
- }
- part {
- name: "e.swallow.content";
- /* icon is swallowed here */
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- min: 16 16;
- max: 24 24;
- fixed: 1 1;
- rel1 {
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- }
- }
- }
- programs {
- program {
- name: "enable";
- /* enable */
- signal: "e,state,enable";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "clip";
- }
- program {
- name: "disable";
- /* disable */
- signal: "e,state,disable";
- source: "e";
- action: STATE_SET "disabled" 0.0;
- target: "clip";
- }
- }
- }
- /* this is the actual text label for the menu item */
- group {
- name: "e/widgets/menu/default/label";
- parts {
- part {
- name: "e.text.label";
- /* e sets the text of this */
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 1 -1;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 1;
- }
- color_class: "menu_item";
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 0.0 0.5;
- text_class: "menu_item";
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color_class: "menu_item_active";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "menu_item_disabled";
- }
- }
- }
- programs {
- program {
- name: "sel";
- /* when the menu item is actually selected */
- signal: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- transition: LINEAR 0.2;
- target: "e.text.label";
- }
- program {
- name: "unsel";
- /* on de-select */
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.3;
- target: "e.text.label";
- }
- program {
- name: "enable";
- /* enable */
- signal: "e,state,enable";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.3;
- target: "e.text.label";
- }
- program {
- name: "disable";
- /* disable */
- signal: "e,state,disable";
- source: "e";
- action: STATE_SET "disabled" 0.0;
- //transition: LINEAR 0.3;
- target: "e.text.label";
- }
- }
- }
- /* this is a small arrow on the right of the menu item to indicate that it
- * has a submenu after it */
- group {
- name: "e/widgets/menu/default/submenu";
- images {
- image: "menu_arrow_normal.png" COMP;
- image: "menu_arrow_sel.png" COMP;
- }
- parts {
- part {
- name: "arrow";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 9 12;
- max: 9 12;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 1;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -3 -1;
- }
- image.normal: "menu_arrow_normal.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image.normal: "menu_arrow_sel.png";
- }
- }
- }
- programs {
- program {
- name: "sel";
- signal: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- target: "arrow";
- }
- program {
- name: "unsel";
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "arrow";
- }
- }
- }
- /* this is placed left of the icon in a menu item (if any icon) or left
- * of the label if no icon is present. this is a checkbox to indicate if
- * the menu item is enabled or disabled */
- group {
- name: "e/widgets/menu/default/check";
- images {
- image: "check_base.png" COMP;
- image: "check_on.png" COMP;
- image: "check_sel.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 16 16;
- max: 16 16;
- image.normal: "check_base.png";
- }
- }
- part {
- name: "mark";
- mouse_events: 0;
- clip_to: "mark_hold";
- description {
- state: "default" 0.0;
- rel1.to: "mark_hold";
- rel2.to: "mark_hold";
- image.normal: "check_on.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image.normal: "check_sel.png";
- }
- }
- part {
- name: "mark_hold";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- to: "base";
- offset: -5 -5;
- }
- rel2 {
- to: "base";
- offset: 4 4;
- }
- }
- description {
- state: "on" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1.offset: 0 0;
- rel2.offset: -1 -1;
- }
- }
- }
- programs {
- program {
- name: "sel";
- /* on selection of the menu item */
- signal: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- target: "mark";
- }
- program {
- name: "unsel";
- /* de-select */
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "mark";
- }
- program {
- name: "on";
- /* if the checkmark is to be displayed */
- signal: "e,state,on";
- source: "e";
- action: STATE_SET "on" 0.0;
- transition: LINEAR 0.15;
- target: "mark_hold";
- }
- program {
- name: "off";
- /* check mark is not to be displayed */
- signal: "e,state,off";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.2;
- target: "mark_hold";
- }
- }
- }
- /* for a radio menu item - same as check, but only one of a group of radio
- * menu item can be selected at any one time */
- group {
- name: "e/widgets/menu/default/radio";
- images {
- image: "radio_base.png" COMP;
- image: "radio_on.png" COMP;
- image: "radio_sel.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 16 16;
- max: 16 16;
- image.normal: "radio_base.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image.normal: "menu_arrow_sel.png";
- }
- }
- part {
- name: "mark";
- mouse_events: 0;
- clip_to: "mark_hold";
- description {
- state: "default" 0.0;
- rel1.to: "mark_hold";
- rel2.to: "mark_hold";
- image.normal: "radio_on.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image.normal: "radio_sel.png";
- }
- }
- part {
- name: "mark_hold";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- to: "base";
- offset: -5 -5;
- }
- rel2 {
- to: "base";
- offset: 4 4;
- }
- }
- description {
- state: "on" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1.offset: 0 0;
- rel2.offset: -1 -1;
- }
- }
- }
- programs {
- program {
- name: "sel";
- signal: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- target: "mark";
- }
- program {
- name: "unsel";
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "mark";
- }
- program {
- name: "on";
- signal: "e,state,on";
- source: "e";
- action: STATE_SET "on" 0.0;
- transition: LINEAR 0.15;
- target: "mark_hold";
- }
- program {
- name: "off";
- signal: "e,state,off";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.2;
- target: "mark_hold";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** SHELF ***/
-
- /* Shelves are "panels" that are placed around the edges of the screen
- * to hold useful gadgets to control things - like switch desktops
- * (the pager module and its gadget), launch programs, and anything else
- * someone wants to put in there. The way to add gadgets to a shelf is to
- * write a module that places a gadget there. This means that it might end
- * up containing all sorts of things and the artist needs to be aware of
- * that and make sure the shelf border and background etc. won't interfere
- * with all manner of things that may get placed there */
-
- group {
- name: "e/shelf/default/base";
- data {
- /* this tells e the shelf is shaped, not rectangular */
- // item: "shaped" "1";
- /* this tells e the number of pixels of the shelf to leave "exposed"
- * when auto-hiding the shelf */
- item: "hidden_state_size" "1";
- /* This makes the border hide instantly after the given amount of
- * seconds - in this case 3 seconds. This means there will be no
- * visible part of the shelf after this time at all as it will be
- * totally hidden */
- // item: "instant_delay" "3.0";
- }
- images {
- image: "base_bg.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color_class: "shelf_base";
- image.normal: "base_bg.png";
- image.border: 2 2 2 2;
- fill.smooth: 0;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 3 3;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -4 -4;
- }
- }
- }
- }
- programs {
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,top";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,top_left";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,top_right";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,bottom";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,bottom_left";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,bottom_right";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,left";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,left_top";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,left_bottom";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,right";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,right_top";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,right_bottom";
- // source: "e";
- // }
- // tell us we became a visible shelf. not used here
- // program { name: "xx";
- // signal: "e,state,visible";
- // source: "e";
- // }
- // tell us we became a hidden shelf. not used here
- // program { name: "xx";
- // signal: "e,state,hidden";
- // source: "e";
- // }
- }
- }
- /* This is put around gadgets in the shelf if they ask for an "inset" style
- * framing. This puts some sort of bordering around them to make them look
- * "inset" into the shelf or screen. this is meant to go with the default
- * shelf style as implied in the group name */
- group {
- name: "e/shelf/default/inset";
- images {
- image: "inset_sunk.png" COMP;
- }
- parts {
- part {
- name: "base";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- to: "inset";
- offset: 1 1;
- }
- rel2 {
- to: "inset";
- offset: -2 -2;
- }
- color: 255 255 255 255;
- }
- }
- part {
- name: "clip";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 1 1;
- }
- rel2 {
- to: "base";
- offset: -2 -2;
- }
- }
- }
- part {
- name: "inset";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- image.normal: "inset_sunk.png";
- image.middle: 0;
- /* here we say the "middle" part of the image
- * between the borders is not filled - it's
- * empty, so don't draw it - ignore it */
- image.border: 7 7 7 7;
- fill.smooth: 0;
- }
- }
- }
- programs {
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,top";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,top_left";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,top_right";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,bottom";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,bottom_left";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,bottom_right";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,left";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,left_top";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,left_bottom";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,right";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,right_top";
- // source: "e";
- // }
- // tell us what oriantation we are in. not used here
- // program { name: "xx";
- // signal: "e,state,orientation,right_bottom";
- // source: "e";
- // }
- }
- }
- /* Same as inset, but meant to be with no decorations that are visible. here
- * we simply make the content swallow inset a bit from the edges to align
- * with any plain style inset boxes */
- group {
- name: "e/shelf/default/plain";
- parts {
- part {
- name: "clip";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- }
- }
- }
- }
- /* This is the "invisible" shelf. Yes. Even it has visual config in edje.
- * The idea is that it will remain invisible, BUT will allow the designer
- * to do some layout and padding. This gets the same signals as the
- * default shelf and can provide the same data items */
- group {
- name: "e/shelf/invisible/base";
- data.item: "shaped" "1";
- parts {
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- }
- }
- }
- group {
- name: "e/shelf/invisible/inset";
- images {
- image: "inset_sunk_dark.png" COMP;
- }
- parts {
- part {
- name: "base";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- to: "inset";
- offset: 1 1;
- }
- rel2 {
- to: "inset";
- offset: -2 -2;
- }
- color: 0 0 0 32;
- }
- }
- part {
- name: "clip";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 1 1;
- }
- rel2 {
- to: "base";
- offset: -2 -2;
- }
- }
- }
- part {
- name: "inset";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- image.normal: "inset_sunk_dark.png";
- image.middle: 0;
- image.border: 7 7 7 7;
- fill.smooth: 0;
- }
- }
- }
- }
- group {
- name: "e/shelf/invisible/plain";
- parts {
- part {
- name: "clip";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- }
- }
- }
- }
- /* This is the alternate shelf. It provides a stylistic alternative to
- * make the shelf more dynamic to your tastes and wallpaper. It is
- * selected in the Shelf Configuration. More alternative shelfs can
- * be provided by using more group names. eg, "e/shelf/black/base" */
- group {
- name: "e/shelf/alternate/base";
- images {
- image: "shelf_alt_bg.png" COMP;
- // image: "shelf_alt_bg_left.png" COMP;
- // image: "shelf_alt_bg_right.png" COMP;
- image: "shelf_alt_over.png" COMP;
- // image: "shelf_alt_over_left.png" COMP;
- // image: "shelf_alt_over_right.png" COMP;
- image: "shelf_alt_shine.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color_class: "shelf_base";
- image.normal: "shelf_alt_bg.png";
- fill.smooth: 0;
- }
- // description { state: "left" 0.0;
- // image.normal: "shelf_alt_bg_left.png";
- // fill.smooth: 0;
- // }
- // description { state: "right" 0.0;
- // image.normal: "shelf_alt_bg_right.png";
- // fill.smooth: 0;
- // }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 3 3;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -4 -4;
- }
- }
- }
- part {
- name: "shine";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image.normal: "shelf_alt_shine.png";
- rel2.relative: 1.0 0.5;
- fill.smooth: 0;
- }
- // description { state: "left" 0.0;
- // inherit: "default" 0.0;
- // color: 255 255 255 0;
- // }
- // description { state: "right" 0.0;
- // inherit: "default" 0.0;
- // color: 255 255 255 0;
- // }
- }
- part {
- name: "over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image.normal: "shelf_alt_over.png";
- image.border: 5 5 5 5;
- image.middle: 0;
- fill.smooth: 0;
- }
- // description { state: "left" 0.0;
- // image.normal: "shelf_alt_over_left.png";
- // image.border: 5 5 5 5;
- // image.middle: 0;
- // fill.smooth: 0;
- // }
- // description { state: "right" 0.0;
- // image.normal: "shelf_alt_over_right.png";
- // image.border: 5 5 5 5;
- // image.middle: 0;
- // fill.smooth: 0;
- // }
- }
- }
- /* Because programs can not respond to 2 different types of signals,
- * the programs are split into individual programs that point towards
- * the base program for its orientation. */
- programs {
- /* Left orientation */
- // program { name: "left";
- // signal: "e,state,orientation,left";
- // source: "e";
- // action: STATE_SET "left" 0.0;
- // target: "base";
- // target: "over";
- // target: "shine";
- // }
- // program { name: "left_top";
- // signal: "e,state,orientation,left_top";
- // source: "e";
- // after: "left";
- // }
- // program { name: "left_bottom";
- // signal: "e,state,orientation,left_bottom";
- // source: "e";
- // after: "left";
- // }
- // /* Right orientation */
- // program { name: "right";
- // signal: "e,state,orientation,right";
- // source: "e";
- // action: STATE_SET "right" 0.0;
- // target: "base";
- // target: "over";
- // target: "shine";
- // }
- // program { name: "right_top";
- // signal: "e,state,orientation,right_top";
- // source: "e";
- // after: "right";
- // }
- // program { name: "right_bottom";
- // signal: "e,state,orientation,right_bottom";
- // source: "e";
- // after: "right";
- // }
- }
- }
- /* This is the alternate shelf. It provides a stylistic alternative to
- * make the shelf more dynamic to your tastes and wallpaper. It is
- * selected in the Shelf Configuration. More alternative shelfs can
- * be provided by using more group names. eg, "e/shelf/black/base" */
- group { name: "e/shelf/alternate_vertical/base";
- images {
- image: "shelf_alt_vert_bg.png" COMP;
-// image: "shelf_alt_bg_left.png" COMP;
-// image: "shelf_alt_bg_right.png" COMP;
- image: "shelf_alt_over.png" COMP;
-// image: "shelf_alt_over_left.png" COMP;
-// image: "shelf_alt_over_right.png" COMP;
- }
- parts {
- part { name: "base";
- mouse_events: 0;
- description { state: "default" 0.0;
- color_class: "shelf_base";
- image.normal: "shelf_alt_vert_bg.png";
- fill.smooth: 0;
- }
-// description { state: "left" 0.0;
-// image.normal: "shelf_alt_bg_left.png";
-// fill.smooth: 0;
-// }
-// description { state: "right" 0.0;
-// image.normal: "shelf_alt_bg_right.png";
-// fill.smooth: 0;
-// }
- }
- part { name: "e.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 3 3;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -4 -4;
- }
- }
- }
- part { name: "over";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shelf_alt_over.png";
- image.border: 5 5 5 5;
- image.middle: 0;
- fill.smooth: 0;
- }
-// description { state: "left" 0.0;
-// image.normal: "shelf_alt_over_left.png";
-// image.border: 5 5 5 5;
-// image.middle: 0;
-// fill.smooth: 0;
-// }
-// description { state: "right" 0.0;
-// image.normal: "shelf_alt_over_right.png";
-// image.border: 5 5 5 5;
-// image.middle: 0;
-// fill.smooth: 0;
-// }
- }
- }
- /* Because programs can not respond to 2 different types of signals,
- * the programs are split into individual programs that point towards
- * the base program for its orientation. */
- programs {
- /* Left orientation */
-// program { name: "left";
-// signal: "e,state,orientation,left";
-// source: "e";
-// action: STATE_SET "left" 0.0;
-// target: "base";
-// target: "over";
-// target: "shine";
-// }
-// program { name: "left_top";
-// signal: "e,state,orientation,left_top";
-// source: "e";
-// after: "left";
-// }
-// program { name: "left_bottom";
-// signal: "e,state,orientation,left_bottom";
-// source: "e";
-// after: "left";
-// }
-// /* Right orientation */
-// program { name: "right";
-// signal: "e,state,orientation,right";
-// source: "e";
-// action: STATE_SET "right" 0.0;
-// target: "base";
-// target: "over";
-// target: "shine";
-// }
-// program { name: "right_top";
-// signal: "e,state,orientation,right_top";
-// source: "e";
-// after: "right";
-// }
-// program { name: "right_bottom";
-// signal: "e,state,orientation,right_bottom";
-// source: "e";
-// after: "right";
-// }
- }
- }
- group {
- name: "e/shelf/alternate/inset";
- images {
- image: "inset_raised.png" COMP;
- }
- parts {
- part {
- name: "base";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- to: "inset";
- offset: 4 4;
- }
- rel2 {
- to: "inset";
- offset: -5 -5;
- }
- color: 0 0 0 0;
- }
- }
- part {
- name: "clip";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 0 0;
- }
- rel2 {
- to: "base";
- offset: -1 -1;
- }
- }
- }
- part {
- name: "inset";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.offset: -1 -1;
- rel2.offset: 0 0;
- image.normal: "inset_raised.png";
- image.middle: 0;
- image.border: 7 7 7 7;
- fill.smooth: 0;
- }
- }
- }
- }
- group {
- name: "e/shelf/alternate/plain";
- parts {
- part {
- name: "clip";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- }
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: CONNMAN ***/
-
-#define MSG_ID_STRENGTH 1
-
-#define CONNMAN_STATE_PART_ADD() \
- part { \
- name: "state"; \
- type: IMAGE; \
- mouse_events: 0; \
- description { \
- state: "default" 0.0; \
- aspect: 1 1; \
- aspect_preference: BOTH; \
- color: 255 255 255 0; \
- image.normal: "connman_status_ready"; \
- rel1.relative: 0.8 0.8; \
- rel2.relative: 1 1; \
- align: 1 1; \
- min: 8 8; \
- } \
- description { \
- state: "ready" 0.0; \
- inherit: "default" 0.0; \
- color: 255 255 255 255; \
- } \
- description { \
- state: "online" 0.0; \
- inherit: "default" 0.0; \
- color: 255 255 255 255; \
- image.normal: "connman_status_online"; \
- } \
- }
-
-#define CONNMAN_IMAGES_SET(_name, _min) \
- images { \
- set { \
- name: "connman_"##_name; \
- image { \
- image: "connman_"##_name##"_128.png" COMP; \
- size: (_min+1) (_min+1) 1000 1000; \
- } \
- image { \
- image: "connman_"##_name##"_32.png" COMP; \
- size: 1 1 _min _min; \
- } \
- } \
- } \
-
-
-#define CONNMAN_ICON(_icon) \
- group { \
- name: "e/modules/connman/icon/"##_icon; \
- script { \
- public message(Msg_Type:type, id, ...) { \
- if ((type == MSG_INT_SET) && (id == MSG_ID_STRENGTH)) { \
- new state = getarg(2); \
- /* Connecting if in association or configuration */ \
- if ((state == 2)) \
- { \
- set_state(PART:"state", "default", 0.0); \
- run_program(PROGRAM:"connecting"); \
- return; \
- } \
- if ((state == 3)) \
- return; \
- if ((state == 4)) \
- set_state(PART:"state", "ready", 0.0); \
- else if ((state == 5)) \
- set_state(PART:"state", "online", 0.0); \
- else \
- set_state(PART:"state", "default", 0.0); \
- set_state(PART:"icon", "default", 0.0); \
- } \
- } \
- } \
- parts { \
- CONNMAN_IMAGES_SET(_icon, 32) \
- part { \
- name: "icon"; \
- type: IMAGE; \
- mouse_events: 0; \
- description { \
- state: "default" 0.0; \
- aspect: 1 1; \
- aspect_preference: BOTH; \
- image.normal: "connman_"##_icon##; \
- } \
- description { \
- state: "hidden" 0.0; \
- inherit: "default" 0.0; \
- color: 255 255 255 0; \
- } \
- } \
- CONNMAN_STATE_PART_ADD() \
- } \
- programs { \
- program { \
- name: "connecting"; \
- action: STATE_SET "hidden" 0.0; \
- transition: ACCEL 0.3; \
- target: "icon"; \
- after: "connecting,2"; \
- } \
- program { \
- name: "connecting,2"; \
- action: STATE_SET "default" 0.0; \
- transition: DECEL 0.3; \
- target: "icon"; \
- after: "connecting"; \
- } \
- } \
- }
-
-CONNMAN_ICON(bluetooth)
-CONNMAN_ICON(cellular)
-CONNMAN_ICON(ethernet)
-
-#undef CONNMAN_ICON
-
- group {
- name: "e/modules/connman/icon/wifi";
-
-#define CONNMAN_BAR_IMAGES_SET(_name) \
- images { \
- set { \
- name: "wifi_bar_"##_name; \
- image { \
- image: "connman_wifi_"##_name##"_128.png" COMP; \
- /* FIXME: check why it doesn't work */ \
- /* size: 33 33 128 128; \ */ \
- size: 33 33 1000 1000; \
- } \
- image { \
- image: "connman_wifi_"##_name##"_32.png" COMP; \
- size: 1 1 32 32; \
- } \
- } \
- } \
-
-#define CONNMAN_BAR_ON(_name) \
- CONNMAN_BAR_IMAGES_SET(_name) \
- part { \
- name: "bar_"##_name; \
- type: IMAGE; \
- mouse_events: 0; \
- description { \
- state: "default" 0.0; \
- aspect: 1 1; \
- aspect_preference: BOTH; \
- color: 255 255 255 0; \
- image.normal: "wifi_bar_"##_name; \
- } \
- description { \
- state: "visible" 0.0; \
- inherit: "default" 0.0; \
- color: 255 255 255 255; \
- } \
- }
-
-#define CONNMAN_CONNECTING_ON(_cur, _next) \
- program { \
- name: "connecting,"##_cur##",on"; \
- action: STATE_SET "visible" 0.0; \
- transition: ACCELERATE 0.2; \
- target: "bar_"##_cur##"_on"; \
- after: "connecting,"##_cur##",off"; \
- after: "connecting,"##_next##",on"; \
- }
-
-#define CONNMAN_CONNECTING_OFF(_cur) \
- program { \
- name: "connecting,"##_cur##",off"; \
- action: STATE_SET "default" 0.0; \
- transition: DECELERATE 0.2; \
- target: "bar_"##_cur##"_on"; \
- }
-
- script {
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_INT_SET) && (id == MSG_ID_STRENGTH)) {
- new state = getarg(2);
- new Float:str = getarg(3);
-
- /* Connecting if in association or configuration */
- if ((state == 2))
- {
- set_state(PART:"state", "default", 0.0);
- run_program(PROGRAM:"connecting");
- return;
- }
- if ((state == 3))
- return;
-
- if ((state == 4))
- set_state(PART:"state", "ready", 0.0);
- else if ((state == 5))
- set_state(PART:"state", "online", 0.0);
- else
- set_state(PART:"state", "default", 0.0);
-
- set_state(PART:"bar_0_on", "visible", 0.0);
- set_tween_state(PART:"bar_1_on", (str - (100/3) * 0) / (100/3),
- "default", 0.0, "visible", 0.0);
- set_tween_state(PART:"bar_2_on", (str - (100/3) * 1) / (100/3),
- "default", 0.0, "visible", 0.0);
- set_tween_state(PART:"bar_3_on", (str - (100/3) * 2) / (100/3),
- "default", 0.0, "visible", 0.0);
- }
- }
- }
-
- parts {
-
- CONNMAN_BAR_IMAGES_SET(off)
- CONNMAN_BAR_IMAGES_SET(not)
- part {
- name: "bar_off";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- aspect: 1 1;
- aspect_preference: BOTH;
- image.normal: "wifi_bar_off";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
-
- CONNMAN_BAR_ON(0_on)
- CONNMAN_BAR_ON(1_on)
- CONNMAN_BAR_ON(2_on)
- CONNMAN_BAR_ON(3_on)
-
- part {
- name: "bar_not";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- aspect: 1 1;
- aspect_preference: BOTH;
- image.normal: "wifi_bar_not";
- color: 255 255 255 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- CONNMAN_IMAGES_SET(status_ready, 8)
- CONNMAN_IMAGES_SET(status_online, 8)
- CONNMAN_STATE_PART_ADD()
- }
- programs {
- program {
- name: "connman,enabled";
- signal: "e,available";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bar_not";
- target: "bar_off";
- }
- program {
- name: "connman,disabled";
- signal: "e,unavailable";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "bar_0_on";
- target: "bar_1_on";
- target: "bar_2_on";
- target: "bar_3_on";
- after: "connman,disabled,2";
- }
- program {
- name: "connman,disabled,2";
- action: STATE_SET "disabled" 0.0;
- target: "bar_not";
- target: "bar_off";
- }
- program {
- name: "connecting";
- action: STATE_SET "default" 0.0;
- target: "bar_1_on";
- target: "bar_2_on";
- target: "bar_3_on";
- after: "connecting,2";
- }
- program {
- name: "connecting,2";
- action: STATE_SET "visible" 0.0;
- target: "bar_0_on";
- after: "connecting,1,on";
- }
- CONNMAN_CONNECTING_ON(1, 2)
- CONNMAN_CONNECTING_ON(2, 3)
- CONNMAN_CONNECTING_ON(3, 1)
- CONNMAN_CONNECTING_OFF(1)
- CONNMAN_CONNECTING_OFF(2)
- CONNMAN_CONNECTING_OFF(3)
- }
-
-#undef CONNMAN_BAR_IMAGES_SET
-#undef CONNMAN_BAR_ON
-#undef CONNMAN_CONNECTING_ON
-#undef CONNMAN_CONNECTING_OFF
-#undef MSG_ID_STRENGTH
-
- }
-
- group {
- name: "e/modules/connman/main";
-
-#define CONNMAN_TECH_ICON_ADD(_tech) \
- part { \
- name: #_tech##"_icon"; \
- type: GROUP; \
- mouse_events: 0; \
- source: "e/modules/connman/icon/"##_tech; \
- description { \
- state: "default" 0.0; \
- visible: 0; \
- } \
- description { \
- state: "visible" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
- } \
- } \
- program { \
- name: "technology_"##_tech; \
- signal: "e,changed,technology,"##_tech; \
- source: "e"; \
- action: STATE_SET "default" 0.0; \
- target: "wifi_icon"; \
- target: "ethernet_icon"; \
- target: "cellular_icon"; \
- target: "bluetooth_icon"; \
- after: "technology_"##_tech##",2"; \
- } \
- program { \
- name: "technology_"##_tech##",2"; \
- action: STATE_SET "visible" 0.0; \
- target: #_tech##"_icon"; \
- }
-
- parts {
- part {
- name: "eventarea";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- CONNMAN_TECH_ICON_ADD(wifi)
- CONNMAN_TECH_ICON_ADD(ethernet)
- CONNMAN_TECH_ICON_ADD(cellular)
- CONNMAN_TECH_ICON_ADD(bluetooth)
- }
- programs {
- program {
- name: "technology_other";
- signal: "e,changed,technology,other";
- source: "e";
- after: "technology_wifi";
- }
- program {
- name: "connman,disabled";
- signal: "e,unavailable";
- source: "e";
- after: "connman,enabled";
- }
- program {
- name: "connman,enabled";
- signal: "e,available";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "wifi_icon";
- target: "ethernet_icon";
- target: "cellular_icon";
- target: "bluetooth_icon";
- after: "connman,enabled,2";
- }
- program {
- name: "connman,enabled,2";
- action: STATE_SET "visible" 0.0;
- target: "wifi_icon";
- }
- }
-#undef CONNMAN_TECH_ICON_ADD
- }
-
- group {
- name: "e/modules/connman/end";
-
- CONNMAN_IMAGES_SET(security1, 32)
- CONNMAN_IMAGES_SET(security2, 32)
-
- parts {
- part {
- name: "security";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- aspect: 1 1;
- aspect_preference: BOTH;
- color: 255 255 255 0;
- image.normal: "connman_security1";
- }
- description {
- state: "almost_secure" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "secure" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- image.normal: "connman_security2";
- }
- }
- }
- programs {
- program {
- name: "security,off";
- signal: "e,security,off";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "security";
- }
- program {
- name: "security,none";
- signal: "e,security,none";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "security";
- }
- program {
- name: "security,almost_secure";
- signal: "e,security,wep";
- source: "e";
- action: STATE_SET "almost_secure" 0.0;
- target: "security";
- }
- program {
- name: "security,secure";
- signal: "e,security,psk";
- source: "e";
- action: STATE_SET "secure" 0.0;
- target: "security";
- }
- }
- }
-
-#undef CONNMAN_STATE_PART_ADD
-#undef CONNMAN_IMAGES_SET
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: CONF_EDGEBINDINGS ***/
-
-/* This group draws the edge and corners for the user to pick.
- * XXX: Needs some love from masters of the brush! */
-
- group {
- name: "e/modules/conf_edgebindings/selection";
- parts {
- part {
- name: "e.swallow.background";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 210 150;
- rel1.offset: 4 4;
- rel2 {
- relative: 0.5 1;
- offset: -2 -5;
- }
- }
- }
- part {
- name: "e.edge.top_left";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- to: "e.swallow.background";
- }
- rel2 {
- relative: 0 0;
- offset: 20 20;
- to: "e.swallow.background";
- }
- color: 255 0 0 150;
- }
- }
- part {
- name: "e.edge.top";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- offset: 20 0;
- to: "e.swallow.background";
- }
- rel2 {
- relative: 1 0;
- offset: -20 15;
- to: "e.swallow.background";
- }
- color: 255 255 0 150;
- }
- }
- part {
- name: "e.edge.top_right";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1 0;
- offset: -20 0;
- to: "e.swallow.background";
- }
- rel2 {
- relative: 1 0;
- offset: 0 20;
- to: "e.swallow.background";
- }
- color: 255 0 0 150;
- }
- }
- part {
- name: "e.edge.right";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1 0;
- offset: -15 20;
- to: "e.swallow.background";
- }
- rel2 {
- relative: 1 1;
- offset: 0 -20;
- to: "e.swallow.background";
- }
- color: 255 255 0 150;
- }
- }
- part {
- name: "e.edge.bottom_right";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1 1;
- offset: -20 -20;
- to: "e.swallow.background";
- }
- rel2 {
- relative: 1 1;
- offset: 0 0;
- to: "e.swallow.background";
- }
- color: 255 0 0 150;
- }
- }
- part {
- name: "e.edge.bottom";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0 1;
- offset: 20 -15;
- to: "e.swallow.background";
- }
- rel2 {
- relative: 1 1;
- offset: -20 0;
- to: "e.swallow.background";
- }
- color: 255 255 0 150;
- }
- }
- part {
- name: "e.edge.bottom_left";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0 1;
- offset: 0 -20;
- to: "e.swallow.background";
- }
- rel2 {
- relative: 0 1;
- offset: 20 0;
- to: "e.swallow.background";
- }
- color: 255 0 0 150;
- }
- }
- part {
- name: "e.edge.left";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0 0;
- offset: 0 20;
- to: "e.swallow.background";
- }
- rel2 {
- relative: 0 1;
- offset: 15 -20;
- to: "e.swallow.background";
- }
- color: 255 255 0 150;
- }
- }
- part {
- name: "e.swallow.check";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1 1;
- offset: 5 4;
- to_x: "e.swallow.background";
- to_y: "e.text.description";
- }
- rel2 {
- relative: 1 1;
- offset: -5 24;
- to_y: "e.text.description";
- }
- }
- }
- part {
- name: "e.swallow.slider";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1 1;
- offset: 5 1;
- to_x: "e.edge.bottom_right";
- to_y: "e.swallow.check";
- }
- rel2 {
- relative: 1 1;
- offset: -5 -1;
- }
- }
- }
- part {
- name: "e.text.description";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1 0;
- offset: 5 4;
- to_x: "e.swallow.background";
- }
- rel2 {
- relative: 1 1;
- offset: -5 -45;
- }
- text {
- style: "dialog_style";
- min: 1 1;
- }
- }
- }
- part {
- name: "e.text.selection";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- rel1 {
- relative: 1 1;
- offset: 5 5;
- to: "e.edge.top_left";
- }
- rel2 {
- relative: 0 0;
- offset: -5 -5;
- to: "e.edge.bottom_right";
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- text {
- font: "Sans:style=Bold";
- size: 12;
- align: 0.5 0.5;
- fit: 1 1;
- }
- }
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: START ***/
-
- /* This is for the "start" module - i.e. a "start" button. It simply
- * provides such a button/gadget in a shelf that pops up E's main
- * menu - a nice familiarity feature for those from the windows world.
- * Other than that it really does nothing, so this button can be quite
- * imaginative as it has few functional requirements */
-
- group {
- name: "e/modules/start/main";
- max: 128 128;
- images {
- image: "logo_white_128.png" COMP;
- image: "logo_black_128.png" COMP;
- }
- parts {
- part {
- name: "base";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "logo_white_128.png";
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- }
- }
- part {
- name: "over";
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.relative: -0.5 -0.5;
- rel2.relative: 1.5 1.5;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "logo_black_128.png";
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- }
- programs {
- program {
- name: "on";
- signal: "e,state,focused";
- source: "e";
- action: STATE_SET "active" 0.0;
- transition: LINEAR 0.2;
- target: "base";
- target: "over";
- }
- program {
- name: "off";
- signal: "e,state,unfocused";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.3;
- target: "base";
- target: "over";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: PAGER ***/
-
- group {
- name: "e/modules/pager/popup";
- images {
- image: "base_bg.png" COMP;
- image: "bd_top_hilight.png" COMP;
- image: "bd_title_bg.png" COMP;
- image: "bd_title_over.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "base_bg.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "top_hilight";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 15;
- }
- image.normal: "bd_top_hilight.png";
- fill.smooth: 0;
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 0;
- }
- rel2 {
- to_y: "e.text.label";
- relative: 1.0 1.0;
- offset: -5 -4;
- }
- image {
- normal: "bd_title_bg.png";
- border: 7 7 2 7;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SOFT_SHADOW;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- text {
- font: "Sans:style=Bold";
- size: 10;
- align: 0.5 0.0;
- min: 1 1;
- }
- }
- }
- part {
- name: "title_over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "title_back";
- rel2.to: "title_back";
- image {
- normal: "bd_title_over.png";
- border: 7 7 2 7;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- to_y: "e.text.label";
- relative: 0.0 1.0;
- offset: 12 11;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -13 -13;
- }
- }
- }
- }
- }
- group {
- name: "e/modules/pager/desk";
- images {
- image: "pager_base1.png" COMP;
- image: "pager_base2.png" COMP;
- image: "pager_hi1.png" COMP;
- image: "pager_hi2.png" COMP;
- image: "pager_base_pattern.png" COMP;
- }
- script {
- public disable_live_preview = 0;
- public show_desk_names = 0;
- public mouse_in = 0;
- }
- parts {
- part {
- name: "zoom";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.offset: 0 0;
- rel2.offset: -1 -1;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- rel1.offset: -3 -3;
- rel2.offset: 2 2;
- }
- }
- part {
- name: "base";
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- to: "zoom";
- offset: -1 -1;
- }
- rel2 {
- to: "zoom";
- offset: 0 0;
- }
- image.normal: "pager_base2.png";
- image.border: 5 5 5 5;
- fill.smooth: 0;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "base2";
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- to: "zoom";
- offset: -11 -11;
- }
- rel2 {
- to: "zoom";
- offset: 10 10;
- }
- image.normal: "pager_base1.png";
- image.border: 5 5 5 5;
- fill.smooth: 0;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1.offset: -1 -1;
- rel2.offset: 0 0;
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.background";
- type: SWALLOW;
- clip_to: "bg_clip";
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 3 3;
- }
- rel2 {
- to: "base";
- offset: -4 -4;
- }
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "bg_clip";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 200;
- rel1.to: "e.background";
- rel2.to: "e.background";
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "pattern";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "over2";
- rel2.to: "over2";
- image.normal: "pager_base_pattern.png";
- fill.size.relative: 0.0 0.0;
- fill.size.offset: 12 12;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "clip";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 128;
- rel1 {
- to: "base";
- offset: 4 4;
- }
- rel2 {
- to: "base";
- offset: -5 -5;
- }
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1.to: "clip";
- rel2.to: "clip";
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "clip";
- rel2.to: "clip";
- color: 0 0 0 0;
- color_class: "module_label";
- text {
- font: "Sans:style=Bold";
- size: 8;
- align: 0.5 0.5;
- text_class: "module_small";
- }
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- }
- }
- part {
- name: "over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- image.normal: "pager_hi2.png";
- rel1 {
- to: "base";
- offset: 3 3;
- }
- rel2 {
- to: "base";
- offset: -4 -4;
- }
- image.border: 2 2 2 2;
- image.middle: 0;
- fill.smooth: 0;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- }
- }
- part {
- name: "over2";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- image.normal: "pager_hi1.png";
- rel1 {
- to: "base2";
- offset: 3 3;
- }
- rel2 {
- to: "base2";
- offset: -4 -4;
- }
- image.border: 2 2 2 2;
- image.middle: 0;
- fill.smooth: 0;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.eventarea";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- }
- programs {
- program {
- name: "select";
- signal: "e,state,selected";
- source: "e";
- script {
- if (get_int(disable_live_preview) == 1) {
- set_state(PART:"base", "active", 0.0);
- set_state(PART:"base2", "active", 0.0);
- set_state(PART:"pattern", "active", 0.0);
- set_state(PART:"clip", "active", 0.0);
- set_state(PART:"over", "active", 0.0);
- set_state(PART:"over2", "active", 0.0);
- } else {
- set_state(PART:"bg_clip", "active", 0.0);
- set_state(PART:"clip", "active", 0.0);
- }
- }
- transition: LINEAR 0.2;
- }
- program {
- name: "unselect";
- signal: "e,state,unselected";
- source: "e";
- script {
- if (get_int(disable_live_preview) == 1) {
- set_state(PART:"base", "default", 0.0);
- set_state(PART:"base2", "default", 0.0);
- set_state(PART:"pattern", "default", 0.0);
- set_state(PART:"clip", "default", 0.0);
- set_state(PART:"over", "default", 0.0);
- set_state(PART:"over2", "default", 0.0);
- } else {
- set_state(PART:"bg_clip", "default", 0.0);
- set_state(PART:"clip", "default", 0.0);
- }
- }
- transition: LINEAR 0.3;
- }
- program {
- name: "preview";
- signal: "e,preview,on";
- source: "e";
- script {
- set_int(disable_live_preview, 0);
- set_state(PART:"bg_clip", "default", 0.0);
- set_state(PART:"e.background", "default", 0.0);
- set_state(PART:"base", "hidden", 0.0);
- set_state(PART:"base2", "hidden", 0.0);
- set_state(PART:"pattern", "default", 0.0);
- set_state(PART:"over", "active", 0.0);
- set_state(PART:"over2", "default", 0.0);
- }
- transition: LINEAR 0.3;
- }
- program {
- name: "preview_off";
- signal: "e,preview,off";
- source: "e";
- script {
- set_int(disable_live_preview, 1);
- set_state(PART:"bg_clip", "hidden", 0.0);
- set_state(PART:"e.background", "hidden", 0.0);
- set_state(PART:"base", "default", 0.0);
- set_state(PART:"base2", "default", 0.0);
- }
- transition: LINEAR 0.3;
- }
- program {
- name: "drg";
- signal: "e,action,drag,in";
- source: "e";
- action: STATE_SET "active" 0.0;
- transition: SINUSOIDAL 0.2;
- target: "zoom";
- after: "drg2";
- }
- program {
- name: "drg2";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.2;
- target: "zoom";
- after: "drg";
- }
- program {
- name: "ndrg";
- signal: "e,action,drag,out";
- source: "e";
- action: ACTION_STOP;
- target: "drg";
- target: "drg2";
- after: "ndrg2";
- }
- program {
- name: "ndrg2";
- action: STATE_SET "default" 0.0;
- target: "zoom";
- }
- program {
- name: "name_enable";
- signal: "e,name,show";
- source: "e";
- script {
- set_int(show_desk_names, 1);
- set_state(PART:"e.text.label", "active", 0.0);
- }
- }
- program {
- name: "name_disable";
- signal: "e,name,hide";
- source: "e";
- script {
- set_int(show_desk_names, 0);
- if (!get_int(mouse_in))
- set_state(PART:"e.text.label", "default", 0.0);
- }
- }
- program {
- name: "name_show";
- signal: "mouse,in";
- source: "e.eventarea";
- script {
- if (get_int(show_desk_names) != 1)
- set_state(PART:"e.text.label", "active", 0.0);
- set_int(mouse_in, 1);
- }
- transition: SINUSOIDAL 0.1;
- }
- program {
- name: "name_hide";
- signal: "mouse,out";
- source: "e.eventarea";
- script {
- if (get_int(show_desk_names) != 1)
- set_state(PART:"e.text.label", "default", 0.0);
- set_int(mouse_in, 0);
- }
-
- transition: SINUSOIDAL 0.2;
- }
- // don't have any states/anim for urgent windows on a desktop
- // program { name: "xx";
- // signal: "e,state,urgent";
- // source: "e";
- // }
- // don't have any states/anim for urgent windows on a desktop
- // program { name: "xx";
- // signal: "e,state,not_urgent";
- // source: "e";
- // }
- }
- }
- group {
- name: "e/modules/pager/window";
- images {
- image: "pager_window.png" COMP;
- image: "pager_window_unsel.png" COMP;
- image: "exclam.png" COMP;
- }
- parts {
- part {
- name: "icon_area";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "icon_area2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- 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: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "icon_area2";
- offset: -3 -3;
- }
- rel2 {
- to: "icon_area2";
- offset: 2 2;
- }
- image.normal: "pager_window_unsel.png";
- image.border: 9 9 7 6;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "pager_window.png";
- }
- }
- part {
- name: "e.swallow.icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 1.0 1.0;
- max: 24 24;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to: "base";
- offset: 4 7;
- }
- rel2 {
- to: "base";
- offset: -5 -7;
- }
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "base";
- offset: 2 2;
- }
- rel2 {
- to: "base";
- offset: -3 -3;
- }
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "urgent";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "urgent2";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "exclam.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 -1.0;
- rel2.relative: 2.0 2.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- }
- programs {
- program {
- name: "preview";
- signal: "e,preview,on";
- source: "e";
- script {
- set_state(PART:"e.swallow.content", "default", 0.0);
- set_state(PART:"e.swallow.icon", "hidden", 0.0);
- }
- }
- program {
- name: "preview_off";
- signal: "e,preview,off";
- source: "e";
- script {
- set_state(PART:"e.swallow.content", "hidden", 0.0);
- set_state(PART:"e.swallow.icon", "default", 0.0);
- }
- }
- program {
- name: "focus_in";
- signal: "e,state,focused";
- source: "e";
- action: STATE_SET "focused" 0.0;
- target: "base";
- }
- program {
- name: "focus_out";
- signal: "e,state,unfocused";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- program {
- name: "urgent";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: DECELERATE 0.5;
- target: "urgent";
- target: "urgent2";
- after: "urgent2";
- }
- program {
- name: "urgent2";
- action: STATE_SET "faded" 0.0;
- transition: LINEAR 0.5;
- target: "urgent2";
- after: "urgent3";
- }
- program {
- name: "urgent3";
- action: STATE_SET "visible" 0.0;
- target: "urgent2";
- after: "urgent2";
- }
- program {
- name: "urgentw0";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw1";
- }
- program {
- name: "urgentw1";
- action: STATE_SET "uw1" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw2";
- }
- program {
- name: "urgentw2";
- action: STATE_SET "uw2" 0.0;
- target: "icon_area2";
- transition: DECELERATE 0.1;
- after: "urgentw3";
- }
- program {
- name: "urgentw3";
- action: STATE_SET "uw3" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw4";
- }
- program {
- name: "urgentw4";
- action: STATE_SET "uw4" 0.0;
- transition: DECELERATE 0.1;
- target: "icon_area2";
- after: "urgentw0";
- }
- program {
- name: "not_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- target: "urgentw0";
- target: "urgentw1";
- target: "urgentw2";
- target: "urgentw3";
- target: "urgentw4";
- target: "urgent";
- target: "urgent2";
- target: "urgent3";
- after: "not_urgent2";
- }
- program {
- name: "not_urgent2";
- action: STATE_SET "default" 0.0;
- target: "urgent";
- target: "urgent2";
- target: "icon_area2";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: BATTERY ***/
-
- group {
- name: "e/modules/battery/main";
- images {
- image: "batt_base.png" COMP;
- image: "batt_level.png" COMP;
- image: "batt_over.png" COMP;
- image: "batt_power.png" COMP;
- }
- min: 16 16;
- max: 128 128;
- script {
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_FLOAT) && (id == 1)) {
- new Float:val;
- new r;
- new g;
- new b;
- val = getfarg(2);
- if (val < 0.35) {
- new Float:val1;
- new Float:val2;
- val1 = val - 0.10;
- if (val1 < 0.0) val1 = 0.0;
- val2 = 0.125 - val1;
- if (val2 < 0.0) val2 = 0.0;
- val2 = val2 / 0.125;
- r = round(val2 * 255.0, ROUND);
- val2 = val1;
- if (val2 > 0.125) val2 = 0.125;
- val2 = val2 / 0.125;
- g = round(val2 * 255.0, ROUND);
- b = 0;
- }
- else {
- r = 0;
- g = 255;
- b = 0;
- }
- custom_state(PART:"fill", "default", 0.0);
- set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
- set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
- set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
- set_state(PART:"fill", "custom", 0.0);
-
- custom_state(PART:"fill_clip", "default", 0.0);
- set_state_val(PART:"fill_clip", STATE_REL1, 0.0, 1.0 - val);
- set_state(PART:"fill_clip", "custom", 0.0);
- }
- }
- }
- parts {
- part { name: "fade_clip";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "faded" 0.0;
- color: 255 255 255 160;
- }
- }
- part { name: "info_clip";
- type: RECT;
- mouse_events: 0;
- clip_to: "fade_clip";
- description { state: "default" 0.0;
- color: 255 255 255 0;
- }
- description { state: "visible" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "pulse_clip";
- type: RECT;
- mouse_events: 0;
- clip_to: "fade_clip";
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "faded" 1.0;
- color: 255 255 255 255;
- }
- description { state: "faded" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "fill_region";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: 0.0 (26/128);
- rel2.relative: 1.0 ((128-14)/128);
- }
- }
- part { name: "fill_clip";
- type: RECT;
- mouse_events: 0;
- clip_to: "pulse_clip";
- description { state: "default" 0.0;
- rel1.to: "fill_region";
- rel1.relative: 0.0 0.5;
- rel2.to: "fill_region";
- color: 255 255 255 255;
- }
- }
- part { name: "base";
- clip_to: "pulse_clip";
- description { state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "batt_base.png";
- }
- }
- part { name: "fill";
- mouse_events: 0;
- clip_to: "fill_clip";
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "batt_level.png";
- }
- }
- part { name: "over";
- mouse_events: 0;
- clip_to: "pulse_clip";
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "batt_over.png";
- }
- }
- part { name: "power";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "batt_power.png";
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "e.text.reading";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
- clip_to: "info_clip";
- effect: OUTLINE;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- rel1.relative: 0.5 0.0;
- rel2.relative: 1.0 0.3;
- color: 0 0 0 255;
- color2: 255 255 255 128;
- color_class: "module_label";
- text {
- font: "Sans";
- size: 8;
- min: 1 1;
- align: 1.0 0.5;
- text_class: "module_small";
- }
- }
- }
- part { name: "e.text.time";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
- clip_to: "info_clip";
- effect: OUTLINE;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- rel1.relative: 0.5 0.3;
- rel2.relative: 1.0 0.6;
- color: 0 0 0 255;
- color2: 255 255 255 128;
- color_class: "module_label";
- text {
- font: "Sans";
- size: 8;
- min: 1 1;
- align: 1.0 0.5;
- text_class: "module_small";
- }
- }
- }
- }
- programs {
- program { name: "hover1";
- signal: "mouse,in";
- source: "base";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.3;
- target: "info_clip";
- }
- program { name: "hover2";
- signal: "mouse,out";
- source: "base";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.3;
- target: "info_clip";
- }
- program { name: "charge";
- signal: "e,state,charging";
- source: "e";
- action: STATE_SET "visible" 0.0;
- target: "power";
- }
- program { name: "discharge";
- signal: "e,state,discharging";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "power";
- }
- program { name: "unknown";
- signal: "e,state,unknown";
- source: "e";
- action: STATE_SET "faded" 0.0;
- target: "fade_clip";
- }
- program { name: "pulse";
- signal: "e,action,pulse,start";
- source: "e";
- action: STATE_SET "faded" 0.0;
- transition: ACCELERATE 0.3;
- after: "pulse2";
- target: "pulse_clip";
- }
- program { name: "pulse2";
- action: STATE_SET "faded" 1.0;
- transition: ACCELERATE 0.1;
- target: "pulse_clip";
- }
- program { name: "pulsestop";
- signal: "e,action,pulse,stop";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "pulse_clip";
- }
- }
- }
- group {
- name: "e/modules/battery/popup";
- min: 240 64;
- parts {
- part {
- name: "battery";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 120 120;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 0.0 0.5;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.text.title";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: battery;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.5;
- offset: -1 -1;
- }
- color: 0 0 0 255;
- text {
- text: "Your battery is low!";
- font: "Sans:style=Bold";
- size: 10;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "module_large";
- }
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 0.5;
- to_x: battery;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 0 0 0 255;
- text {
- text: "AC power is recommended.";
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "module_normal";
- }
- }
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: TEMPERATURE ***/
-
- group {
- name: "e/modules/temperature/main";
- images {
- image: "temp_base.png" COMP;
- image: "temp_mid.png" COMP;
- image: "temp_over.png" COMP;
- }
- min: 16 16;
- max: 128 128;
- script {
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_FLOAT) && (id == 1)) {
- new Float:val;
- val = getfarg(2);
- set_drag(PART:"temp_top", 0.0, val);
- }
- }
- }
- parts {
- part {
- name: "base";
- clip_to: "fade_clip";
- description {
- state: "default" 0.0;
- aspect: 0.387 0.387;
- aspect_preference: BOTH;
- align: 0.5 0.5;
- max: 48 124;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- image {
- normal: "temp_base.png";
- }
- }
- }
- part {
- name: "temp";
- clip_to: "temp_clip";
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- }
- rel2 {
- to: "base";
- }
- image {
- normal: "temp_mid.png";
- }
- }
- }
- part {
- name: "overlay";
- clip_to: "fade_clip";
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- }
- rel2 {
- to: "base";
- }
- image {
- normal: "temp_over.png";
- }
- }
- }
- part {
- name: "e.text.reading";
- type: TEXT;
- scale: 1;
- effect: OUTLINE_SOFT_SHADOW;
- clip_to: "fade_clip";
- description {
- state: "default" 0.0;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "temp";
- }
- rel2 {
- relative: 1.0 0.0;
- }
- color: 255 255 255 0;
- color2: 0 0 0 0;
- color3: 0 0 0 0;
- color_class: "module_label";
- text {
- font: "Sans:style=Bold";
- size: 8;
- min: 1 1;
- align: 0.0 0.0;
- text_class: "module_small";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- color2: 0 0 0 128;
- color3: 0 0 0 32;
- }
- }
- part {
- name: "fade_clip";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- color: 255 255 255 128;
- }
- }
- part {
- name: "temp_clip";
- type: RECT;
- clip_to: "fade_clip";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "base";
- to_y: "temp_top";
- }
- rel2 {
- to: "base";
- }
- }
- }
- part {
- name: "temp_top";
- type: RECT;
- dragable {
- x: 0 0 0;
- y: -1 1 0;
- confine: "temp_limit";
- }
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "temp_limit";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 0.0 0.081;
- to: "base";
- }
- rel2 {
- relative: 1.0 0.637;
- to: "base";
- }
- }
- }
- part {
- name: "over";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "hover1";
- signal: "mouse,in";
- source: "over";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.3;
- target: "e.text.reading";
- }
- program {
- name: "hover2";
- signal: "mouse,out";
- source: "over";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 1.0;
- target: "e.text.reading";
- }
- program {
- name: "known";
- signal: "e,state,known";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "fade_clip";
- }
- program {
- name: "unknown";
- signal: "e,state,unknown";
- source: "e";
- action: STATE_SET "faded" 0.0;
- target: "fade_clip";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: BACKLIGHT ***/
- group { name: "e/modules/backlight/main";
- images {
- image: "bulb-0.png" COMP;
- image: "bulb-1.png" COMP;
- image: "bulb-2.png" COMP;
- }
- min: 16 16;
- max: 128 128;
- script {
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_FLOAT) && (id == 0)) {
- new Float:val;
- val = getfarg(2);
- set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0);
- set_tween_state(PART:"glow2", val, "default", 0.0, "full", 0.0);
- }
- }
- }
- parts {
- part {
- name: "glow";
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "bulb-1.png";
- color: 255 255 255 0;
- }
- description { state: "full" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "base";
- description { state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "bulb-0.png";
- }
- }
- part {
- name: "glow2";
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "bulb-2.png";
- color: 255 255 255 0;
- }
- description { state: "full" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- }
- }
-
-/////////////////////////////////////////////////////////////////////////////
-
-/*** MOD: CLOCK ***/
- group { name: "e/modules/clock/digital";
- min: 56 16;
- max: 512 128;
- 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: "flip_amt.png" COMP;
- image: "flip_amb.png" COMP;
- image: "flip_pmt.png" COMP;
- image: "flip_pmb.png" COMP;
- image: "flip_colon.png" COMP;
- }
- script {
-#define DIGPRG(nom, ns) \
- public ns ## v0_cur, ns ## v0_pre, ns ## v0_lock, ns ## v0_next; \
- public ns ## animator2(val, Float:pos) { \
- new st1[11], st2[11], v; \
- v = get_int(ns ## v0_cur); \
- snprintf(st1, 10, "%ih", v); \
- snprintf(st2, 10, "%i", v); \
- set_tween_state(PART:nom"bot", pos, st1, 0.0, st2, 0.0); \
- set_tween_state(PART:nom"sh", pos, "half", 0.0, "full", 0.0); \
- if (pos >= 1.0) { \
- set_state(PART:nom"sh", "default", 0.0); \
- set_int(ns ## v0_lock, 0); \
- } \
- } \
- public ns ## animator1(val, Float:pos) { \
- new st1[11], st2[11], v; \
- v = get_int(ns ## v0_pre); \
- snprintf(st1, 10, "%i", v); \
- snprintf(st2, 10, "%ih", v); \
- set_tween_state(PART:nom"top", pos, st1, 0.0, st2, 0.0); \
- set_tween_state(PART:nom"sh", pos, "default", 0.0, "half", 0.0); \
- if (pos >= 1.0) anim(0.1, #ns"animator2", val); \
- } \
- public ns ## valset(value) { \
- new v, buf[11]; \
- v = get_int(ns ## v0_cur); \
- if (v == value) return; \
- if (get_int(ns ## v0_lock) == 1) { \
- set_state(PART:nom"sh", "default", 0.0); \
- } \
- set_int(ns ## v0_pre, v); \
- set_int(ns ## v0_cur, value); \
- set_int(ns ## v0_lock, 1); \
- snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \
- set_state(PART:nom"bot0", buf, 0.0); \
- snprintf(buf, 10, "%ih", get_int(ns ## v0_cur)); \
- set_state(PART:nom"bot", buf, 0.0); \
- snprintf(buf, 10, "%i", get_int(ns ## v0_cur)); \
- set_state(PART:nom"top0", buf, 0.0); \
- snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \
- set_state(PART:nom"top", buf, 0.0); \
- set_state(PART:nom"sh", "default", 0.0); \
- anim(0.1, #ns"animator1", 1); \
- }
-
- DIGPRG("s1", s1)
- DIGPRG("s2", s2)
-
- DIGPRG("m1", m1)
- DIGPRG("m2", m2)
-
- DIGPRG("h1", h1)
- DIGPRG("h2", h2)
-
- DIGPRG("ap", ap)
-
- public do_seconds, do_24h, tick_timer;
-
- public clock_cb(val) {
- new year, month, day, yearday, weekday, hour, minute;
- new Float:second;
- new v, dosec, do24h, tim;
-
- date(year, month, day, yearday, weekday, hour, minute, second);
- dosec = get_int(do_seconds);
- if (dosec) {
- v = round(second);
- tim = timer(1.0 - (second - v), "clock_cb", 1);
- // set seconds to v
- s1valset(v / 10);
- s2valset(v % 10);
- }
- else {
- tim = timer(60.0 - (second), "clock_cb", 1);
- }
- set_int(tick_timer, tim);
-
- // set minutes to minute
- m1valset(minute / 10);
- m2valset(minute % 10);
-
- // set hours to hour
- do24h = get_int(do_24h);
- if (do24h) {
- h1valset(hour / 10);
- h2valset(hour % 10);
- }
- else {
- new pm;
-
- // if 12 or later, its pm
- if (hour >= 12) {
- pm = 1;
- // if we are after 12 (1, 2, 3 etc.) then mod by 12
- if (hour > 12) hour = hour % 12;
- }
- else {
- pm = 0;
- // make after midnight be 12:XX AM :)
- if (hour == 0) hour = 12;
- }
- h1valset(hour / 10);
- h2valset(hour % 10);
- apvalset(pm);
- }
- }
-
- public eval_fields() {
- new do24h, dosec;
-
- dosec = get_int(do_seconds);
- do24h = get_int(do_24h);
- custom_state(PART:"hours1", "default", 0.0);
- custom_state(PART:"hours2", "default", 0.0);
- custom_state(PART:"mins1", "default", 0.0);
- custom_state(PART:"mins2", "default", 0.0);
- custom_state(PART:"secs1", "default", 0.0);
- custom_state(PART:"secs2", "default", 0.0);
- custom_state(PART:"ampm", "default", 0.0);
- if ((dosec) && (!do24h)) { // sec + ampm
- set_state_val(PART:"hours1", STATE_REL1, (0.0/16.0), 0.0);
- set_state_val(PART:"hours1", STATE_REL2, (2.0/16.0), 1.0);
- set_state_val(PART:"hours2", STATE_REL1, (2.0/16.0), 0.0);
- set_state_val(PART:"hours2", STATE_REL2, (4.0/16.0), 1.0);
- set_state_val(PART:"mins1", STATE_REL1, (5.0/16.0), 0.0);
- set_state_val(PART:"mins1", STATE_REL2, (7.0/16.0), 1.0);
- set_state_val(PART:"mins2", STATE_REL1, (7.0/16.0), 0.0);
- set_state_val(PART:"mins2", STATE_REL2, (9.0/16.0), 1.0);
- set_state_val(PART:"secs1", STATE_REL1, (10.0/16.0), 0.0);
- set_state_val(PART:"secs1", STATE_REL2, (12.0/16.0), 1.0);
- set_state_val(PART:"secs2", STATE_REL1, (12.0/16.0), 0.0);
- set_state_val(PART:"secs2", STATE_REL2, (14.0/16.0), 1.0);
- set_state_val(PART:"ampm", STATE_REL1, (14.0/16.0), 0.0);
- set_state_val(PART:"ampm", STATE_REL2, (16.0/16.0), 1.0);
- set_min_size(16 * 4, 16);
- set_max_size(16 * 32, 128);
- }
- else if ((dosec) && (do24h)) { // sec + -
- set_state_val(PART:"hours1", STATE_REL1, (0.0/14.0), 0.0);
- set_state_val(PART:"hours1", STATE_REL2, (2.0/14.0), 1.0);
- set_state_val(PART:"hours2", STATE_REL1, (2.0/14.0), 0.0);
- set_state_val(PART:"hours2", STATE_REL2, (4.0/14.0), 1.0);
- set_state_val(PART:"mins1", STATE_REL1, (5.0/14.0), 0.0);
- set_state_val(PART:"mins1", STATE_REL2, (7.0/14.0), 1.0);
- set_state_val(PART:"mins2", STATE_REL1, (7.0/14.0), 0.0);
- set_state_val(PART:"mins2", STATE_REL2, (9.0/14.0), 1.0);
- set_state_val(PART:"secs1", STATE_REL1, (10.0/14.0), 0.0);
- set_state_val(PART:"secs1", STATE_REL2, (12.0/14.0), 1.0);
- set_state_val(PART:"secs2", STATE_REL1, (12.0/14.0), 0.0);
- set_state_val(PART:"secs2", STATE_REL2, (14.0/14.0), 1.0);
- set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0);
- set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0);
- set_min_size(14 * 4, 16);
- set_max_size(14 * 32, 128);
- }
- else if ((!dosec) && (!do24h)) { // - + ampm
- set_state_val(PART:"hours1", STATE_REL1, (0.0/11.0), 0.0);
- set_state_val(PART:"hours1", STATE_REL2, (2.0/11.0), 1.0);
- set_state_val(PART:"hours2", STATE_REL1, (2.0/11.0), 0.0);
- set_state_val(PART:"hours2", STATE_REL2, (4.0/11.0), 1.0);
- set_state_val(PART:"mins1", STATE_REL1, (5.0/11.0), 0.0);
- set_state_val(PART:"mins1", STATE_REL2, (7.0/11.0), 1.0);
- set_state_val(PART:"mins2", STATE_REL1, (7.0/11.0), 0.0);
- set_state_val(PART:"mins2", STATE_REL2, (9.0/11.0), 1.0);
- set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0);
- set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0);
- set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0);
- set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0);
- set_state_val(PART:"ampm", STATE_REL1, (9.0/11.0), 0.0);
- set_state_val(PART:"ampm", STATE_REL2, (11.0/11.0), 1.0);
- set_min_size(11 * 4, 16);
- set_max_size(11 * 32, 128);
- }
- else if ((!dosec) && (do24h)) { // - + -
- set_state_val(PART:"hours1", STATE_REL1, (0.0/9.0), 0.0);
- set_state_val(PART:"hours1", STATE_REL2, (2.0/9.0), 1.0);
- set_state_val(PART:"hours2", STATE_REL1, (2.0/9.0), 0.0);
- set_state_val(PART:"hours2", STATE_REL2, (4.0/9.0), 1.0);
- set_state_val(PART:"mins1", STATE_REL1, (5.0/9.0), 0.0);
- set_state_val(PART:"mins1", STATE_REL2, (7.0/9.0), 1.0);
- set_state_val(PART:"mins2", STATE_REL1, (7.0/9.0), 0.0);
- set_state_val(PART:"mins2", STATE_REL2, (9.0/9.0), 1.0);
- set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0);
- set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0);
- set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0);
- set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0);
- set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0);
- set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0);
- set_min_size(9 * 4, 16);
- set_max_size(9 * 32, 128);
- }
- set_state(PART:"hours1", "custom", 0.0);
- set_state(PART:"hours2", "custom", 0.0);
- set_state(PART:"mins1", "custom", 0.0);
- set_state(PART:"mins2", "custom", 0.0);
- set_state(PART:"secs1", "custom", 0.0);
- set_state(PART:"secs2", "custom", 0.0);
- set_state(PART:"ampm", "custom", 0.0);
- emit("e,state,sizing,changed", "");
- }
- }
- parts {
- part { name: "hclip"; type: RECT;
- description { state: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- visible: 0;
- }
- }
- part { name: "mclip"; type: RECT;
- description { state: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- visible: 0;
- }
- }
- part { name: "sclip"; type: RECT;
- description { state: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- visible: 0;
- }
- }
- part { name: "ampmclip"; type: RECT;
- description { state: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- visible: 0;
- }
- }
- part { name: "hours1"; type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: (0/16) 0.0;
- rel2.relative: (2/16) 1.0;
- }
- }
- part { name: "hours2"; type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: (2/16) 0.0;
- rel2.relative: (4/16) 1.0;
- }
- }
- part { name: "hcolon1";
- clip_to: "mclip";
- description { state: "default" 0.0;
- rel1.to: "hours2";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to: "mins1";
- rel2.relative: 0.0 1.0;
- rel2.offset: 0 0;
- image.normal: "flip_colon.png";
- min: 2 4;
- aspect: 0.25 0.25;
- aspect_preference: BOTH;
- }
- }
- part { name: "hcolon2";
- clip_to: "mclip";
- description { state: "default" 0.0;
- rel1.to: "hcolon1";
- rel1.offset: -1 -1;
- rel2.to: "hcolon1";
- rel2.offset: -2 -2;
- color: 0 0 0 255;
- image.normal: "flip_colon.png";
- }
- }
- part { name: "mins1"; type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: (5/16) 0.0;
- rel2.relative: (7/16) 1.0;
- }
- }
- part { name: "mins2"; type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: (7/16) 0.0;
- rel2.relative: (9/16) 1.0;
- }
- }
- part { name: "mcolon1";
- clip_to: "sclip";
- description { state: "default" 0.0;
- rel1.to: "mins2";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to: "secs1";
- rel2.relative: 0.0 1.0;
- rel2.offset: 0 0;
- image.normal: "flip_colon.png";
- min: 2 4;
- aspect: 0.25 0.25;
- aspect_preference: BOTH;
- }
- }
- part { name: "mcolon2";
- clip_to: "sclip";
- description { state: "default" 0.0;
- rel1.to: "mcolon1";
- rel1.offset: -1 -1;
- rel2.to: "mcolon1";
- rel2.offset: -2 -2;
- color: 0 0 0 255;
- image.normal: "flip_colon.png";
- }
- }
- part { name: "secs1"; type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: (10/16) 0.0;
- rel2.relative: (12/16) 1.0;
- }
- }
- part { name: "secs2"; type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: (12/16) 0.0;
- rel2.relative: (14/16) 1.0;
- }
- }
- part { name: "ampm"; type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- rel1.relative: (14/16) 0.0;
- rel2.relative: (16/16) 1.0;
- }
- }
-
-#define DIGIT(nom, relto, clipto) \
- part { name: nom"base"; \
- scale: 1; \
- description { state: "default" 0.0; \
- rel1.to: relto; \
- rel1.offset: 1 1; \
- rel2.to: relto; \
- rel2.offset: -2 -2; \
- min: 2 4; \
- aspect: 0.5 0.5; \
- aspect_preference: BOTH; \
- } \
- } \
- part { name: nom"shad"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.offset: -4 -4; \
- rel1.to: nom"base"; \
- rel2.offset: 3 3; \
- rel2.to: nom"base"; \
- image { \
- normal: "flip_base_shad.png"; \
- border: 8 8 8 8; \
- } \
- } \
- } \
- part { name: nom"b"; type: RECT; \
- description { state: "default" 0.0; \
- visible: 0; \
- rel1.to: nom"base"; \
- rel1.relative: 0.0 0.5; \
- rel2.to: nom"base"; \
- } \
- } \
- part { name: nom"t"; type: RECT; \
- description { state: "default" 0.0; \
- visible: 0; \
- rel1.to: nom"base"; \
- rel2.to: nom"base"; \
- rel2.relative: 1.0 0.5; \
- } \
- } \
- part { name: nom"bot0"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"b"; \
- rel2.to: nom"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: nom"sh"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"b"; \
- rel2.to: nom"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: nom"bot"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"b"; \
- rel2.to: nom"b"; \
- image.normal: "flip_0b.png"; \
- } \
- description { state: "0" 0.0; \
- inherit: "default" 0.0; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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: nom"top0"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"t"; \
- rel2.to: nom"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: nom"top"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"t"; \
- rel2.to: nom"t"; \
- image.normal: "flip_0t.png"; \
- } \
- description { state: "0" 0.0; \
- inherit: "default" 0.0; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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; \
- 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"; \
- } \
- }
-
- DIGIT("h1", "hours1", "hclip");
- DIGIT("h2", "hours2", "hclip");
-
- DIGIT("m1", "mins1", "mclip");
- DIGIT("m2", "mins2", "mclip");
-
- DIGIT("s1", "secs1", "sclip");
- DIGIT("s2", "secs2", "sclip");
-
-#define DIGAP(nom, relto, clipto) \
- part { name: nom"base"; \
- scale: 1; \
- description { state: "default" 0.0; \
- rel1.to: relto; \
- rel1.offset: 1 1; \
- rel2.to: relto; \
- rel2.offset: -2 -2; \
- min: 2 4; \
- aspect: 0.5 0.5; \
- aspect_preference: BOTH; \
- } \
- } \
- part { name: nom"shad"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.offset: -4 -4; \
- rel1.to: nom"base"; \
- rel2.offset: 3 3; \
- rel2.to: nom"base"; \
- image { \
- normal: "flip_base_shad.png"; \
- border: 8 8 8 8; \
- } \
- } \
- } \
- part { name: nom"b"; type: RECT; \
- description { state: "default" 0.0; \
- visible: 0; \
- rel1.to: nom"base"; \
- rel1.relative: 0.0 0.5; \
- rel2.to: nom"base"; \
- } \
- } \
- part { name: nom"t"; type: RECT; \
- description { state: "default" 0.0; \
- visible: 0; \
- rel1.to: nom"base"; \
- rel2.to: nom"base"; \
- rel2.relative: 1.0 0.5; \
- } \
- } \
- part { name: nom"bot0"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"b"; \
- rel2.to: nom"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: nom"sh"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"b"; \
- rel2.to: nom"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: nom"bot"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"b"; \
- rel2.to: nom"b"; \
- image.normal: "flip_amb.png"; \
- } \
- description { state: "0" 0.0; \
- inherit: "default" 0.0; \
- 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; \
- 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: nom"top0"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"t"; \
- rel2.to: nom"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: nom"top"; \
- clip_to: clipto; \
- description { state: "default" 0.0; \
- rel1.to: nom"t"; \
- rel2.to: nom"t"; \
- image.normal: "flip_amt.png"; \
- } \
- description { state: "0" 0.0; \
- inherit: "default" 0.0; \
- 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; \
- 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"; \
- } \
- }
-
- DIGAP("ap", "ampm", "ampmclip");
-
-///////////////////////////////////////////////////////////////////
-
- part { name: "event"; type: RECT;
- mouse_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program { name: "init";
- signal: "load";
- source: "";
- script {
- clock_cb(0);
- }
- }
- program { name: "secon";
- signal: "e,state,seconds,on";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "secs1";
- after: "sec2";
- }
- program { name: "sec2";
- script {
- new tim;
-
- set_int(do_seconds, 1);
- set_state(PART:"sclip", "default", 0.0);
- eval_fields();
- tim = get_int(tick_timer);
- if (tim) {
- cancel_timer(tim);
- set_int(tick_timer, 0);
- }
- clock_cb(0);
- }
- }
- program { name: "secoff";
- signal: "e,state,seconds,off";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "secs1";
- after: "sec3";
- }
- program { name: "sec3";
- script {
- new tim;
-
- set_int(do_seconds, 0);
- set_state(PART:"sclip", "hidden", 0.0);
- eval_fields();
- tim = get_int(tick_timer);
- if (tim) {
- cancel_timer(tim);
- set_int(tick_timer, 0);
- }
- clock_cb(0);
- }
- }
- program { name: "24h";
- signal: "e,state,24h,on";
- source: "e";
- script {
- new tim;
-
- set_int(do_24h, 1);
- set_state(PART:"ampmclip", "hidden", 0.0);
- eval_fields();
- tim = get_int(tick_timer);
- if (tim) {
- cancel_timer(tim);
- set_int(tick_timer, 0);
- }
- clock_cb(0);
- }
- }
- program { name: "12h";
- signal: "e,state,24h,off";
- source: "e";
- script {
- new tim;
-
- set_int(do_24h, 0);
- set_state(PART:"ampmclip", "default", 0.0);
- eval_fields();
- tim = get_int(tick_timer);
- if (tim) {
- cancel_timer(tim);
- set_int(tick_timer, 0);
- }
- clock_cb(0);
- }
- }
- }
- }
- group { name: "e/modules/clock/main";
- images {
- image: "clock_base.png" COMP;
- image: "tacho_fg.png" COMP;
- image: "ch-h1.png" COMP;
- image: "ch-h2.png" COMP;
- image: "ch-m1.png" COMP;
- image: "ch-m2.png" COMP;
- image: "ch-s1.png" COMP;
- image: "ch-s2.png" COMP;
- image: "ch-h1-2.png" COMP;
- image: "ch-h2-2.png" COMP;
- image: "ch-m1-2.png" COMP;
- image: "ch-m2-2.png" COMP;
- image: "ch-s1-2.png" COMP;
- image: "ch-s2-2.png" COMP;
- image: "ch-h1-3.png" COMP;
- image: "ch-h2-3.png" COMP;
- image: "ch-m1-3.png" COMP;
- image: "ch-m2-3.png" COMP;
- image: "ch-s1-3.png" COMP;
- image: "ch-s2-3.png" COMP;
- }
- min: 16 16;
- max: 128 128;
- script {
- public do_seconds, tick_timer;
-
- public clock_cb(val) {
- new year, month, day, yearday, weekday, hour, minute;
- new Float:second;
- new v, dosec, tim;
- new x, y, w, h;
-
- date(year, month, day, yearday, weekday, hour, minute, second);
- get_geometry(PART:"hour", x, y, w, h);
- dosec = get_int(do_seconds);
- if (dosec) {
- v = round(second);
- tim = timer(1.0 - (second - v), "clock_cb", 1);
-
- custom_state(PART:"seconds", "default", 0.0);
- set_state_val(PART:"seconds", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
- if (h < 22)
- set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1-3.png");
- else if (h < 44)
- set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1-2.png");
- else
- set_state_val(PART:"seconds", STATE_IMAGE, IMAGE:"ch-s1.png");
- set_state(PART:"seconds", "custom", 0.0);
-
- custom_state(PART:"seconds-sh", "default", 0.0);
- set_state_val(PART:"seconds-sh", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
- if (h < 22)
- set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2-3.png");
- else if (h < 44)
- set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2-2.png");
- else
- set_state_val(PART:"seconds-sh", STATE_IMAGE, IMAGE:"ch-s2.png");
- set_state(PART:"seconds-sh", "custom", 0.0);
- }
- else {
- tim = timer(60.0 - (second), "clock_cb", 1);
- }
- set_int(tick_timer, tim);
-
- custom_state(PART:"minutes", "default", 0.0);
- set_state_val(PART:"minutes", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
- if (h < 22)
- set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1-3.png");
- else if (h < 44)
- set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1-2.png");
- else
- set_state_val(PART:"minutes", STATE_IMAGE, IMAGE:"ch-m1.png");
- set_state(PART:"minutes", "custom", 0.0);
-
- custom_state(PART:"minutes-sh", "default", 0.0);
- set_state_val(PART:"minutes-sh", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
- if (h < 22)
- set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2-3.png");
- else if (h < 44)
- set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2-2.png");
- else
- set_state_val(PART:"minutes-sh", STATE_IMAGE, IMAGE:"ch-m2.png");
- set_state(PART:"minutes-sh", "custom", 0.0);
-
- custom_state(PART:"hour", "default", 0.0);
- set_state_val(PART:"hour", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
- if (h < 22)
- set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1-3.png");
- else if (h < 44)
- set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1-2.png");
- else
- set_state_val(PART:"hour", STATE_IMAGE, IMAGE:"ch-h1.png");
- set_state(PART:"hour", "custom", 0.0);
-
- custom_state(PART:"hour-sh", "default", 0.0);
- set_state_val(PART:"hour-sh", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
- if (h < 22)
- set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2-3.png");
- else if (h < 44)
- set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2-2.png");
- else
- set_state_val(PART:"hour-sh", STATE_IMAGE, IMAGE:"ch-h2.png");
- set_state(PART:"hour-sh", "custom", 0.0);
- }
- }
- parts {
- part {
- name: "base";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- image.normal: "clock_base.png";
- }
- }
- part {
- name: "base2";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "base";
- relative: (2.0/128.0) (2.0/128.0);
- }
- rel2 {
- to: "base";
- relative: (1.0+(2.0/128.0)) (1.0+(2.0/128.0));
- }
- }
- }
- part {
- name: "seconds-sh";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base2";
- relative: 0.3125 0.0;
- }
- rel2 {
- to: "base2";
- relative: 0.6875 0.6875;
- }
- image.normal: "ch-s2.png";
- map {
- on: 1;
- rotation {
- center: "base2";
- }
- }
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "seconds";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- relative: 0.3125 0.0;
- }
- rel2 {
- to: "base";
- relative: 0.6875 0.6875;
- }
- image.normal: "ch-s1.png";
- map {
- on: 1;
- rotation {
- center: "base";
- }
- }
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "minutes-sh";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "base2";
- relative: 0.3125 0.0;
- }
- rel2 {
- to: "base2";
- relative: 0.6875 0.6875;
- }
- image.normal: "ch-m2.png";
- map {
- on: 1;
- rotation {
- center: "base2";
- }
- }
- }
- }
- part {
- name: "minutes";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- relative: 0.3125 0.0;
- }
- rel2 {
- to: "base";
- relative: 0.6875 0.6875;
- }
- image.normal: "ch-m1.png";
- map {
- on: 1;
- rotation {
- center: "base";
- }
- }
- }
- }
- part {
- name: "hour-sh";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "base2";
- relative: 0.3125 0.0;
- }
- rel2 {
- to: "base2";
- relative: 0.6875 0.6875;
- }
- image.normal: "ch-h2.png";
- map {
- on: 1;
- rotation {
- center: "base2";
- }
- }
- }
- }
- part {
- name: "hour";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- relative: 0.3125 0.0;
- }
- rel2 {
- to: "base";
- relative: 0.6875 0.6875;
- }
- image.normal: "ch-h1.png";
- map {
- on: 1;
- rotation {
- center: "base";
- }
- }
- }
- }
- part {
- name: "over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "tacho_fg.png";
- }
- }
- }
- programs {
- program { name: "init";
- signal: "load";
- source: "";
- script {
- clock_cb(0);
- }
- }
- program { name: "secon";
- signal: "e,state,seconds,on";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "seconds";
- target: "seconds-sh";
- after: "sec2";
- }
- program { name: "sec2";
- script {
- new tim;
-
- set_int(do_seconds, 1);
- tim = get_int(tick_timer);
- if (tim) {
- cancel_timer(tim);
- set_int(tick_timer, 0);
- }
- clock_cb(0);
- }
- }
- program { name: "secoff";
- signal: "e,state,seconds,off";
- source: "e";
- action: STATE_SET "hidden" 0.0;
- target: "seconds";
- target: "seconds-sh";
- after: "sec3";
- }
- program { name: "sec3";
- script {
- new tim;
-
- set_int(do_seconds, 0);
- tim = get_int(tick_timer);
- if (tim) {
- cancel_timer(tim);
- set_int(tick_timer, 0);
- }
- clock_cb(0);
- }
- }
- }
- }
-
- group { name: "e/modules/clock/calendar/dayname";
- parts {
- part { name: "e.text.label";
- type: TEXT;
- effect: SHADOW;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- color: 0 0 0 64;
- color3: 255 255 255 255;
- rel1.offset: 3 3;
- rel2.offset: -3 -3;
- text {
- text: "XXX";
- font: "Sans";
- align: 0.5 0.5;
- size: 8;
- min: 1 1;
- text_class: "module_small";
- }
- }
- }
- }
- }
- group { name: "e/modules/clock/calendar/day";
- images {
- image: "inset_sunk.png" COMP;
- }
- parts {
- part { name: "hidden"; type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- part { name: "weekend"; type: RECT;
- mouse_events: 0;
- clip_to: "hidden";
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- }
- description { state: "weekend" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 64;
- }
- }
- part { name: "day"; type: RECT;
- mouse_events: 0;
- clip_to: "hidden";
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- }
- description { state: "today" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 200;
- }
- }
- part { name: "e.text.label";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- clip_to: "hidden";
- description { state: "default" 0.0;
- align: 0.5 0.5;
- color: 0 0 0 255;
- color3: 0 0 0 32;
- rel1.offset: 2 2;
- rel2.offset: -3 -3;
- text {
- text: "88";
- font: "Sans";
- align: 0.5 0.5;
- size: 8;
- min: 1 1;
- text_class: "module_small";
- }
- }
- description { state: "today" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "inset";
- mouse_events: 0;
- clip_to: "hidden";
- description { state: "default" 0.0;
- image.normal: "inset_sunk.png";
- image.middle: 0;
- image.border: 7 7 7 7;
- fill.smooth: 0;
- color: 255 255 255 128;
- }
- }
- }
- programs {
- program { name: "weekend";
- signal: "e,state,weekend";
- source: "e";
- action: STATE_SET "weekend" 0.0;
- target: "weekend";
- }
- program { name: "weekday";
- signal: "e,state,weekday";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "weekend";
- }
- program { name: "hidden";
- signal: "e,state,hidden";
- source: "e";
- action: STATE_SET "hidden" 0.0;
- target: "hidden";
- }
- program { name: "visible";
- signal: "e,state,visible";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "hidden";
- }
- program { name: "today";
- signal: "e,state,today";
- source: "e";
- action: STATE_SET "today" 0.0;
- target: "day";
- target: "e.text.label";
- }
- program { name: "someday";
- signal: "e,state,someday";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "day";
- target: "e.text.label";
- }
- }
- }
- group { name: "e/modules/clock/calendar";
- images {
- image: "arrow_left.png" COMP;
- image: "arrow_right.png" COMP;
- image: "inset_sunk.png" COMP;
- image: "ilist_1.png" COMP;
- image: "ilist_2.png" COMP;
- image: "ilist_item_shadow.png" COMP;
- }
- parts {
- part { name: "e.text.month";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- to_x: "prev";
- relative: 1.0 0.0;
- }
- rel2 {
- relative: 1.0 0.0;
- }
- color: 255 255 255 255;
- color3: 0 0 0 32;
- text {
- font: "Sans:style=Bold";
- align: 0.0 0.5;
- size: 10;
- min: 0 1;
- text_class: "module_normal";
- }
- }
- }
- part { name: "e.text.year";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 0 1;
- align: 1.0 0.0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "next";
- relative: 0.0 0.0;
- }
- color: 255 255 255 255;
- color3: 0 0 0 32;
- text {
- font: "Sans:style=Bold";
- align: 1.0 0.5;
- size: 10;
- min: 0 1;
- text_class: "module_normal";
- }
- }
- }
- part { name: "previm";
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 9 9;
- max: 9 9;
- rel1.to: "prev";
- rel2.to: "prev";
- image.normal: "arrow_left.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 2;
- rel2.offset: -1 1;
- }
- }
- part { name: "prev";
- type: RECT;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- color: 0 0 0 0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- rel1.to_y: "e.text.month";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "e.text.month";
- rel2.relative: 0.0 1.0;
- }
- program { name: "prev_down";
- signal: "mouse,down,1";
- source: "prev";
- action: STATE_SET "pressed" 0.0;
- target: "previm";
- }
- program { name: "prev_up";
- signal: "mouse,up,1";
- source: "prev";
- action: STATE_SET "default" 0.0;
- target: "previm";
- }
- program { name: "prev_clicked";
- signal: "mouse,clicked,1";
- source: "prev";
- action: SIGNAL_EMIT "e,action,prev" "";
- }
- }
- part { name: "nextim";
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 9 9;
- max: 9 9;
- rel1.to: "next";
- rel2.to: "next";
- image.normal: "arrow_right.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 2;
- rel2.offset: -1 1;
- }
- }
- part { name: "next";
- type: RECT;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- color: 0 0 0 0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- rel1.to_y: "e.text.month";
- rel1.relative: 1.0 0.0;
- rel2.to_y: "e.text.month";
- rel2.relative: 1.0 1.0;
- }
- program { name: "next_down";
- signal: "mouse,down,1";
- source: "next";
- action: STATE_SET "pressed" 0.0;
- target: "nextim";
- }
- program { name: "next_up";
- signal: "mouse,up,1";
- source: "next";
- action: STATE_SET "default" 0.0;
- target: "nextim";
- }
- program { name: "next_clicked";
- signal: "mouse,clicked,1";
- source: "next";
- action: SIGNAL_EMIT "e,action,next" "";
- }
- }
- part { name: "days_bg1";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "e.table.days";
- rel1.offset: -1 -1;
- rel2.to: "e.table.days";
- rel2.offset: 0 0;
- image.normal: "ilist_2.png";
- image.border: 2 2 2 2;
- }
- }
- part { name: "daynames_bg0";
- mouse_events: 0;
- description { state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- min: 0 10;
- rel1 {
- to: "daynames_bg1";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- rel2 {
- to: "daynames_bg1";
- relative: 1.0 1.0;
- offset: -1 0;
- }
- image.normal: "ilist_item_shadow.png";
- fill.smooth: 0;
- }
- }
- part { name: "daynames_bg1";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "e.table.daynames";
- rel1.offset: -1 -1;
- rel2.to: "e.table.daynames";
- rel2.offset: 0 0;
- image.normal: "ilist_1.png";
- image.border: 2 2 2 2;
- }
- }
- part { name: "e.table.daynames"; type: TABLE;
- description { state: "default" 0.0;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1.to_y: "e.text.month";
- rel1.relative: 0.0 1.0;
- rel1.offset: 2 2;
- rel2.to_y: "e.text.month";
- rel2.relative: 1.0 1.0;
- rel2.offset: -3 2;
- step: 7 1;
- table {
- homogeneous: TABLE;
- padding: 1 1;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- table { items {
-#define DAYNAME(x) \
- item { \
- position: x 0; \
- span: 1 1; \
- source: "e/modules/clock/calendar/dayname"; \
- weight: 1.0 1.0; \
- align: -1.0 -1.0; \
- }
- DAYNAME(0);
- DAYNAME(1);
- DAYNAME(2);
- DAYNAME(3);
- DAYNAME(4);
- DAYNAME(5);
- DAYNAME(6);
- } }
- }
- part { name: "e.table.days"; type: TABLE;
- description { state: "default" 0.0;
- rel1.to_y: "e.table.daynames";
- rel1.relative: 0.0 1.0;
- rel1.offset: 2 2;
- rel2.offset: -3 -3;
- step: 7 5;
- table {
- homogeneous: TABLE;
- padding: 1 1;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- table { items {
-#define DAY(x, y) \
- item { \
- position: x y; \
- span: 1 1; \
- source: "e/modules/clock/calendar/day"; \
- weight: 1.0 1.0; \
- align: -1.0 -1.0; \
- }
- DAY(0, 0);
- DAY(1, 0);
- DAY(2, 0);
- DAY(3, 0);
- DAY(4, 0);
- DAY(5, 0);
- DAY(6, 0);
-
- DAY(0, 1);
- DAY(1, 1);
- DAY(2, 1);
- DAY(3, 1);
- DAY(4, 1);
- DAY(5, 1);
- DAY(6, 1);
-
- DAY(0, 2);
- DAY(1, 2);
- DAY(2, 2);
- DAY(3, 2);
- DAY(4, 2);
- DAY(5, 2);
- DAY(6, 2);
-
- DAY(0, 3);
- DAY(1, 3);
- DAY(2, 3);
- DAY(3, 3);
- DAY(4, 3);
- DAY(5, 3);
- DAY(6, 3);
-
- DAY(0, 4);
- DAY(1, 4);
- DAY(2, 4);
- DAY(3, 4);
- DAY(4, 4);
- DAY(5, 4);
- DAY(6, 4);
-
- DAY(0, 5);
- DAY(1, 5);
- DAY(2, 5);
- DAY(3, 5);
- DAY(4, 5);
- DAY(5, 5);
- DAY(6, 5);
- } }
- }
- part { name: "inset";
- mouse_events: 1;
- description { state: "default" 0.0;
- image.normal: "inset_sunk.png";
- image.middle: 0;
- image.border: 7 7 7 7;
- fill.smooth: 0;
- rel1.to: "e.table.daynames";
- rel1.offset: -2 -2;
- rel2.to: "e.table.days";
- rel2.offset: 2 2;
- }
- }
- }
- programs {
- program {
- name: "mw_next";
- source: "*";
- signal: "mouse,wheel,0,-1";
- action: SIGNAL_EMIT "e,action,prev" "";
- }
- program {
- name: "mw_right";
- source: "*";
- signal: "mouse,wheel,0,1";
- action: SIGNAL_EMIT "e,action,next" "";
- }
- }
- }
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: CPUFREQ ***/
-
-#if 0
- group {
- name: "e/modules/cpufreq/main";
- images {
- image: "tacho_bg.png" COMP;
- image: "tacho_fg.png" COMP;
- image: "tacho_dial_00.png" COMP;
- image: "tacho_dial_01.png" COMP;
- image: "tacho_dial_02.png" COMP;
- image: "tacho_dial_03.png" COMP;
- image: "tacho_dial_04.png" COMP;
- image: "tacho_dial_05.png" COMP;
- image: "tacho_dial_06.png" COMP;
- image: "tacho_dial_07.png" COMP;
- image: "tacho_dial_08.png" COMP;
- image: "tacho_dial_09.png" COMP;
- image: "tacho_dial_10.png" COMP;
- image: "tacho_dial_11.png" COMP;
- image: "tacho_dial_12.png" COMP;
- image: "tacho_dial_13.png" COMP;
- image: "tacho_dial_14.png" COMP;
- image: "tacho_dial_15.png" COMP;
- }
- min: 16 16;
- max: 128 128;
- script {
- public available_frequencies;
- public available_governors;
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_INT_SET) && (id == 1)) {
- while (count(available_frequencies) > 0) {
- remove(available_frequencies, 0);
- }
- for (new i = 2; i < numargs(); i++) {
- append_int(available_frequencies, getarg(i));
- }
- }
- else if ((type == MSG_STRING_SET) && (id == 2)) {
- new text[100];
- while (count(available_governors) > 0) {
- remove(available_governors, 0);
- }
- for (new i = 2; i < numargs(); i++) {
- snprintf(text, 100, "%s", getarg(i));
- append_str(available_governors, text);
- }
- }
- else if ((type == MSG_INT_SET) && (id == 3)) {
- new f = getarg(2);
- new use_buttons = getarg(3);
- new Float:freq, Float:min_freq, Float:max_freq;
- new text[100];
- freq = f;
- min_freq = fetch_int(available_frequencies, 0);
- max_freq = fetch_int(available_frequencies,
- count(available_frequencies) - 1);
- freq = (freq - min_freq) / (max_freq - min_freq);
- set_state(PART:"meter", "default", freq);
- if (f < 1000000) {
- f += 500;
- snprintf(text, 100, "%i", f / 1000);
- }
- else {
- f += 50000;
- snprintf(text, 100, "%i.%i", f / 1000000,
- (f % 1000000) / 100000);
- }
- set_text(PART:"readout", text);
- if (use_buttons == 0) {
- // set_state(PART:"increase_button", "inactive", 0.0);
- // set_state(PART:"decrease_button", "inactive", 0.0);
- // set_state(PART:"increase", "inactive", 0.0);
- // set_state(PART:"decrease", "inactive", 0.0);
- }
- else {
- // set_state(PART:"increase_button", "default", 0.0);
- // set_state(PART:"decrease_button", "default", 0.0);
- // set_state(PART:"increase", "default", 0.0);
- // set_state(PART:"decrease", "default", 0.0);
- }
- }
- else if((type == MSG_STRING) && (id == 4)) {
- new text[100];
- snprintf(text, 100, "%s", getarg(2));
- }
- }
- }
- parts {
- part {
- name: "fade_clip";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- color: 255 255 255 128;
- }
- }
- part {
- name: "base";
- clip_to: "fade_clip";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "tacho_bg.png";
- }
- }
- part {
- name: "readout";
- type: TEXT;
- scale: 1;
- // effect: OUTLINE_SOFT_SHADOW;
- mouse_events: 0;
- clip_to: "fade_clip";
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.6 0.7;
- offset: 0 0;
- }
- rel2 {
- relative: 0.6 0.7;
- offset: 0 0;
- }
- color: 255 255 255 255;
- color2: 0 0 0 128;
- color3: 0 0 0 32;
- color_class: "module_label";
- text {
- text: "??? Ghz";
- font: "Sans:style=Bold";
- size: 6;
- align: 0.5 0.5;
- min: 1 1;
- text_class: "module_small";
- }
- }
- }
- part {
- name: "meter";
- clip_to: "fade_clip";
- mouse_events: 0;
- description {
- state: "default" 0.0000;
- image.normal: "tacho_dial_00.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.0666;
- image.normal: "tacho_dial_01.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.1333;
- image.normal: "tacho_dial_02.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.2000;
- image.normal: "tacho_dial_03.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.2666;
- image.normal: "tacho_dial_04.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.3333;
- image.normal: "tacho_dial_05.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.4000;
- image.normal: "tacho_dial_06.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.4666;
- image.normal: "tacho_dial_07.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.5333;
- image.normal: "tacho_dial_08.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.6000;
- image.normal: "tacho_dial_09.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.6666;
- image.normal: "tacho_dial_10.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.7333;
- image.normal: "tacho_dial_11.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.8000;
- image.normal: "tacho_dial_12.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.8666;
- image.normal: "tacho_dial_13.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 0.9333;
- image.normal: "tacho_dial_14.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- description {
- state: "default" 1.0000;
- image.normal: "tacho_dial_15.png";
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- part {
- name: "over";
- clip_to: "fade_clip";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "tacho_fg.png";
- }
- }
- }
- programs {
- /*
- program {
- name: "next_governor";
- signal: "mouse,down,1";
- source: "cpu";
- action: SIGNAL_EMIT "e,action,governor,next" "";
- }
- program {
- name: "next_governor2";
- signal: "mouse,down,1";
- source: "cpu";
- action: STATE_SET "clicked" 0.0;
- target: "cpu";
- }
- program {
- name: "next_governor3";
- signal: "mouse,up,1";
- source: "cpu";
- action: STATE_SET "default" 0.0;
- target: "cpu";
- }
- program {
- name: "increase_frequency";
- signal: "mouse,down,1";
- source: "increase";
- action: SIGNAL_EMIT "e,action,frequency,increase" "";
- }
- program {
- name: "increase_frequency2";
- signal: "mouse,down,1";
- source: "increase";
- action: STATE_SET "clicked" 0.0;
- target: "increase_button";
- }
- program {
- name: "increase_frequency3";
- signal: "mouse,up,1";
- source: "increase";
- action: STATE_SET "default" 0.0;
- target: "increase_button";
- }
- program {
- name: "decrease_frequency";
- signal: "mouse,down,1";
- source: "decrease";
- action: SIGNAL_EMIT "e,action,frequency,decrease" "";
- }
- program {
- name: "decrease_frequency2";
- signal: "mouse,down,1";
- source: "decrease";
- action: STATE_SET "clicked" 0.0;
- target: "decrease_button";
- }
- program {
- name: "decrease_frequency3";
- signal: "mouse,up,1";
- source: "decrease";
- action: STATE_SET "default" 0.0;
- target: "decrease_button";
- }
- */
- program {
- name: "enabled";
- signal: "e,state,enabled";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "fade_clip";
- }
- program {
- name: "disabled";
- signal: "e,state,disabled";
- source: "e";
- action: STATE_SET "faded" 0.0;
- target: "fade_clip";
- }
- }
- }
-#else
- group {
- name: "e/modules/cpufreq/main";
- images {
- image: "tacho_bg.png" COMP;
- image: "tacho_fg.png" COMP;
- image: "t0.png" COMP;
- image: "t0-sh.png" COMP;
- image: "t1.png" COMP;
- image: "t1-sh.png" COMP;
- image: "t2.png" COMP;
- }
- min: 16 16;
- max: 128 128;
- script {
- public available_frequencies;
- public available_governors;
-
- public cur_freq_old;
- public cur_freq_new;
- public cur_freq_now;
- public cur_freq_anim;
-
- public min_freq_old;
- public min_freq_new;
- public min_freq_now;
-
- public max_freq_old;
- public max_freq_new;
- public max_freq_now;
-
- public slide_cur_freq(val, Float:v) {
- new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
- new f, f0, f1;
-
- v = (1.0 - cos(v * 3.141592654)) / 2.0;
-
- min_freq = fetch_int(available_frequencies, 0);
- max_freq = fetch_int(available_frequencies,
- count(available_frequencies) - 1);
-
- f0 = get_int(cur_freq_old);
- f1 = get_int(cur_freq_new);
- f = f1 - f0;
- freq = float(f) * v;
- f = round(freq);
- f = f + f0;
- set_int(cur_freq_now, f);
-
- freq = (float(f) - min_freq) / (max_freq - min_freq);
- tf = (freq * 225.0) - 135.0;
- custom_state(PART:"meter", "default", 0.0);
- set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf);
- set_state(PART:"meter", "custom", 0.0);
- custom_state(PART:"meter_sh", "default", 0.0);
- set_state_val(PART:"meter_sh", STATE_MAP_ROT_Z, tf);
- set_state(PART:"meter_sh", "custom", 0.0);
-
- f0 = get_int(min_freq_old);
- f1 = get_int(min_freq_new);
- f = f1 - f0;
- freq = float(f) * v;
- f = round(freq);
- f = f + f0;
- set_int(min_freq_now, f);
-
- freq = (float(f) - min_freq) / (max_freq - min_freq);
- tf = (freq * 225.0) - 135.0;
- custom_state(PART:"meter_min", "default", 0.0);
- set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf);
- set_state(PART:"meter_min", "custom", 0.0);
- custom_state(PART:"meter_min_sh", "default", 0.0);
- set_state_val(PART:"meter_min_sh", STATE_MAP_ROT_Z, tf);
- set_state(PART:"meter_min_sh", "custom", 0.0);
-
- f0 = get_int(max_freq_old);
- f1 = get_int(max_freq_new);
- f = f1 - f0;
- freq = float(f) * v;
- f = round(freq);
- f = f + f0;
- set_int(max_freq_now, f);
-
- freq = (float(f) - min_freq) / (max_freq - min_freq);
- tf = (freq * 225.0) - 135.0;
- custom_state(PART:"meter_max", "default", 0.0);
- set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);
- set_state(PART:"meter_max", "custom", 0.0);
- custom_state(PART:"meter_max_sh", "default", 0.0);
- set_state_val(PART:"meter_max_sh", STATE_MAP_ROT_Z, tf);
- set_state(PART:"meter_max_sh", "custom", 0.0);
-
- if (v >= 1.0) {
- set_int(cur_freq_anim, 0);
- return 0;
- }
- return 1;
- }
-
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq
- while (count(available_frequencies) > 0) {
- remove(available_frequencies, 0);
- }
- for (new i = 2; i < numargs(); i++) {
- append_int(available_frequencies, getarg(i));
- }
- }
- else if ((type == MSG_STRING_SET) && (id == 2)) { // add a governor
- new text[100];
- while (count(available_governors) > 0) {
- remove(available_governors, 0);
- }
- for (new i = 2; i < numargs(); i++) {
- snprintf(text, 100, "%s", getarg(i));
- append_str(available_governors, text);
- }
- }
- else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
- new f;
- new ani, curf, minf, maxf;
- new text[100];
-
- f = getarg(2);
- if (f < 1000000) {
- f += 500;
- snprintf(text, 100, "%i", f / 1000);
- }
- else {
- f += 50000;
- snprintf(text, 100, "%i.%i", f / 1000000,
- (f % 1000000) / 100000);
- }
- set_text(PART:"readout", text);
-
- ani = get_int(cur_freq_anim);
- if (ani > 0) cancel_anim(ani);
- ani = anim(1.0, "slide_cur_freq", 0);
- set_int(cur_freq_anim, ani);
-
- f = getarg(2);
- curf = get_int(cur_freq_now);
- set_int(cur_freq_old, curf);
- set_int(cur_freq_new, f);
-
- f = getarg(4);
- minf = get_int(min_freq_now);
- set_int(min_freq_old, minf);
- set_int(min_freq_new, f);
-
- f = getarg(5);
- maxf = get_int(max_freq_now);
- set_int(max_freq_old, maxf);
- set_int(max_freq_new, f);
- }
- else if ((type == MSG_STRING) && (id == 4)) {
- new text[100];
- snprintf(text, 100, "%s", getarg(2));
- }
- }
- }
- parts {
- part {
- name: "fade_clip";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "faded" 0.0;
- color: 255 255 255 128;
- }
- }
- part {
- name: "base";
- clip_to: "fade_clip";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "tacho_bg.png";
- }
- }
- part {
- name: "readout";
- type: TEXT;
- scale: 1;
- // effect: OUTLINE_SOFT_SHADOW;
- mouse_events: 0;
- clip_to: "fade_clip";
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.6 0.7;
- offset: 0 0;
- }
- rel2 {
- relative: 0.6 0.7;
- offset: 0 0;
- }
- color: 255 255 255 255;
- color2: 0 0 0 128;
- color3: 0 0 0 32;
- color_class: "module_label";
- text {
- text: "??? Ghz";
- font: "Sans:style=Bold";
- size: 6;
- align: 0.5 0.5;
- min: 1 1;
- text_class: "module_small";
- }
- }
- }
- part { name: "meter_min_sh";
- clip_to: "fade_clip";
- mouse_events: 0;
- description { state: "default" 0.0000;
- image.normal: "t1-sh.png";
- rel1.to: "meter_min";
- rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
- rel2.to: "meter_min";
- rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
- map {
- on: 1;
- rotation {
- center: "meter_min_sh";
- }
- }
- }
- }
- part { name: "meter_min";
- clip_to: "fade_clip";
- mouse_events: 0;
- description { state: "default" 0.0000;
- image.normal: "t2.png";
- rel1.to: "base";
- rel2.to: "base";
- map {
- on: 1;
- rotation {
- center: "base";
- }
- }
- }
- }
- part { name: "meter_max_sh";
- clip_to: "fade_clip";
- mouse_events: 0;
- description { state: "default" 0.0000;
- image.normal: "t1-sh.png";
- rel1.to: "meter_max";
- rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
- rel2.to: "meter_max";
- rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
- map {
- on: 1;
- rotation {
- center: "meter_max_sh";
- }
- }
- }
- }
- part { name: "meter_max";
- clip_to: "fade_clip";
- mouse_events: 0;
- description { state: "default" 0.0000;
- image.normal: "t1.png";
- rel1.to: "base";
- rel2.to: "base";
- map {
- on: 1;
- rotation {
- center: "base";
- }
- }
- }
- }
- part { name: "meter_sh";
- clip_to: "fade_clip";
- mouse_events: 0;
- description { state: "default" 0.0000;
- image.normal: "t0-sh.png";
- rel1.to: "meter";
- rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0);
- rel2.to: "meter";
- rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0);
- map {
- on: 1;
- rotation {
- center: "meter_sh";
- }
- }
- }
- }
- part { name: "meter";
- clip_to: "fade_clip";
- mouse_events: 0;
- description { state: "default" 0.0000;
- image.normal: "t0.png";
- rel1.to: "base";
- rel2.to: "base";
- map {
- on: 1;
- rotation {
- center: "base";
- }
- }
- }
- }
- part {
- name: "over";
- clip_to: "fade_clip";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "tacho_fg.png";
- }
- }
- }
- programs {
- program {
- name: "enabled";
- signal: "e,state,enabled";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "fade_clip";
- }
- program {
- name: "disabled";
- signal: "e,state,disabled";
- source: "e";
- action: STATE_SET "faded" 0.0;
- target: "fade_clip";
- }
- }
- }
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: IBOX / IBAR ***/
-
- group {
- name: "e/modules/ibox/icon";
- alias: "e/modules/ibar/icon";
- data {
- item: "raise_on_hilight" "0";
- // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it
- // item: "item_list" "item item2 item3";
- }
- parts {
- part {
- name: "item_clip";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "disabled" 0.0;
- color: 255 255 255 64;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "item_clip";
- description { state: "default" 0.0;
- rel1.offset: 2 2;
- rel2.offset: -3 -3;
- }
- description { state: "bigger" 0.0;
- }
- }
- part {
- name: "urgent_area";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- 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: "urgent";
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "urgent_area";
- rel2.to: "urgent_area";
- image.normal: "exclam.png";
- color: 255 255 255 0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 {
- relative: -0.5 -0.5;
- }
- rel2 {
- relative: 1.5 1.5;
- }
- color: 255 255 255 0;
- }
- }
- part {
- name: "over";
- type: RECT;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "starting";
- signal: "e,state,starting";
- source: "e";
- action: STATE_SET "disabled" 0.0;
- target: "item_clip";
- }
- program {
- name: "started";
- signal: "e,state,started";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "item_clip";
- }
- program {
- name: "hover_out";
- signal: "mouse,out";
- source: "over";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.2;
- target: "e.swallow.content";
- }
- program {
- name: "set_urgent";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: LINEAR 0.2;
- target: "urgent";
- }
- program {
- name: "set_not_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.6;
- target: "urgent";
- }
- program {
- name: "urgentw0";
- signal: "e,state,urgent";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "urgent_area";
- transition: DECELERATE 0.1;
- after: "urgentw1";
- }
- program {
- name: "urgentw1";
- action: STATE_SET "uw1" 0.0;
- target: "urgent_area";
- transition: DECELERATE 0.1;
- after: "urgentw2";
- }
- program {
- name: "urgentw2";
- action: STATE_SET "uw2" 0.0;
- target: "urgent_area";
- transition: DECELERATE 0.1;
- after: "urgentw3";
- }
- program {
- name: "urgentw3";
- action: STATE_SET "uw3" 0.0;
- target: "urgent_area";
- transition: DECELERATE 0.1;
- after: "urgentw4";
- }
- program {
- name: "urgentw4";
- action: STATE_SET "uw4" 0.0;
- target: "urgent_area";
- transition: DECELERATE 0.1;
- after: "urgentw0";
- }
- program {
- name: "not_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- target: "urgentw0";
- target: "urgentw1";
- target: "urgentw2";
- target: "urgentw3";
- target: "urgentw4";
- after: "not_urgent2";
- }
- program {
- name: "not_urgent2";
- action: STATE_SET "default" 0.0;
- target: "urgent";
- target: "urgent_area";
- }
- }
- }
- group {
- name: "e/modules/ibox/icon_overlay";
- alias: "e/modules/ibar/icon_overlay";
- data {
- // item: "item_list", "item item2 item3";
- }
- script {
- public urgent;
- }
- parts {
- part {
- name: "base";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part {
- name: "background";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "base";
- rel2.to: "base";
- color: 255 255 255 0;
- }
- description {
- state: "visible" 0.0;
- visible: 1;
- rel1.to: "base";
- rel2.to: "base";
- color: 255 255 255 255;
- }
- description {
- state: "hidden" 0.0;
- visible: 1;
- rel1 {
- relative: -0.5 -0.5;
- to: "base";
- }
- rel2 {
- relative: 1.5 1.5;
- to: "base";
- }
- color: 255 255 255 0;
- }
- description {
- state: "huge" 0.0;
- visible: 1;
- rel1 {
- relative: -2.0 -2.0;
- to: "base";
- }
- rel2 {
- relative: 3.0 3.0;
- to: "base";
- }
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.swallow.content";
- type: SWALLOW;
- clip_to: "background";
- description {
- state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part {
- name: "urgent";
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "exclam.png";
- color: 255 255 255 0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 {
- relative: -0.5 -0.5;
- to: "base";
- }
- rel2 {
- relative: 1.5 1.5;
- to: "base";
- }
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 255 255 255 0;
- color3: 0 0 0 0;
- color_class: "module_label";
- text {
- font: "Sans:style=Bold";
- size: 10;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "module_normal";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- color: 255 255 255 255;
- color3: 0 0 0 42;
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "e,state,focused";
- source: "e";
- action: STATE_SET "visible" 0.0;
- target: "background";
- after: "go_active2";
- }
- program {
- name: "go_activeB";
- signal: "e,action,show,label";
- source: "e";
- action: STATE_SET "visible" 0.0;
- transition: SINUSOIDAL 0.5;
- target: "e.text.label";
- }
- program {
- name: "go_active2";
- action: STATE_SET "hidden" 0.0;
- transition: LINEAR 0.5;
- target: "background";
- after: "go_active";
- }
- program {
- name: "go_passive";
- signal: "e,state,unfocused";
- source: "e";
- action: ACTION_STOP;
- target: "go_active";
- target: "go_active2";
- after: "go_passive2";
- }
- program {
- name: "go_passiveB";
- signal: "e,action,hide,label";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 1.0;
- target: "e.text.label";
- }
- program {
- name: "go_passive2";
- action: STATE_SET "default" 0.0;
- target: "background";
- script {
- if (get_int(urgent) == 1) {
- run_program(PROGRAM:"go_urgent");
- }
- }
- }
- program {
- name: "init";
- signal: "load";
- source: "";
- script {
- set_int(urgent, 0);
- }
- }
- program {
- name: "set_urgent";
- signal: "e,state,urgent";
- source: "e";
- script {
- set_int(urgent, 1);
- }
- }
- program {
- name: "go_urgent";
- action: STATE_SET "visible" 0.0;
- target: "background";
- target: "urgent";
- after: "go_urgent2";
- }
- program {
- name: "go_urgent2";
- action: STATE_SET "hidden" 0.0;
- transition: LINEAR 0.5;
- target: "background";
- target: "urgent";
- after: "go_urgent";
- }
- program {
- name: "unset_urgent";
- signal: "e,state,not_urgent";
- source: "e";
- script {
- set_int(urgent, 0);
- }
- }
- program {
- name: "go_unurgent";
- signal: "e,state,not_urgent";
- source: "e";
- action: ACTION_STOP;
- target: "go_urgent";
- target: "go_urgent2";
- after: "go_unurgent2";
- }
- program {
- name: "go_unurgent2";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.3;
- target: "background";
- target: "urgent";
- }
- program {
- name: "exec_exec";
- signal: "e,action,exec";
- source: "e";
- after: "exec_start";
- }
- program {
- name: "exec_start";
- signal: "e,action,start";
- source: "e";
- action: ACTION_STOP;
- target: "go_active";
- target: "go_active2";
- target: "go_passive";
- target: "go_passive2";
- target: "go_big";
- target: "go_big2";
- after: "go_big";
- }
- program {
- name: "go_big";
- action: STATE_SET "visible" 0.0;
- target: "background";
- after: "go_big2";
- }
- program {
- name: "go_big2";
- action: STATE_SET "huge" 0.0;
- transition: LINEAR 0.5;
- target: "background";
- }
- }
- }
- group {
- name: "e/modules/ibox/drop";
- alias: "e/modules/ibar/drop";
- images.image: "inset_raised.png" COMP;
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "inset_raised.png";
- border: 7 7 7 7;
- middle: 0;
- }
- }
- }
- }
- }
- group {
- name: "e/modules/ibox/drop_overlay";
- alias: "e/modules/ibar/drop_overlay";
- images {
- image: "gadman_top.png" COMP;
- image: "gadman_bottom.png" COMP;
- image: "gadman_left.png" COMP;
- image: "gadman_right.png" COMP;
- }
- parts {
- part {
- name: "left_arrow1";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- rel1.relative: -1.0 0.5;
- rel2.relative: -1.0 0.5;
- image.normal: "gadman_right.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -0.8 0.2;
- rel2.relative: -0.7 0.8;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.2 0.5;
- rel2.relative: 0.2 0.5;
- }
- }
- part {
- name: "left_arrow2";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- rel1.relative: -1.0 0.5;
- rel2.relative: -1.0 0.5;
- image.normal: "gadman_right.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -0.8 0.2;
- rel2.relative: -0.7 0.8;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.2 0.5;
- rel2.relative: 0.2 0.5;
- }
- }
- part {
- name: "right_arrow1";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- rel1.relative: 2.0 0.5;
- rel2.relative: 2.0 0.5;
- image.normal: "gadman_left.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.8 0.2;
- rel2.relative: 1.7 0.8;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.8 0.5;
- rel2.relative: 0.8 0.5;
- }
- }
- part {
- name: "right_arrow2";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- rel1.relative: 2.0 0.5;
- rel2.relative: 2.0 0.5;
- image.normal: "gadman_left.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.8 0.2;
- rel2.relative: 1.7 0.8;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.8 0.5;
- rel2.relative: 0.8 0.5;
- }
- }
- part {
- name: "top_arrow1";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- rel1.relative: 0.5 -1.0;
- rel2.relative: 0.5 -1.0;
- image.normal: "gadman_bottom.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.2 -0.8;
- rel2.relative: 0.8 -0.7;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.5 0.2;
- rel2.relative: 0.5 0.2;
- }
- }
- part {
- name: "top_arrow2";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- rel1.relative: 0.5 -1.0;
- rel2.relative: 0.5 -1.0;
- image.normal: "gadman_bottom.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.2 -0.8;
- rel2.relative: 0.8 -0.7;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.5 0.2;
- rel2.relative: 0.5 0.2;
- }
- }
- part {
- name: "bottom_arrow1";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- rel1.relative: 0.5 2.0;
- rel2.relative: 0.5 2.0;
- image.normal: "gadman_top.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.2 1.7;
- rel2.relative: 0.8 1.8;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.5 0.8;
- rel2.relative: 0.5 0.8;
- }
- }
- part {
- name: "bottom_arrow2";
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- rel1.relative: 0.5 2.0;
- rel2.relative: 0.5 2.0;
- image.normal: "gadman_top.png";
- }
- description {
- state: "1" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.2 1.7;
- rel2.relative: 0.8 1.8;
- }
- description {
- state: "2" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.5 0.8;
- rel2.relative: 0.5 0.8;
- }
- }
- }
- programs {
- program {
- name: "start1";
- signal: "show";
- source: "";
- after: "left1_1";
- after: "right1_1";
- after: "top1_1";
- after: "bottom1_1";
- }
- program {
- name: "start2";
- signal: "show";
- source: "";
- in: 0.4 0.0;
- after: "left2_1";
- after: "right2_1";
- after: "top2_1";
- after: "bottom2_1";
- }
- // LEFT ARROW
- program {
- name: "left1_1";
- action: STATE_SET "1" 0.0;
- target: "left_arrow1";
- transition: LINEAR 0.4;
- after: "left1_2";
- }
- program {
- name: "left1_2";
- action: STATE_SET "2" 0.0;
- target: "left_arrow1";
- transition: LINEAR 0.4;
- after: "left1_r";
- }
- program {
- name: "left1_r";
- action: STATE_SET "default" 0.0;
- target: "left_arrow1";
- after: "left1_1";
- }
- program {
- name: "left2_1";
- action: STATE_SET "1" 0.0;
- target: "left_arrow2";
- transition: LINEAR 0.4;
- after: "left2_2";
- }
- program {
- name: "left2_2";
- action: STATE_SET "2" 0.0;
- target: "left_arrow2";
- transition: LINEAR 0.4;
- after: "left2_r";
- }
- program {
- name: "left2_r";
- action: STATE_SET "default" 0.0;
- target: "left_arrow2";
- after: "left2_1";
- }
- // RIGHT ARROW
- program {
- name: "right1_1";
- action: STATE_SET "1" 0.0;
- target: "right_arrow1";
- transition: LINEAR 0.4;
- after: "right1_2";
- }
- program {
- name: "right1_2";
- action: STATE_SET "2" 0.0;
- target: "right_arrow1";
- transition: LINEAR 0.4;
- after: "right1_r";
- }
- program {
- name: "right1_r";
- action: STATE_SET "default" 0.0;
- target: "right_arrow1";
- after: "right1_1";
- }
- program {
- name: "right2_1";
- action: STATE_SET "1" 0.0;
- target: "right_arrow2";
- transition: LINEAR 0.4;
- after: "right2_2";
- }
- program {
- name: "right2_2";
- action: STATE_SET "2" 0.0;
- target: "right_arrow2";
- transition: LINEAR 0.4;
- after: "right2_r";
- }
- program {
- name: "right2_r";
- action: STATE_SET "default" 0.0;
- target: "right_arrow2";
- after: "right2_1";
- }
- // TOP ARROW
- program {
- name: "top1_1";
- action: STATE_SET "1" 0.0;
- target: "top_arrow1";
- transition: LINEAR 0.4;
- after: "top1_2";
- }
- program {
- name: "top1_2";
- action: STATE_SET "2" 0.0;
- target: "top_arrow1";
- transition: LINEAR 0.4;
- after: "top1_r";
- }
- program {
- name: "top1_r";
- action: STATE_SET "default" 0.0;
- target: "top_arrow1";
- after: "top1_1";
- }
- program {
- name: "top2_1";
- action: STATE_SET "1" 0.0;
- target: "top_arrow2";
- transition: LINEAR 0.4;
- after: "top2_2";
- }
- program {
- name: "top2_2";
- action: STATE_SET "2" 0.0;
- target: "top_arrow2";
- transition: LINEAR 0.4;
- after: "top2_r";
- }
- program {
- name: "top2_r";
- action: STATE_SET "default" 0.0;
- target: "top_arrow2";
- after: "top2_1";
- }
- // BOTTOM ARROW
- program {
- name: "bottom1_1";
- action: STATE_SET "1" 0.0;
- target: "bottom_arrow1";
- transition: LINEAR 0.4;
- after: "bottom1_2";
- }
- program {
- name: "bottom1_2";
- action: STATE_SET "2" 0.0;
- target: "bottom_arrow1";
- transition: LINEAR 0.4;
- after: "bottom1_r";
- }
- program {
- name: "bottom1_r";
- action: STATE_SET "default" 0.0;
- target: "bottom_arrow1";
- after: "bottom1_1";
- }
- program {
- name: "bottom2_1";
- action: STATE_SET "1" 0.0;
- target: "bottom_arrow2";
- transition: LINEAR 0.4;
- after: "bottom2_2";
- }
- program {
- name: "bottom2_2";
- action: STATE_SET "2" 0.0;
- target: "bottom_arrow2";
- transition: LINEAR 0.4;
- after: "bottom2_r";
- }
- program {
- name: "bottom2_r";
- action: STATE_SET "default" 0.0;
- target: "bottom_arrow2";
- after: "bottom2_1";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: SYSTRAY ***/
-
- group {
- name: "e/modules/systray/main";
- alias: "e/modules/systray/main/default";
- alias: "e/modules/systray/main/invisible";
- data {
- item: "inset" "255 255 255";
- item: "plain" "230 230 230";
- item: "default" "255 255 255";
- }
- parts {
- part {
- name: "base";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 128;
- }
- }
- part {
- name: "e.size";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 4 4;
- rel2.offset: -5 -5;
- }
- }
- part {
- name: "e.box";
- type: BOX;
- description {
- state: "default" 0.0;
- rel1.to: "e.size";
- rel2.to: "e.size";
- box {
- layout: "horizontal";
- padding: 2 0;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- description {
- state: "vertical" 0.0;
- rel1.to: "e.size";
- rel2.to: "e.size";
- box {
- layout: "vertical";
- padding: 0 2;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- }
- programs {
- program {
- name: "e,action,disable";
- signal: "e,action,disable";
- source: "e";
- action: STATE_SET "disabled" 0.0;
- target: "base";
- }
- program {
- name: "e,action,enable";
- signal: "e,action,enable";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- program {
- name: "e,action,orient,float";
- signal: "e,action,orient,float";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,horiz";
- signal: "e,action,orient,horiz";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,vert";
- signal: "e,action,orient,vert";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,left";
- signal: "e,action,orient,left";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,right";
- signal: "e,action,orient,right";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,top";
- signal: "e,action,orient,top";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,bottom";
- signal: "e,action,orient,bottom";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_tl";
- signal: "e,action,orient,corner_tl";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_tr";
- signal: "e,action,orient,corner_tr";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_bl";
- signal: "e,action,orient,corner_bl";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_br";
- signal: "e,action,orient,corner_br";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_lt";
- signal: "e,action,orient,corner_lt";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_rt";
- signal: "e,action,orient,corner_rt";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_lb";
- signal: "e,action,orient,corner_lb";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_rb";
- signal: "e,action,orient,corner_rb";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- }
- }
- }
- group {
- name: "e/modules/systray/main/alternate";
- data {
- item: "inset" "255 255 255";
- item: "plain" "255 255 255";
- item: "default" "255 255 255";
- }
- images.image: "systray_rounded_corners.png" COMP;
- parts {
- part {
- name: "base";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "rounded_corners";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: -3 -3;
- to: "e.size";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 2 2;
- to: "e.size";
- }
- image {
- normal: "systray_rounded_corners.png";
- border: 3 3 3 3;
- middle: SOLID;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 128;
- }
- }
- part {
- name: "e.size";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 4 4;
- rel2.offset: -5 -5;
- }
- }
- part {
- name: "e.box";
- type: BOX;
- description {
- state: "default" 0.0;
- rel1.to: "e.size";
- rel2.to: "e.size";
- box {
- layout: "horizontal";
- padding: 2 0;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- description {
- state: "vertical" 0.0;
- rel1.to: "e.size";
- rel2.to: "e.size";
- box {
- layout: "vertical";
- padding: 0 2;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- }
- programs {
- program {
- name: "e,action,disable";
- signal: "e,action,disable";
- source: "e";
- action: STATE_SET "disabled" 0.0;
- target: "rounded_corners";
- }
- program {
- name: "e,action,enable";
- signal: "e,action,enable";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "rounded_corners";
- }
- program {
- name: "e,action,orient,float";
- signal: "e,action,orient,float";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,horiz";
- signal: "e,action,orient,horiz";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,vert";
- signal: "e,action,orient,vert";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,left";
- signal: "e,action,orient,left";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,right";
- signal: "e,action,orient,right";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,top";
- signal: "e,action,orient,top";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,bottom";
- signal: "e,action,orient,bottom";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_tl";
- signal: "e,action,orient,corner_tl";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_tr";
- signal: "e,action,orient,corner_tr";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_bl";
- signal: "e,action,orient,corner_bl";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_br";
- signal: "e,action,orient,corner_br";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_lt";
- signal: "e,action,orient,corner_lt";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_rt";
- signal: "e,action,orient,corner_rt";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_lb";
- signal: "e,action,orient,corner_lb";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_rb";
- signal: "e,action,orient,corner_rb";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- }
- }
- }
- group {
- name: "e/modules/systray/main/alternate/inset";
- data {
- item: "inset" "255 255 255";
- item: "plain" "255 255 255";
- item: "default" "255 255 255";
- }
- parts {
- part {
- name: "base";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 128;
- }
- }
- part {
- name: "e.size";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 4 4;
- rel2.offset: -5 -5;
- }
- }
- part {
- name: "e.box";
- type: BOX;
- description {
- state: "default" 0.0;
- rel1.to: "e.size";
- rel2.to: "e.size";
- box {
- layout: "horizontal";
- padding: 2 0;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- description {
- state: "vertical" 0.0;
- rel1.to: "e.size";
- rel2.to: "e.size";
- box {
- layout: "vertical";
- padding: 0 2;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- }
- programs {
- program {
- name: "e,action,disable";
- signal: "e,action,disable";
- source: "e";
- action: STATE_SET "disabled" 0.0;
- target: "base";
- }
- program {
- name: "e,action,enable";
- signal: "e,action,enable";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- program {
- name: "e,action,orient,float";
- signal: "e,action,orient,float";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,horiz";
- signal: "e,action,orient,horiz";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,vert";
- signal: "e,action,orient,vert";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,left";
- signal: "e,action,orient,left";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,right";
- signal: "e,action,orient,right";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,top";
- signal: "e,action,orient,top";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,bottom";
- signal: "e,action,orient,bottom";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_tl";
- signal: "e,action,orient,corner_tl";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_tr";
- signal: "e,action,orient,corner_tr";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_bl";
- signal: "e,action,orient,corner_bl";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_br";
- signal: "e,action,orient,corner_br";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_lt";
- signal: "e,action,orient,corner_lt";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_rt";
- signal: "e,action,orient,corner_rt";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_lb";
- signal: "e,action,orient,corner_lb";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- program {
- name: "e,action,orient,corner_rb";
- signal: "e,action,orient,corner_rb";
- source: "e";
- action: STATE_SET "vertical" 0.0;
- target: "e.box";
- }
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: WINLIST ***/
-
-/* e/widgets/winlist/* is the Window List
- gadget that pops up with Alt Tab */
-
- group {
- name: "e/widgets/winlist/main";
- images {
- image: "base_bg.png" COMP;
- image: "bd_top_hilight.png" COMP;
- image: "bd_title_bg.png" COMP;
- image: "bd_title_over.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "base_bg.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "top_hilight";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 15;
- image.normal: "bd_top_hilight.png";
- fill.smooth: 0;
- }
- }
- part {
- name: "title_back";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.offset: 4 0;
- rel2.offset: -5 -4;
- rel2.to_y: "e.text.title";
- image {
- normal: "bd_title_bg.png";
- border: 7 7 2 7;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "e.swallow.icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 0.5 0.0;
- min: 24 24;
- max: 24 24;
- rel1 {
- relative: 0.0 1.0;
- offset: 1 6;
- to_y: "title_back";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 30;
- to_y: "title_back";
- }
- }
- }
- part {
- name: "separator";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 16 2;
- rel1 {
- offset: 16 2;
- relative: 0.0 1.0;
- to_y: "e.text.label";
- }
- rel2 {
- offset: -17 4;
- relative: 1.0 1.0;
- to_y: "e.text.label";
- }
- image {
- normal: "menu_sep.png";
- border: 2 2 0 0;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "e.swallow.list";
- type: SWALLOW;
- clip_to: "list_clip";
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 12 12;
- to_y: "e.text.label";
- }
- rel2.offset: -13 -12;
- }
- }
- part {
- name: "list_clip";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- rel1.to_y: "e.swallow.list";
- rel2.to_y: "e.swallow.list";
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- effect: NONE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 0 1;
- rel1 {
- relative: 0.0 1.0;
- offset: 16 16;
- to_y: "e.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -17 16;
- to_y: "e.swallow.icon";
- }
- color_class: "winlist_label";
- text {
- text: "Title goes here";
- font: "Sans:style=Bold";
- size: 10;
- min: 0 1;
- align: 0.5 0.5;
- text_class: "winlist_label";
- }
- }
- }
- part {
- name: "e.text.title";
- type: TEXT;
- mouse_events: 0;
- effect: SOFT_SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- text {
- font: "Sans:style=Bold";
- size: 10;
- align: 0.5 0.0;
- min: 1 1;
- }
- }
- }
- part {
- name: "title_over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "title_back";
- rel2.to: "title_back";
- image {
- normal: "bd_title_over.png";
- border: 7 7 2 7;
- }
- fill.smooth: 0;
- }
- }
- }
- }
- group {
- name: "e/widgets/winlist/item";
- images {
- image: "menu_sel_bg.png" COMP;
- image: "menu_sel_fg.png" COMP;
- image: "pager_window.png" COMP;
- image: "pager_window_shaded.png" COMP;
- image: "pager_base2.png" COMP;
- }
- parts {
- 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 -3;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 5;
- }
- image {
- normal: "menu_sel_bg.png";
- border: 8 8 5 9;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 2;
- }
- }
- }
- part {
- name: "fg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "menu_sel_fg.png";
- border: 8 8 5 9;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 3;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -1;
- to_y: "e.text.label";
- }
- }
- }
- part {
- name: "type";
- description {
- state: "default" 0.0;
- min: 23 24;
- max: 23 24;
- align: 1.0 0.5;
- rel1 {
- relative: 1.0 0.5;
- offset: -23 -12;
- }
- rel2 {
- relative: 1.0 0.5;
- offset: -1 11;
- to_y: "e.text.label";
- }
- image.normal: "pager_window.png";
- }
- description {
- state: "iconified" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "invisible" 0.0;
- inherit: "default" 0.0;
- image.normal: "pager_base2.png";
- }
- description {
- state: "shaded" 0.0;
- inherit: "default" 0.0;
- image.normal: "pager_window_shaded.png";
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- effect: SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- offset: 3 5;
- to_x: "e.swallow.icon";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -4 -4;
- to_x: "type";
- }
- color_class: "winlist_item";
- text {
- font: "Sans";
- size: 10;
- min: 0 1;
- align: 0.0 0.5;
- text_class: "winlist_title";
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color_class: "winlist_item_active";
- }
- }
- part {
- name: "e.event.winlist.item";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 12 12;
- visible: 1;
- color: 0 0 0 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- }
- programs {
- program {
- name: "type1";
- signal: "e,state,iconified";
- source: "e";
- action: STATE_SET "iconified" 0.0;
- target: "type";
- }
- program {
- name: "type2";
- signal: "e,state,invisible";
- source: "e";
- action: STATE_SET "invisible" 0.0;
- target: "type";
- }
- program {
- name: "type3";
- signal: "e,state,shaded";
- source: "e";
- action: STATE_SET "shaded" 0.0;
- target: "type";
- }
- program {
- name: "sel";
- signal: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- transition: LINEAR 0.2;
- target: "bg";
- target: "fg";
- target: "e.text.label";
- }
- program {
- name: "unsel";
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.1;
- target: "bg";
- target: "fg";
- target: "e.text.label";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: EXEBUF ***/
-
- /* Exebuf is the run dialog, binded to Alt-Esc by default */
-
- group {
- name: "e/widgets/exebuf/main";
- images {
- image: "base_bg.png" COMP;
- image: "inset_sunk.png" COMP;
- image: "menu_sel_bg.png" COMP;
- image: "menu_sel_fg.png" COMP;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "base_bg.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "eap_bg";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- to: "e.swallow.eap_list";
- offset: -1 -1;
- }
- rel2 {
- to: "e.swallow.eap_list";
- offset: 0 0;
- }
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.eap_list";
- type: SWALLOW;
- clip_to: "eap_list_clip";
- description {
- state: "default" 0.0;
- min: 32 64;
- align: 0.5 0.0;
- rel1.offset: 12 12;
- rel2 {
- offset: -13 -13;
- relative: 1.0 0.0;
- to_y: "bg";
- }
- }
- }
- part {
- name: "eap_list_clip";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- rel1.to_y: "e.swallow.eap_list";
- rel2.to_y: "e.swallow.eap_list";
- }
- }
- part {
- name: "eap_over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- offset: -1 -1;
- to: "eap_bg";
- }
- rel2 {
- offset: 0 0;
- to: "eap_bg";
- }
- image {
- normal: "inset_sunk.png";
- border: 7 7 7 7;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "exe_bg";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1 {
- to: "e.swallow.exe_list";
- offset: -1 -1;
- }
- rel2 {
- to: "e.swallow.exe_list";
- offset: 0 0;
- }
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.swallow.exe_list";
- type: SWALLOW;
- clip_to: "exe_list_clip";
- description {
- state: "default" 0.0;
- min: 32 64;
- align: 0.5 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 12 12;
- to_y: "bg";
- }
- rel2.offset: -13 -13;
- }
- }
- part {
- name: "exe_list_clip";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- rel1.to_y: "e.swallow.exe_list";
- rel2.to_y: "e.swallow.exe_list";
- }
- }
- part {
- name: "exe_over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- offset: -1 -1;
- to: "exe_bg";
- }
- rel2 {
- offset: 0 0;
- to: "exe_bg";
- }
- image {
- normal: "inset_sunk.png";
- border: 7 7 7 7;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 42;
- max: 99999 42;
- rel1.offset: 20 0;
- rel2.offset: -21 -1;
- image {
- normal: "menu_sel_bg.png";
- border: 8 8 5 9;
- }
- }
- }
- part {
- name: "e.text.label";
- type: TEXT;
- effect: SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.5;
- offset: 4 0;
- to_x: "e.swallow.icons";
- }
- rel2 {
- relative: 1.0 0.5;
- offset: 4 0;
- to_x: "e.swallow.icons";
- }
- color: 255 255 255 255;
- color3: 0 0 0 64;
- text {
- font: "Sans:style=Bold";
- size: 16;
- align: 0.0 0.5;
- min: 1 1;
- text_class: "exebuf_command";
- }
- }
- }
- part {
- name: "cursor";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 1 18;
- max: 1 18;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1 {
- relative: 1.0 0.0;
- offset: 1 0;
- to: "e.text.label";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 -1;
- to: "e.text.label";
- }
- color: 255 255 255 220;
- }
- description {
- state: "faded" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part {
- name: "e.swallow.icons";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- min: 32 32;
- max: 32 32;
- align: 0.0 0.5;
- rel1 {
- offset: 6 4;
- to: "bg";
- }
- rel2 {
- offset: -7 -5;
- to: "bg";
- }
- }
- }
- part {
- name: "fg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "menu_sel_fg.png";
- border: 8 8 5 9;
- }
- }
- }
- }
- programs {
- program {
- name: "blink_off";
- signal: "show";
- source: "";
- action: STATE_SET "faded" 0.0;
- transition: SINUSOIDAL 0.5;
- target: "cursor";
- after: "blink_on";
- }
- program {
- name: "blink_on";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.25;
- target: "cursor";
- after: "blink_off";
- }
- }
- }
- group {
- name: "e/widgets/exebuf/item";
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.offset: -5 -3;
- rel2.offset: 4 5;
- image {
- normal: "menu_sel_bg.png";
- border: 8 8 5 9;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1.offset: -2 0;
- rel2.offset: 1 2;
- }
- }
- part {
- name: "e.text.title";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- offset: 2 1;
- relative: 1.0 0.0;
- to_x: "e.swallow.icons";
- }
- rel2.offset: -3 -2;
- color_class: "menu_item";
- text {
- font: "Sans";
- size: 10;
- min: 0 1;
- align: 0.0 0.5;
- text_class: "menu_item";
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color_class: "menu_item_active";
- }
- }
- part {
- name: "e.swallow.icons";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- max: 18 18;
- aspect: 1.0 1.0;
- align: 0.0 0.5;
- aspect_preference: VERTICAL;
- rel1 {
- relative: 0.0 0.0;
- offset: 3 1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -3 -2;
- }
- }
- }
- part {
- name: "fg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "menu_sel_fg.png";
- border: 8 8 5 9;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part {
- name: "e.event.exebuf.item";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 14 14;
- visible: 1;
- color: 0 0 0 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 1 -1;
- to_x: "e.swallow.icons";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- }
- }
- programs {
- program {
- name: "sel";
- signal: "e,state,selected";
- source: "e";
- action: STATE_SET "selected" 0.0;
- transition: LINEAR 0.2;
- target: "bg";
- target: "fg";
- target: "e.text.title";
- }
- program {
- name: "unsel";
- signal: "e,state,unselected";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.1;
- target: "bg";
- target: "fg";
- target: "e.text.title";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: SYSCON ***/
-
- group {
- name: "e/widgets/syscon/main";
- images {
- image: "base_bg.png" COMP;
- 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;
- }
- parts {
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "base_bg.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "e.swallow.main";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- // fixed: 1 1;
- align: 0.5 0.0;
- rel1.offset: 12 12;
- rel2.relative: 1.0 0.0;
- rel2.offset: -13 12;
- }
- }
- part {
- name: "e.swallow.secondary";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- min: 32 32;
- rel1.to: "e.swallow.main";
- rel1.relative: 0.0 1.0;
- rel1.offset: 0 12;
- rel2.to: "e.swallow.extra";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 -13;
- }
- }
- part {
- name: "e.swallow.extra";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- // fixed: 1 1;
- align: 0.5 1.0;
- rel1.relative: 0.0 1.0;
- rel1.offset: 12 -13;
- rel2.to_y: "button_image";
- rel2.relative: 1.0 0.0;
- rel2.offset: -13 -13;
- }
- }
- part {
- name: "button_image";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1.relative: 0.5 1.0;
- rel1.offset: 0 -13;
- rel2.relative: 0.5 1.0;
- rel2.offset: 0 -13;
- min: 64 32;
- max: 64 32;
- image {
- normal: "bt_base2.png";
- border: 7 7 7 7;
- }
- }
- 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: "e.text.label";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "button_image";
- relative: 0.0 0.0;
- offset: 3 3;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -4 -4;
- to: "button_image";
- }
- color_class: "button_text";
- text {
- text: "Cancel";
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "button_text_disabled";
- }
- }
- 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;
- }
- }
- 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: 0;
- description {
- state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- 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: 0;
- description {
- state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- visible: 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;
- }
- }
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "button_image";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "button_image";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "button_image";
- action: SIGNAL_EMIT "e,action,close" "";
- }
- }
- }
- group {
- name: "e/widgets/syscon/item/button";
- 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: 32 16;
- image {
- normal: "bt_base2.png";
- border: 7 7 7 7;
- }
- }
- 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: "e.text.label";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 3 -4;
- to: "button_image";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -4 -4;
- to: "button_image";
- }
- color_class: "button_text";
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 0.5 1.0;
- text_class: "button";
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "button_text_disabled";
- }
- }
- part {
- name: "e.swallow.icon";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- align: 0.5 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 3 3;
- to: "button_image";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -4 -1;
- to_x: "button_image";
- to_y: "e.text.label";
- }
- }
- }
- 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: 0;
- 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: 0;
- description {
- state: "default" 0.0;
- visible: 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: "focus_in";
- signal: "e,state,focused";
- source: "e";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "button_image";
- after: "focus_in";
- }
- program {
- name: "focus_out";
- signal: "e,state,unfocused";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "button_image";
- after: "focus_out";
- }
- program {
- name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "button_image";
- action: SIGNAL_EMIT "e,action,click" "";
- }
- program {
- name: "disable";
- signal: "e,state,disabled";
- source: "e";
- action: STATE_SET "disabled" 0.0;
- target: "button_image";
- target: "over1";
- target: "disabler";
- }
- program {
- name: "enable";
- signal: "e,state,enabled";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- target: "over1";
- target: "disabler";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: MIXER ***/
- // TODO: Add code for making sound circles fade between states.
-
- group {
- name: "e/modules/mixer/main";
- images {
- image: "mixer.png" COMP;
- image: "mixer_low_left.png" COMP;
- image: "mixer_low_right.png" COMP;
- image: "mixer_med_left.png" COMP;
- image: "mixer_med_right.png" COMP;
- image: "mixer_high_left.png" COMP;
- image: "mixer_high_right.png" COMP;
- }
- max: 128 128;
- min: 1 1;
- script {
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_INT_SET) && (id == 0)) {
- new mute, left, right;
- mute = getarg(2);
- left = getarg(3);
- right = getarg(4);
- if (mute)
- run_program(PROGRAM:"mute");
- else
- run_program(PROGRAM:"unmute");
-
- if (left <= 0)
- run_program(PROGRAM:"left_none");
- else if (left < 33)
- run_program(PROGRAM:"left_low");
- else if (left < 66)
- run_program(PROGRAM:"left_medium");
- else if (left >= 66)
- run_program(PROGRAM:"left_high");
-
- if (right <= 0)
- run_program(PROGRAM:"right_none");
- else if (right < 33)
- run_program(PROGRAM:"right_low");
- else if (right < 66)
- run_program(PROGRAM:"right_medium");
- else if (right >= 66)
- run_program(PROGRAM:"right_high");
- }
- }
- }
- parts {
- part {
- name: "speaker";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- aspect: 1 1;
- aspect_preference: BOTH;
- image.normal: "mixer.png";
- }
- }
- part {
- name: "left";
- type: IMAGE;
- clip_to: "mute";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- aspect: 1 1;
- aspect_preference: BOTH;
- rel1.to: "speaker";
- rel2.to: "speaker";
- image.normal: "mixer_low_left.png";
- }
- description {
- state: "low" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "medium" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "mixer_med_left.png";
- }
- description {
- state: "high" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "mixer_high_left.png";
- }
- }
- part {
- name: "right";
- type: IMAGE;
- clip_to: "mute";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- aspect: 1 1;
- aspect_preference: BOTH;
- rel1.to: "speaker";
- rel2.to: "speaker";
- image.normal: "mixer_low_right.png";
- }
- description {
- state: "low" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "medium" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "mixer_med_right.png";
- }
- description {
- state: "high" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "mixer_high_right.png";
- }
- }
- part {
- name: "mute";
- mouse_events: 0;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "active" 0.0;
- color: 255 255 255 64;
- }
- }
- part {
- name: "over";
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.to: "speaker";
- rel2.to: "speaker";
- color: 255 255 255 0;
- }
- }
- }
- programs {
- program {
- name: "mute";
- action: STATE_SET "active" 0.0;
- transition: LINEAR 0.3;
- target: "mute";
- }
- program {
- name: "unmute";
- action: STATE_SET "default" 0.0;
- transition: LINEAR 0.2;
- target: "mute";
- }
- program {
- name: "left_none";
- action: STATE_SET "default" 0.0;
- target: "left";
- }
- program {
- name: "left_low";
- action: STATE_SET "low" 0.0;
- target: "left";
- }
- program {
- name: "left_medium";
- action: STATE_SET "medium" 0.0;
- target: "left";
- }
- program {
- name: "left_high";
- action: STATE_SET "high" 0.0;
- target: "left";
- }
- program {
- name: "right_none";
- action: STATE_SET "default" 0.0;
- target: "right";
- }
- program {
- name: "right_low";
- action: STATE_SET "low" 0.0;
- target: "right";
- }
- program {
- name: "right_medium";
- action: STATE_SET "medium" 0.0;
- target: "right";
- }
- program {
- name: "right_high";
- action: STATE_SET "high" 0.0;
- target: "right";
- }
- }
- }
-
-
-/////////////////////////////////////////////////////////////////////////////
-/*** FILEMAN ***/
-/* E inbuilt filemanager */
-
- group {
- name: "e/fileman/default/window/main";
- 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;
- color_class: "fileman_base";
- image.normal: "dia_grad.png";
- fill {
- smooth: 0;
- size {
- relative: 0.0 1.0;
- offset: 64 0;
- }
- }
- }
- }
- part { name: "e.swallow.bg"; 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 -4;
- image.normal: "dia_botshad.png";
- fill {
- smooth: 0;
- size {
- relative: 0.0 1.0;
- offset: 64 0;
- }
- }
- }
- }
- part { name: "e.swallow.favorites"; type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.0 1.0;
- rel1.offset: 0 0;
- rel1.to: "region";
- rel2.offset: 0 -1;
- rel2.relative: 0.0 1.0;
- rel2.to: "region";
- fixed: 1 0;
- }
- }
- part { name: "e.swallow.content"; type: SWALLOW;
- description { state: "default" 0.0;
- rel1.offset: 0 0;
- rel1.to: "region";
- rel2.offset: -1 -1;
- rel2.to: "region";
- align: 1.0 1.0;
- }
- description { state: "fav" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.0 0.0;
- rel1.to_x: "e.swallow.favorites";
- }
- }
- part { name: "e.swallow.toolbar"; type: SWALLOW;
- description { state: "default" 0.0;
- }
- description { state: "tb_top" 0.0;
- align: 0.5 0.0;
- rel1.offset: 0 0;
- rel2.offset: -1 0;
- rel2.relative: 1.0 0.0;
- fixed: 0 1;
- }
- description { state: "tb_bottom" 0.0;
- align: 0.5 1.0;
- rel1.offset: 0 -1;
- rel1.relative: 0.0 1.0;
- rel2.offset: -1 -1;
- fixed: 0 1;
- }
- }
- part { name: "region"; type: SPACER;
- description { state: "default" 0.0;
- }
- description { state: "tb_top" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_y: "e.swallow.toolbar";
- }
- description { state: "tb_bottom" 0.0;
- inherit: "default" 0.0;
- rel2.relative: 1.0 0.0;
- rel2.to_y: "e.swallow.toolbar";
- }
- description { state: "tb_left" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.0 0.0;
- rel1.to_x: "e.swallow.toolbar";
- }
- description { state: "tb_right" 0.0;
- inherit: "default" 0.0;
- rel2.relative: 0.0 1.0;
- rel2.to_x: "e.swallow.toolbar";
- }
- }
- }
- programs {
- program {
-signal: "e,favorites,enabled"; source: "e";
-action: STATE_SET "fav" 0.0;
-target: "e.swallow.content";
- }
- program {
-signal: "e,favorites,disabled"; source: "e";
-action: STATE_SET "default" 0.0;
-target: "e.swallow.content";
- }
- program {
-signal: "e,toolbar,left"; source: "e";
-action: STATE_SET "tb_left" 0.0;
-target: "e.swallow.toolbar";
-target: "region";
- }
- program {
-signal: "e,toolbar,right"; source: "e";
-action: STATE_SET "tb_right" 0.0;
-target: "e.swallow.toolbar";
-target: "region";
- }
- program {
-signal: "e,toolbar,top"; source: "e";
-action: STATE_SET "tb_top" 0.0;
-target: "e.swallow.toolbar";
-target: "region";
- }
- program {
-signal: "e,toolbar,bottom"; source: "e";
-action: STATE_SET "tb_bottom" 0.0;
-target: "e.swallow.toolbar";
-target: "region";
- }
- program {
-signal: "e,toolbar,disabled"; source: "e";
-action: STATE_SET "default" 0.0;
-target: "e.swallow.toolbar";
-target: "region";
- }
- }
- }
- group { name: "e/fileman/popup/default";
- parts {
- part { name: "base"; type: RECT; mouse_events: 0;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "e.swallow.content"; type: SWALLOW;
- description { state: "default" 0.0;
- rel1.offset: 4 0;
- rel1.relative: 0.0 1.0;
- rel1.to_y: "e.text.title";
- rel2.offset: -5 -5;
- }
- }
- part { name: "e.text.title"; type: TEXT; mouse_events: 0;
- scale: 1;
- effect: SHADOW BOTTOM;
- description { state: "default" 0.0;
- color_class: "fileman_popup_title";
- rel1.relative: 0.0 0.0;
- rel1.offset: 1 3;
- rel2.relative: 1.0 0.0;
- rel2.offset: -2 3;
- align: 0.5 0.0;
- color: 0 0 0 255;
- color3: 255 255 255 128;
- text { font: "Sans:style=Bold"; size: 10;
- text_class: "fileman_popup_title";
- align: 0.5 0.0;
- min: 0 1;
- }
- fixed: 0 1;
- }
- }
- }
- }
- group {
- name: "e/fileman/default/progress";
- min: 250 40;
- images {
- image: "icon_efm_file_del.png" COMP;
- }
- parts {
- part {
- name: "bg";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image.normal: "bt_dis_base.png";
- image.border: 5 5 5 5;
- }
- description {
- state: "need_attention" 0.0;
- inherit: "default" 0.0;
- color: 200 0 0 150;
- }
- }
- part {
- name: "shadow";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image.normal: "bt_dis_shine.png";
- image.border: 5 5 5 5;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- part {
- name: "icon";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 32 32;
- max: 32 32;
- align: 0.01 0.5;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "icon_efm_dnd_ask.png";
- }
- description {
- state: "copy" 0.0;
- inherit: "default" 0.0;
- image.normal: "icon_efm_dnd_copy.png";
- }
- description {
- state: "move" 0.0;
- inherit: "default" 0.0;
- image.normal: "icon_efm_dnd_move.png";
- }
- description {
- state: "delete" 0.0;
- inherit: "default" 0.0;
- image.normal: "icon_efm_file_del.png";
- }
- }
- part {
- name: "gauge_bg";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "icon";
- rel1.relative: 1.0 0.60;
- rel2.to: "bg";
- rel2.relative: 1.0 1.0;
- rel2.offset: -4 -5;
- image.normal: "inset_sunk.png";
- image.border: 6 6 6 6;
- }
- }
- part {
- name: "gauge_confine";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "gauge_bg";
- rel1.offset: 1 1;
- rel2.to: "gauge_bg";
- rel2.offset: -2 -2;
- color: 0 255 0 0;
- }
- }
- part {
- name: "e.gauge.bar";
- mouse_events: 0;
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- min: 0 0;
- color: 55 55 55 100;
- }
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine:"gauge_confine";
- }
- }
- part {
- name: "e.text.info";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "icon";
- to_y: "bg";
- }
- rel2 {
- relative: 0.0 0.6;
- to_x: "bt_abort";
- to_y: "icon";
- }
- color: 0 0 0 255;
- text {
- font: "Sans";
- size: 10;
- align: 0.0 0.5;
- text_class: "fileman_icon";
- }
- }
- }
- part {
- name: "bt_abort";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- align: 1.0 0.0;
- min: 19 19;
- max: 19 19;
- rel1.offset: -3 2;
- rel2.offset: -3 2;
- image.normal: "bd_button_close_shadow.png";
- }
- }
- part {
- name: "bt_abort_unfoc";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1.to: "bt_abort";
- rel2.to: "bt_abort";
- image.normal: "bd_button_close_unfocused.png";
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.offset: 0 1;
- rel2.offset: -1 0;
- }
- }
- part {
- name: "bt_abort_foc";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bt_abort";
- rel2.to: "bt_abort";
- image.normal: "bd_button_close_focused.png";
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1.offset: 0 1;
- rel2.offset: -1 0;
- }
- }
- part {
- name: "e.event.abort";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bt_abort";
- rel2.to: "bt_abort";
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "set_need_attention";
- signal: "e,action,set,need_attention";
- source: "e";
- action: STATE_SET "need_attention" 0.0;
- transition: SINUSOIDAL 1.0;
- target: "bg";
- after: "need_loop";
- }
- program {
- name: "need_loop";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 1.0;
- target: "bg";
- after: "set_need_attention";
- }
- program {
- name: "set_normal";
- signal: "e,action,set,normal";
- source: "e";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 1.0;
- target: "bg";
- }
- program {
- name: "set_icon_unknow";
- signal: "e,action,icon,unknown";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "icon";
- }
- program {
- name: "set_icon_copy";
- signal: "e,action,icon,copy";
- source: "e";
- action: STATE_SET "copy" 0.0;
- target: "icon";
- }
- program {
- name: "set_icon_move";
- signal: "e,action,icon,move";
- source: "e";
- action: STATE_SET "move" 0.0;
- target: "icon";
- }
- program {
- name: "set_icon_delete";
- signal: "e,action,icon,delete";
- source: "e";
- action: STATE_SET "delete" 0.0;
- target: "icon";
- }
- program {
- name: "set_icon_secure_delete";
- signal: "e,action,icon,secure_delete";
- source: "e";
- action: STATE_SET "delete" 0.0;
- target: "icon";
- }
- program {
- name: "bt_abort_down";
- signal: "mouse,down,*";
- source: "e.event.abort";
- action: STATE_SET "active" 0.0;
- target: "bt_abort_unfoc";
- target: "bt_abort_foc";
- }
- program {
- name: "bt_abort_up";
- signal: "mouse,up,*";
- source: "e.event.abort";
- action: STATE_SET "default" 0.0;
- target: "bt_abort_unfoc";
- target: "bt_abort_foc";
- }
- program {
- name: "bt_abort_click";
- signal: "mouse,clicked,*";
- source: "e.event.abort";
- action: SIGNAL_EMIT "e,fm,operation,abort" "";
- }
- }
- }
- group {
- name: "e/fileman/default/scrollframe";
- images {
- image: "inset_sunk.png" COMP;
- image: "arrow_left.png" COMP;
- image: "arrow_right.png" COMP;
- image: "arrow_up.png" COMP;
- image: "arrow_down.png" COMP;
- image: "bt_sm_base1.png" COMP;
- 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;
- }
- parts {
- part {
- name: "clipper";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- }
- }
- part { name: "e.swallow.bg"; type: SWALLOW;
- description { state: "default" 0.0;
- }
- }
- part {
- name: "e.swallow.content";
- clip_to: "clipper";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 1 1;
- rel2 {
- relative: 0.0 0.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- to_y: "sb_hbar";
- }
- }
- }
- part {
- name: "conf_over";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.offset: -1 -1;
- rel2.offset: 0 0;
- image {
- normal: "inset_sunk.png";
- border: 7 7 7 7;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "sb_vbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 17 17;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -2 1;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -2 -1;
- to_y: "sb_hbar";
- }
- }
- description {
- state: "hidden" 0.0;
- visible: 0;
- max: 0 99999;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part {
- name: "sb_vbar_base";
- type: RECT;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -2;
- to: "sb_vbar_a1";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 1;
- to: "sb_vbar_a2";
- }
- }
- }
- part {
- name: "sb_vbar_runner";
- clip_to: "sb_vbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- max: 3 99999;
- rel1.to: "sb_vbar_base";
- rel1.offset: 1 0;
- rel2.to: "sb_vbar_base";
- image {
- normal: "sb_runnerv.png";
- border: 0 0 4 4;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "sb_vbar_p1";
- type: RECT;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- to: "sb_vbar_a1";
- }
- rel2 {
- relative: 1.0 0.0;
- to: "e.dragable.vbar";
- }
- }
- }
- part {
- name: "sb_vbar_p2";
- type: RECT;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- to: "e.dragable.vbar";
- }
- rel2 {
- relative: 1.0 0.0;
- to: "sb_vbar_a2";
- }
- }
- }
- part {
- name: "e.dragable.vbar";
- clip_to: "sb_vbar";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 0 0 0;
- y: 1 1 0;
- confine: "sb_vbar_base";
- }
- description {
- state: "default" 0.0;
- min: 17 17;
- rel1 {
- relative: 0.5 0.5;
- offset: 0 0;
- to: "sb_vbar_base";
- }
- rel2 {
- relative: 0.5 0.5;
- offset: 0 0;
- to: "sb_vbar_base";
- }
- image {
- normal: "bt_sm_base2.png";
- border: 6 6 6 6;
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "bt_sm_base1.png";
- }
- }
- part {
- name: "sb_vbar_over1";
- clip_to: "sb_vbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "e.dragable.vbar";
- rel2.relative: 1.0 0.5;
- rel2.to: "e.dragable.vbar";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- }
- part {
- name: "sb_vbar_over2";
- clip_to: "sb_vbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "e.dragable.vbar";
- rel2.to: "e.dragable.vbar";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
- }
- }
- }
- part {
- name: "sb_vbar_a1";
- type: RECT;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 17 17;
- align: 0.5 0.0;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- color: 0 0 0 0;
- rel1 {
- to: "sb_vbar";
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- to: "sb_vbar";
- relative: 1.0 0.0;
- offset: -1 0;
- }
- }
- }
- part {
- name: "sb_vbar_a1_arrow";
- mouse_events: 0;
- clip_to: "sb_vbar";
- description {
- state: "default" 0.0;
- max: 9 9;
- 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;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 17 17;
- align: 0.5 1.0;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- color: 0 0 0 0;
- rel1 {
- to: "sb_vbar";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- rel2 {
- to: "sb_vbar";
- relative: 1.0 1.0;
- offset: -1 0;
- }
- }
- }
- part {
- name: "sb_vbar_a2_arrow";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "sb_vbar";
- description {
- state: "default" 0.0;
- max: 9 9;
- 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: "sb_hbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 17 17;
- align: 0.0 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 1 -2;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -2;
- to_x: "sb_vbar";
- }
- }
- description {
- state: "hidden" 0.0;
- visible: 0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- }
- }
- }
- part {
- name: "sb_hbar_base";
- type: RECT;
- clip_to: "sb_hbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 1.0 0.0;
- offset: -2 0;
- to: "sb_hbar_a1";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 1 -1;
- to: "sb_hbar_a2";
- }
- }
- }
- part {
- name: "sb_hbar_runner";
- clip_to: "sb_hbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- max: 99999 3;
- rel1.to: "sb_hbar_base";
- rel1.offset: 0 1;
- rel2.to: "sb_hbar_base";
- image {
- normal: "sb_runnerh.png";
- border: 4 4 0 0;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "sb_hbar_p1";
- type: RECT;
- clip_to: "sb_hbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "sb_hbar_a1";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "e.dragable.hbar";
- }
- }
- }
- part {
- name: "sb_hbar_p2";
- type: RECT;
- clip_to: "sb_hbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "e.dragable.hbar";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "sb_hbar_a2";
- }
- }
- }
- part {
- name: "e.dragable.hbar";
- clip_to: "sb_hbar";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "sb_hbar_base";
- }
- description {
- state: "default" 0.0;
- min: 17 17;
- rel1 {
- relative: 0.5 0.5;
- offset: 0 0;
- to: "sb_hbar_base";
- }
- rel2 {
- relative: 0.5 0.5;
- offset: 0 0;
- to: "sb_hbar_base";
- }
- image {
- normal: "bt_sm_base2.png";
- border: 6 6 6 6;
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "bt_sm_base1.png";
- }
- }
- part {
- name: "sb_hbar_over1";
- clip_to: "sb_hbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "e.dragable.hbar";
- rel2.relative: 1.0 0.5;
- rel2.to: "e.dragable.hbar";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- }
- part {
- name: "sb_hbar_over2";
- clip_to: "sb_hbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "e.dragable.hbar";
- rel2.to: "e.dragable.hbar";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
- }
- }
- }
- part {
- name: "sb_hbar_a1";
- type: RECT;
- clip_to: "sb_hbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 17 17;
- align: 0.0 0.5;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- rel1 {
- to: "sb_hbar";
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- to: "sb_hbar";
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- }
- }
- part {
- name: "sb_hbar_a1_arrow";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "sb_hbar";
- description {
- state: "default" 0.0;
- max: 9 9;
- 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;
- clip_to: "sb_hbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 17 17;
- align: 1.0 0.5;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- rel1 {
- to: "sb_hbar";
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- to: "sb_hbar";
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- }
- }
- part {
- name: "sb_hbar_a2_arrow";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "sb_hbar";
- description {
- state: "default" 0.0;
- max: 9 9;
- 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: "e.box.operations";
- type: BOX;
- description {
- state: "default" 0.0;
- rel2.to_x: "sb_vbar";
- rel2.to_y: "sb_hbar";
- rel2.relative: 0.0 0.0;
- box {
- layout: "vertical";
- padding: 0 0;
- align: 1.0 1.0;
- }
- }
- }
- part {
- name: "e.swallow.overlay";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- }
- }
- }
- programs {
- program {
- name: "sb_vbar_show";
- signal: "e,action,show,vbar";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "sb_vbar";
- }
- program {
- name: "sb_vbar_hide";
- signal: "e,action,hide,vbar";
- source: "e";
- action: STATE_SET "hidden" 0.0;
- target: "sb_vbar";
- }
- program {
- name: "sb_hbar_show";
- signal: "e,action,show,hbar";
- source: "e";
- action: STATE_SET "default" 0.0;
- target: "sb_hbar";
- }
- program {
- name: "sb_hbar_hide";
- signal: "e,action,hide,hbar";
- source: "e";
- action: STATE_SET "hidden" 0.0;
- target: "sb_hbar";
- }
- 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: "e.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: "e.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: "e.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: "e.dragable.vbar";
- }
- program {
- name: "sb_vbar_down";
- signal: "mouse,down,1";
- source: "e.dragable.vbar";
- action: STATE_SET "clicked" 0.0;
- target: "e.dragable.vbar";
- }
- program {
- name: "sb_vbar_up";
- signal: "mouse,up,1";
- source: "e.dragable.vbar";
- action: STATE_SET "default" 0.0;
- target: "e.dragable.vbar";
- }
- 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: "e.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: "e.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: "e.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: "e.dragable.hbar";
- }
- program {
- name: "sb_hbar_down";
- signal: "mouse,down,1";
- source: "e.dragable.hbar";
- action: STATE_SET "clicked" 0.0;
- target: "e.dragable.hbar";
- }
- program {
- name: "sb_hbar_up";
- signal: "mouse,up,1";
- source: "e.dragable.hbar";
- action: STATE_SET "default" 0.0;
- target: "e.dragable.hbar";
- }
- }
- }
- group {
- name: "e/fileman/desktop/scrollframe";
- images {
- image: "arrow_left.png" COMP;
- image: "arrow_right.png" COMP;
- image: "arrow_up.png" COMP;
- image: "arrow_down.png" COMP;
- image: "bt_sm_base1.png" COMP;
- 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;
- }
- parts {
- part {
- name: "clipper";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- }
- }
- part {
- name: "e.swallow.content";
- clip_to: "clipper";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 0 0;
- rel2 {
- relative: 0.0 0.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- to_y: "sb_hbar";
- }
- }
- }
- part {
- name: "sb_vbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 17 17;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- description {
- state: "hidden" 0.0;
- visible: 0;
- max: 0 99999;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part {
- name: "sb_vbar_base";
- type: RECT;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- to: "sb_vbar_a1";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 0;
- to: "sb_vbar_a2";
- }
- }
- }
- part {
- name: "sb_vbar_runner";
- clip_to: "sb_vbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- max: 3 99999;
- rel1.to: "sb_vbar_base";
- rel1.offset: 1 0;
- rel2.to: "sb_vbar_base";
- image {
- normal: "sb_runnerv.png";
- border: 0 0 4 4;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "sb_vbar_p1";
- type: RECT;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- to: "sb_vbar_a1";
- }
- rel2 {
- relative: 1.0 0.0;
- to: "e.dragable.vbar";
- }
- }
- }
- part {
- name: "sb_vbar_p2";
- type: RECT;
- clip_to: "sb_vbar";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- to: "e.dragable.vbar";
- }
- rel2 {
- relative: 1.0 0.0;
- to: "sb_vbar_a2";
- }
- }
- }
- part {
- name: "e.dragable.vbar";
- clip_to: "sb_vbar";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 0 0 0;
- y: 1 1 0;
- confine: "sb_vbar_base";
- }
- description {
- state: "default" 0.0;
- min: 17 17;
- rel1 {
- relative: 0.5 0.5;
- offset: 0 0;
- to: "sb_vbar_base";
- }
- rel2 {
- relative: 0.5 0.5;
- offset: 0 0;
- to: "sb_vbar_base";
- }
- image {
- normal: "bt_sm_base2.png";
- border: 6 6 6 6;
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "bt_sm_base1.png";
- }
- }
- part {
- name: "sb_vbar_over1";
- clip_to: "sb_vbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "e.dragable.vbar";
- rel2.relative: 1.0 0.5;
- rel2.to: "e.dragable.vbar";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- }
- part {
- name: "sb_vbar_over2";
- clip_to: "sb_vbar";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "e.dragable.