diff --git a/configure.ac b/configure.ac index 686350701..2edfcc32c 100644 --- a/configure.ac +++ b/configure.ac @@ -1058,7 +1058,6 @@ data/favorites/Makefile data/desktop/Makefile data/input_methods/Makefile data/themes/Makefile -data/themes/images/Makefile data/xsession/Makefile data/xsession/enlightenment.desktop data/tools/Makefile diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 00002abb7..38724e1b0 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -1,21 +1,508 @@ +AUTOMAKE_OPTIONS = 1.4 foreign MAINTAINERCLEANFILES = Makefile.in -SUBDIRS = images EDJE_CC = @edje_cc@ EDJE_FLAGS_VERBOSE_ = EDJE_FLAGS_VERBOSE_0 = EDJE_FLAGS_VERBOSE_1 = -v EDJE_FLAGS = $(EDJE_FLAGS_$(V)) \ --id $(top_srcdir)/data/themes/images \ --fd $(top_srcdir)/data/themes/fonts \ +-id $(top_srcdir)/data/themes/img \ +-fd $(top_srcdir)/data/themes/fnt \ @EDJE_DEF@ filesdir = $(datadir)/enlightenment/data/themes -files_DATA = \ -default.edj +files_DATA = default.edj EXTRA_DIST = \ -default.edc +default.edc \ +macros.edc \ +edc/background.edc \ +edc/border.edc \ +edc/button.edc \ +edc/check.edc \ +edc/clock.edc \ +edc/colorwell.edc \ +edc/comp.edc \ +edc/conf.edc \ +edc/connman.edc \ +edc/deskpreview.edc \ +edc/dialog.edc \ +edc/entry.edc \ +edc/fileman.edc \ +edc/frame.edc \ +edc/gadman.edc \ +edc/ilist.edc \ +edc/label.edc \ +edc/menu.edc \ +edc/pager.edc \ +edc/pointer.edc \ +edc/preview.edc \ +edc/radio.edc \ +edc/scrollframe.edc \ +edc/shelf.edc \ +edc/slider.edc \ +edc/start.edc \ +edc/syscon.edc \ +edc/systray.edc \ +edc/tasks.edc \ +edc/textblock.edc \ +edc/toolbar.edc \ +edc/xkbswitch.edc \ +edc/O/about.edc \ +edc/O/backlight.edc \ +edc/O/battery.edc \ +edc/O/border_icons.edc \ +edc/O/colors.edc \ +edc/O/conf_gad.edc \ +edc/O/cpufreq.edc \ +edc/O/cslider.edc \ +edc/O/desklock.edc \ +edc/O/edgebindings.edc \ +edc/O/efm_icons.edc \ +edc/O/evrything.edc \ +edc/O/fontpreview.edc \ +edc/O/gadman.edc \ +edc/O/ibarbox.edc \ +edc/O/icons.edc \ +edc/O/illume_gad.edc \ +edc/O/init.edc \ +edc/O/mixer.edc \ +edc/O/randr.edc \ +edc/O/spectrum.edc \ +edc/O/temperature.edc \ +edc/O/transitions.edc \ +edc/O/wallpaper.edc \ +edc/O/wizard.edc \ +img/ball_small_glow_intense.png \ +img/ball_small_glow.png \ +img/bevel_curved_horiz_out.png \ +img/bevel_dark_out.png \ +img/bevel_horiz_out.png \ +img/bevel_in.png \ +img/bevel_out.png \ +img/bg_radgrad.png \ +img/big_arrow_down.png \ +img/big_arrow_down_shadow.png \ +img/big_arrow_left.png \ +img/big_arrow_left_shadow.png \ +img/big_arrow_right.png \ +img/big_arrow_right_shadow.png \ +img/big_arrow_up.png \ +img/big_arrow_up_shadow.png \ +img/bt_base.png \ +img/bt_sig_1.png \ +img/bt_sig_2.png \ +img/button_clicked.png \ +img/button_normal.png \ +img/cell_base.png \ +img/cell_sig_1.png \ +img/cell_sig_2.png \ +img/cell_sig_3.png \ +img/cell_sig_4.png \ +img/darken_rounded_square.png \ +img/diagonal_stripes.png \ +img/dot_pattern.png \ +img/downlight_glow.png \ +img/eth.png \ +img/exlclam.png \ +img/glow_lock_double.png \ +img/glow_lock_locked.png \ +img/glow_lock_unlocked.png \ +img/glow_round_corners.png \ +img/glow_round_corners_small.png \ +img/glow_small.png \ +img/holes_horiz.png \ +img/holes_tiny_glow_horiz.png \ +img/holes_tiny_glow_vert.png \ +img/holes_tiny_horiz.png \ +img/holes_tiny_vert.png \ +img/holes_vert.png \ +img/hole_tiny.png \ +img/horiz_bar_inset.png \ +img/horiz_glow_run.png \ +img/horizontal_separated_bar_glow.png \ +img/horizontal_separated_bar_small_glow.png \ +img/inset_circle_tiny.png \ +img/inset_shadow_circle_tiny.png \ +img/inset_shadow.png \ +img/inset_shadow_tiny.png \ +img/knob_round_busy.png \ +img/knob_round_small_busy.png \ +img/knob_round_small_normal.png \ +img/knob_round_small_selected.png \ +img/led_dark.png \ +img/led_light.png \ +img/led_tiny_green.png \ +img/led_tiny_orange.png \ +img/media_busy_progress.png \ +img/mini_blue_glow_arrow_0.png \ +img/mini_blue_glow_arrow_1.png \ +img/mini_blue_glow_arrow_2.png \ +img/mini_blue_glow_arrow_3.png \ +img/mini_box_bevel_shadow.png \ +img/mini_box_glow.png \ +img/pointer_glow.png \ +img/pointer_mono.png \ +img/pointer.png \ +img/runner_glow_horiz.png \ +img/runner_glow_vert.png \ +img/runner_horiz.png \ +img/runner_vert.png \ +img/screen_circular_shadow.png \ +img/separator_horiz.png \ +img/shadow_angled_in_light.png \ +img/shadow_angled_in_sides.png \ +img/shadow_inset_bevels.png \ +img/shadow_inset_light.png \ +img/shadow_rounded_horiz.png \ +img/shadow_square_tiny.png \ +img/shadow_vertical_dark.png \ +img/shine.png \ +img/slider_run_base_horiz.png \ +img/slider_run_base_light_horiz.png \ +img/slider_run_base_light_vert.png \ +img/slider_run_base_vert.png \ +img/slider_run_bevel_horiz.png \ +img/slider_run_bevel_vert.png \ +img/slot_horiz_bottom.png \ +img/slot_horiz_top.png \ +img/sym_check_alum.png \ +img/sym_close_dark_normal.png \ +img/sym_close_dark_selected.png \ +img/sym_close_light_normal.png \ +img/sym_close_light_selected.png \ +img/sym_down_dark_normal.png \ +img/sym_down_dark_selected.png \ +img/sym_down_glow_normal.png \ +img/sym_down_light_normal.png \ +img/sym_down_light_selected.png \ +img/sym_heart_glow_normal.png \ +img/sym_heart_light_normal.png \ +img/sym_left_glow_normal.png \ +img/sym_left_light_normal.png \ +img/sym_radio_alum.png \ +img/sym_reload_glow_normal.png \ +img/sym_reload_light_normal.png \ +img/sym_right_glow_normal.png \ +img/sym_right_light_normal.png \ +img/sym_up_dark_normal.png \ +img/sym_up_dark_selected.png \ +img/sym_up_glow_normal.png \ +img/sym_up_light_normal.png \ +img/sym_up_light_selected.png \ +img/vert_bar_inset.png \ +img/vert_glow_run.png \ +img/vertical_separated_bar_glow.png \ +img/vgrad_med_curved.png \ +img/vgrad_med_darker.png \ +img/vgrad_med_dark.png \ +img/vgrad_med_lighter.png \ +img/vgrad_med.png \ +img/vgrad_tall.png \ +img/white_bar_vert_glow.png \ +img/wifi_base.png \ +img/wifi_sig_1.png \ +img/wifi_sig_2.png \ +img/wifi_sig_3.png \ +img/win_glow.png \ +img/win_shadow.png \ +img/O/about_bot.png \ +img/O/about_mid.png \ +img/O/about_top.png \ +img/O/arrow_down.png \ +img/O/arrow_up.png \ +img/O/batt_base.png \ +img/O/batt_level.png \ +img/O/batt_over.png \ +img/O/batt_power.png \ +img/O/bg_shadow.png \ +img/O/big_arrow_up.png \ +img/O/bnw.png \ +img/O/bt_base1.png \ +img/O/bt_base2.png \ +img/O/bt_dis_base.png \ +img/O/bt_dis_hilight.png \ +img/O/bt_dis_shine.png \ +img/O/bt_glow.png \ +img/O/bt_hilight.png \ +img/O/bt_shine.png \ +img/O/bt_sm_base1.png \ +img/O/bt_sm_base2.png \ +img/O/bt_sm_hilight.png \ +img/O/bt_sm_shine.png \ +img/O/bulb-0.png \ +img/O/bulb-1.png \ +img/O/bulb-2.png \ +img/O/busy-1.png \ +img/O/busy-2.png \ +img/O/busy-3.png \ +img/O/busy-4.png \ +img/O/busy-5.png \ +img/O/busy-6.png \ +img/O/busy-7.png \ +img/O/busy-8.png \ +img/O/busy-9.png \ +img/O/dia_botshad.png \ +img/O/dia_grad.png \ +img/O/e17_mini_button_shadow2.png \ +img/O/everything_box.png \ +img/O/everything_item_bg.png \ +img/O/exq-bglight.png \ +img/O/exq-dot-glow.png \ +img/O/exq-dot.png \ +img/O/exq-logo.png \ +img/O/exq-vgrad.png \ +img/O/gadman_border.png \ +img/O/gadman_bottom.png \ +img/O/gadman_frame.png \ +img/O/gadman_left.png \ +img/O/gadman_right.png \ +img/O/gadman_top.png \ +img/O/glow.png \ +img/O/icon_active.png \ +img/O/icon_add_fav.png \ +img/O/icon_add.png \ +img/O/icon_advanced.png \ +img/O/icon_applications_ibar.png \ +img/O/icon_applications_new.png \ +img/O/icon_applications.png \ +img/O/icon_applications_restart.png \ +img/O/icon_applications_startup.png \ +img/O/icon_autoscroll.png \ +img/O/icon_behavior.png \ +img/O/icon_border_border.png \ +img/O/icon_border_close.png \ +img/O/icon_border_kill.png \ +img/O/icon_border_lock.png \ +img/O/icon_border_maximize.png \ +img/O/icon_border_minimize.png \ +img/O/icon_border_more.png \ +img/O/icon_border_pager.png \ +img/O/icon_border_pin.png \ +img/O/icon_border_properties.png \ +img/O/icon_border_remember.png \ +img/O/icon_border_sendto.png \ +img/O/icon_border_shaded.png \ +img/O/icon_border_skip.png \ +img/O/icon_border_stack_bot.png \ +img/O/icon_border_stack_norm.png \ +img/O/icon_border_stack_top.png \ +img/O/icon_check.png \ +img/O/icon_close.png \ +img/O/icon_colors.png \ +img/O/icon_config.png \ +img/O/icon_configuration.png \ +img/O/icon_del.png \ +img/O/icon_desklock_menu.png \ +img/O/icon_desklock.png \ +img/O/icon_desktops.png \ +img/O/icon_directories.png \ +img/O/icon_down_arrow.png \ +img/O/icon_dummy.png \ +img/O/icon_efm_arrange_name.png \ +img/O/icon_efm_arrange.png \ +img/O/icon_efm_arrange_time.png \ +img/O/icon_efm_cd.png \ +img/O/icon_efm_copy.png \ +img/O/icon_efm_cut.png \ +img/O/icon_efm_delete.png \ +img/O/icon_efm_desktop.png \ +img/O/icon_efm_dnd_ask.png \ +img/O/icon_efm_dnd_copy.png \ +img/O/icon_efm_dnd_move.png \ +img/O/icon_efm_eject.png \ +img/O/icon_efm_file_del.png \ +img/O/icon_efm_file.png \ +img/O/icon_efm_flash.png \ +img/O/icon_efm_folder.png \ +img/O/icon_efm_hdd.png \ +img/O/icon_efm_home.png \ +img/O/icon_efm_new_dir.png \ +img/O/icon_efm_new.png \ +img/O/icon_efm_open.png \ +img/O/icon_efm_paste.png \ +img/O/icon_efm_properties.png \ +img/O/icon_efm_refresh.png \ +img/O/icon_efm_rename.png \ +img/O/icon_efm_root.png \ +img/O/icon_efm_select.png \ +img/O/icon_efm_sort.png \ +img/O/icon_efm_tmp.png \ +img/O/icon_efm_usbmedia.png \ +img/O/icon_efm_view_details.png \ +img/O/icon_efm_view_name.png \ +img/O/icon_efm_view.png \ +img/O/icon_efm_vol_mounted.png \ +img/O/icon_efm_vol_unmounted.png \ +img/O/icon_engine.png \ +img/O/icon_evry_clipboard.png \ +img/O/icon_extensions.png \ +img/O/icon_favorites.png \ +img/O/icon_file_icons.png \ +img/O/icon_fonts.png \ +img/O/icon_gadget.png \ +img/O/icon_globe.png \ +img/O/icon_gradient.png \ +img/O/icon_halt.png \ +img/O/icon_hibernate.png \ +img/O/icon_icon_theme.png \ +img/O/icon_illume.png \ +img/O/icon_imc.png \ +img/O/icon_interaction.png \ +img/O/icon_intl.png \ +img/O/icon_keyboard.png \ +img/O/icon_keys.png \ +img/O/icon_left_arrow.png \ +img/O/icon_logout.png \ +img/O/icon_look.png \ +img/O/icon_lost_windows.png \ +img/O/icon_menu_settings.png \ +img/O/icon_menus.png \ +img/O/icon_mime_audio_generic.png \ +img/O/icon_mime_bdf.png \ +img/O/icon_mime_c.png \ +img/O/icon_mime_css.png \ +img/O/icon_mime_deb.png \ +img/O/icon_mime_doc.png \ +img/O/icon_mime_executable_generic.png \ +img/O/icon_mime_font_generic.png \ +img/O/icon_mime_h.png \ +img/O/icon_mime_html.png \ +img/O/icon_mime_image_generic.png \ +img/O/icon_mime_o.png \ +img/O/icon_mime_package.png \ +img/O/icon_mime_patch.png \ +img/O/icon_mime_pcf.png \ +img/O/icon_mime_pdf.png \ +img/O/icon_mime_plain.png \ +img/O/icon_mime_sh.png \ +img/O/icon_mime_text_generic.png \ +img/O/icon_mime_ttf.png \ +img/O/icon_mime_video_generic.png \ +img/O/icon_mime_xcf.png \ +img/O/icon_mixer.png \ +img/O/icon_modules.png \ +img/O/icon_mouse_clean.png \ +img/O/icon_mouse_extra.png \ +img/O/icon_mouse_left.png \ +img/O/icon_mouse_middle.png \ +img/O/icon_mouse.png \ +img/O/icon_mouse_right.png \ +img/O/icon_mouse_wheel.png \ +img/O/icon_new.png \ +img/O/icon_pager.png \ +img/O/icon_performance.png \ +img/O/icon_power_management.png \ +img/O/icon_profiles.png \ +img/O/icon_reboot.png \ +img/O/icon_reset.png \ +img/O/icon_resize.png \ +img/O/icon_right_arrow.png \ +img/O/icon_run.png \ +img/O/icon_scale.png \ +img/O/icon_screen_around.png \ +img/O/icon_screen_hflip.png \ +img/O/icon_screen_left.png \ +img/O/icon_screen_normal.png \ +img/O/icon_screen_resolution.png \ +img/O/icon_screen_right.png \ +img/O/icon_screensaver.png \ +img/O/icon_screen_setup.png \ +img/O/icon_screenshot.png \ +img/O/icon_screen_vflip.png \ +img/O/icon_shelf_bottom_desk.png \ +img/O/icon_shelf_bottom_left.png \ +img/O/icon_shelf_bottom.png \ +img/O/icon_shelf_bottom_right.png \ +img/O/icon_shelf_custom.png \ +img/O/icon_shelf_dock.png \ +img/O/icon_shelf_left_bottom.png \ +img/O/icon_shelf_left.png \ +img/O/icon_shelf_left_top.png \ +img/O/icon_shelf_menu_bar.png \ +img/O/icon_shelf_panel.png \ +img/O/icon_shelf.png \ +img/O/icon_shelf_right_bottom.png \ +img/O/icon_shelf_right.png \ +img/O/icon_shelf_right_top.png \ +img/O/icon_shelf_top_desk.png \ +img/O/icon_shelf_top_left.png \ +img/O/icon_shelf_top.png \ +img/O/icon_shelf_top_right.png \ +img/O/icon_startup.png \ +img/O/icon_suspend.png \ +img/O/icon_swap.png \ +img/O/icon_system.png \ +img/O/icon_theme.png \ +img/O/icon_toolbar.png \ +img/O/icon_transitions.png \ +img/O/icon_up_arrow.png \ +img/O/icon_wallpaper_center_flat.png \ +img/O/icon_wallpaper_center.png \ +img/O/icon_wallpaper_grad_screen.png \ +img/O/icon_wallpaper.png \ +img/O/icon_wallpaper_screen.png \ +img/O/icon_warning.png \ +img/O/icon_window_focus.png \ +img/O/icon_window_geometry.png \ +img/O/icon_window_manipulation.png \ +img/O/icon_window_process_management.png \ +img/O/icon_window_remembers.png \ +img/O/icon_windows.png \ +img/O/icon_winlist.png \ +img/O/icon_win_move.png \ +img/O/icon_win_resize.png \ +img/O/illume-home.png \ +img/O/illume-kbd-on.png \ +img/O/illume-kbd.png \ +img/O/illume-mode-dual-left.png \ +img/O/illume-mode-dual-top.png \ +img/O/illume-mode-single.png \ +img/O/inset_raised.png \ +img/O/inset_sunk.png \ +img/O/logo_black_128.png \ +img/O/logo_white_128.png \ +img/O/mixer_high_left.png \ +img/O/mixer_high_right.png \ +img/O/mixer_low_left.png \ +img/O/mixer_low_right.png \ +img/O/mixer_med_left.png \ +img/O/mixer_med_right.png \ +img/O/mixer.png \ +img/O/outline.png \ +img/O/randr_icon_off.png \ +img/O/randr_icon_on.png \ +img/O/randr_monitor.png \ +img/O/randr_stand.png \ +img/O/sb_runnerh.png \ +img/O/sb_runnerv.png \ +img/O/silk.png \ +img/O/t0.png \ +img/O/t0-sh.png \ +img/O/t1.png \ +img/O/t1-sh.png \ +img/O/t2.png \ +img/O/tacho_bg.png \ +img/O/tacho_fg.png \ +img/O/temp_base.png \ +img/O/temp_mid.png \ +img/O/temp_over.png \ +img/O/theme-label.png \ +img/O/toolbar_sel.png \ +img/O/topsh.png \ +img/O/transition_vswipe.png \ +img/O/vgrad_dark.png \ +img/O/vgrad_light.png \ +img/O/wizard_bt1.png \ +img/O/wizard_bt2.png \ +img/O/wizard_pattern.png \ +img/O/wp-bot1.png \ +img/O/wp-bot2.png \ +img/O/wp-tb1.png \ +img/O/wp-tb2.png \ +img/O/wp-tb3.png \ +img/O/wp-tbs.png \ +img/outline_glow.png default.edj: Makefile $(EXTRA_DIST) $(EDJE_CC) $(EDJE_FLAGS) \ diff --git a/data/themes/default.edc b/data/themes/default.edc new file mode 100644 index 000000000..8b0673b72 --- /dev/null +++ b/data/themes/default.edc @@ -0,0 +1,66 @@ +#include "macros.edc" + +collections { +// desktop in general +#include "edc/comp.edc" +#include "edc/background.edc" +#include "edc/shelf.edc" +#include "edc/border.edc" +#include "edc/dialog.edc" +#include "edc/conf.edc" +#include "edc/gadman.edc" +#include "edc/syscon.edc" +#include "edc/pointer.edc" +// widgets +#include "edc/menu.edc" +#include "edc/button.edc" +#include "edc/check.edc" +#include "edc/radio.edc" +#include "edc/label.edc" +#include "edc/frame.edc" +#include "edc/slider.edc" +#include "edc/scrollframe.edc" +#include "edc/textblock.edc" +#include "edc/ilist.edc" +#include "edc/toolbar.edc" +#include "edc/preview.edc" +#include "edc/deskpreview.edc" +#include "edc/entry.edc" +#include "edc/fileman.edc" +#include "edc/colorwell.edc" +// modules +#include "edc/start.edc" +#include "edc/pager.edc" +#include "edc/xkbswitch.edc" +#include "edc/tasks.edc" +#include "edc/connman.edc" +#include "edc/systray.edc" +#include "edc/clock.edc" + +// port unchanged stuff so this can work as a replacement +#include "edc/O/about.edc" +#include "edc/O/backlight.edc" +#include "edc/O/battery.edc" +#include "edc/O/border_icons.edc" +#include "edc/O/colors.edc" +#include "edc/O/conf_gad.edc" +#include "edc/O/cpufreq.edc" +#include "edc/O/cslider.edc" +#include "edc/O/desklock.edc" +#include "edc/O/edgebindings.edc" +#include "edc/O/efm_icons.edc" +#include "edc/O/evrything.edc" +#include "edc/O/fontpreview.edc" +#include "edc/O/gadman.edc" +#include "edc/O/ibarbox.edc" +#include "edc/O/icons.edc" +#include "edc/O/illume_gad.edc" +#include "edc/O/init.edc" +#include "edc/O/mixer.edc" +#include "edc/O/randr.edc" +#include "edc/O/spectrum.edc" +#include "edc/O/temperature.edc" +#include "edc/O/transitions.edc" +#include "edc/O/wallpaper.edc" +#include "edc/O/wizard.edc" +} diff --git a/data/themes/edc/O/about.edc b/data/themes/edc/O/about.edc new file mode 100644 index 000000000..b7ffa5ef8 --- /dev/null +++ b/data/themes/edc/O/about.edc @@ -0,0 +1,705 @@ +///////////////////////////////////////////////////////////////////////////// +/*** ABOUT E ***/ + + group { + name: "e/widgets/about/main"; + images { + image: "O/vgrad_dark.png" COMP; + image: "O/about_top.png" COMP; + image: "O/about_mid.png" COMP; + image: "O/about_bot.png" COMP; + image: "O/dia_botshad.png" COMP; + image: "O/topsh.png" COMP; + image: "O/logo_white_128.png" COMP; + image: "O/bt_base1.png" COMP; + image: "O/bt_base2.png" COMP; + image: "O/bt_hilight.png" COMP; + image: "O/bt_shine.png" COMP; + image: "O/bt_glow.png" COMP; + } + // data.item: "borderless" "1"; + // data.item: "shaped" "1"; + styles { + style { + name: "about_style"; + base: "font=Sans:style=Bold font_size=10 align=center text_class=tb_plain color=#e0e0e0ff style=soft_shadow shadow_color=#00000020 wrap=word"; + tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light color=#f00 style=soft_shadow"; + tag: "title" "+ font_size=12 font=Sans:style=Bold text_class=tb_big style=soft_shadow color=#fff shadow_color=#00000020"; + tag: "/title" "- \n \n"; + tag: "br" "\n"; + } + } + min: 300 240; + max: 640 640; + parts { + part { + name: "sizer"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 300 240; + visible: 0; + } + } + part { + name: "about_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "top"; + relative: 0.0 0.0; + offset: 6 0; + } + rel2 { + to: "top"; + relative: 1.0 1.0; + offset: -7 -7; + } + color: 255 255 255 255; + } + } + part { + name: "authors_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "bot"; + relative: 0.0 0.0; + offset: 6 6; + } + rel2 { + to: "bot"; + relative: 1.0 1.0; + offset: -7 -1; + } + color: 255 255 255 255; + } + } + part { + name: "background_image"; + description { + state: "default" 0.0; + image.normal: "O/vgrad_dark.png"; + fill { + smooth: 0; + size { + relative: 0 1.0; + offset: 36 0; + } + } + } + } + part { + name: "e.textblock.about"; + type: TEXTBLOCK; + mouse_events: 0; + clip_to: "about_clip"; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.0; + max: 10000 10000; + min: 160 0; + rel1 { + to: "top"; + relative: 0.0 1.0; + offset: 32 -17; + } + rel2 { + to: "top"; + relative: 1.0 1.0; + offset: -33 -17; + } + text { + style: "about_style"; + min: 0 1; + } + } + description { + state: "up" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + rel1 { + relative: 0.0 0.0; + offset: 32 0; + } + rel2 { + relative: 1.0 0.0; + offset: -33 -1; + } + } + } + part { + name: "e.textblock.authors"; + type: TEXTBLOCK; + mouse_events: 0; + clip_to: "authors_clip"; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.0; + max: 10000 10000; + min: 160 0; + rel1 { + to: "bot"; + relative: 0.0 1.0; + offset: 32 0; + } + rel2 { + to: "bot"; + relative: 1.0 1.0; + offset: -33 0; + } + text { + style: "about_style"; + min: 0 1; + } + } + description { + state: "up" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + rel1 { + relative: 0.0 0.0; + offset: 32 16; + } + rel2 { + relative: 1.0 0.0; + offset: -33 16; + } + } + } + part { + name: "top"; + description { + state: "default" 0.0; + image.normal: "O/about_top.png"; + image.middle: 0; + image.border: 28 28 0 28; + rel2.to_y: "e.text.title"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 6; + fill.smooth: 0; + } + } + part { + name: "bot"; + description { + state: "default" 0.0; + image.normal: "O/about_bot.png"; + image.middle: 0; + image.border: 28 28 28 0; + rel1.to_y: "e.text.title"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -5; + fill.smooth: 0; + } + } + part { + name: "mid"; + description { + state: "default" 0.0; + image.normal: "O/about_mid.png"; + rel1 { + to: "top"; + relative: 0.0 1.0; + offset: 0 -1; + } + rel2 { + to: "bot"; + relative: 1.0 0.0; + offset: -1 0; + } + fill.smooth: 0; + } + } + part { + name: "e.text.title"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 255; + align: 1.0 0.5; + rel1 { + relative: 0.0 0.5; + offset: 0 0; + } + rel2 { + to_x: "logo"; + relative: 0.0 0.5; + offset: 11 -1; + } + text { + font: "Sans:style=Bold"; + size: 10; + min: 1 1; + align: 1.0 0.5; + text_class: "about_title"; + } + } + } + part { + name: "e.text.version"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 0.5; + rel1 { + to_x: "logo"; + relative: 1.0 0.5; + offset: -12 0; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -1; + } + text { + font: "Sans:style=Bold"; + size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "about_version"; + } + } + } + part { + name: "shadow"; + scale: 1; + description { + state: "default" 0.0; + image.normal: "O/topsh.png"; + align: 0.0 0.0; + min: 1 16; + max: 99999 16; + fill.smooth: 0; + } + } + part { + name: "shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -4; + image.normal: "O/dia_botshad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { + name: "logo"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + image.normal: "O/logo_white_128.png"; + rel1 { + to: "top"; + relative: 0.5 1.0; + offset: 0 -30; + } + rel2 { + to: "bot"; + relative: 0.5 0.0; + offset: -1 29; + } + } + } + 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 0.98; + rel1.offset: 0 -1; + rel2.relative: 0.5 0.98; + rel2.offset: 0 -1; + min: 64 32; + max: 64 32; + image { + normal: "O/bt_base2.png"; + border: 7 7 7 7; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/bt_base1.png"; + } + } + 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: "Close"; + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + } + } + 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: "O/bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { + name: "over2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "O/bt_shine.png"; + border: 7 7 7 7; + } + } + } + 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: "O/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: "showa"; + signal: "show"; + source: ""; + action: STATE_SET "up" 0.0; + transition: LINEAR 45.0; + target: "e.textblock.about"; + after: "showa2"; + } + program { + name: "showa2"; + action: STATE_SET "default" 0.0; + target: "e.textblock.about"; + after: "showa"; + } + program { + name: "showb"; + signal: "show"; + source: ""; + action: STATE_SET "up" 0.0; + transition: LINEAR 45.0; + target: "e.textblock.authors"; + after: "showb2"; + } + program { + name: "showb2"; + action: STATE_SET "default" 0.0; + target: "e.textblock.authors"; + after: "showb"; + } + 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" ""; + } + } + } + + +///////////////////////////////////////////////////////////////////////////// +/*** THEME ABOUT ***/ + + group { + name: "e/theme/about"; + images { + image: "O/silk.png" LOSSY 90; + image: "O/topsh.png" COMP; + image: "O/bnw.png" COMP; + image: "O/bt_base1.png" COMP; + image: "O/bt_base2.png" COMP; + image: "O/bt_hilight.png" COMP; + image: "O/bt_shine.png" COMP; + image: "O/bt_glow.png" COMP; + } + styles { + style { + name: "theme_about_style"; + base: "font=Sans:style=Bold font_size=10 align=center color=#e0e0e0ff style=soft_shadow shadow_color=#0000001f wrap=word"; + tag: "br" "\n"; + } + } + // data.item: "borderless" "1"; + // data.item: "shaped" "1"; + min: 300 240; + max: 640 640; + parts { + part { + name: "background_image"; + description { + state: "default" 0.0; + image.normal: "O/silk.png"; + aspect: 1.0 1.0; + aspect_preference: NONE; + } + } + part { + name: "shadow"; + scale: 1; + description { + state: "default" 0.0; + image.normal: "O/topsh.png"; + align: 0.0 0.0; + min: 1 16; + max: 99999 16; + fill.smooth: 0; + } + } + part { + name: "logo"; + description { + state: "default" 0.0; + image.normal: "O/bnw.png"; + align: 0.5 0.05; + min: 230 110; + max: 460 220; + aspect: 2.090909091 2.090909091; + aspect_preference: HORIZONTAL; + } + } + part { + name: "about"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_y: "logo"; + relative: 0.0 1.0; + offset: 8 0; + } + rel2 { + to_y: "button_image"; + offset: -9 -19; + relative: 1.0 0.0; + } + text { + style: "theme_about_style"; + min: 1 1; + text: + "Smooth as silk
" + "The default theme for
" + "Enlightenment
" + ; + } + } + } + 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 0.98; + rel1.offset: 0 -1; + rel2.relative: 0.5 0.98; + rel2.offset: 0 -1; + min: 64 32; + max: 64 32; + image { + normal: "O/bt_base2.png"; + border: 7 7 7 7; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/bt_base1.png"; + } + } + 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: "Close"; + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + } + } + 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: "O/bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { + name: "over2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "O/bt_shine.png"; + border: 7 7 7 7; + } + } + } + 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: "O/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" ""; + } + } + } + + diff --git a/data/themes/edc/O/backlight.edc b/data/themes/edc/O/backlight.edc new file mode 100644 index 000000000..de7ace5d6 --- /dev/null +++ b/data/themes/edc/O/backlight.edc @@ -0,0 +1,58 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: BACKLIGHT ***/ + group { name: "e/modules/backlight/main"; + images { + image: "O/bulb-0.png" COMP; + image: "O/bulb-1.png" COMP; + image: "O/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: "O/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: "O/bulb-0.png"; + } + } + part { + name: "glow2"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "O/bulb-2.png"; + color: 255 255 255 0; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + } + diff --git a/data/themes/edc/O/battery.edc b/data/themes/edc/O/battery.edc new file mode 100644 index 000000000..d4e6e7c55 --- /dev/null +++ b/data/themes/edc/O/battery.edc @@ -0,0 +1,324 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: BATTERY ***/ + + group { + name: "e/modules/battery/main"; + images { + image: "O/batt_base.png" COMP; + image: "O/batt_level.png" COMP; + image: "O/batt_over.png" COMP; + image: "O/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: "O/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: "O/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: "O/batt_over.png"; + } + } + part { name: "power"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "O/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"; + } + } + } + } + } diff --git a/data/themes/edc/O/border_icons.edc b/data/themes/edc/O/border_icons.edc new file mode 100644 index 000000000..a77eba04b --- /dev/null +++ b/data/themes/edc/O/border_icons.edc @@ -0,0 +1,46 @@ + // Window Border menu icons // + #define BORDERICON(NAME, FILE) \ + group { \ + name: "e/widgets/border/default/"NAME ; \ + max: 64 64; \ + parts { \ + part { \ + name: "icon"; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + image.image: "O/"FILE COMP; \ + image.normal: "O/"FILE ; \ + } \ + } \ + } \ + } + + BORDERICON("basic","icon_border_more.png") + BORDERICON("close","icon_border_close.png") + BORDERICON("kill","icon_border_kill.png") + BORDERICON("stacking","icon_border_stack_norm.png") + BORDERICON("stack_on_top","icon_border_stack_top.png") + BORDERICON("stack_normal","icon_border_stack_norm.png") + BORDERICON("stack_below","icon_border_stack_bot.png") + BORDERICON("move_icon", "icon_win_move.png") + BORDERICON("resize_icon", "icon_win_resize.png"); + BORDERICON("maximize","icon_border_maximize.png") + BORDERICON("fullscreen","icon_border_maximize.png") + BORDERICON("minimize","icon_border_minimize.png") + BORDERICON("stick","icon_border_pin.png") + BORDERICON("sendto","icon_border_sendto.png") + BORDERICON("skip","icon_border_skip.png") + BORDERICON("skip_pager","icon_border_pager.png") + BORDERICON("skip_taskbar","icon_border_skip.png") + BORDERICON("skip_winlist","icon_border_skip.png") + BORDERICON("borderless","icon_border_border.png") + BORDERICON("remember","icon_border_remember.png") + BORDERICON("shade","icon_border_shaded.png") + BORDERICON("locks","icon_border_lock.png") + BORDERICON("locks_user","icon_border_lock.png") + BORDERICON("locks_application","icon_border_lock.png") + BORDERICON("properties","icon_border_properties.png") + diff --git a/data/themes/edc/O/colors.edc b/data/themes/edc/O/colors.edc new file mode 100644 index 000000000..0264e6c17 --- /dev/null +++ b/data/themes/edc/O/colors.edc @@ -0,0 +1,118 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: CONF_COLORS ***/ + + group { + name: "e/modules/conf_colors/preview/solid"; + parts { + part { + name: "e.rect"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + color_class: "color_preview"; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + } + group { + name: "e/modules/conf_colors/preview/text"; + parts { + part { + name: "e.text"; + type: TEXT; + effect: OUTLINE_SOFT_SHADOW; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + color2: 255 255 255 255; + color3: 255 255 255 255; + color_class: "color_preview"; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + text { + font: "Sans:style=Bold"; + size: 16; + text: "Aa"; + min: 1 1; + } + } + } + } + } + group { + name: "e/modules/conf_colors/preview/unknown"; + parts { + part { + name: "c1"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + color_class: "color_preview_c1"; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -7 -1; + } + } + } + part { + name: "c2"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + color_class: "color_preview_c2"; + rel1 { + relative: 1.0 0.0; + offset: -6 0; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -1; + } + } + } + part { + name: "c3"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + color_class: "color_preview_c3"; + rel1 { + relative: 1.0 0.0; + offset: -3 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + } + diff --git a/data/themes/edc/O/conf_gad.edc b/data/themes/edc/O/conf_gad.edc new file mode 100644 index 000000000..8076dc8e2 --- /dev/null +++ b/data/themes/edc/O/conf_gad.edc @@ -0,0 +1,131 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: CONF ***/ + + group { + name: "e/modules/conf/main"; + images { + image: "O/icon_configuration.png" COMP; + image: "O/bt_base1.png" COMP; + image: "O/bt_base2.png" COMP; + image: "O/bt_hilight.png" COMP; + image: "O/bt_shine.png" COMP; + image: "O/bt_glow.png" COMP; + } + min: 16 16; + max: 128 128; + parts { + part { + name: "button_image"; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + min: 32 16; + image { + normal: "O/bt_base2.png"; + border: 7 7 7 7; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/bt_base1.png"; + } + program { + name: "button_down"; + signal: "mouse,down,1"; + source: "button_image"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "button_up"; + signal: "mouse,up,1"; + source: "button_image"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "button_click"; + signal: "mouse,clicked,1"; + source: "button_image"; + action: SIGNAL_EMIT "e,action,conf" ""; + } + } + part { + name: "icon"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + visible: 1; + image.normal: "O/icon_configuration.png"; + rel1 { + to: "button_image"; + relative: 0.0 0.0; + offset: 3 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + to: "button_image"; + } + } + } + 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: "O/bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { + name: "over2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "O/bt_shine.png"; + border: 7 7 7 7; + } + } + } + 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: "O/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; + } + } + } + } + diff --git a/data/themes/edc/O/cpufreq.edc b/data/themes/edc/O/cpufreq.edc new file mode 100644 index 000000000..9eec47f6b --- /dev/null +++ b/data/themes/edc/O/cpufreq.edc @@ -0,0 +1,340 @@ + group { + name: "e/modules/cpufreq/main"; + images { + image: "O/tacho_bg.png" COMP; + image: "O/tacho_fg.png" COMP; + image: "O/t0.png" COMP; + image: "O/t0-sh.png" COMP; + image: "O/t1.png" COMP; + image: "O/t1-sh.png" COMP; + image: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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"; + } + } + } diff --git a/data/themes/edc/O/cslider.edc b/data/themes/edc/O/cslider.edc new file mode 100644 index 000000000..4aee54090 --- /dev/null +++ b/data/themes/edc/O/cslider.edc @@ -0,0 +1,110 @@ + /* Used to display RGB/HSV values via sliders + in Wallpaper Gradient Dialog */ + group { + name: "e/widgets/cslider"; + images.image: "O/inset_sunk.png" COMP; + parts { + part { + name: "content_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + color: 255 255 255 255; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + clip_to: "content_clip"; + description { + state: "default" 0.0; + min: 50 20; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + description { + state: "vertical" 0.0; + inherit: "default" 0.0; + min: 20 50; + } + } + part { + name: "border"; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { + to: "e.swallow.content"; + offset: -1 -1; + } + rel2 { + to: "e.swallow.content"; + offset: 0 0; + } + image { + normal: "O/inset_sunk.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { + name: "e.dragable.cursor"; + type: RECT; + clip_to: "content_clip"; + dragable { + confine: "e.swallow.content"; + x: 1 1 0; + y: -1 1 0; + } + description { + state: "default" 0.0; + min: 1 24; + max: 1 9999; + fixed: 1 1; + rel1 { + to: "e.swallow.content"; + relative: 0.5 0.0; + offset: 0 -2; + } + rel2 { + to: "e.swallow.content"; + relative: 0.5 1.0; + offset: 0 +2; + } + color: 255 255 255 150; + } + description { + state: "vertical" 0.0; + min: 24 1; + max: 9999 1; + fixed: 1 1; + rel1 { + to: "e.swallow.content"; + relative: 0.0 0.5 ; + offset: -2 0; + } + rel2 { + to: "e.swallow.content"; + relative: 1.0 0.5; + offset: +2 0; + } + color: 255 255 255 150; + } + } + } + programs { + program { + name: "go_vertical"; + signal: "e,state,direction,v"; + source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.dragable.cursor"; + target: "e.swallow.content"; + } + } + } diff --git a/data/themes/edc/O/desklock.edc b/data/themes/edc/O/desklock.edc new file mode 100644 index 000000000..4a466dbae --- /dev/null +++ b/data/themes/edc/O/desklock.edc @@ -0,0 +1,314 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: DESKLOCK ***/ + + group { + name: "e/desklock/background"; + images { + image: "O/bg_shadow.png" COMP; + image: "O/wizard_pattern.png" COMP; + } + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "O/wizard_pattern.png"; + fill { + smooth: 0; + size { + relative: 0.0 0.0; + offset: 200 200; + } + } + } + } + part { + name: "e.swallow.login_box"; + type: SWALLOW; + description { + state: "default" 0.0; + } + } + part { name: "shadow2"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "O/bg_shadow.png"; + fill.smooth: 0; + } + } + } + } + group { + name: "e/desklock/login_box"; + images { + image: "O/logo_white_128.png" COMP; + image: "O/inset_sunk.png" COMP; + } + parts { + part { + name: "logo"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 64 64; + max: 64 64; + image.normal: "O/logo_white_128.png"; + } + } + part { + name: "e.text.title"; + type: TEXT; + effect: SOFT_SHADOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + rel1 { + relative: 0.0 1.0; + offset: 0 8; + to_y: "logo"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 8; + to_y: "logo"; + } + color: 224 224 224 255; + color3: 0 0 0 32; + text { + text: "Enter Password"; + font: "Sans:style=Bold"; + size: 10; + align: 0.5 0.5; + min: 1 1; + text_class: "desklock_title"; + } + } + } + part { + name: "pulse_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "passwd_border"; + rel2.to: "passwd_border"; + } + description { + state: "pulse" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + } + part { + name: "error"; + type: RECT; + mouse_events: 0; + clip_to: "error_clip"; + description { + state: "default" 0.0; + rel1.to: "passwd_border"; + rel2.to: "passwd_border"; + color: 255 255 255 255; + } + } + part { + name: "error_clip"; + type: RECT; + mouse_events: 0; + clip_to: "pulse_clip"; + description { + state: "default" 0.0; + rel1.to: "passwd_border"; + rel2.to: "passwd_border"; + color: 255 255 255 255; + } + description { + state: "invalid" 0.0; + inherit: "default" 0.0; + color: 255 128 128 255; + /*FIXME: Document how this works */ + } + } + part { + name: "passwd_entry_clip"; + type: RECT; + mouse_events: 0; + clip_to: "pulse_clip"; + description { + state: "default" 0.0; + visible: 1; + rel1 { + offset: 6 3; + to: "passwd_border"; + } + rel2 { + offset: -7 -4; + to: "passwd_border"; + } + } + } + part { + name: "e.text.password"; + type: TEXT; + clip_to: "passwd_entry_clip"; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "passwd_entry_clip"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 0; + to: "passwd_entry_clip"; + } + color: 0 0 0 255; + text { + text: "****"; + font: "Sans:style=Bold"; + size: 16; + align: 0.0 0.5; + min: 1 1; + text_class: "desklock_passwd"; + } + } + } + part { + name: "selection"; + type: GROUP; + mouse_events: 0; + clip_to: "passwd_entry_clip"; + source: "e/widgets/entry/selection"; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "e.text.password"; + rel2.to: "e.text.password"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "cursor"; + type: RECT; + mouse_events: 0; + clip_to: "passwd_entry_clip"; + description { + state: "default" 0.0; + min: 1 16; + max: 1 16; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: 0 -3; + to: "e.text.password"; + } + rel2 { + relative: 1.0 1.0; + offset: 1 1; + to: "e.text.password"; + } + color: 0 0 0 255; + } + } + part { + name: "passwd_border"; + mouse_events: 0; + clip_to: "error_clip"; + description { + state: "default" 0.0; + rel1 { + relative: 0.5 1.0; + offset: -80 2; + to_y: "e.text.title"; + } + rel2 { + relative: 0.5 1.0; + offset: 79 20; + to_y: "e.text.title"; + } + image { + normal: "O/inset_sunk.png"; + middle: 0; + border: 7 7 7 7; + } + fill.smooth: 0; + } + description { + state: "checking" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + } + } + programs { + program { + name: "pulse.1"; + signal: "e,state,checking"; + source: "e.desklock"; + action: STATE_SET "pulse" 0.0; + target: "pulse_clip"; + transition: SINUSOIDAL 0.5; + after: "pulse.2"; + } + program { + name: "pulse.2"; + action: STATE_SET "default" 0.0; + target: "pulse_clip"; + transition: SINUSOIDAL 0.5; + after: "pulse.1"; + } + program { + name: "pulse.stop"; + signal: "e,state,invalid"; + source: "e.desklock"; + action: ACTION_STOP; + target: "pulse.1"; + target: "pulse.2"; + after: "pulse.reset"; + } + program { + name: "pulse.reset"; + action: STATE_SET "default" 0.0; + target: "pulse_clip"; + transition: SINUSOIDAL 0.5; + } + program { + name: "go_invalid"; + signal: "e,state,invalid"; + source: "e.desklock"; + action: STATE_SET "invalid" 0.0; + target: "error_clip"; + transition: DECELERATE 0.5; + } + program { + name: "stop_invalid"; + action: STATE_SET "default" 0.0; + target: "error_clip"; + transition: DECELERATE 1.5; + } + program { + name: "select"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "selection"; + } + program { + name: "unselect"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "selection"; + } + } + } + + diff --git a/data/themes/edc/O/edgebindings.edc b/data/themes/edc/O/edgebindings.edc new file mode 100644 index 000000000..739ca8983 --- /dev/null +++ b/data/themes/edc/O/edgebindings.edc @@ -0,0 +1,253 @@ +///////////////////////////////////////////////////////////////////////////// +/*** 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; + } + } + } + } + } + + diff --git a/data/themes/edc/O/efm_icons.edc b/data/themes/edc/O/efm_icons.edc new file mode 100644 index 000000000..2e35bf297 --- /dev/null +++ b/data/themes/edc/O/efm_icons.edc @@ -0,0 +1,160 @@ + // EFM icons // + /* #define EFMICON(NAME, FILE, SIZE) \ + * group { name: "e/icons/fileman/"NAME; \ + * max: SIZE SIZE; \ + * parts { \ + * part { name: "icon"; \ + * mouse_events: 0; \ + * description { state: "default" 0.0; \ + * aspect: 1.0 1.0; \ + * aspect_preference: BOTH; \ + * image.image: FILE COMP; \ + * image.normal: FILE ; \ + * } \ + * } \ + * } \ + * } */ + //EFMICON("folder","icon_efm_folder.png", 128) + //EFMICON("chrdev","icon_efm_file.png", 128) + //EFMICON("blkdev","icon_efm_file.png", 128) + //EFMICON("fifo","icon_efm_file.png", 128) + //EFMICON("socket","icon_efm_file.png", 128) + //EFMICON("executable","icon_efm_file.png", 128) + //EFMICON("home","icon_efm_home.png", 128) + //EFMICON("root","icon_efm_root.png", 128) + //EFMICON("tmp","icon_efm_tmp.png", 128) + //EFMICON("desktop","icon_efm_desktop.png", 128) + //EFMICON("hdd","icon_efm_hdd.png", 128) + //EFMICON("hd","icon_efm_hdd.png", 128) + + // EFM Mime type icons // + + #define MIMEICON(NAME, FILE, SIZE) \ + group { \ + name: "e/icons/fileman/mime/"NAME; \ + max: SIZE SIZE; \ + parts { \ + part { \ + name: "icon"; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + image.image: "O/"FILE COMP; \ + image.normal: "O/"FILE ; \ + } \ + } \ + } \ + } + + MIMEICON("application/pdf","icon_mime_pdf.png", 128); + MIMEICON("application/x-deb","icon_mime_deb.png", 128); + MIMEICON("application/x-bzip","icon_mime_package.png", 128); + MIMEICON("application/zip","icon_mime_package.png", 128); + MIMEICON("application/x-gzip","icon_mime_package.png", 128); + MIMEICON("application/x-bzip-compressed-tar","icon_mime_package.png", 128); + MIMEICON("application/x-bzip2-compressed-tar","icon_mime_package.png",128); + MIMEICON("application/x-compressed-tar","icon_mime_package.png",128); + MIMEICON("application/x-tar","icon_mime_package.png", 128); + MIMEICON("application/x-rar","icon_mime_package.png", 128); + MIMEICON("inode/chardevice","icon_efm_file.png", 128); + MIMEICON("inode/blockdevice","icon_efm_file.png", 128); + MIMEICON("inode/fifo","icon_efm_file.png", 128); + MIMEICON("inode/socket","icon_efm_file.png", 128); + MIMEICON("inode/directory","icon_efm_folder.png", 128); + MIMEICON("inode/file","icon_efm_file.png", 128); + MIMEICON("application/octet-stream","icon_efm_file.png", 128); + MIMEICON("application/x-executable","icon_mime_executable_generic.png", 128); + MIMEICON("application/x-ms-dos-executable","icon_mime_executable_generic.png", 128); + MIMEICON("application/x-7z-compressed","icon_mime_package.png", 128); + MIMEICON("application/vnd.ms-cab-compressed","icon_mime_package.png", 128); + + // Dynamic MIME Icons // + #define MIMEBASE(MIME, FILE, NAME, SIZE) \ + group { \ + name: "e/icons/fileman/mime/"MIME; \ + max: SIZE SIZE; \ + parts { \ + part { \ + name: "base"; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + image.image: "O/"FILE COMP; \ + image.normal: "O/"FILE; \ + } \ + } \ + part { \ + name: "name"; \ + type: TEXT; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + rel1.relative: 0.2444 0.6797; \ + rel2.relative: 0.7478 0.8894; \ + color: 245 245 245 255; \ + text { \ + text: NAME; \ + font: "Sans:style=Bold"; \ + size: 4; \ + fit: 1 1; \ + min: 1 1; \ + align: 0.5 0.0; \ + } \ + } \ + } \ + } \ + } + + MIMEBASE("video/mpeg","icon_mime_video_generic.png", ".MPEG", 128); + MIMEBASE("application/ogg","icon_mime_video_generic.png", ".OGG", 128); + MIMEBASE("video/x-theora+ogg","icon_mime_video_generic.png", ".OGG", 128); + MIMEBASE("video/x-msvideo","icon_mime_video_generic.png", ".AVI", 128); + MIMEBASE("video/ogg","icon_mime_video_generic.png", ".OGG", 128); + MIMEBASE("video/mp4","icon_mime_video_generic.png", ".MP4", 128); + MIMEBASE("video/quicktime","icon_mime_video_generic.png", ".MOV", 128); + MIMEBASE("video/x-matroska","icon_mime_video_generic.png", ".MKV", 128); + MIMEBASE("video/x-flv","icon_mime_video_generic.png", ".FLV", 128); + MIMEBASE("application/vnd.rn-realmedia","icon_mime_video_generic.png", ".REAL", 128); + MIMEBASE("video/x-ms-wmv","icon_mime_video_generic.png", ".WMV", 128); + MIMEBASE("image/png","icon_mime_image_generic.png", ".PNG", 128); + MIMEBASE("image/jpeg","icon_mime_image_generic.png", ".JPEG", 128); + MIMEBASE("image/gif","icon_mime_image_generic.png", ".GIF", 128); + MIMEBASE("image/bmp","icon_mime_image_generic.png", ".BMP", 128); + MIMEBASE("application/x-xcf","icon_mime_image_generic.png", ".XCF", 128); + MIMEBASE("application/x-cbz","icon_mime_image_generic.png", ".CBZ", 128); + MIMEBASE("application/x-cbr","icon_mime_image_generic.png", ".CBR", 128); + MIMEBASE("audio/mpeg","icon_mime_audio_generic.png", ".MP3", 128); + MIMEBASE("audio/x-wav","icon_mime_audio_generic.png", ".WAV", 128); + MIMEBASE("audio/x-flac","icon_mime_audio_generic.png", ".FLAC", 128); + MIMEBASE("audio/x-musepack","icon_mime_audio_generic.png", ".MPC", 128); + MIMEBASE("audio/x-vorbis+ogg","icon_mime_audio_generic.png", ".OGG", 128); + MIMEBASE("application/x-audacity-project","icon_mime_audio_generic.png", ".AUP", 128); + MIMEBASE("audio/x-ms-wma","icon_mime_audio_generic.png", ".WMA", 128); + MIMEBASE("text/css","icon_mime_text_generic.png", ".CSS", 128); + MIMEBASE("text/html","icon_mime_text_generic.png", ".HTML", 128); + MIMEBASE("text/x-csrc","icon_mime_text_generic.png", ".C", 128); + MIMEBASE("text/x-chdr","icon_mime_text_generic.png", ".H", 128); + MIMEBASE("text/x-c++src","icon_mime_text_generic.png", ".C++", 128); + MIMEBASE("text/x-csharp","icon_mime_text_generic.png", ".C#", 128); + MIMEBASE("text/x-patch","icon_mime_text_generic.png", ".PATCH", 128); + MIMEBASE("text/plain","icon_mime_text_generic.png", ".TXT", 128); + MIMEBASE("application/x-msword","icon_mime_text_generic.png", ".DOC", 128); + MIMEBASE("application/vnd.ms-powerpoint","icon_mime_text_generic.png", ".PPT", 128); + MIMEBASE("application/vnd.ms-excel","icon_mime_text_generic.png", ".XLS", 128); + MIMEBASE("application/x-abiword","icon_mime_text_generic.png", ".ABW", 128); + MIMEBASE("application/vnd.scribus","icon_mime_text_generic.png", ".SLA", 128); + MIMEBASE("text/x-python","icon_mime_text_generic.png", ".PY", 128); + MIMEBASE("application/x-awk","icon_mime_text_generic.png", ".AWK", 128); + MIMEBASE("application/x-lyx","icon_mime_text_generic.png", ".LYX", 128); + MIMEBASE("application/vnd.oasis.opendocument.spreadsheet","icon_mime_text_generic.png", ".ODS", 128); + MIMEBASE("application/vnd.oasis.opendocument.text","icon_mime_text_generic.png", ".ODT", 128); + MIMEBASE("application/vnd.oasis.opendocument.presentation","icon_mime_text_generic.png", ".ODP", 128); + MIMEBASE("application/x-object","icon_efm_file.png", "", 128); + MIMEBASE("application/x-shellscript","icon_applications.png", "", 128); + MIMEBASE("application/x-font-ttf","icon_mime_font_generic.png", ".TTF", 128); + MIMEBASE("application/x-font-pcf","icon_mime_font_generic.png", ".PCF", 128); + MIMEBASE("application/x-font-bdf","icon_mime_font_generic.png", ".BDF", 128); diff --git a/data/themes/edc/O/evrything.edc b/data/themes/edc/O/evrything.edc new file mode 100644 index 000000000..b7ef0a94d --- /dev/null +++ b/data/themes/edc/O/evrything.edc @@ -0,0 +1,2597 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: EVERYTHING ***/ +/////////////////////////////////////////////////////////////////////////////// + + group { + name: "e/modules/everything/list"; + parts { + part { + name: "list_frame"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + } + part { + name: "base"; + type: RECT; + /* description { + * state: "default" 0.0; + * rel1 { + * relative: 0.0 1.0; + * to_x: "list_frame"; + * to_y: "input_base"; + * } + * rel2 { + * to_x: "list_frame"; + * to_y: "input_base"; + * } + * } */ + description { + state: "default" 0.0; + /*inherit: "default" 0.0;*/ + rel1 { + relative: 0.0 1.0; + to_x: "list_frame"; + to_y: "input_base"; + } + rel2 { + to: "list_frame"; + offset: -1 -1; + } + } + } + part { + name: "input_base"; + type: RECT; + /* description { + * state: "default" 0.0; + * rel1 { + * to_x: "base"; + * } + * + * rel2 { + * relative: 1.0 0.0; + * to_x: "base"; + * offset: -1 1; + * } + * } */ + description { + state: "default" 0.0; + /* inherit: "default" 0.0; */ + rel1 { + to_x: "base"; + } + rel2 { + relative: 1.0 0.0; + to_x: "base"; + offset: -1 28; + } + } + } + part { + name: "list_win_bg"; + type: RECT; + description { + state: "default" 0.0; + rel1.to_x: "base"; + rel1.to_y: "input_base"; + + rel2.to: "base"; + /* rel2.offset: -1 -3; */ + color: 245 245 245 255; + } + } + part { + name: "bar_base"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 1.0; + to: "base"; + offset: 0 -26; + } + rel2 { + relative: 1.0 1.0; + to: "base"; + offset: -1 -1; + } + } + } + part { + name: "bar_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "bar_base"; + offset: 2 2; + } + rel2 { + to: "bar_base"; + offset: -2 -2; + } + } + description { + state: "faded" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "bar_bg"; + clip_to: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 32 25; + max: 9999 25; + fixed: 1 1; + rel1 { + offset: -1 2; + to: "bar_base"; + } + rel2 { + offset: -1 -3; + to: "bar_base"; + } + image { + normal: "O/bt_dis_base.png"; + border: 4 4 4 4; + } + color: 255 255 255 255; + } + } + part { + name: "e.swallow.bar"; + clip_to: "bar_clip"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1.to: "bar_clip"; + rel1.offset: -1 0; + rel2.to: "bar_clip"; + rel2.offset: -1 -1; + } + } + part { + name: "bar_over2"; + clip_to: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "bar_bg"; + rel1.offset: -1 -2; + rel2.to: "bar_bg"; + rel2.offset: 1 1; + image { + normal: "O/bt_dis_shine.png"; + border: 4 4 4 4; + } + color: 255 255 255 235; + } + } + part { + name: "bar_over1"; + clip_to: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "bar_bg"; + rel1.offset: 0 -2; + rel2.to: "bar_bg"; + rel2.offset: 1 -1; + rel2.relative: 1.0 0.5; + image { + normal: "O/bt_dis_hilight.png"; + border: 4 4 4 0; + } + color: 255 255 255 128; + } + } + part { + name: "input_bg"; + clip_to: "input_base"; + description { + state: "default" 0.0; + fixed: 1 1; + min: 32 32; + max: 9999 32; + rel1 { + offset: -1 0; + to: "input_base"; + } + rel2 { + /* offset: 1 0; */ + to: "input_base"; + } + image { + normal: "O/bt_dis_base.png"; + border: 4 4 4 4; + } + color: 235 235 235 255; + } + } + part { + name: "e.text.label"; + type: TEXT; + effect: SHADOW; + scale: 1; + clip_to: "input_base"; + description { + state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.5; + rel1 { + offset: 10 8; + to: "input_bg"; + } + rel2 { + to: "input_bg"; + relative: 0.0 1.0; + offset: 10 -4; + + } + color: 60 60 60 255; + color3: 255 255 255 68; + text { + font: "Sans:style=Bold"; + size: 11; + align: 0.0 0.5; + min: 1 1; + text_class: "fileman_typebuf"; + } + } + } + part { + name: "cursor"; + /* type: RECT; */ + mouse_events: 0; + description { + state: "default" 0.0; + min: 10 10; + max: 10 10; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -2 -2; + to: "e.text.label"; + } + rel2 { + relative: 1.0 1.0; + offset: -2 -1; + to: "e.text.label"; + } + image { + normal: "O/icon_right_arrow.png"; + } + + color: 20 20 20 250; + } + description { + state: "faded" 0.0; + inherit: "default" 0.0; + color: 20 20 20 100; + } + } + part { + name: "list_clip"; + type: RECT; + clip_to: "base"; + description { + state: "default" 0.0; + color: 255 255 255 255; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + offset: 2 0; + to: "base"; + } + rel2 { + relative: 1.0 0.0; + offset: -3 0; + to_y: "bar_base"; + to_x: "base"; + } + } + } + part { + name: "list_bg"; + clip_to: "base"; + description { + state: "default" 0.0; + image.normal: "O/vgrad_light.png"; + rel1 { + to: "list_clip"; + offset: 0 0; + } + rel2 { + to: "list_clip"; + offset: 0 0; + } + fill.smooth: 0; + color: 240 240 240 255; + } + } + part { + name: "e.swallow.list"; + type: SWALLOW; + clip_to: "list_clip"; + mouse_events: 1; + description { + state: "default" 0.0; + min: 32 170; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + offset: 0 3; + to: "list_clip"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "list_clip"; + } + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + rel1 { + relative: -1.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { + name: "e.swallow.list2"; + type: SWALLOW; + clip_to: "list_clip"; + mouse_events: 1; + description { + state: "default" 0.0; + min: 32 170; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: 0 3; + to: "list_clip"; + } + rel2 { + relative: 2.0 1.0; + offset: -1 -1; + to: "list_clip"; + } + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { + name: "list_over"; + clip_to: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + offset: -1 -1; + to: "list_bg"; + } + rel2 { + offset: -1 -1; + to: "list_bg"; + } + image { + normal: "O/inset_sunk.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + /* color: 200 200 200 255; */ + } + } + part { + name: "box"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "input_base"; + offset: 1 0; + } + rel2 { + to: "base"; + offset: -2 -1; + } + image { + normal: "O/everything_box.png"; + border: 4 4 4 4; + middle: 0; + } + fill.smooth : 1; + } + } + } + programs { + program { + name: "blink_off"; + signal: "show"; + source: ""; + action: STATE_SET "faded" 0.0; + transition: SINUSOIDAL 0.6; + target: "cursor"; + after: "blink_on"; + } + program { + name: "blink_on"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.35; + target: "cursor"; + after: "blink_off"; + } + program { + name: "show_list"; + signal: "e,state,list_show"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { + name: "hide_list"; + signal: "e,state,list_hide"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.08; + target: "base"; + } + program { + name: "show_entry"; + signal: "e,state,entry_show"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "input_base"; + } + program { + name: "hide_entry"; + signal: "e,state,entry_hide"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.08; + target: "input_base"; + } + program { + name: "update_list"; + signal: "e,signal,update"; + source: "e"; + action: STATE_SET "faded" 0.0; + /* transition: SINUSOIDAL 0.5; */ + target: "bar_clip"; + after: "update_list2"; + } + program { + name: "update_list2"; + action: STATE_SET "default" 0.0; + /* transition: SINUSOIDAL 0.15; */ + target: "bar_clip"; + } + + program { + name: "slide_left"; + signal: "e,action,slide,left"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "slide_left2"; + } + program { + name: "slide_left2"; + action: STATE_SET "default" 1.0; + transition: ACCELERATE 0.15; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "left_end"; + } + program { name: "left_end"; + action: SIGNAL_EMIT "e,action,slide,left,finished" ""; + } + program { + name: "slide_right"; + signal: "e,action,slide,right"; + source: "e"; + action: STATE_SET "default" 1.0; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "slide_right2"; + } + program { + name: "slide_right2"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.15; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "right_end"; + } + program { name: "right_end"; + action: SIGNAL_EMIT "e,action,slide,right,finished" ""; + } + program { + name: "slide_default"; + signal: "e,action,slide,default"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.list"; + target: "e.swallow.list2"; + } + } + } + group { + name: "e/modules/everything/main"; + images { + image: "O/inset_sunk.png" COMP; + image: "O/everything_box.png" COMP; + image: "O/everything_item_bg.png" COMP; + image: "O/vgrad_dark.png" COMP; + image: "O/bt_dis_hilight.png" COMP; + image: "O/bt_dis_shine.png" COMP; + image: "O/bt_dis_base.png" COMP; + image: "O/bt_base2.png" COMP; + image: "O/outline.png" COMP; + image: "O/icon_left_arrow.png" COMP; + image: "O/icon_right_arrow.png" COMP; + image: "O/toolbar_sel.png" COMP; + image: "O/icon_right_arrow.png" COMP; + image: "O/bt_sm_base1.png" COMP; + image: "O/bt_sm_base2.png" COMP; + image: "O/bt_sm_shine.png" COMP; + image: "O/bt_sm_hilight.png" COMP; + image: "O/sb_runnerv.png" COMP; + } + parts { + + /*************** top ***************/ + part { + name: "win"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + min: 286 48; + rel2.relative: 1.0 0.0; + rel2.offset: -1 48; + } + } + part { + name: "list"; + source: "e/modules/everything/list"; + type: GROUP; + description { + state: "default" 0.0; + visible: 1; + min: 300 155; + rel1 { + to_y: "frame"; + offset: -1 -3; + relative: 0.0 1.0; + } + rel2 { + offset: 0 -1; + } + } + } + part { + name: "bar_base"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "frame"; + } + rel2 { + to: "frame"; + } + } + } + part { + name: "bar_bg"; + clip_to: "bar_base"; + mouse_events: 0; + description { + state: "default" 0.0; + /* min: 32 50; + * max: 9999 50; */ + fixed: 1 1; + rel1 { + offset: -2 -1; + to: "bar_base"; + } + rel2 { + offset: 1 0; + to: "bar_base"; + } + image { + normal: "O/bt_dis_base.png"; + border: 4 4 4 4; + } + } + } + part { + name: "frame"; + mouse_events: 0;; + description { + state: "default" 0.0; + rel1.to: "win"; + rel2.to: "win"; + image { + normal: "O/everything_box.png"; + border: 4 4 4 4; + middle: 0; + } + fill.smooth : 1; + color: 215 215 215 255; + } + } + part { + name: "selector_frame"; + type: RECT; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1 { + to: "frame"; + } + rel2 { + offset: -2 -1; + to: "frame"; + } + } + } + part { + name: "subject_selector"; + type: GROUP; + source: "e/modules/everything/selector_item"; + clip_to: "selector_frame"; + description { + state: "default" 0.0; + /* visible: 0; */ + rel1 { + relative: 0.0 0.0; + offset: 0 2; + to: "selector_frame"; + } + rel2 { + relative: 0.5 1.0; + offset: -1 -1; + to_y: "selector_frame"; + } + } + description { + state: "wide" 0; + inherit: "default" 0.0; + visible: 0; + rel1 { + relative: -0.5 0.0; + offset: 0 2; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -1; + } + } + } + part { + name: "action_selector"; + type: GROUP; + source: "e/modules/everything/selector_item"; + clip_to: "selector_frame"; + description { + state: "default" 0.0; + /* visible: 0; */ + rel1 { + relative: 0.5 0.0; + offset: 0 2; + to: "selector_frame"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "selector_frame"; + } + } + description { + state: "wide" 0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 2; + } + rel2 { + relative: 0.5 1.0; + offset: -1 -1; + } + } + } + part { + name: "object_selector"; + type: GROUP; + source: "e/modules/everything/selector_item"; + clip_to: "selector_frame"; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 1.0 0.0; + offset: 0 2; + to: "selector_frame"; + } + rel2 { + relative: 1.5 1.0; + offset: -1 -1; + to: "selector_frame"; + } + } + description { + state: "wide" 0; + inherit: "default" 0.0; + visible: 1; + rel1 { + relative: 0.5 0.0; + offset: 0 2; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + + part { + name: "bar_over2"; + clip_to: "bar_base"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "bar_bg"; + rel1.offset: -2 -2; + rel2.to: "bar_bg"; + rel2.offset: 1 2; + image { + normal: "O/bt_dis_shine.png"; + border: 4 4 4 4; + } + } + } + part { + name: "bar_over1"; + clip_to: "bar_base"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "bar_bg"; + rel1.offset: -2 -2; + rel2.to: "bar_bg"; + rel2.offset: 1 2; + rel2.relative: 1.0 0.45; + image { + normal: "O/bt_dis_hilight.png"; + border: 4 4 4 0; + } + color: 255 255 255 235; + } + } + } + programs { + program { + name: "object_selector_hide"; + signal: "e,state,object_selector_hide"; + source: "e"; + action: STATE_SET "default" 0.00; + transition: SINUSOIDAL 0.15; + target: "object_selector"; + target: "subject_selector"; + target: "action_selector"; + } + program { + name: "object_selector_show"; + signal: "e,state,object_selector_show"; + source: "e"; + action: STATE_SET "wide" 0.00; + transition: SINUSOIDAL 0.2; + target: "object_selector"; + target: "subject_selector"; + target: "action_selector"; + } + } + } + group { + name: "e/modules/everything/selector_item"; + parts { + part { + name: "clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + } + } + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + color: 200 200 200 20; + image { + normal: "O/toolbar_sel.png"; + border: 3 3 2 2; + } + fill.smooth: 1; + rel1.offset: 0 -1; + rel2.offset: 2 -1; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 200 200 200 255; + } + } + part { + name: "inner_clip"; + type: RECT; + clip_to: "clip"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.offset: 6 2; + rel2.offset: -5 -5; + } + } + part { + name: "icon_clip"; + type: RECT; + clip_to: "inner_clip"; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "faded" 0.0; + color: 255 255 255 120; + } + } + part { + name: "e.swallow.icons"; + type: SWALLOW; + clip_to: "icon_clip"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 50 44; + max: 50 44; + aspect: 1.0 1.0; + align: 0.0 0.5; + aspect_preference: VERTICAL; + rel1 { + offset: 5 5; + } + rel2 { + offset: -1 -8; + } + } + } + part { + name: "e.swallow.thumb"; + type: SWALLOW; + clip_to: "icon_clip"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 50 44; + max: 50 44; + aspect: 1.0 1.0; + align: 0.0 0.5; + aspect_preference: VERTICAL; + rel1 { + offset: 5 5; + } + rel2 { + offset: -1 -8; + } + } + } + + part { + name: "e.text.label"; + type: TEXT; + mouse_events: 0; + clip_to: "clip"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 1.0; + fixed: 0 1; + rel1.to: "e.swallow.icons"; + rel1.relative: 1.0 0.0; + rel2.to: "clip"; + rel1.offset: 2 3; + rel2.offset: -6 -7; + /* visible: 0; */ + color: 24 24 24 255; + text { + font: "Sans:style=Bold"; + size: 9; + min: 0 1; + align: 0.0 1.0; + text_class: "fileman_typebuf"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 244 244 244 255; + /* visible: 1; */ + } + } + part { + name: "e.text.plugin"; + type: TEXT; + clip_to: "inner_clip"; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1 { + offset: 6 6; + /* to_x: "e.swallow.icons"; */ + } + rel2.offset: -10 -1; + color: 20 20 20 255; + color3: 0 0 0 0; + text { + font: "Sans"; + size: 9; + min: 0 1; + align: 1.0 0.0; + text_class: "fileman_icon"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + + color: 240 240 240 255; + } + } + part { + name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "sel"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "selected" 0.0; + transition: SINUSOIDAL 0.1; + /* target: "border"; + * target: "border_bg"; */ + target: "bg"; + target: "e.text.label"; + target: "e.text.plugin"; + } + program { + name: "unsel"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.2; + /* target: "border"; + * target: "border_bg"; */ + target: "bg"; + target: "e.text.label"; + target: "e.text.plugin"; + } + program { + name: "update"; + signal: "e,signal,update"; + source: "e"; + action: STATE_SET "faded" 0.0; + transition: DECELERATE 0.1; + target: "icon_clip"; + after: "show_icon"; + } + program { + name: "show_icon"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.3; + target: "icon_clip"; + } + program { + name: "thumb_show"; + signal: "e,action,thumb,show"; + source: "e"; + action: STATE_SET "faded" 0.0; + /* transition: SINUSOIDAL 0.05; */ + target: "icon_clip"; + after: "thumb_show2"; + } + program { + name: "thumb_show2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.2; + target: "icon_clip"; + } + } + } + + group { + name: "e/modules/everything/tab_item"; + min: 50 10; + parts { + part { + name: "clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.05 0.0; + rel2.relative: 0.95 1.0; + } + } + part { + name: "label2"; + type: TEXT; + scale: 1; + clip_to: "clip"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.5 0.5; + fixed: 0 1; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 0 0 0 255; + text { + font: "Sans:style"; + text_source: "e.text.label"; + size: 10; + min: 0 1; + align: 0.5 0.5; + text_class: "fileman_icon"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 10 10 10 0; + visible: 0; + } + } + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + color: 200 200 200 20; + image { + normal: "O/toolbar_sel.png"; + border: 2 2 0 0; + } + fill.smooth: 1; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 200 200 200 255; + } + } + part { + name: "e.text.label"; + type: TEXT; + mouse_events: 0; + clip_to: "clip"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.5 0.5; + fixed: 0 1; + rel1.to: "clip"; + rel2.to: "clip"; + rel1.offset: 5 3; + rel2.offset: -6 -1; + visible: 0; + color: 245 245 245 255; + text { + font: "Sans:style=Bold"; + size: 9; + min: 0 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; + 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.1; + } + program { + name: "go_passive"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + } + } + + group { + name: "e/modules/everything/tab_item/back"; + min: 50 10; + parts { + part { + name: "clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.05 0.0; + rel2.relative: 0.95 1.0; + } + } + part { + name: "label2"; + type: TEXT; + scale: 1; + clip_to: "clip"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.5 0.5; + fixed: 0 1; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 0 0 0 255; + text { + font: "Sans:style"; + text_source: "e.text.label"; + size: 10; + min: 0 1; + align: 0.5 0.5; + text_class: "fileman_icon"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 10 10 10 0; + visible: 0; + } + } + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 40; + image { + normal: "O/toolbar_sel.png"; + border: 2 2 0 0; + } + fill.smooth: 1; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 245 245 245 250; + } + } + part { + name: "e.text.label"; + type: TEXT; + mouse_events: 0; + clip_to: "clip"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.5 0.5; + fixed: 0 1; + rel1.to: "clip"; + rel2.to: "clip"; + rel1.offset: 5 3; + rel2.offset: -6 -1; + visible: 0; + color: 245 245 245 255; + text { + font: "Sans:style=Bold"; + size: 9; + min: 0 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; + 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.1; + } + program { + name: "go_passive"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + } + } + +///////////////////////////////////////////////////////////////////////////// +/*** EVERYTHING THUMB VIEW ***/ + + group { + name: "e/modules/everything/thumbview/item/thumb"; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "base"; + offset: -1 -3; + } + rel2 { + to: "base"; + offset: 0 2; + } + fill.smooth: 0; + image { + normal: "O/everything_item_bg.png"; + border: 5 5 5 5; + } + color: 255 255 255 10; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 255 255 255 190; + } + } + part { + name: "outline"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "O/outline.png"; + border: 5 5 5 5; + } + color: 0 0 0 30; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 0 0 0 220; + } + + } + part { + name: "bg_mark"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "bg"; + rel2.to: "bg"; + fill.smooth: 0; + image { + normal: "O/everything_item_bg.png"; + border: 5 5 5 5; + } + color: 255 255 255 0; + } + description { + state: "marked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 60; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 255 255 255 255; + } + } + part { + name: "clip"; + mouse_events: 0; + type: RECT; + /* clip_to: "base"; */ + description { + state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 225 225 225 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "e.swallow.icon"; + clip_to: "clip"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -3 -11; + } + } + } + part { + name: "e.swallow.thumb"; + clip_to: "clip"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + to: "base"; + offset: 6 6; + } + rel2 { + to: "base"; + offset: -5 -20; + } + } + } + part { + name: "arrow"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 12 12; + max: 12 12; + /* aspect_preference: */ + visible: 0; + align: 1.0 0.0; + rel1 { + to: "base"; + relative: 1.0 0.0; + offset: -3 2; + } + rel2 { + to: "base"; + relative: 1.0 0.0; + offset: -3 2; + } + image { + normal: "O/icon_right_arrow.png"; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "e.text.label"; + type: TEXT; + clip_to: "base"; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { + offset: 2 -12; + relative: 0.0 1.0; + } + rel2.offset: -2 -4; + color3: 20 20 20 60; + color: 255 255 255 255; + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.5 0.0; + text_class: "fileman_icon"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + rel1 { + offset: 2 -12; + relative: 0.0 1.0; + } + rel2.offset: -2 -4; + color: 250 250 250 255; + color3: 20 20 20 40; + } + } + + part { + name: "over_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.5 -0.5; + rel2.relative: 1.5 1.5; + color: 255 255 255 0; + visible: 1; + } + description { + state: "huge" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + rel1.relative: -1.5 -1.5; + rel2.relative: 2.5 2.5; + visible: 1; + } + } + + part { + name: "over"; + type: PROXY; + mouse_events: 0; + clip_to: "over_clip"; + description { + state: "default" 0.0; + source: "e.swallow.icon"; + rel1.to: "over_clip"; + rel2.to: "over_clip"; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "over2"; + type: PROXY; + mouse_events: 0; + clip_to: "over_clip"; + description { + state: "default" 0.0; + source: "e.swallow.thumb"; + rel1.to: "over_clip"; + rel2.to: "over_clip"; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { + name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "sel"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "outline"; + target: "e.text.label"; + } + program { + name: "unsel"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.1; + target: "bg"; + target: "outline"; + target: "e.text.label"; + } + program { + name: "mark"; + signal: "e,state,marked"; + source: "e"; + action: STATE_SET "marked" 0.0; + target: "bg_mark"; + transition: ACCELERATE 0.15; + } + program { + name: "unmark"; + signal: "e,state,unmarked"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "bg_mark"; + } + program { + name: "arrow_show"; + signal: "e,state,browseable"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "arrow"; + } + program { + name: "thumb_show_delayed"; + signal: "e,action,thumb,show_delayed"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "clip"; + after: "thumb_show2"; + } + program { + name: "thumb_show"; + signal: "e,action,thumb,show"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "clip"; + } + program { + name: "thumb_show2"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.1; + target: "clip"; + } + program { + name: "go_big"; + action: STATE_SET "visible" 0.0; + target: "over_clip"; + target: "over"; + target: "over2"; + after: "go_big2"; + } + + program { + name: "go_big2"; + action: STATE_SET "huge" 0.0; + transition: DECELERATE 0.4; + target: "over_clip"; + after: "go_big3"; + } + + program { + name: "go_big3"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.2; + target: "over_clip"; + target: "over"; + target: "over2"; + } + program { + name: "action_go"; + signal: "e,action,go"; + source: "e"; + action: ACTION_STOP; + target: "go_big"; + target: "go_big2"; + target: "go_big3"; + after: "go_big"; + } + } + } + group { + name: "e/modules/everything/thumbview/item/list"; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "base"; + offset: -1 -1; + } + rel2 { + to: "base"; + offset: -2 2; + } + fill.smooth: 0; + image { + normal: "O/everything_item_bg.png"; + border: 5 5 5 5; + } + color: 0 0 0 10; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 0 0 0 190; + } + } + part { + name: "outline"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image { + normal: "O/outline.png"; + border: 5 5 5 5; + } + color: 0 0 0 30; + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 0 0 0 220; + } + } + part { + name: "bg_mark"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "bg"; + rel2.to: "bg"; + fill.smooth: 0; + color: 255 255 255 0; + image { + normal: "O/everything_item_bg.png"; + border: 5 5 5 5; + } + } + description { + state: "marked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 60; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1 { + relative: 0.0 0.0; + offset: 0 3; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -4; + } + } + } + part { + name: "clip"; + mouse_events: 0; + type: RECT; + clip_to: "base"; + description { + state: "default" 0.0; + color: 225 225 225 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "base"; + relative: 0.0 1.0; + offset: 40 -1; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "e.swallow.icon"; + clip_to: "clip"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + } + } + part { + name: "e.swallow.thumb"; + clip_to: "clip"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1.to: "clip"; + rel2.to: "clip"; + } + } + part { + name: "arrow"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 16 16; + max: 16 16; + visible: 0; + rel1 { + to: "base"; + relative: 1.0 0.0; + offset: -21 6; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 1 -7; + } + image { + normal: "O/icon_right_arrow.png"; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1 { + to: "base"; + relative: 1.0 0.0; + offset: -21 6; + } + } + } + part { + name: "e.text.label"; + type: TEXT; + clip_to: "base"; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 255; + color3: 255 255 255 30; + rel1 { + to_x: "clip"; + to_y: "base"; + offset: 5 2; + relative: 1.0 0.0; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -1; + to_x: "arrow"; + to_y: "spacer"; + } + text { + font: "Sans"; + size: 10; + min: 0 1; + align: 0.0 0.0; + text_class: "fileman_icon"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color3: 20 20 20 30; + } + } + part { + name: "e.text.detail"; + type: TEXT; + clip_to: "base"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 80 80 80 255; + rel1 { + to_x: "clip"; + to_y: "base"; + offset: 5 6; + relative: 1.0 0.5; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -4; + to_y: "base"; + to_x: "arrow"; + } + text { + font: "Sans"; + size: 8; + min: 0 1; + align: 0.0 0.0; + text_class: "fileman_icon"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 200 200 200 255; + } + } + part { + name: "spacer"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel1.relative: 0.0 1.0; + rel2.to: "base"; + } + description { + state: "detail" 0.0; + inherit: "default" 0.0; + rel1.to: "e.text.detail"; + rel2.to: "e.text.detail"; + } + } + part { + name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "sel"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "selected" 0.0; + target: "bg"; + target: "outline"; + target: "e.text.label"; + target: "e.text.detail"; + transition: ACCELERATE 0.0; + } + program { + name: "unsel"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.0; + target: "bg"; + target: "outline"; + target: "e.text.label"; + target: "e.text.detail"; + } + program { + name: "mark"; + signal: "e,state,marked"; + source: "e"; + action: STATE_SET "marked" 0.0; + target: "bg_mark"; + transition: ACCELERATE 0.15; + } + program { + name: "unmark"; + signal: "e,state,unmarked"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "bg_mark"; + } + program { + name: "arrow_show"; + signal: "e,state,browseable"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "arrow"; + } + program { + name: "thumb_show_delayed"; + signal: "e,action,thumb,show_delayed"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "clip"; + transition: DECELERATE 0.1; + } + program { + name: "thumb_show"; + signal: "e,action,thumb,show"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "clip"; + } + program { + name: "detail_show"; + signal: "e,state,detail,show"; + source: "e"; + action: STATE_SET "detail" 0.0; + /* transition: ACCELERATE 0.08; */ + target: "spacer"; + } + program { + name: "detail_hide"; + signal: "e,state,detail,hide"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "spacer"; + } + } + } + + group { + name: "e/modules/everything/thumbview/main/window"; + parts { + part { + name: "clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + color: 255 255 255 255; + } + } + part { + name: "e.swallow.list"; + type: SWALLOW; + clip_to: "clip"; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 6 1; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + part { + name: "left_arrow"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + image.normal: "O/icon_left_arrow.png"; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + align: 0.0 0.5; + min: 32 32; + max: 32 32; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "right_arrow"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + image.normal: "O/icon_right_arrow.png"; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + align: 1.0 0.5; + min: 32 32; + max: 32 32; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "event"; + repeat_events: 1; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "go_into_show"; + signal: "e,action,show,into"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.5; + target: "right_arrow"; + } + program { + name: "go_into_hide"; + signal: "e,action,hide,into"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "right_arrow"; + transition: LINEAR 0.5; + } + program { + name: "go_back_show"; + signal: "e,action,show,back"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.5; + target: "left_arrow"; + } + program { + name: "go_back_hide"; + signal: "e,action,hide,back"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "left_arrow"; + transition: LINEAR 0.5; + } + program { + name: "hiding"; + signal: "e,action,hide,list"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "clip"; + transition: LINEAR 0.25; + } + program { + name: "showing"; + signal: "e,action,show,list"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "clip"; + transition: LINEAR 0.15; + } + } + } + group { + name: "e/modules/everything/thumbview/main/scrollframe"; + images { + image: "O/bt_sm_base1.png" COMP; + image: "O/bt_sm_base2.png" COMP; + image: "O/bt_sm_shine.png" COMP; + image: "O/bt_sm_hilight.png" COMP; + image: "O/sb_runnerv.png" COMP; + } + parts { + part { + name: "e.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1.offset: 0 0; + rel2 { + relative: 0.0 1.0; + offset: 2 -1; + to_x: "sb_vbar"; + } + } + } + part { + name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 9 17; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + description { + state: "hidden" 0.0; + visible: 0; + max: 0 99999; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + 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: -2 0; + rel2.to: "sb_vbar_base"; + image { + normal: "O/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: 9 17; + rel1 { + relative: 0.5 0.5; + offset: -1 0; + to: "sb_vbar_base"; + } + rel2 { + relative: 0.5 0.5; + offset: -1 0; + to: "sb_vbar_base"; + } + image { + normal: "O/bt_sm_base2.png"; + border: 6 6 6 6; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/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: "O/bt_sm_hilight.png"; + border: 6 6 6 0; + } + color: 180 180 180 255; + } + } + 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: "O/bt_sm_shine.png"; + border: 6 6 6 0; + } + color: 180 180 180 255; + } + } + part { + name: "sb_vbar_a1"; + type: RECT; + clip_to: "sb_vbar"; + mouse_events: 1; + description { + state: "default" 0.0; + min: 9 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_a2"; + type: RECT; + clip_to: "sb_vbar"; + mouse_events: 1; + description { + state: "default" 0.0; + min: 9 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; + } + } + } + } + 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_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_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_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"; + } + } + } + + group { + name: "e/modules/everything/textblock"; + styles { + style { + name: "everything_textblock_style"; + base: "font=Sans font_size=10 align=left color=#000"; + tag: "hilight" "+ font=Sans:style=Bold color=#0c0c0c"; + tag: "b" "+ font=Sans:style=Bold font_size=9"; + tag: "br" "\n"; + tag: "/title" "- \n \n"; + } + } + parts { + part { + name: "e.textblock.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + text { + style: "everything_textblock_style"; + min: 1 1; + } + } + } + } + } + + group { + name: "e/modules/everything/gadget"; + max: 128 128; + parts { + + part { + name: "icon"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "O/logo_white_128.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + + part { + name: "e.swallow.icon"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + visible: 0; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 0; + } + } + + part { + name: "event"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + programs { + program { + name: "on"; + signal: "e,state,icon,plugin"; + source: "e"; + action: STATE_SET "active" 0.0; + target: "e.swallow.icon"; + target: "icon"; + } + program { + name: "off"; + signal: "e,state,icon,default"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + target: "icon"; + } + } + } + diff --git a/data/themes/edc/O/fontpreview.edc b/data/themes/edc/O/fontpreview.edc new file mode 100644 index 000000000..3a4c3a4b8 --- /dev/null +++ b/data/themes/edc/O/fontpreview.edc @@ -0,0 +1,26 @@ + /* e/widgets/fontpreview is used in the Font Config dialog */ + group { + name: "e/widgets/fontpreview"; + parts { + part { + name: "e.fontpreview.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color_class: "entry_text"; + rel1.offset: 6 6; + rel2.offset: -7 -7; + text { + text: "The quick brown fox jumped over YA MUM!"; + font: "Sans"; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "_e_font_preview"; + } + } + } + } + } diff --git a/data/themes/edc/O/gadman.edc b/data/themes/edc/O/gadman.edc new file mode 100644 index 000000000..f9cb9b5da --- /dev/null +++ b/data/themes/edc/O/gadman.edc @@ -0,0 +1,1202 @@ + group { + name: "e/gadman/full_bg"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + description { + state: "visible" 0.0; + color: 0 0 0 128; + } + } + part { + name: "custom_bg"; + type: RECT; + description { + state: "default" 0.0; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + color: 255 255 255 200; + } + } + part { + name: "e.swallow.bg"; + type: SWALLOW; + clip_to: "custom_bg"; + description { + state: "default" 0.0; + } + } + part { + name: "grabber"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "show"; + signal: "e,state,visibility,show"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.4; + target: "bg"; + } + program { + name: "show_now"; + signal: "e,state,visibility,show,now"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.0; + target: "bg"; + } + program { + name: "hide"; + signal: "e,state,visibility,hide"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.4; + target: "bg"; + after: "hide_stop"; + } + program { + name: "hide_now"; + signal: "e,state,visibility,hide,now"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.0; + target: "bg"; + after: "hide_stop"; + } + program { + name: "show_custom"; + signal: "e,state,visibility,show,custom"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.4; + target: "custom_bg"; + } + program { + name: "show_custom_now"; + signal: "e,state,visibility,show,custom,now"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.0; + target: "custom_bg"; + } + program { + name: "hide_custom"; + signal: "e,state,visibility,hide,custom"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.4; + target: "custom_bg"; + after: "hide_stop"; + } + program { + name: "hide_custom_now"; + signal: "e,state,visibility,hide,custom,now"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.0; + target: "custom_bg"; + after: "hide_stop"; + } + program { + name: "hide_stop"; + action: SIGNAL_EMIT "e,action,hide,stop" ""; + } + } + } + group { + name: "e/gadman/frame"; + images.image: "O/inset_raised.png" COMP; + parts { + part { + name: "bg_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "overlay"; + rel2.to: "overlay"; + color: 255 255 255 255; + } + description { + state: "plain" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + color: 255 255 255 255; + } + } + part { + name: "items_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "overlay"; + offset: 4 4; + } + rel2 { + to: "overlay"; + offset: -5 -5; + } + color: 255 255 255 255; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + clip_to: "items_clip"; + description { + state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + color: 255 255 255 255; + } + description { + state: "hidden" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + color: 255 255 255 0; + } + } + part { + name: "overlay"; + mouse_events: 0; + clip_to: "bg_clip"; + description { + state: "default" 0.0; + image { + normal: "O/inset_raised.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + color: 255 255 255 255; + } + description { + state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + color: 255 255 255 0; + } + } + } + programs { + program { + name: "inset"; + signal: "e,state,visibility,inset"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "bg_clip"; + } + program { + name: "plain"; + signal: "e,state,visibility,plain"; + source: "e"; + action: STATE_SET "plain" 0.0; + target: "bg_clip"; + } + program { + name: "hide"; + signal: "e,state,visibility,hide"; + source: "e"; + action: STATE_SET "hidden" 0.0; + transition: ACCELERATE 0.4; + target: "items_clip"; + target: "overlay"; + target: "e.swallow.content"; + } + program { + name: "hide_now"; + signal: "e,state,visibility,hide,now"; + source: "e"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.0; + target: "items_clip"; + target: "overlay"; + target: "e.swallow.content"; + } + program { + name: "show"; + signal: "e,state,visibility,show"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.4; + target: "items_clip"; + target: "overlay"; + target: "e.swallow.content"; + } + program { + name: "show_now"; + signal: "e,state,visibility,show,now"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.0; + target: "items_clip"; + target: "overlay"; + target: "e.swallow.content"; + } + } + } + group { + name: "e/gadman/control"; + images { + image: "O/gadman_frame.png" COMP; + image: "O/gadman_border.png" COMP; + image: "O/gadman_top.png" COMP; + image: "O/gadman_bottom.png" COMP; + image: "O/gadman_left.png" COMP; + image: "O/gadman_right.png" COMP; + } + parts { + part { + name: "hclip"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 1; + rel1.offset: -85 -85; + rel2.offset: 74 74; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + visible : 0; + } + } + part { + name: "vclip"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 1; + rel1.offset: -85 -85; + rel2.offset: 84 84; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + visible : 0; + } + } + part { + name: "overlay"; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { + to: "border"; + offset: 4 4; + } + rel2 { + to: "border"; + offset: -5 -5; + } + image.normal: "O/gadman_frame.png"; + fill.size.relative: 0 0; + fill.size.offset: 24 24; + } + } + part { + name: "left_arrow1"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 12 24; + rel1 { + relative: 0.0 0.5; + offset: 3 0; + } + rel2 { + relative: 0.0 0.5; + offset: 3 -1; + } + image.normal: "O/gadman_left.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: -32 -12; + } + rel2 { + relative: 0.0 0.5; + offset: -18 11; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: -24 -6; + } + rel2 { + relative: 0.0 0.5; + offset: -10 5; + } + } + } + part { + name: "left_arrow2"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 12 24; + rel1 { + relative: 0.0 0.5; + offset: 3 0; + } + rel2 { + relative: 0.0 0.5; + offset: 3 -1; + } + image.normal: "O/gadman_left.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: -32 -12; + } + rel2 { + relative: 0.0 0.5; + offset: -18 11; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: -24 -6; + } + rel2 { + relative: 0.0 0.5; + offset: -10 5; + } + } + } + part { + name: "right_arrow1"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 12 24; + rel1 { + relative: 1.0 0.5; + offset: -3 0; + } + rel2 { + relative: 1.0 0.5; + offset: -3 -1; + } + image.normal: "O/gadman_right.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 1.0 0.5; + offset: 32 -12; + } + rel2 { + relative: 1.0 0.5; + offset: 18 11; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 1.0 0.5; + offset: 24 -6; + } + rel2 { + relative: 1.0 0.5; + offset: 10 5; + } + } + } + part { + name: "right_arrow2"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 12 24; + rel1 { + relative: 1.0 0.5; + offset: -3 0; + } + rel2 { + relative: 1.0 0.5; + offset: -3 -1; + } + image.normal: "O/gadman_right.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 1.0 0.5; + offset: 32 -12; + } + rel2 { + relative: 1.0 0.5; + offset: 18 11; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 1.0 0.5; + offset: 24 -6; + } + rel2 { + relative: 1.0 0.5; + offset: 10 5; + } + } + } + part { + name: "top_arrow1"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 24 12; + rel1 { + relative: 0.5 0.0; + offset: 0 3; + } + rel2 { + relative: 0.5 0.0; + offset: -1 3; + } + image.normal: "O/gadman_top.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 0.0; + offset: -12 -32; + } + rel2 { + relative: 0.5 0.0; + offset: 11 -18; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 0.0; + offset: -6 -24; + } + rel2 { + relative: 0.5 0.0; + offset: 5 -9; + } + } + } + part { + name: "top_arrow2"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 24 12; + rel1 { + relative: 0.5 0.0; + offset: 0 3; + } + rel2 { + relative: 0.5 0.0; + offset: -1 3; + } + image.normal: "O/gadman_top.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 0.0; + offset: -12 -32; + } + rel2 { + relative: 0.5 0.0; + offset: 11 -18; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 0.0; + offset: -6 -24; + } + rel2 { + relative: 0.5 0.0; + offset: 5 -9; + } + } + } + part { + name: "bottom_arrow1"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 24 12; + rel1 { + relative: 0.5 1.0; + offset: 0 -3; + } + rel2 { + relative: 0.5 1.0; + offset: -1 -3; + } + image.normal: "O/gadman_bottom.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + offset: -12 18; + } + rel2 { + relative: 0.5 1.0; + offset: 11 31; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + offset: -6 10; + } + rel2 { + relative: 0.5 1.0; + offset: 5 24; + } + } + } + part { + name: "bottom_arrow2"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + max: 24 12; + rel1 { + relative: 0.5 1.0; + offset: 0 -3; + } + rel2 { + relative: 0.5 1.0; + offset: -1 -3; + } + image.normal: "O/gadman_bottom.png"; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + offset: -12 18; + } + rel2 { + relative: 0.5 1.0; + offset: 11 31; + } + } + description { + state: "2" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.5 1.0; + offset: -6 10; + } + rel2 { + relative: 0.5 1.0; + offset: 5 24; + } + } + } + part { + name: "v1"; + mouse_events: 1; + clip_to: "vclip"; + description { + state: "default" 0.0; + rel2.relative: 1.0 0.0; + rel2.offset: -1 9; + } + } + part { + name: "v2"; + mouse_events: 1; + clip_to: "vclip"; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -8; + } + } + part { + name: "h1"; + mouse_events: 1; + clip_to: "hclip"; + description { + state: "default" 0.0; + rel2.relative: 0.0 1.0; + rel2.offset: 9 -1; + } + } + part { + name: "h2"; + mouse_events: 1; + clip_to: "hclip"; + description { + state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -8 0; + } + } + part { + name: "border"; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + image { + normal: "O/gadman_border.png"; + border: 10 10 10 10; + middle: 0; + } + fill.smooth: 0; + } + } + } + programs { + program { + name: "api_hsize_on"; + signal: "e,state,hsize,on"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "hclip"; + } + program { + name: "api_hsize_off"; + signal: "e,state,hsize,off"; + source: "e"; + action: STATE_SET "disabled" 0.0; + target: "hclip"; + } + program { + name: "api_vsize_on"; + signal: "e,state,vsize,on"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "vclip"; + } + program { + name: "api_vsize_off"; + signal: "e,state,vsize,off"; + source: "e"; + action: STATE_SET "disabled" 0.0; + target: "vclip"; + } + /* + program { + name: "api_move_on"; + signal: "e,state,move,on"; + source: "e"; + } + program { + name: "api_move_off"; + signal: "e,state,move,off"; + source: "e"; + } + program { + name: "api_active"; + signal: "e,state,focused"; + source: "e"; + } + program { + name: "api_inactive"; + signal: "e,state,unfocused"; + source: "e"; + } + */ + // MOVE PROGRAMS + program { + name: "mv_down"; + signal: "mouse,down,1"; + source: "overlay"; + action: SIGNAL_EMIT "e,action,move,start" ""; + } + program { + name: "mv_up"; + signal: "mouse,up,1"; + source: "overlay"; + action: SIGNAL_EMIT "e,action,move,stop" ""; + } + program { + name: "mv_move"; + signal: "mouse,move"; + source: "overlay"; + action: SIGNAL_EMIT "e,action,move,go" ""; + } + program { + name: "h1_down1"; + signal: "mouse,down,1"; + source: "h1"; + action: STATE_SET "clicked" 0.0; + target: "h1"; + } + program { + name: "h1_up1"; + signal: "mouse,up,1"; + source: "h1"; + action: STATE_SET "default" 0.0; + target: "h1"; + } + program { + name: "h1_down2"; + signal: "mouse,down,1"; + source: "h1"; + action: SIGNAL_EMIT "e,action,resize,left,start" ""; + } + program { + name: "h1_up2"; + signal: "mouse,up,1"; + source: "h1"; + action: SIGNAL_EMIT "e,action,resize,left,stop" ""; + } + program { + name: "h1_move"; + signal: "mouse,move"; + source: "h1"; + action: SIGNAL_EMIT "e,action,resize,left,go" ""; + } + program { + name: "h2_down1"; + signal: "mouse,down,1"; + source: "h2"; + action: STATE_SET "clicked" 0.0; + target: "h2"; + } + program { + name: "h2_up1"; + signal: "mouse,up,1"; + source: "h2"; + action: STATE_SET "default" 0.0; + target: "h2"; + } + program { + name: "h2_down2"; + signal: "mouse,down,1"; + source: "h2"; + action: SIGNAL_EMIT "e,action,resize,right,start" ""; + } + program { + name: "h2_up2"; + signal: "mouse,up,1"; + source: "h2"; + action: SIGNAL_EMIT "e,action,resize,right,stop" ""; + } + program { + name: "h2_move"; + signal: "mouse,move"; + source: "h2"; + action: SIGNAL_EMIT "e,action,resize,right,go" ""; + } + program { + name: "v1_down1"; + signal: "mouse,down,1"; + source: "v1"; + action: STATE_SET "clicked" 0.0; + target: "v1"; + } + program { + name: "v1_up1"; + signal: "mouse,up,1"; + source: "v1"; + action: STATE_SET "default" 0.0; + target: "v1"; + } + program { + name: "v1_down2"; + signal: "mouse,down,1"; + source: "v1"; + action: SIGNAL_EMIT "e,action,resize,up,start" ""; + } + program { + name: "v1_up2"; + signal: "mouse,up,1"; + source: "v1"; + action: SIGNAL_EMIT "e,action,resize,up,stop" ""; + } + program { + name: "v1_move"; + signal: "mouse,move"; + source: "v1"; + action: SIGNAL_EMIT "e,action,resize,up,go" ""; + } + program { + name: "v2_down1"; + signal: "mouse,down,1"; + source: "v2"; + action: STATE_SET "clicked" 0.0; + target: "v2"; + } + program { + name: "v2_up1"; + signal: "mouse,up,1"; + source: "v2"; + action: STATE_SET "default" 0.0; + target: "v2"; + } + program { + name: "v2_down2"; + signal: "mouse,down,1"; + source: "v2"; + action: SIGNAL_EMIT "e,action,resize,down,start" ""; + } + program { + name: "v2_up2"; + signal: "mouse,up,1"; + source: "v2"; + action: SIGNAL_EMIT "e,action,resize,down,stop" ""; + } + program { + name: "v2_move"; + signal: "mouse,move"; + source: "v2"; + action: SIGNAL_EMIT "e,action,resize,down,go" ""; + } + // LEFT ARROW + program { + name: "start_left1"; + signal: "mouse,in"; + source: "h1"; + after: "left1_1"; + } + program { + name: "start_left2"; + signal: "mouse,in"; + source: "h1"; + in: 0.4 0.0; + after: "left2_1"; + } + 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"; + } + program { + name: "stop_left1"; + signal: "mouse,out"; + source: "h1"; + action: ACTION_STOP; + target: "left1_1"; + target: "left1_2"; + target: "left1_r"; + target: "left2_1"; + target: "left2_2"; + target: "left2_r"; + target: "start_left2"; + after: "stop_left2"; + } + program { + name: "stop_left2"; + action: STATE_SET "default" 0.0; + target: "left_arrow1"; + target: "left_arrow2"; + } + // RIGHT ARROW + program { + name: "start_right1"; + signal: "mouse,in"; + source: "h2"; + after: "right1_1"; + } + program { + name: "start_right2"; + signal: "mouse,in"; + source: "h2"; + in: 0.4 0.0; + after: "right2_1"; + } + 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"; + } + program { + name: "stop_right1"; + signal: "mouse,out"; + source: "h2"; + action: ACTION_STOP; + target: "right1_1"; + target: "right1_2"; + target: "right1_r"; + target: "right2_1"; + target: "right2_2"; + target: "right2_r"; + target: "start_right2"; + after: "stop_right2"; + } + program { + name: "stop_right2"; + action: STATE_SET "default" 0.0; + target: "right_arrow1"; + target: "right_arrow2"; + } + // TOP ARROW + program { + name: "start_top1"; + signal: "mouse,in"; + source: "v1"; + after: "top1_1"; + } + program { + name: "start_top2"; + signal: "mouse,in"; + source: "v1"; + in: 0.4 0.0; + after: "top2_1"; + } + 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"; + } + program { + name: "stop_top1"; + signal: "mouse,out"; + source: "v1"; + action: ACTION_STOP; + target: "top1_1"; + target: "top1_2"; + target: "top1_r"; + target: "top2_1"; + target: "top2_2"; + target: "top2_r"; + target: "start_top2"; + after: "stop_top2"; + } + program { + name: "stop_top2"; + action: STATE_SET "default" 0.0; + target: "top_arrow1"; + target: "top_arrow2"; + } + // BOTTOM ARROW + program { + name: "start_bottom1"; + signal: "mouse,in"; + source: "v2"; + after: "bottom1_1"; + } + program { + name: "start_bottom2"; + signal: "mouse,in"; + source: "v2"; + in: 0.4 0.0; + after: "bottom2_1"; + } + 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"; + } + program { + name: "stop_bottom1"; + signal: "mouse,out"; + source: "v2"; + action: ACTION_STOP; + target: "bottom1_1"; + target: "bottom1_2"; + target: "bottom1_r"; + target: "bottom2_1"; + target: "bottom2_2"; + target: "bottom2_r"; + target: "start_bottom2"; + after: "stop_bottom2"; + } + program { + name: "stop_bottom2"; + action: STATE_SET "default" 0.0; + target: "bottom_arrow1"; + target: "bottom_arrow2"; + } + } + } diff --git a/data/themes/edc/O/ibarbox.edc b/data/themes/edc/O/ibarbox.edc new file mode 100644 index 000000000..893489ff8 --- /dev/null +++ b/data/themes/edc/O/ibarbox.edc @@ -0,0 +1,400 @@ + group { + name: "e/modules/ibox/drop"; + alias: "e/modules/ibar/drop"; + images.image: "O/inset_raised.png" COMP; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "O/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: "O/gadman_top.png" COMP; + image: "O/gadman_bottom.png" COMP; + image: "O/gadman_left.png" COMP; + image: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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: "O/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"; + } + } + } diff --git a/data/themes/edc/O/icons.edc b/data/themes/edc/O/icons.edc new file mode 100644 index 000000000..c2fac430d --- /dev/null +++ b/data/themes/edc/O/icons.edc @@ -0,0 +1,388 @@ + // Custom icons with actions or specific behaviours + images { + image: "O/icon_wallpaper_center_flat.png" COMP; + image: "O/icon_wallpaper_center.png" COMP; + image: "O/icon_wallpaper_screen.png" COMP; + image: "O/icon_wallpaper_grad_screen.png" COMP; + } + group { + name: "e/icons/enlightenment/wallpaper_stretch"; + max: 24 24; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "screen"; + rel2.to: "screen"; + image { + normal: "O/icon_wallpaper_center_flat.png"; + border: 5 5 5 5; + } + } + } + part { + name: "screen"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image { + normal: "O/icon_wallpaper_screen.png"; + border: 2 2 2 2; + } + } + } + } + } + group { + name: "e/icons/enlightenment/wallpaper_tile"; + max: 24 24; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "screen"; + rel2.to: "screen"; + image { + normal: "O/icon_wallpaper_center_flat.png"; + border: 5 5 5 5; + } + fill { + size { + relative: 0.33 0.33; + } + } + } + } + part { + name: "screen"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image { + normal: "O/icon_wallpaper_screen.png"; + border: 2 2 2 2; + } + } + } + } + } + group { + name: "e/icons/enlightenment/wallpaper_center"; + max: 24 24; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "screen"; + rel2.to: "screen"; + rel1.relative: 0.125 0.125; + rel2.relative: 0.875 0.875; + image { + normal: "O/icon_wallpaper_center.png"; + border: 5 5 5 5; + } + } + } + part { + name: "screen"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image { + normal: "O/icon_wallpaper_screen.png"; + border: 2 2 2 2; + } + } + } + } + } + group { + name: "e/icons/enlightenment/wallpaper_scale_aspect_in"; + max: 24 24; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.5 1.5; + aspect_preference: BOTH; + rel1.to: "screen"; + rel2.to: "screen"; + image { + normal: "O/icon_wallpaper_center.png"; + border: 5 5 5 5; + } + } + } + part { + name: "screen"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image { + normal: "O/icon_wallpaper_screen.png"; + border: 2 2 2 2; + } + } + } + } + } + group { + name: "e/icons/enlightenment/wallpaper_scale_aspect_out"; + max: 24 24; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.5 1.5; + aspect_preference: NONE; + image { + normal: "O/icon_wallpaper_center.png"; + border: 5 5 5 5; + } + } + } + part { + name: "screen"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image { + normal: "O/icon_wallpaper_screen.png"; + border: 2 2 2 2; + } + } + } + } + } + +///////////////////////////////////////////////////////////////////////////// +/*** ICONS ***/ + + #define ICON(NAME, FILE, SIZE) \ + group { \ + name: "e/icons/"NAME ; \ + max: SIZE SIZE; \ + parts { \ + part { \ + name: "icon"; \ + repeat_events: 1; \ + description { \ + state: "default" 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + image.image: "O/"FILE COMP; \ + image.normal: "O/"FILE ; \ + } \ + } \ + } \ + } + + #define ICONMIME(NAME, FILE, SIZE) ICON("mimetypes/"NAME, FILE, SIZE) + /* FreeDesktop.Org Icons + * http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html + * + * In the comment you can find the old e icon name. + * + * Icons marked with *** are not mentioned in the spec, but we still try to + * follow the naming convention. + * + * TO ADD A NEW ICON: + * 1. Search for a name in the spec OR + * 2. Search for a name in kde (oxygen) and gnome (tango - human) icon set OR + * 3. Try to follow the naming convention + */ + //Standard Action Icons + ICON("help-about","logo_black_128.png",64) // "enlightenment/about" + ICON("list-add","icon_add.png",64) // "widget/add" + ICON("list-remove","icon_del.png",64) // "widget/del" + ICON("go-up","icon_up_arrow.png",64) // "widget/up_arrow" "widget/up_dir" + ICON("go-down","icon_down_arrow.png",64) // "widget/down_arrow" + ICON("go-next","icon_right_arrow.png",64) // "widget/new_dialog" + ICON("go-previous","icon_left_arrow.png",64) // none + ICON("bookmark-new","icon_add_fav.png",64) // "widget/add_fav" + ICON("edit-swap","icon_swap.png",64) // *** // "widget/swap" + ICON("edit-copy","icon_efm_copy.png",16) // EFMBUTTON("copy" + ICON("edit-cut","icon_efm_cut.png",16) // EFMBUTTON("cut" + ICON("edit-paste","icon_efm_paste.png",16) // EFMBUTTON("paste" + ICON("edit-delete","icon_efm_delete.png",16) // EFMBUTTON("delete" + ICON("edit-rename","icon_efm_rename.png",16) // EFMBUTTON("rename" + ICON("edit-select-all","icon_efm_select.png",16) // EFMBUTTON("select" + ICON("document-open","icon_efm_open.png",16) // "widget/open" EFMBUTTON("open") EFMBUTTON("new") + ICON("document-new","icon_new.png",64) // "widget/new" + ICON("document-properties","icon_efm_properties.png",16) // EFMBUTTON("properties" + ICON("folder-new","icon_efm_new_dir.png",16) // EFMBUTTON("new_dir" + ICON("view-sort","icon_efm_sort.png",16) // *** // EFMBUTTON("sort", + ICON("view-order","icon_efm_sort.png",16) // *** // EFMBUTTON("ordering" + ICON("view-hidden-files","icon_efm_view.png",16) // *** // EFMBUTTON("hidden_files" + ICON("configure","icon_config.png",64) // "widget/config" + ICON("system-run","icon_run.png",64) // "enlightenment/run" + ICON("system-shutdown","icon_halt.png",128) // "enlightenment/halt" + ICON("system-restart","icon_reboot.png",128) // "enlightenment/reboot" + ICON("system-suspend","icon_suspend.png",128) // "enlightenment/suspend" + ICON("system-suspend-hibernate","icon_hibernate.png",128) // "enlightenment/hibernate" + ICON("system-log-out","icon_logout.png",128) // "enlightenment/logout" + ICON("system-lock-screen","icon_desklock_menu.png",128) // "enlightenment/desklock_menu" + ICON("window-close","icon_close.png",64) // "widget/close" + ICON("dialog-ok-apply","icon_check.png",64) // "enlightenment/check" + ICON("transform-scale","icon_resize.png",64) // "widget/resize" + ICON("transform-move","icon_autoscroll.png",64) // "enlightenment/autoscroll" + ICON("view-refresh","icon_efm_refresh.png",16) // EFMBUTTON("refresh" + ICON("view-inherit","icon_dummy.png",64) // *** // EFMBUTTON("inherit" + ICON("screenshot","icon_screenshot.png",64) // dunno + //Standard Status Icons + ICON("dialog-warning","icon_warning.png",128) // "enlightenment/warning" + ICON("dialog-error","icon_warning.png",128) // "enlightenment/error" + ICON("dialog-ask","icon_dummy.png",64) // "enlightenment/unknown" + ICON("unknown","icon_dummy.png",64) // *** // "enlightenment/unknown" + //Standard Application Icons + ICON("preferences-desktop","icon_desktops.png",64) // "enlightenment/desktops" + ICON("preferences-desktop-theme","icon_theme.png",64) // "enlightenment/themes" + ICON("preferences-desktop-wallpaper","icon_wallpaper.png",64) // "enlightenment/background" + ICON("preferences-desktop-color","icon_colors.png",64) // "enlightenment/colors" + ICON("preferences-desktop-font","icon_fonts.png",64) // "enlightenment/fonts" + ICON("preferences-desktop-screensaver","icon_screensaver.png",64) // "enlightenment/screensaver" + ICON("preferences-desktop-display","icon_screen_setup.png",64) // "enlightenment/screen_setup" + ICON("preferences-desktop-keyboard","icon_keyboard.png",64) // "enlightenment/keys" + ICON("preferences-desktop-keyboard-shortcuts","icon_keys.png",64) // "enlightenment/keys" + ICON("preferences-desktop-pointer","icon_mouse.png",64) // *** // "enlightenment/mouse" + ICON("preferences-desktop-mouse","icon_mouse_clean.png",64) // "enlightenment/mouse_clean" + ICON("preferences-desktop-mouse-left","icon_mouse_left.png",64) // *** // "enlightenment/mouse_left" + ICON("preferences-desktop-mouse-right","icon_mouse_right.png",64) // *** // "enlightenment/mouse_right" + ICON("preferences-desktop-mouse-middle","icon_mouse_middle.png",64) // *** // "enlightenment/mouse_middle" + ICON("preferences-desktop-mouse-wheel","icon_mouse_wheel.png",64) // *** // "enlightenment/mouse_wheel" + ICON("preferences-desktop-mouse-extra","icon_mouse_extra.png",64) // *** // "enlightenment/mouse_extra" + ICON("preferences-desktop-locale","icon_intl.png",64) // "enlightenment/intl" + ICON("preferences-desktop-mixer","icon_mixer.png",64) // "enlightenment/mixer" + ICON("preferences-desktop-shelf","icon_shelf.png",64) // *** // "enlightenment/shelf" + ICON("preferences-desktop-shelf-bottom-desk","icon_shelf_bottom_desk.png",64)// *** // "enlightenment/shelf_bottom_desk" + ICON("preferences-desktop-shelf-custom","icon_shelf_custom.png",64) // *** // "enlightenment/shelf_custom" + ICON("preferences-desktop-shelf-dock","icon_shelf_dock.png",64) // *** // "enlightenment/shelf_dock" + ICON("preferences-desktop-shelf-menu-bar","icon_shelf_menu_bar.png",64) // *** // "enlightenment/shelf_menu_bar" + ICON("preferences-desktop-shelf-panel","icon_shelf_panel.png",64) // *** // "enlightenment/shelf_panel" + ICON("preferences-desktop-shelf-top-desk","icon_shelf_top_desk.png",64) // *** // "enlightenment/shelf_top_desk" + ICON("preferences-desktop-window-remember","icon_window_remembers.png",64) // *** // "enlightenment/window_remembers" + ICON("preferences-position-bottom","icon_shelf_bottom.png",64) // *** // "enlightenment/shelf_position_bottom" + ICON("preferences-position-bottom-left","icon_shelf_bottom_left.png",64) // *** // "enlightenment/shelf_position_bottom_left" + ICON("preferences-position-bottom-right","icon_shelf_bottom_right.png",64) // *** // "enlightenment/shelf_position_bottom_right" + ICON("preferences-position-top","icon_shelf_top.png",64) // *** // "enlightenment/shelf_position_top" + ICON("preferences-position-top-left","icon_shelf_top_left.png",64) // *** // "enlightenment/shelf_position_top_left" + ICON("preferences-position-top-right","icon_shelf_top_right.png",64) // *** // "enlightenment/shelf_position_top_right" + ICON("preferences-position-left","icon_shelf_left.png",64) // *** // "enlightenment/shelf_position_left" + ICON("preferences-position-left-top","icon_shelf_left_top.png",64) // *** // "enlightenment/shelf_position_left_top" + ICON("preferences-position-left-bottom","icon_shelf_left_bottom.png",64) // *** // "enlightenment/shelf_position_left_bottom" + ICON("preferences-position-right","icon_shelf_right.png",64) // *** // "enlightenment/shelf_position_right" + ICON("preferences-position-right-top","icon_shelf_right_top.png",64) // *** // "enlightenment/shelf_position_right_top" + ICON("preferences-position-right-bottom","icon_shelf_right_bottom.png",64) // *** // "enlightenment/shelf_position_right_bottom" + ICON("preferences-window-process","icon_window_process_management.png",64) // *** // "enlightenment/window_process" + ICON("preferences-window-manipulation","icon_window_manipulation.png",64) // *** // "enlightenment/window_manipulation" + ICON("preferences-window-maximize","icon_window_manipulation.png",64) // *** // "enlightenment/window_maximize" + ICON("preferences-window-stacking","icon_winlist.png",64) // *** // "enlightenment/window_stacking" + ICON("preferences-window-geometry","icon_window_geometry.png",64) // *** // "enlightenment/window_geometry" + ICON("preferences-windows-lost","icon_lost_windows.png",64) // *** // "enlightenment/lost_windows" + ICON("preferences-gradient","icon_gradient.png",64) // *** // "enlightenment/gradient" + ICON("preferences-focus","icon_window_focus.png",64) // *** // "enlightenment/focus" + ICON("preferences-engine","icon_engine.png",64) // *** // "enlightenment/engine" + ICON("preferences-dialogs","icon_dummy.png",64) // *** // "enlightenment/dialogs" + ICON("preferences-interaction","icon_interaction.png",64) // *** // "enlightenment/interaction" + ICON("preferences-imc","icon_imc.png",64) // *** // "enlightenment/imc" + ICON("preferences-system-lock-screen","icon_desklock.png",64) // *** // "enlightenment/desklock" + ICON("preferences-icon-theme","icon_icon_theme.png",64) // *** // "enlightenment/icon_theme" + ICON("preferences-transitions","icon_transitions.png",64) // *** // "enlightenment/transitions" + ICON("preferences-desktop-edge-bindings","icon_shelf_right.png",64) // *** // "enlightenment/edges" + ICON("preferences-toolbar","icon_toolbar.png",64) // *** // "enlightenment/toolbar" + ICON("preferences-profiles","icon_profiles.png",64) // *** // "enlightenment/profiles" + ICON("preferences-startup","icon_startup.png",64) // *** // "enlightenment/startup" + ICON("preferences-winlist","icon_winlist.png",64) // *** // "enlightenment/winlist" + ICON("preferences-menus","icon_menus.png",64) // *** // "enlightenment/menus" + ICON("preferences-menu-settings","icon_menu_settings.png",64) // *** // "enlightenment/menu_settings" + ICON("preferences-advanced","icon_advanced.png",64) // *** // "enlightenment/advanced" + ICON("preferences-behavior","icon_behavior.png",64) // *** // "enlightenment/behavior" + ICON("preferences-look","icon_look.png",64) // *** // "enlightenment/look" + ICON("preferences-utils","icon_gadget.png",64) // *** // "enlightenment/utils" + ICON("preferences-extensions","icon_extensions.png",64) // *** // "enlightenment/extensions" + ICON("preferences-file-icons","icon_file_icons.png",64) // *** // "enlightenment/file_icons" + ICON("preferences-pager","icon_pager.png",64) // *** // "enlightenment/pager" + ICON("preferences-scale","icon_scale.png",64) // *** // "enlightenment/scale" + ICON("preferences-directories","icon_directories.png",64) // *** // "enlightenment/directories" + ICON("preferences-screen-normal","icon_screen_normal.png",64) // *** // "enlightenment/screen_normal" + ICON("preferences-screen-around","icon_screen_around.png",64) // *** // "enlightenment/screen_around" + ICON("preferences-screen-left","icon_screen_left.png",64) // *** // "enlightenment/screen_left" + ICON("preferences-screen-right","icon_screen_right.png",64) // *** // "enlightenment/screen_right" + ICON("preferences-screen-vflip","icon_screen_vflip.png",64) // *** // "enlightenment/screen_vflip" + ICON("preferences-screen-hflip","icon_screen_hflip.png",64) // *** // "enlightenment/screen_hflip" + ICON("preferences-applications","icon_applications.png",64) // *** // "enlightenment/applications" + ICON("preferences-applications-add","icon_applications_new.png",64) // *** // "enlightenment/add_application" + ICON("preferences-applications-ibar","icon_applications_ibar.png",64) // *** // "enlightenment/ibar_applications" + ICON("preferences-applications-restart","icon_applications_restart.png",64) // *** // "enlightenment/restart_applications" + ICON("preferences-applications-startup","icon_applications_startup.png",64) // *** // "enlightenment/startup_applications" + ICON("preferences-desktop-default-applications","icon_advanced.png",64) + ICON("preferences-preferences","icon_config.png",64) // "enlightenment/configuration" "enlightenment/settings" + ICON("preferences-plugin","icon_modules.png",64) // "enlightenment/modules" + ICON("preferences-system","icon_configuration.png",64) // "enlightenment/configuration" "enlightenment/settings" + ICON("preferences-system-windows","icon_windows.png",64) // "enlightenment/windows" "enlightenment/showhide" + ICON("preferences-system-performance","icon_performance.png",64) // "enlightenment/performance" + ICON("preferences-system-power-management","icon_power_management.png",64) // "enlightenment/power_management" + ICON("preferences-system-screen-resolution","icon_screen_resolution.png",64)// *** // "enlightenment/screen_resolution" + ICON("preferences-illume","icon_illume.png",64) + ICON("system-file-manager","icon_efm_folder.png",64) // "enlightenment/fileman" + ICON("application-exit","icon_logout.png",64) // "enlightenment/exit" + ICON("enlightenment","logo_white_128.png",64) // *** // "enlightenment/e" + //Standard Module Category Icons + ICON("modules-utils","icon_gadget.png",64) + ICON("modules-system","icon_gadget.png",64) + ICON("modules-look","icon_look.png",64) + ICON("modules-files","icon_efm_folder.png",64) + ICON("modules-launcher","icon_run.png",64) + ICON("modules-core","logo_white_128.png",64) + ICON("modules-mobile","icon_globe.png",64) + ICON("modules-settings","icon_config.png",64) + //Standard Emblem Icons + ICON("emblem-symbolic-link","icon_dummy.png",64) // EFMBUTTON("symlink") + //Standard Place Icons + ICON("start-here","logo_white_128.png",128) // "enlightenment/e" + ICON("folder","icon_efm_folder.png",64) // "fileman/folder" + ICON("user-home","icon_efm_home.png",64) // "fileman/home" + ICON("user-temp","icon_efm_tmp.png",64) // *** // "fileman/tmp" + ICON("user-desktop","icon_efm_desktop.png",64) // "fileman/desktop" + ICON("user-bookmarks","icon_favorites.png",64) // "enlightenment/favorites" + ICON("folder-image","icon_wallpaper.png",64) // "enlightenment/picture" + ICON("network-website","icon_globe.png",64) // "enlightenment/website" + ICON("system","icon_system.png",64) // *** // "enlightenment/system" + //Standard Device Icons + ICON("computer","icon_efm_root.png", 64) // "fileman/root" + ICON("drive-harddisk","icon_efm_hdd.png", 128) // "fileman/hd" "fileman/hdd" + ICON("drive-optical","icon_efm_cd.png", 128) // "fileman/??" + ICON("media-flash","icon_efm_flash.png", 128) // "fileman/??" + ICON("drive-removable-media","icon_efm_usbmedia.png", 128); + ICON("media-eject","icon_efm_eject.png", 64) + /* End of FreeDesktop.Org icons */ + //E Specific icons + ICON("everything-launch","icon_advanced.png",64) + ICON("everything-clipboard","icon_evry_clipboard.png", 256) + //EFM Mime icons + ICONMIME("inode/chardevice","icon_efm_file.png",128) + ICONMIME("inode/blockdevice","icon_efm_file.png",128) + ICONMIME("inode/directory-locked","icon_efm_file.png",128) + ICONMIME("inode/directory","icon_efm_folder.png",128) + ICONMIME("inode/fifo","icon_efm_file.png",128) + ICONMIME("inode/socket","icon_efm_file.png",128) diff --git a/data/themes/edc/O/illume_gad.edc b/data/themes/edc/O/illume_gad.edc new file mode 100644 index 000000000..0b7e961ec --- /dev/null +++ b/data/themes/edc/O/illume_gad.edc @@ -0,0 +1,508 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: ILLUME-HOME-TOGGLE ***/ + + group { + name: "e/modules/illume_home_toggle/main"; + images.image: "O/illume-home.png" COMP; + images { + image: "O/bt_base1.png" COMP; + image: "O/bt_base2.png" COMP; + image: "O/bt_hilight.png" COMP; + image: "O/bt_shine.png" COMP; + image: "O/bt_glow.png" COMP; + } + min: 16 16; + max: 128 128; + parts { + part { + name: "button_image"; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + min: 32 16; + image { + normal: "O/bt_base2.png"; + border: 7 7 7 7; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/bt_base1.png"; + } + program { + name: "button_down"; + signal: "mouse,down,1"; + source: "button_image"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "button_up"; + signal: "mouse,up,1"; + source: "button_image"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "button_click"; + signal: "mouse,clicked,1"; + source: "button_image"; + action: SIGNAL_EMIT "e,action,home" ""; + } + } + part { + name: "icon"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "O/illume-home.png"; + rel1 { + to: "button_image"; + relative: 0.0 0.0; + offset: 3 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + to: "button_image"; + } + } + } + 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: "O/bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { + name: "over2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "O/bt_shine.png"; + border: 7 7 7 7; + } + } + } + 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: "O/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; + } + } + } + } + +///////////////////////////////////////////////////////////////////////////// +/*** MOD: ILLUME-KBD-TOGGLE ***/ + + group { + name: "e/modules/illume_kbd_toggle/main"; + images.image: "O/illume-kbd.png" COMP; + images.image: "O/illume-kbd-on.png" COMP; + images { + image: "O/bt_base1.png" COMP; + image: "O/bt_base2.png" COMP; + image: "O/bt_hilight.png" COMP; + image: "O/bt_shine.png" COMP; + image: "O/bt_glow.png" COMP; + } + min: 16 16; + max: 128 128; + parts { + part { + name: "button_image"; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + min: 32 16; + image { + normal: "O/bt_base2.png"; + border: 7 7 7 7; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/bt_base1.png"; + } + program { + name: "button_down"; + signal: "mouse,down,1"; + source: "button_image"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "button_up"; + signal: "mouse,up,1"; + source: "button_image"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "enable"; + signal: "mouse,clicked,1"; + source: "button_image"; + action: SIGNAL_EMIT "e,action,vkbd,enable" ""; + } + } + part { + name: "icon"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "O/illume-kbd.png"; + rel1 { + to: "button_image"; + relative: 0.0 0.0; + offset: 3 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + to: "button_image"; + } + } + description { state: "on" 0.0; + inherit: "default" 0.0; + image.normal: "O/illume-kbd-on.png"; + } + program { name: "state_on"; + signal: "e,state,vkbd,on"; + source: "e"; + action: STATE_SET "on" 0.0; + target: "icon"; + target: "on"; + } + program { name: "state_off"; + signal: "e,state,vkbd,off"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon"; + target: "on"; + } + } + part { name: "on"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + rel1.to: "button_image"; + rel2.to: "button_image"; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + program { name: "disable"; + signal: "mouse,clicked,1"; + source: "on"; + action: SIGNAL_EMIT "e,action,vkbd,disable" ""; + } + } + 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: "O/bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { + name: "over2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "O/bt_shine.png"; + border: 7 7 7 7; + } + } + } + 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: "O/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; + } + } + } + } + +///////////////////////////////////////////////////////////////////////////// +/*** MOD: ILLUME-MODE-TOGGLE ***/ + + group { + name: "e/modules/illume_mode_toggle/main"; + images.image: "O/illume-mode-single.png" COMP; + images.image: "O/illume-mode-dual-left.png" COMP; + images.image: "O/illume-mode-dual-top.png" COMP; + images { + image: "O/bt_base1.png" COMP; + image: "O/bt_base2.png" COMP; + image: "O/bt_hilight.png" COMP; + image: "O/bt_shine.png" COMP; + image: "O/bt_glow.png" COMP; + } + min: 16 16; + max: 128 128; + parts { + part { + name: "button_image"; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + min: 32 16; + image { + normal: "O/bt_base2.png"; + border: 7 7 7 7; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/bt_base1.png"; + } + program { + name: "button_down"; + signal: "mouse,down,1"; + source: "button_image"; + action: STATE_SET "clicked" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "button_up"; + signal: "mouse,up,1"; + source: "button_image"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "over3"; + } + program { + name: "enable"; + signal: "mouse,clicked,1"; + source: "button_image"; + action: SIGNAL_EMIT "e,action,mode,dual,top" ""; + } + } + part { + name: "icon"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "O/illume-mode-single.png"; + rel1 { + to: "button_image"; + relative: 0.0 0.0; + offset: 3 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + to: "button_image"; + } + } + description { state: "dual_left" 0.0; + inherit: "default" 0.0; + image.normal: "O/illume-mode-dual-left.png"; + } + description { state: "dual_top" 0.0; + inherit: "default" 0.0; + image.normal: "O/illume-mode-dual-top.png"; + } + program { name: "state_single"; + signal: "e,mode,single"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon"; + target: "dual_left"; + target: "dual_top"; + } + program { name: "state_dual_left"; + signal: "e,mode,dual,left"; + source: "e"; + action: STATE_SET "dual_left" 0.0; + target: "icon"; + target: "dual_left"; + target: "dual_top"; + } + program { name: "state_dual_top"; + signal: "e,mode,dual,top"; + source: "e"; + action: STATE_SET "dual_top" 0.0; + target: "icon"; + target: "dual_left"; + target: "dual_top"; + } + } + part { name: "dual_top"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + rel1.to: "button_image"; + rel2.to: "button_image"; + } + description { state: "dual_top" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "dual_left" 0.0; + inherit: "default" 0.0; + visible: 0; + } + program { name: "dual_top"; + signal: "mouse,clicked,1"; + source: "dual_top"; + action: SIGNAL_EMIT "e,action,mode,dual,left" ""; + } + } + part { name: "dual_left"; + type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + color: 0 0 0 0; + rel1.to: "button_image"; + rel2.to: "button_image"; + } + description { state: "dual_top" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "dual_left" 0.0; + inherit: "default" 0.0; + visible: 1; + } + program { name: "dual_left"; + signal: "mouse,clicked,1"; + source: "dual_left"; + action: SIGNAL_EMIT "e,action,mode,single" ""; + } + } + 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: "O/bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { + name: "over2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "button_image"; + rel2.to: "button_image"; + image { + normal: "O/bt_shine.png"; + border: 7 7 7 7; + } + } + } + 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: "O/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; + } + } + } + } + diff --git a/data/themes/edc/O/init.edc b/data/themes/edc/O/init.edc new file mode 100644 index 000000000..6a6fe7ddf --- /dev/null +++ b/data/themes/edc/O/init.edc @@ -0,0 +1,1012 @@ +///////////////////////////////////////////////////////////////////////////// +/*** INIT SPLASH ***/ + + /* this first group is used for the primary screen (or only screen) so in + * a multi-monitor setup whichever is first (screen 0) will get this + * splash on it */ + + group { + name: "e/init/splash"; + /* images used */ + images { + image: "O/exq-bglight.png" COMP; + image: "O/exq-logo.png" COMP; + image: "O/exq-dot.png" COMP; + image: "O/exq-dot-glow.png" COMP; + } + script { + public is_ready; + public do_end; + } + parts { + part { + name: "base"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 255; + } + } + part { + name: "light"; + description { + state: "default" 0.0; + align: 0.5 0.222222222; + rel1.relative: 0.104166667 0.515625; + rel2.relative: 0.895833333 0.796875; + aspect: 2.111111111 2.111111111; + aspect_preference: HORIZONTAL; + max: 380 180; + image.normal: "O/exq-bglight.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "logoclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "logo"; + clip_to: "logoclip"; + description { + state: "default" 0.0; + align: 0.5 0.774193548; + rel1.relative: 0.272916667 0.315625; + rel2.relative: 0.727083333 0.6546875; + aspect: 0.557603687 0.557603687; + aspect_preference: BOTH; + max: 121 217; + image.normal: "O/exq-logo.png"; + } + } + part { + name: "e.text.title"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to_y: "logo"; + relative: 0.05 -0.4; + } + rel2 { + to_y: "logo"; + relative: 0.95 -0.2; + } + color: 255 255 255 0; + text { + font: "Sans:style=Bold"; + size: 16; + // fit: 0 1; + text_class: "init_title"; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "e.text.status"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "e.text.title"; + relative: 0.0 1.0; + } + rel2 { + to: "e.text.title"; + relative: 1.0 1.5; + } + color: 255 255 255 0; + text { + font: "Sans"; + size: 10; + // fit: 0 1; + text_class: "init_text"; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + } + part { + name: "e.text.version"; + type: TEXT; + effect: SOFT_SHADOW; + description { + state: "default" 0.0; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + offset: -2 -2; + } + rel2 { + relative: 1.0 1.0; + offset: -2 -2; + } + color: 255 255 255 64; + color3: 0 0 0 32; + text { + text: "0.17.0"; + font: "Sans"; + size: 8; + min: 1 1; + align: 0.0 0.0; + text_class: "init_version"; + } + } + } + part { + name: "p0-0"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to: "logo"; + relative: -0.5 0.9; + } + rel2 { + to: "logo"; + relative: -0.5 0.9; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + rel1.relative: -0.5 0.8; + rel2.relative: -0.5 0.8; + } + } + part { + name: "p0-1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + rel1.to: "p0-0"; + rel2.to: "p0-0"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "p0-0.1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + min: 22 11; + max: 22 11; + rel1 { + to_x: "p0-0"; + to_y: "logo"; + relative: 0.0 1.0; + } + rel2 { + to_x: "p0-0"; + to_y: "logo"; + relative: 1.0 1.0; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + } + } + part { + name: "p0-0.2"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to_x: "p0-0"; + to_y: "logo"; + relative: 0.0 1.1; + } + rel2 { + to_x: "p0-0"; + to_y: "logo"; + relative: 1.0 1.1; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + rel1.relative: 0.0 1.2; + rel2.relative: 1.0 1.2; + } + } + part { + name: "p1-0"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to: "logo"; + relative: 0.0 0.9; + } + rel2 { + to: "logo"; + relative: 0.0 0.9; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + rel1.relative: 0.0 0.8; + rel2.relative: 0.0 0.8; + } + } + part { + name: "p1-1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + rel1.to: "p1-0"; + rel2.to: "p1-0"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "p1-0.1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + min: 22 11; + max: 22 11; + rel1 { + to_x: "p1-0"; + to_y: "logo"; + relative: 0.0 1.0; + } + rel2 { + to_x: "p1-0"; + to_y: "logo"; + relative: 1.0 1.0; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + } + } + part { + name: "p1-0.2"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to_x: "p1-0"; + to_y: "logo"; + relative: 0.0 1.1; + } + rel2 { + to_x: "p1-0"; + to_y: "logo"; + relative: 1.0 1.1; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + rel1.relative: 0.0 1.2; + rel2.relative: 1.0 1.2; + } + } + part { + name: "p2-0"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to: "logo"; + relative: 0.5 0.9; + } + rel2 { + to: "logo"; + relative: 0.5 0.9; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + rel1.relative: 0.5 0.8; + rel2.relative: 0.5 0.8; + } + } + part { + name: "p2-1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + rel1.to: "p2-0"; + rel2.to: "p2-0"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "p2-0.1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + min: 22 11; + max: 22 11; + rel1 { + to_x: "p2-0"; + to_y: "logo"; + relative: 0.0 1.0; + } + rel2 { + to_x: "p2-0"; + to_y: "logo"; + relative: 1.0 1.0; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + } + } + part { + name: "p2-0.2"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to_x: "p2-0"; + to_y: "logo"; + relative: 0.0 1.1; + } + rel2 { + to_x: "p2-0"; + to_y: "logo"; + relative: 1.0 1.1; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + rel1.relative: 0.0 1.2; + rel2.relative: 1.0 1.2; + } + } + part { + name: "p3-0"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to: "logo"; + relative: 1.0 0.9; + } + rel2 { + to: "logo"; + relative: 1.0 0.9; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + rel1.relative: 1.0 0.8; + rel2.relative: 1.0 0.8; + } + } + part { + name: "p3-1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + rel1.to: "p3-0"; + rel2.to: "p3-0"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "p3-0.1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + min: 22 11; + max: 22 11; + rel1 { + to_x: "p3-0"; + to_y: "logo"; + relative: 0.0 1.0; + } + rel2 { + to_x: "p3-0"; + to_y: "logo"; + relative: 1.0 1.0; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + } + } + part { + name: "p3-0.2"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to_x: "p3-0"; + to_y: "logo"; + relative: 0.0 1.1; + } + rel2 { + to_x: "p3-0"; + to_y: "logo"; + relative: 1.0 1.1; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + rel1.relative: 0.0 1.2; + rel2.relative: 1.0 1.2; + } + } + part { + name: "p4-0"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to: "logo"; + relative: 1.5 0.9; + } + rel2 { + to: "logo"; + relative: 1.5 0.9; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + rel1.relative: 1.5 0.8; + rel2.relative: 1.5 0.8; + } + } + part { + name: "p4-1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + rel1.to: "p4-0"; + rel2.to: "p4-0"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "p4-0.1"; + description { + state: "default" 0.0; + image.normal: "O/exq-dot-glow.png"; + color: 255 255 255 0; + min: 22 11; + max: 22 11; + rel1 { + to_x: "p4-0"; + to_y: "logo"; + relative: 0.0 1.0; + } + rel2 { + to_x: "p4-0"; + to_y: "logo"; + relative: 1.0 1.0; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + } + } + part { + name: "p4-0.2"; + description { + state: "default" 0.0; + min: 22 22; + max: 22 22; + rel1 { + to_x: "p4-0"; + to_y: "logo"; + relative: 0.0 1.1; + } + rel2 { + to_x: "p4-0"; + to_y: "logo"; + relative: 1.0 1.1; + } + image.normal: "O/exq-dot.png"; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 16; + } + description { + state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 4; + rel1.relative: 0.0 1.2; + rel2.relative: 1.0 1.2; + } + } + } + programs { + program { + name: "init"; + signal: "load"; + source: ""; + script { + set_int(is_ready, 0); + set_int(do_end, 0); + } + } + program { + name: "show1"; + signal: "show"; + source: ""; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.3; + target: "light"; + } + program { + name: "show2"; + signal: "show"; + source: ""; + in: 0.1 0.0; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.4; + target: "logoclip"; + target: "e.text.title"; + } + program { + name: "show3"; + signal: "show"; + source: ""; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.2; + target: "p0-0"; + target: "p0-0.1"; + target: "p0-0.2"; + target: "p1-0"; + target: "p1-0.1"; + target: "p1-0.2"; + target: "p2-0"; + target: "p2-0.1"; + target: "p2-0.2"; + target: "p3-0"; + target: "p3-0.1"; + target: "p3-0.2"; + target: "p4-0"; + target: "p4-0.1"; + target: "p4-0.2"; + target: "e.text.status"; + after: "pulsate1"; + after: "pulsate1.2"; + after: "pulsate2"; + after: "pulsate2.2"; + after: "pulsate3"; + after: "pulsate3.2"; + after: "pulsate4"; + after: "pulsate4.2"; + after: "pulsate5"; + after: "pulsate5.2"; + after: "ready"; + } + program { + name: "pulsate1"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.5; + in: 0.2 0.2; + after: "pulsate1.1"; + target: "p0-1"; + } + program { + name: "pulsate1.1"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + after: "pulsate1"; + target: "p0-1"; + } + program { + name: "pulsate1.2"; + action: STATE_SET "visible2" 0.0; + transition: SINUSOIDAL 0.6; + in: 0.2 0.2; + after: "pulsate1.2.1"; + target: "p0-0"; + target: "p0-0.1"; + target: "p0-0.2"; + } + program { + name: "pulsate1.2.1"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.7; + after: "pulsate1.2"; + target: "p0-0"; + target: "p0-0.1"; + target: "p0-0.2"; + } + program { + name: "pulsate2"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.5; + in: 0.2 0.2; + after: "pulsate2.1"; + target: "p1-1"; + } + program { + name: "pulsate2.1"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + after: "pulsate2"; + target: "p1-1"; + } + program { + name: "pulsate2.2"; + action: STATE_SET "visible2" 0.0; + transition: SINUSOIDAL 0.6; + in: 0.2 0.2; + after: "pulsate2.2.1"; + target: "p1-0"; + target: "p1-0.1"; + target: "p1-0.2"; + } + program { + name: "pulsate2.2.1"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.7; + after: "pulsate2.2"; + target: "p1-0"; + target: "p1-0.1"; + target: "p1-0.2"; + } + program { + name: "pulsate3"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.5; + in: 0.2 0.2; + after: "pulsate3.1"; + target: "p2-1"; + } + program { + name: "pulsate3.1"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + after: "pulsate3"; + target: "p2-1"; + } + program { + name: "pulsate3.2"; + action: STATE_SET "visible2" 0.0; + transition: SINUSOIDAL 0.6; + in: 0.2 0.2; + after: "pulsate3.2.1"; + target: "p2-0"; + target: "p2-0.1"; + target: "p2-0.2"; + } + program { + name: "pulsate3.2.1"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.7; + after: "pulsate3.2"; + target: "p2-0"; + target: "p2-0.1"; + target: "p2-0.2"; + } + program { + name: "pulsate4"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.5; + in: 0.2 0.2; + after: "pulsate4.1"; + target: "p3-1"; + } + program { + name: "pulsate4.1"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + after: "pulsate4"; + target: "p3-1"; + } + program { + name: "pulsate4.2"; + action: STATE_SET "visible2" 0.0; + transition: SINUSOIDAL 0.6; + in: 0.2 0.2; + after: "pulsate4.2.1"; + target: "p3-0"; + target: "p3-0.1"; + target: "p3-0.2"; + } + program { + name: "pulsate4.2.1"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.7; + after: "pulsate4.2"; + target: "p3-0"; + target: "p3-0.1"; + target: "p3-0.2"; + } + program { + name: "pulsate5"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.5; + in: 0.2 0.2; + after: "pulsate5.1"; + target: "p4-1"; + } + program { + name: "pulsate5.1"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + after: "pulsate5"; + target: "p4-1"; + } + program { + name: "pulsate5.2"; + action: STATE_SET "visible2" 0.0; + transition: SINUSOIDAL 0.6; + in: 0.2 0.2; + after: "pulsate5.2.1"; + target: "p4-0"; + target: "p4-0.1"; + target: "p4-0.2"; + } + program { + name: "pulsate5.2.1"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.7; + after: "pulsate5.2"; + target: "p4-0"; + target: "p4-0.1"; + target: "p4-0.2"; + } + program { + name: "exit1"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 2.0; + target: "light"; + target: "logoclip"; + after: "exit4"; + } + program { + name: "exit4"; + action: SIGNAL_EMIT "e,state,done_ok" "e"; + } + program { + name: "ready"; + script { + new val; + val = get_int(do_end); + if (val == 1) + run_program(PROGRAM:"exit1"); + else + set_int(is_ready, 1); + } + } + program { + name: "done1"; + /* when e tells the splash screen it is done + * starting up, the init splash gets this signal */ + signal: "e,state,done"; + source: "e"; + script { + new val; + val = get_int(is_ready); + if (val == 1) + run_program(PROGRAM:"exit1"); + else + set_int(do_end, 1); + } + } + } + } + /* this group is used for other screens/xinerama zones etc. other than + * the primary as only the primary shows the full splash - this just + * shows the below image. it can animate etc. but not display status + * etc. */ + group { + name: "e/init/extra_screen"; + parts { + part { + name: "base"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 255; + } + } + } + } + + diff --git a/data/themes/edc/O/mixer.edc b/data/themes/edc/O/mixer.edc new file mode 100644 index 000000000..825a09d08 --- /dev/null +++ b/data/themes/edc/O/mixer.edc @@ -0,0 +1,206 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: MIXER ***/ + // TODO: Add code for making sound circles fade between states. + + group { + name: "e/modules/mixer/main"; + images { + image: "O/mixer.png" COMP; + image: "O/mixer_low_left.png" COMP; + image: "O/mixer_low_right.png" COMP; + image: "O/mixer_med_left.png" COMP; + image: "O/mixer_med_right.png" COMP; + image: "O/mixer_high_left.png" COMP; + image: "O/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: "O/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: "O/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: "O/mixer_med_left.png"; + } + description { + state: "high" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "O/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: "O/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: "O/mixer_med_right.png"; + } + description { + state: "high" 0.0; + inherit: "default" 0.0; + visible: 1; + image.normal: "O/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"; + } + } + } + + diff --git a/data/themes/edc/O/randr.edc b/data/themes/edc/O/randr.edc new file mode 100644 index 000000000..02567469c --- /dev/null +++ b/data/themes/edc/O/randr.edc @@ -0,0 +1,619 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: CONF_RANDR ***/ + group + { + name: "e/conf/randr/main/monitor"; + parts + { + part + { + name: "base"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + color: 255 255 255 0; + } + } + part + { + name: "e.swallow.frame"; + type: SWALLOW; + clip_to: "base"; + description + { + state: "default" 0.0; + rel1 + { + offset: 2 0; + to: "base"; + } + rel2.to: "base"; + } + } + part + { + name: "e.swallow.stand"; + type: SWALLOW; + clip_to: "base"; + description + { + state: "default" 0.0; + align: 0.5 0.0; + rel1 + { + relative: 0.0 1.0; + offset: 0 19; + to_x: "base"; + to_y: "e.swallow.frame"; + } + rel2.to_x: "e.swallow.frame"; + } + } + } + programs + { + program + { + name: "enabled"; + signal: "e,state,enabled"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program + { + name: "disabled"; + signal: "e,state,disabled"; + source: "e"; + action: STATE_SET "disabled" 0.0; + target: "base"; + } + } + } + + group + { + name: "e/conf/randr/main/frame"; + images + { + image: "O/randr_monitor.png" COMP; + image: "O/randr_icon_off.png" COMP; + image: "O/randr_icon_on.png" COMP; + image: "O/big_arrow_up.png" COMP; + } + styles + { + style + { + name: "output_name"; + base: "font=Sans:style=Bold font_size=10 text_class=tb_plain align=center valign=center color=#ffffff style=soft_shadow shadow_color=#00000080 wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light"; + } + style + { + name: "resolution"; + base: "font=Sans:style=Bold font_size=12 text_class=tb_plain align=center valign=center color=#ffffff style=soft_shadow shadow_color=#00000080 wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light"; + } + } + parts + { + part + { + name: "clip"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1.to: "e.swallow.preview"; + rel2.to: "e.swallow.preview"; + } + } + part + { + name: "e.swallow.preview"; + type: SWALLOW; + clip_to: "clip"; + description + { + state: "default" 0.0; + rel1 + { + offset: 12 14; + to: "frame"; + } + rel2 + { + offset: -14 -14; + to: "frame"; + } + } + } + part + { + name: "e.text.resolution"; + type: TEXTBLOCK; + mouse_events: 0; + clip_to: "clip"; + description + { + state: "default" 0.0; + align: 0.5 0.5; + rel1 + { + relative: 0.0 1.0; + offset: 0 0; + to_x: "e.swallow.preview"; + to_y: "e.text.name"; + } + rel2 + { + offset: -1 -3; + to: "e.swallow.preview"; + } + text + { + style: "resolution"; + min: 1.0 1.0; + max: 1.0 1.0; + } + } + } + part + { + name: "e.text.name"; + type: TEXTBLOCK; + mouse_events: 0; + clip_to: "clip"; + description + { + state: "default" 0.0; + align: 0.5 0.0; + color: 255 255 255 255; + rel1 + { + offset: 0 10; + to: "e.swallow.preview"; + } + rel2.to: "e.swallow.preview"; + text + { + style: "output_name"; + min: 1.0 1.0; + max: 1.0 1.0; + } + } + } + part + { + name: "refresh_tab"; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description + { + state: "default" 0.0; + color: 255 255 255 128; + rel1 + { + relative: 0.0 1.0; + offset: 2 -16; + to: "e.swallow.preview"; + } + rel2 + { + relative: 0.0 1.0; + offset: 23 0; + to: "e.swallow.preview"; + } + } + description + { + state: "out" 0.0; + inherit: "default" 0.0; + color: 255 255 255 200; + rel1 + { + relative: 0.0 0.0; + offset: 2 2; + to: "e.swallow.preview"; + } + rel2 + { + relative: 0.0 0.0; + offset: 23 16; + to: "e.swallow.preview"; + } + } + } + part + { + name: "refresh_arrow"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + min: 22 22; + max: 22 22; + rel1.to: "refresh_tab"; + rel2.to: "refresh_tab"; + image.normal: "O/big_arrow_up.png"; + } + } + part + { + name: "refresh_bg"; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description + { + state: "default" 0.0; + color: 255 255 255 200; + rel1.to: "e.swallow.refresh"; + rel2.to: "e.swallow.refresh"; + visible: 0; + } + description + { + state: "out" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part + { + name: "e.swallow.refresh"; + type: SWALLOW; + clip_to: "clip"; + description + { + state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 0; + rel1 + { + relative: 0.0 1.0; + to: "refresh_tab"; + } + rel2 + { + relative: 0.0 1.0; + to_x: "refresh_tab"; + to_y: "e.swallow.preview"; + } + } + } + part + { + name: "e.event.arrow.hide"; + type: RECT; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "refresh_tab"; + rel2.to: "refresh_tab"; + } + description + { + state: "out" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part + { + name: "e.event.arrow.show"; + type: RECT; + description + { + state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + rel1.to: "refresh_tab"; + rel2.to: "refresh_tab"; + } + description + { + state: "out" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part + { + name: "frame"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + image + { + normal: "O/randr_monitor.png"; + border: 14 14 15 14; + } + } + } + + /* we will use a rect in this theme. Other themes could use + * an icon to indicate rotate (or whatever they want). + * + * Regardless of what is used, the 'rotate' object + * should emit signals for mouse_in, mouse_out, and also + * signals to indicate when to start or stop rotating */ + part + { + name: "e.event.rotate"; + type: RECT; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1 + { + relative: 0.0 1.0; + offset: 0 -13; + to: "frame"; + } + rel2 + { + relative: 0.0 1.0; + offset: 11 -1; + to: "frame"; + } + } + } + + /* we will use a rect in this theme. Other themes could use + * an icon to indicate resize (or whatever they want). + * + * Regardless of what is used, the 'resize' object + * should emit signals for mouse_in, mouse_out, and also + * signals to indicate when to start or stop resizing */ + part + { + name: "e.event.resize"; + type: RECT; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1 + { + relative: 1.0 1.0; + offset: -13 -13; + to: "frame"; + } + rel2.to: "frame"; + } + } + part + { + name: "overlay"; + type: RECT; + description + { + state: "default" 0.0; + color: 255 255 255 128; + visible: 0; + } + description + { + state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part + { + name: "indicator"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + rel1 + { + offset: -13 0; + to: "e.event.resize"; + } + rel2 + { + relative: 0.0 1.0; + offset: 0 -1; + to: "e.event.resize"; + } + image.normal: "O/randr_icon_on.png"; + } + description + { + state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "O/randr_icon_off.png"; + } + } + part + { + name: "e.event.indicator"; + type: RECT; + description + { + state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "indicator"; + rel2.to: "indicator"; + } + } + } + programs + { + program + { + name: "resize_mouse_in"; + signal: "mouse,in"; + source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,in" "e"; + } + program + { + name: "resize_mouse_out"; + signal: "mouse,out"; + source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,out" "e"; + } + program + { + name: "resize_start"; + signal: "mouse,down,1"; + source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,start" "e"; + } + program + { + name: "resize_stop"; + signal: "mouse,up,1"; + source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,stop" "e"; + } + program + { + name: "rotate_mouse_in"; + signal: "mouse,in"; + source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,in" "e"; + } + program + { + name: "rotate_mouse_out"; + signal: "mouse,out"; + source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,out" "e"; + } + program + { + name: "rotate_start"; + signal: "mouse,down,1"; + source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,start" "e"; + } + program + { + name: "rotate_stop"; + signal: "mouse,up,1"; + source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,stop" "e"; + } + program + { + name: "indicator_mouse_in"; + signal: "mouse,in"; + source: "e.event.indicator"; + action: SIGNAL_EMIT "e,action,indicator,in" "e"; + } + program + { + name: "indicator_mouse_out"; + signal: "mouse,out"; + source: "e.event.indicator"; + action: SIGNAL_EMIT "e,action,indicator,out" "e"; + } + program + { + name: "indicator_toggle"; + signal: "mouse,clicked,1"; + source: "e.event.indicator"; + action: SIGNAL_EMIT "e,action,indicator,toggle" "e"; + } + program + { + name: "enabled"; + signal: "e,state,enabled"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + target: "overlay"; + } + program + { + name: "disabled"; + signal: "e,state,disabled"; + source: "e"; + action: STATE_SET "disabled" 0.0; + target: "indicator"; + target: "overlay"; + } + program + { + name: "refresh_click_show"; + signal: "mouse,down,1"; + source: "e.event.arrow.hide"; + action: SIGNAL_EMIT "e,action,panel,show" "e"; + } + program + { + name: "refresh_show"; + signal: "e,action,panel,show"; + source: "e"; + action: STATE_SET "out" 0.0; + target: "refresh_bg"; + target: "refresh_tab"; + target: "e.event.arrow.hide"; + target: "e.event.arrow.show"; + transition: DECELERATE 0.5; + } + program + { + name: "refresh_click_hide"; + signal: "mouse,down,1"; + source: "e.event.arrow.show"; + action: SIGNAL_EMIT "e,action,panel,hide" "e"; + } + program + { + name: "refresh_hide"; + signal: "e,action,panel,hide"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "refresh_bg"; + target: "refresh_tab"; + target: "e.event.arrow.hide"; + target: "e.event.arrow.show"; + transition: ACCELERATE 0.2; + } + } + } + + group + { + name: "e/conf/randr/main/stand"; + images.image: "O/randr_stand.png" COMP; + parts + { + part + { + name: "stand"; + type: IMAGE; + mouse_events: 0; + description + { + state: "default" 0.0; + aspect: (299/81) (299/81); + min: 150 41; + max: 150 41; + image.normal: "O/randr_stand.png"; + } + } + } + } + diff --git a/data/themes/edc/O/spectrum.edc b/data/themes/edc/O/spectrum.edc new file mode 100644 index 000000000..e8d688ca8 --- /dev/null +++ b/data/themes/edc/O/spectrum.edc @@ -0,0 +1,107 @@ + /* Used in the color selector widget in Wallpaper Gradient dialog */ + group { + name: "e/widgets/spectrum"; + images.image: "O/inset_sunk.png" COMP; + parts { + part { + name: "content_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + color: 255 255 255 255; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + clip_to: "content_clip"; + description { + state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + } + part { + name: "border"; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { + to: "e.swallow.content"; + offset: -1 -1; + } + rel2 { + to: "e.swallow.content"; + offset: 0 0; + } + image { + normal: "O/inset_sunk.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + part { + name: "e.dragable.cursor"; + type: RECT; + dragable { + confine: "e.swallow.content"; + x: 1 1 0; + y: 1 1 0; + } + description { + state: "default" 0.0; + min: 1 1; + max: 1 1; + fixed: 1 1; + visible: 0; + rel1 { + to: "e.swallow.content"; + relative: 0.5 0.5; + offset: 0 0; + } + rel2 { + to: "e.swallow.content"; + relative: 0.5 0.5; + offset: 0 0; + } + } + } + part { + name: "cursor_x"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + to_x: "e.dragable.cursor"; + to_y: "e.swallow.content"; + } + rel2 { + to_x: "e.dragable.cursor"; + to_y: "e.swallow.content"; + } + color: 255 255 255 150; + } + } + part { + name: "cursor_y"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + to_x: "e.swallow.content"; + to_y: "e.dragable.cursor"; + } + rel2 { + to_x: "e.swallow.content"; + to_y: "e.dragable.cursor"; + } + color: 255 255 255 150; + } + } + } + } diff --git a/data/themes/edc/O/temperature.edc b/data/themes/edc/O/temperature.edc new file mode 100644 index 000000000..27dfe1e5d --- /dev/null +++ b/data/themes/edc/O/temperature.edc @@ -0,0 +1,214 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: TEMPERATURE ***/ + + group { + name: "e/modules/temperature/main"; + images { + image: "O/temp_base.png" COMP; + image: "O/temp_mid.png" COMP; + image: "O/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: "O/temp_base.png"; + } + } + } + part { + name: "temp"; + clip_to: "temp_clip"; + description { + state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + image { + normal: "O/temp_mid.png"; + } + } + } + part { + name: "overlay"; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + image { + normal: "O/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"; + } + } + } + + diff --git a/data/themes/edc/O/transitions.edc b/data/themes/edc/O/transitions.edc new file mode 100644 index 000000000..abdecfe44 --- /dev/null +++ b/data/themes/edc/O/transitions.edc @@ -0,0 +1,221 @@ +///////////////////////////////////////////////////////////////////////////// +/*** TRANSITIONS ***/ +/* The fake backgrounds used in the Transitions config dialog */ + + images { + image: "O/vgrad_dark.png" COMP; + image: "O/vgrad_light.png" COMP; + image: "O/logo_black_128.png" COMP; + image: "O/logo_white_128.png" COMP; + } + group { + name: "e/transpreview/0"; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + image.normal: "O/vgrad_dark.png"; + fill { + size { + relative: 0 1.0; + offset: 36 0; + } + } + } + } + part { + name: "logo"; + mouse_events: 0; + description { + state: "default" 0.0; + image.normal: "O/logo_white_128.png"; + min: 32 32; + max: 128 128; + } + } + } + } + group { + name: "e/transpreview/1"; + parts { + part { + name: "bg"; + mouse_events: 0; + description { + state: "default" 0.0; + image.normal: "O/vgrad_light.png"; + fill { + size { + relative: 0 1.0; + offset: 36 0; + } + } + } + } + part { + name: "logo"; + mouse_events: 0; + description { + state: "default" 0.0; + image.normal: "O/logo_black_128.png"; + min: 32 32; + max: 128 128; + } + } + } + } + /* e/transitions/* The look of transitions when swapping desks */ + group { + name: "e/transitions/crossfade"; + parts { + part { + name: "e.swallow.bg.old"; + type: SWALLOW; + description { + state: "default" 0.0; + } + } + part { + name: "e.swallow.bg.new"; + type: SWALLOW; + clip_to: "bg_new_clip"; + description { + state: "default" 0.0; + } + } + part { + name: "bg_new_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 0; + } + description { + state: "done" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go"; + signal: "e,action,start"; + source: "e"; + action: STATE_SET "done" 0.0; + transition: SINUSOIDAL 1.0; + target: "bg_new_clip"; + after: "go2"; + } + program { + name: "go2"; + action: SIGNAL_EMIT "e,state,done" ""; + } + } + } + group { + name: "e/transitions/vswipe"; + images.image: "O/transition_vswipe.png" COMP; + parts { + part { + name: "e.swallow.bg.old"; + type: SWALLOW; + clip_to: "bg_prev_clip"; + description { + state: "default" 0.0; + } + } + part { + name: "e.swallow.bg.new"; + type: SWALLOW; + clip_to: "bg_new_clip"; + description { + state: "default" 0.0; + } + } + part { + name: "bg_prev_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.offset: 0 -32; + rel2.offset: -1 31; + } + description { + state: "done" 0.0; + inherit: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 31; + } + rel2 { + relative: 1.0 1.0; + offset: -1 31; + } + } + } + part { + name: "bg_new_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 -32; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -32; + } + } + description { + state: "done" 0.0; + rel1.offset: 0 -32; + rel2.offset: -1 31; + } + } + part { + name: "swipe_gap"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 0 64; + max: 99999 64; + rel1 { + to: "bg_prev_clip"; + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + to: "bg_prev_clip"; + relative: 1.0 0.0; + offset: -1 0; + } + image.normal: "O/transition_vswipe.png"; + } + } + } + programs { + program { + name: "go"; + signal: "e,action,start"; + source: "e"; + action: STATE_SET "done" 0.0; + transition: SINUSOIDAL 1.0; + target: "bg_new_clip"; + target: "bg_prev_clip"; + after: "go2"; + } + program { + name: "go2"; + action: SIGNAL_EMIT "e,state,done" ""; + } + } + } + + diff --git a/data/themes/edc/O/wallpaper.edc b/data/themes/edc/O/wallpaper.edc new file mode 100644 index 000000000..c1149b8ed --- /dev/null +++ b/data/themes/edc/O/wallpaper.edc @@ -0,0 +1,1700 @@ +///////////////////////////////////////////////////////////////////////////// +/*** WALLPAPER MAIN DIALOG ***/ + + group { + name: "e/conf/wallpaper/main/window"; + images { + image: "O/dia_grad.png" COMP; + image: "O/dia_topshad.png" COMP; + image: "O/dia_botshad.png" COMP; + image: "O/dia_botshad.png" COMP; + image: "O/topsh.png" COMP; + image: "O/wp-bot1.png" COMP; + image: "O/wp-bot2.png" COMP; + image: "O/wp-tb1.png" COMP; + image: "O/wp-tb2.png" COMP; + image: "O/wp-tb3.png" COMP; + image: "O/wp-tbs.png" COMP; + image: "O/big_arrow_up.png" COMP; + image: "O/busy-1.png" COMP; + image: "O/busy-2.png" COMP; + image: "O/busy-3.png" COMP; + image: "O/busy-4.png" COMP; + image: "O/busy-5.png" COMP; + image: "O/busy-6.png" COMP; + image: "O/busy-7.png" COMP; + image: "O/busy-8.png" COMP; + image: "O/busy-9.png" COMP; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + color_class: "dialog_base"; + image.normal: "O/dia_grad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { + name: "e.swallow.preview"; + type: SWALLOW; + description { + state: "default" 0.0; + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "e.swallow.list"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 0.0; + offset: -3 6; + to_y: "bot1"; + } + } + } + part { + name: "bot1"; + mouse_events: 0; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_y: "e.swallow.buttons"; + relative: 0.0 0.0; + offset: 0 -15; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "O/wp-bot1.png"; + border: 0 0 21 0; + } + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 32 0; + } + } + } + } + part { + name: "e.text.filename"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + fixed: 0 1; + rel1 { + to: "bot2"; + relative: 0.0 1.0; + offset: 2 -11; + } + rel2 { + to: "bot2"; + relative: 1.0 1.0; + offset: -3 -11; + } + color: 255 255 255 255; + color3: 0 0 0 32; + text { + font: "Sans:style=Bold"; + size: 10; + min: 1 1; + align: 0.5 1.0; + } + } + } + part { + name: "e.swallow.buttons"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + to_y: "bot2"; + relative: 1.0 0.0; + offset: -5 1; + } + rel2 { + to_y: "bot2"; + relative: 1.0 0.0; + offset: -5 1; + } + } + } + part { + name: "tbs"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -1; + } + image.normal: "O/wp-tbs.png"; + fill.smooth: 0; + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "tb1"; + relative: 0.0 0.0; + offset: 0 -100; + } + rel2 { + to_x: "tb3"; + relative: 1.0 1.0; + offset: 200 -1; + } + } + } + part { + name: "cover"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "tb1"; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_x: "tb2"; + to_y: "aup"; + relative: 0.0 0.0; + offset: 0 -6; + } + rel2 { + to_x: "aup"; + to_y: "tb2"; + relative: 1.0 0.0; + offset: 15 -1; + } + image { + normal: "O/wp-tb1.png"; + border: 2 11 3 0; + } + fill.smooth: 0; + } + } + part { + name: "tb2"; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_x: "e.swallow.extras"; + to_y: "e.swallow.extras"; + relative: 0.0 0.0; + offset: -4 -7; + } + rel2 { + to_x: "e.swallow.extras"; + to_y: "e.swallow.extras"; + relative: 1.0 1.0; + offset: -10 3; + } + image { + normal: "O/wp-tb2.png"; + border: 2 2 4 0; + } + fill.smooth: 0; + } + } + part { + name: "tb3"; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_x: "tb2"; + to_y: "tb2"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to_x: "e.swallow.extras"; + to_y: "tb2"; + relative: 1.0 1.0; + offset: 18 -1; + } + image { + normal: "O/wp-tb3.png"; + border: 10 12 4 0; + } + fill.smooth: 0; + } + } + part { + name: "e.swallow.extras"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + offset: 4 0; + } + rel2 { + relative: 0.0 1.0; + offset: 4 0; + } + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 4 -10; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -10; + } + } + } + part { + name: "aup"; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.0 1.0; + min: 22 22; + max: 22 22; + rel1 { + to_x: "tb2"; + to_y: "tb2"; + relative: 0.0 0.0; + offset: 5 -5; + } + rel2 { + to_x: "tb2"; + to_y: "tb2"; + relative: 0.0 0.0; + offset: 5 -3; + } + image.normal: "O/big_arrow_up.png"; + } + } + part { + name: "ain"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "aup"; + rel2.to: "aup"; + color: 0 0 0 0; + } + } + part { + name: "aout"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "aup"; + rel2.to: "aup"; + color: 0 0 0 0; + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "bot2"; + mouse_events: 0; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + relative: 0.0 1.0; + offset: 0 -16; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "O/wp-bot2.png"; + } + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 32 0; + } + } + } + } + part { + name: "shadow1"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + image.normal: "O/topsh.png"; + align: 0.0 0.0; + min: 1 16; + max: 99999 16; + fill.smooth: 0; + } + } + part { + name: "shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -4; + image.normal: "O/dia_botshad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { + name: "busy_clip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "e.text.busy_label"; + type: TEXT; + effect: SOFT_SHADOW; + clip_to: "busy_clip"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + to: "busy"; + relative: 0.0 1.0; + offset: 0 4; + } + rel2 { + to: "busy"; + relative: 1.0 1.0; + offset: -1 4; + } + color: 255 255 255 255; + color3: 0 0 0 32; + text { + font: "Sans:style=Bold"; + size: 10; + min: 1 1; + align: 0.5 0.0; + } + } + } + part { + name: "busy"; + mouse_events: 0; + clip_to: "busy_clip"; + description { + state: "default" 0.0; + fixed: 1 1; + min: 32 32; + max: 32 32; + aspect: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + } + rel2 { + relative: 0.5 0.5; + offset: -1 1; + } + image { + normal: "O/busy-9.png"; + tween: "O/busy-1.png"; + tween: "O/busy-2.png"; + tween: "O/busy-3.png"; + tween: "O/busy-4.png"; + tween: "O/busy-5.png"; + tween: "O/busy-6.png"; + tween: "O/busy-7.png"; + tween: "O/busy-8.png"; + } + } + } + } + programs { + program { + name: "send_click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "e,action,click" "e"; + } + program { + name: "outb"; + signal: "mouse,down,1"; + source: "aout"; + action: SIGNAL_EMIT "e,action,panel,show" "e"; + } + program { + name: "out"; + signal: "e,action,panel,show"; + source: "e"; + action: STATE_SET "out" 0.0; + target: "aout"; + target: "cover"; + after: "out2"; + } + program { + name: "out2"; + action: STATE_SET "out" 0.0; + target: "e.swallow.extras"; + target: "tbs"; + transition: DECELERATE 0.5; + } + program { + name: "in0"; + signal: "mouse,down,1"; + source: "cover"; + action: STATE_SET "default" 0.0; + target: "aout"; + target: "cover"; + after: "in2"; + } + program { + name: "inb"; + signal: "mouse,down,1"; + source: "ain"; + action: SIGNAL_EMIT "e,action,panel,hide" "e"; + } + program { + name: "in"; + signal: "e,action,panel,hide"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "aout"; + after: "in2"; + } + program { + name: "in2"; + action: STATE_SET "default" 0.0; + target: "e.swallow.extras"; + target: "tbs"; + target: "cover"; + transition: DECELERATE 1.0; + } + program { + name: "busy1"; + signal: "e,state,busy,on"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 1.0; + target: "busy_clip"; + } + program { + name: "busy_anim"; + signal: "e,state,busy,on"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.3333; + target: "busy"; + after: "busy_anim"; + } + program { + name: "busy2"; + signal: "e,state,busy,off"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "busy_clip"; + after: "busy3"; + } + program { + name: "busy3"; + action: ACTION_STOP; + target: "busy_anim"; + } + } + } + group { + name: "e/conf/wallpaper/main/mini"; + images { + image: "O/e17_mini_button_shadow2.png" COMP; + image: "O/glow.png" COMP; + } + parts { + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -3 -3; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 4 4; + } + fill { + smooth: 0; + } + image { + normal: "O/e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "glow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_box"; + offset: -10 -10; + } + rel2 { + to: "icon_box"; + offset: 9 9; + } + fill.smooth: 0; + image { + normal: "O/glow.png"; + border: 10 10 10 10; + } + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 0; + } + color: 0 0 0 64; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_zoom"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "icon_zoom"; + relative: 1.0 1.0; + offset: -5 -5; + } + color: 255 255 255 255; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_zoom"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "min" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.2 -0.2; + rel2.relative: 1.2 1.2; + } + description { + state: "max2" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.05 -0.05; + rel2.relative: 1.05 1.05; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "sel"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.2; + target: "glow"; + } + program { + name: "unsel"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 1.0; + target: "glow"; + } + program { + name: "thumb_gen"; + signal: "e,action,thumb,gen"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + after: "thumb_gen2"; + } + program { + name: "thumb_gen2"; + action: STATE_SET "min" 0.0; + target: "icon_zoom"; + after: "thumb_gen3"; + } + program { + name: "thumb_gen3"; + action: STATE_SET "max" 0.0; + target: "icon_zoom"; + transition: DECELERATE 0.2; + after: "thumb_gen4"; + } + program { + name: "thumb_gen4"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.1; + after: "thumb_gen5"; + } + program { + name: "thumb_gen5"; + action: STATE_SET "max2" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.2; + after: "thumb_gen6"; + } + program { + name: "thumb_gen6"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.3; + } + program { + name: "thumb_ungen"; + signal: "e,action,thumb,ungen"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + target: "glow"; + after: "thumb_gen2"; + } + } + } + group { + name: "e/conf/wallpaper/main/mini-theme"; + images { + image: "O/e17_mini_button_shadow2.png" COMP; + image: "O/theme-label.png" COMP; + image: "O/glow.png" COMP; + } + parts { + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -3 -3; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 4 4; + } + fill { + smooth: 0; + } + image { + normal: "O/e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "glow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_box"; + offset: -10 -10; + } + rel2 { + to: "icon_box"; + offset: 9 9; + } + fill.smooth: 0; + image { + normal: "O/glow.png"; + border: 10 10 10 10; + } + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 0; + } + color: 0 0 0 64; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_zoom"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "icon_zoom"; + relative: 1.0 1.0; + offset: -5 -5; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_zoom"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "min" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.2 -0.2; + rel2.relative: 1.2 1.2; + } + description { + state: "max2" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.05 -0.05; + rel2.relative: 1.05 1.05; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + part { + name: "theme"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + aspect: 1.709677419 1.709677419; + rel1 { + to: "e.swallow.content"; + relative: 0.6 0.6; + offset: -1 -1; + } + rel2 { + to: "e.swallow.content"; + relative: 1.0 1.0; + offset: -1 -1; + } + image.normal: "O/theme-label.png"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "sel"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.2; + target: "glow"; + } + program { + name: "unsel"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 1.0; + target: "glow"; + } + program { + name: "thumb_gen"; + signal: "e,action,thumb,gen"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + target: "theme"; + after: "thumb_gen2"; + } + program { + name: "thumb_gen2"; + action: STATE_SET "min" 0.0; + target: "icon_zoom"; + after: "thumb_gen3"; + } + program { + name: "thumb_gen3"; + action: STATE_SET "max" 0.0; + target: "icon_zoom"; + transition: DECELERATE 0.2; + after: "thumb_gen4"; + } + program { + name: "thumb_gen4"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.1; + after: "thumb_gen5"; + } + program { + name: "thumb_gen5"; + action: STATE_SET "max2" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.2; + after: "thumb_gen6"; + } + program { + name: "thumb_gen6"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.3; + } + program { + name: "thumb_ungen"; + signal: "e,action,thumb,ungen"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + target: "theme"; + target: "glow"; + after: "thumb_gen2"; + } + } + } + group { + name: "e/conf/wallpaper/main/mini-remote"; + images { + image: "O/e17_mini_button_shadow2.png" COMP; + } + parts { + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -3 -3; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 4 4; + } + fill { + smooth: 0; + } + image { + normal: "O/e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 0; + } + color: 0 0 0 64; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_zoom"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "icon_zoom"; + relative: 1.0 1.0; + offset: -5 -5; + } + color: 200 0 0 255; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_zoom"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "min" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.2 -0.2; + rel2.relative: 1.2 1.2; + } + description { + state: "max2" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.05 -0.05; + rel2.relative: 1.05 1.05; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "thumb_gen"; + signal: "e,action,thumb,gen"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + after: "thumb_gen2"; + } + program { + name: "thumb_gen2"; + action: STATE_SET "min" 0.0; + target: "icon_zoom"; + after: "thumb_gen3"; + } + program { + name: "thumb_gen3"; + action: STATE_SET "max" 0.0; + target: "icon_zoom"; + transition: DECELERATE 0.2; + after: "thumb_gen4"; + } + program { + name: "thumb_gen4"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.1; + after: "thumb_gen5"; + } + program { + name: "thumb_gen5"; + action: STATE_SET "max2" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.2; + after: "thumb_gen6"; + } + program { + name: "thumb_gen6"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.3; + } + program { + name: "thumb_ungen"; + signal: "e,action,thumb,ungen"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + after: "thumb_gen2"; + } + } + } + group { + name: "e/conf/wallpaper/main/scrollframe"; + images { + image: "O/arrow_up.png" COMP; + image: "O/arrow_down.png" COMP; + image: "O/bt_sm_base1.png" COMP; + image: "O/bt_sm_base2.png" COMP; + image: "O/bt_sm_shine.png" COMP; + image: "O/bt_sm_hilight.png" COMP; + image: "O/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 1.0; + offset: -1 -1; + to_x: "sb_vbar"; + } + } + } + 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 1.0; + offset: -1 -1; + } + } + description { + state: "hidden" 0.0; + visible: 0; + max: 0 99999; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + 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: "O/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: "O/bt_sm_base2.png"; + border: 6 6 6 6; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/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: "O/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: "O/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: "O/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: "O/arrow_down.png"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 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_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"; + } + } + } + + diff --git a/data/themes/edc/O/wizard.edc b/data/themes/edc/O/wizard.edc new file mode 100644 index 000000000..d7f43bcc7 --- /dev/null +++ b/data/themes/edc/O/wizard.edc @@ -0,0 +1,230 @@ +///////////////////////////////////////////////////////////////////////////// +/*** MOD: WIZARD ***/ + + group { name: "e/wizard/firstpage"; + images { + image: "O/logo_black_128.png" COMP; + } + parts { + part { name: "base"; + description { state: "default" 0.0; + max: 128 128; + image.normal: "O/logo_black_128.png"; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + } + } + } + group { name: "e/wizard/extra"; + images { + image: "O/bg_shadow.png" COMP; + image: "O/wizard_pattern.png" COMP; + } + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "O/wizard_pattern.png"; + fill { + smooth: 0; + size { + relative: 0.0 0.0; + offset: 200 200; + } + } + } + } + part { name: "shadow"; + description { state: "default" 0.0; + image.normal: "O/bg_shadow.png"; + fill.smooth: 0; + } + } + part { name: "fade"; type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + } + programs { + program { name: "fade_in"; + signal: "show"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: DECELERATE 0.5; + target: "fade"; + } + } + } + group { name: "e/wizard/main"; + images { + image: "O/bg_shadow.png" COMP; + image: "O/wizard_pattern.png" COMP; + image: "O/wizard_bt1.png" COMP; + image: "O/wizard_bt2.png" COMP; + } + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "O/wizard_pattern.png"; + fill { + smooth: 0; + size { + relative: 0.0 0.0; + offset: 200 200; + } + } + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_y: "e.text.title"; + relative: 0.2 1.0; + offset: 8 8; + } + rel2 { + to_y: "e.text.label"; + relative: 0.8 0.0; + offset: -9 -21; + } + } + } + part { name: "e.text.title"; type: TEXT; + effect: SOFT_SHADOW; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.05 0.05; + rel2.relative: 0.95 0.10; + color: 255 255 255 255; + color3: 0 0 0 32; + text { + font: "Sans:style=Bold"; + size: 16; + min: 0 1; + text_class: "init_title"; + } + } + } + part { name: "button"; + description { state: "default" 0.0; + image.normal: "O/wizard_bt1.png"; + image.border: 12 12 12 12; + rel1 { + to: "e.text.label"; + offset: -12 -12; + } + rel2 { + to: "e.text.label"; + offset: 11 11; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/wizard_bt2.png"; + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + min: 64 32; + align: 0.5 1.0; + rel1.relative: 0.5 0.95; + rel2.relative: 0.5 0.95; + color: 32 32 32 255; + color3: 255 255 255 128; + text { + text: "Next"; + font: "Sans:style=Bold"; + size: 16; + min: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + color3: 255 255 255 64; + } + } + part { name: "block"; type: RECT; + mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + visible: 0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "shadow2"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "O/bg_shadow.png"; + fill.smooth: 0; + } + } + part { name: "fade"; type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + } + programs { + program { name: "fade_in"; + signal: "show"; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: DECELERATE 0.5; + target: "fade"; + } + program { name: "button_click"; + signal: "mouse,down,1"; + source: "button"; + action: STATE_SET "clicked" 0.0; + target: "button"; + } + program { name: "button_unclick"; + signal: "mouse,up,1"; + source: "button"; + action: STATE_SET "default" 0.0; + target: "button"; + } + program { name: "button_unclick2"; + signal: "mouse,clicked,1"; + source: "button"; + action: SIGNAL_EMIT "e,action,next" ""; + } + program { name: "button_enable"; + signal: "e,state,next,enable"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "block"; + target: "e.text.label"; + } + program { name: "button_disable"; + signal: "e,state,next,disable"; + source: "e"; + action: STATE_SET "disabled" 0.0; + target: "block"; + target: "e.text.label"; + } + } + } + diff --git a/data/themes/edc/background.edc b/data/themes/edc/background.edc new file mode 100644 index 000000000..955bee28e --- /dev/null +++ b/data/themes/edc/background.edc @@ -0,0 +1,21 @@ +group { name: "e/desktop/background"; + images.image: "bg_radgrad.png" COMP; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "bg"; + description { state: "default" 0.0; + image.normal: "bg_radgrad.png"; + image.scale_hint: STATIC; + fill.smooth: 0; + ASPECT_FILL((1024/653)) + } + } + part { name: "pat"; + description { state: "default" 0.0; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + } +} + diff --git a/data/themes/edc/border.edc b/data/themes/edc/border.edc new file mode 100644 index 000000000..42ec49d77 --- /dev/null +++ b/data/themes/edc/border.edc @@ -0,0 +1,874 @@ +group { name: "e/widgets/border/default/border"; + alias: "e/widgets/border/shaped/border"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "bevel_dark_out.png" COMP; + images.image: "sym_close_dark_normal.png" COMP; + images.image: "sym_close_dark_selected.png" COMP; + images.image: "sym_close_light_normal.png" COMP; + images.image: "sym_close_light_selected.png" COMP; + images.image: "sym_down_dark_normal.png" COMP; + images.image: "sym_down_dark_selected.png" COMP; + images.image: "sym_down_light_normal.png" COMP; + images.image: "sym_down_light_selected.png" COMP; + images.image: "sym_up_dark_normal.png" COMP; + images.image: "sym_up_dark_selected.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_up_light_selected.png" COMP; + images.image: "glow_round_corners_small.png" COMP; + images.image: "knob_round_small_busy.png" COMP; + parts { + part { name: "e.swallow.client"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "top"; + rel2.relative: 1.0 0.0; + rel2.to_y: "bottom"; + } + description { state: "shaded" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + rel2.to_y: "bottom"; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + rel2.to_y: "bottom"; + } + } + part { name: "top"; + description { state: "default" 0.0; + color_class: "border_top"; + image.normal: "vgrad_med_lighter.png"; + rel2.to_y: "title2"; + rel2.offset: -1 -4; + fill.smooth: 0; + TILED_HORIZ(120) + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + image.normal: "vgrad_med_dark.png"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "top"; + rel2.to: "top"; + fill.smooth: 0; + } + } + part { name: "e.text.title"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "border_title"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 3; + rel1.to_x: "e.event.icon"; + rel2.relative: 0.0 0.0; + rel2.offset: -2 3; + rel2.to_x: "e.event.minimize"; + align: 0.5 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: "Sans:style=Bold"; size: 10; + text_class: "title_bar"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title2"; type: TEXT; + scale: 1; + effect: SOFT_SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "border_title_active"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 2; + rel1.to_x: "e.event.icon"; + rel2.relative: 0.0 0.0; + rel2.offset: -1 2; + rel2.to_x: "e.event.minimize"; + align: 0.5 0.0; + color: 255 255 255 255; + color3: 0 0 0 18; + text { font: "Sans:style=Bold"; size: 10; + text_source: "e.text.title"; + text_class: "title_bar"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "e.event.icon"; + rel2.to: "e.event.icon"; + } + description { state: "bounce1" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.15; + rel2.relative: 1.0 1.15; + } + description { state: "bounce2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -0.15; + rel2.relative: 1.0 0.85; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "icon"; + rel1.relative: 0.15 0.15; + rel2.to: "icon"; + rel2.relative: 0.85 0.85; + rel2.offset: 0 0; + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + description { state: "hung" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "knob_round_small_busy.png"; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + max: 20 20; + rel1.relative: 1.0 0.0; + rel1.offset: 2 -0; + rel1.to: "e.event.icon"; + rel2.relative: 1.0 1.0; + rel2.offset: 2 -1; + rel2.to: "e.event.icon"; + align: 0.0 0.5; + fixed: 1 1; + } + } + part { name: "knob_spinner"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "knob"; + rel2.to: "knob"; + image.normal: "glow_round_corners.png"; + map.on: 1; + map.smooth: 1; + map.rotation.center: "knob"; + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + part { name: "clip1"; type: RECT; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "top"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "clip2"; type: RECT; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "top"; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "close1"; + clip_to: "clip1"; + description { state: "default" 0.0; + image.normal: "sym_close_dark_normal.png"; + rel1.to: "e.event.close"; + rel2.to: "e.event.close"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_close_dark_selected.png"; + } + } + part { name: "max1"; + clip_to: "clip1"; + description { state: "default" 0.0; + image.normal: "sym_up_dark_normal.png"; + rel1.to: "e.event.maximize"; + rel2.to: "e.event.maximize"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_up_dark_selected.png"; + } + } + part { name: "min1"; + clip_to: "clip1"; + description { state: "default" 0.0; + image.normal: "sym_down_dark_normal.png"; + rel1.to: "e.event.minimize"; + rel2.to: "e.event.minimize"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_down_dark_selected.png"; + } + } + part { name: "close2"; + clip_to: "clip2"; + description { state: "default" 0.0; + image.normal: "sym_close_light_normal.png"; + rel1.to: "e.event.close"; + rel2.to: "e.event.close"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_close_light_selected.png"; + } + } + part { name: "max2"; + clip_to: "clip2"; + description { state: "default" 0.0; + image.normal: "sym_up_light_normal.png"; + rel1.to: "e.event.maximize"; + rel2.to: "e.event.maximize"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_up_light_selected.png"; + } + } + part { name: "min2"; + clip_to: "clip2"; + description { state: "default" 0.0; + image.normal: "sym_down_light_normal.png"; + rel1.to: "e.event.minimize"; + rel2.to: "e.event.minimize"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_down_light_selected.png"; + } + } + part { name: "e.event.icon"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + rel2.to_y: "top"; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + part { name: "e.event.titlebar"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.event.icon"; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.event.minimize"; + rel2.to_y: "top"; + color: 0 0 0 0; + } + } + part { name: "e.event.close"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + rel2.to_y: "top"; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + part { name: "e.event.maximize"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -0.25 0.0; + rel1.offset: -1 0; + rel1.to_x: "e.event.close"; + rel2.relative: -0.25 1.0; + rel2.to_y: "top"; + rel2.to_x: "e.event.close"; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + part { name: "e.event.minimize"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: -1 0; + rel1.to_x: "e.event.maximize"; + rel2.relative: 0.0 1.0; + rel2.to_y: "top"; + rel2.to_x: "e.event.maximize"; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + part { name: "e.event.resize.tl"; type: RECT; + description { state: "default" 0.0; + rel2.relative: 0.0 0.0; + min: 32 4; + align: 0.0 0.0; + color: 0 0 0 0; + } + } + part { name: "e.event.resize.t"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.event.resize.tl"; + rel2.relative: 0.0 0.0; + rel2.to_x: "e.event.resize.tr"; + min: 0 4; + align: 0.5 0.0; + color: 0 0 0 0; + } + } + part { name: "e.event.resize.tr"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + min: 32 4; + align: 1.0 0.0; + color: 0 0 0 0; + } + } + part { name: "bottom"; type: RECT; + description { state: "default" 0.0; + color_class: "border_bottom"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -5; + rel2.relative: 1.0 1.0; + min: 0 5; + color: 64 64 64 255; + fixed: 0 1; + } + description { state: "shaded" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "bevel2"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "bottom"; + rel2.to: "bottom"; + fill.smooth: 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: "e.event.resize.bl"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 0.0 1.0; + min: 32 5; + align: 0.0 1.0; + color: 0 0 0 0; + fixed: 1 1; + } + description { state: "shaded" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "e.event.resize.b"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 1.0; + rel1.to_x: "e.event.resize.tl"; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.event.resize.tr"; + min: 0 5; + align: 0.5 1.0; + color: 0 0 0 0; + fixed: 0 1; + } + description { state: "shaded" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "e.event.resize.br"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + min: 32 5; + align: 1.0 1.0; + color: 0 0 0 0; + fixed: 1 1; + } + description { state: "shaded" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "top"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "top"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "focused" 0.0; + target: "top"; + target: "e.text.title"; + target: "title2"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "top"; + target: "e.text.title"; + target: "title2"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "bounce1" 0.0; + target: "icon"; + after: "urg1"; + } + program { name: "urg1"; + action: STATE_SET "bounce2" 0.0; + transition: DECELERATE 0.2; + target: "icon"; + after: "urg2"; + } + program { name: "urg2"; + action: STATE_SET "bounce1" 0.0; + transition: ACCELERATE 0.2; + target: "icon"; + after: "urg1"; + } + program { + signal: "e,state,not_urgent"; source: "e"; + action: STATE_SET "default" 0.0; + target: "icon"; + } + program { name: "spin"; + signal: "e,state,hung"; source: "e"; + action: STATE_SET "spin" 0.0; + transition: LINEAR 1.0; + target: "knob_spinner"; + after: "spin2"; + } + program { name: "spin2"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + after: "spin"; + } + program { + signal: "e,state,hung"; source: "e"; + action: STATE_SET "hung" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "e,state,unhung"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "spin3"; + } + program { name: "spin3"; + action: ACTION_STOP; + target: "spin"; + target: "spin2"; + after: "spin4"; + } + program { name: "spin4"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + } + program { + signal: "e,state,shaded"; source: "e"; + action: STATE_SET "shaded" 0.0; + target: "e.swallow.client"; + target: "bottom"; + target: "bevel2"; + target: "e.event.resize.bl"; + target: "e.event.resize.b"; + target: "e.event.resize.br"; + } +// program { +// signal: "e,state,shading"; source: "e"; +// } +// program { +// signal: "e,state,unshaded"; source: "e"; +// } + program { + signal: "e,state,unshading"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.client"; + target: "bottom"; + target: "bevel2"; + target: "e.event.resize.bl"; + target: "e.event.resize.b"; + target: "e.event.resize.br"; + } +// program { +// signal: "e,action,maximize"; source: "e"; +// } +// program { +// signal: "e,action,unmaximize"; source: "e"; +// } +// program { +// signal: "e,action,maximize,fullscreen"; source: "e"; +// } +// program { +// signal: "e,action,unmaximize,fullscreen"; source: "e"; +// } + program { + signal: "e,action,maximize*"; source: "e"; + action: STATE_SET "max" 0.0; + target: "e.swallow.client"; + target: "bottom"; + target: "bevel2"; + target: "e.event.resize.bl"; + target: "e.event.resize.b"; + target: "e.event.resize.br"; + } + program { + signal: "e,action,unmaximize*"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.client"; + target: "bottom"; + target: "bevel2"; + target: "e.event.resize.bl"; + target: "e.event.resize.b"; + target: "e.event.resize.br"; + } + program { + signal: "mouse,down,*"; source: "e.event.close"; + action: STATE_SET "selected" 0.0; + target: "close1"; + target: "close2"; + } + program { + signal: "mouse,up,*"; source: "e.event.close"; + action: STATE_SET "default" 0.0; + target: "close1"; + target: "close2"; + } + program { + signal: "mouse,down,*"; source: "e.event.maximize"; + action: STATE_SET "selected" 0.0; + target: "max1"; + target: "max2"; + } + program { + signal: "mouse,up,*"; source: "e.event.maximize"; + action: STATE_SET "default" 0.0; + target: "max1"; + target: "max2"; + } + program { + signal: "mouse,down,*"; source: "e.event.minimize"; + action: STATE_SET "selected" 0.0; + target: "min1"; + target: "min2"; + } + program { + signal: "mouse,up,*"; source: "e.event.minimize"; + action: STATE_SET "default" 0.0; + target: "min1"; + target: "min2"; + } + } +} + +group { name: "e/widgets/border/dialog/border"; + inherit: "e/widgets/border/default/border"; + parts { + part { name: "max1"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + description { state: "selected" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "min1"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + description { state: "selected" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "max2"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + description { state: "selected" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "min2"; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + description { state: "selected" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "e.event.titlebar"; + description { state: "default" 0.0; + rel2.to_x: "e.event.close"; + } + } + part { name: "e.event.maximize"; + description { state: "default" 0.0; + max: 0 0; + aspect: 0.0 0.0; + visible: 0; + fixed: 1 1; + } + } + part { name: "e.event.minimize"; + description { state: "default" 0.0; + max: 0 0; + aspect: 0.0 0.0; + visible: 0; + fixed: 1 1; + } + } + } +} + +group { name: "e/widgets/border/noresize/border"; + inherit: "e/widgets/border/default/border"; + parts { + part { name: "e.swallow.client"; type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "bottom"; type: RECT; + description { state: "default" 0.0; + color_class: "border_bottom"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -1; + rel2.relative: 1.0 1.0; + min: 0 0; + fixed: 0 1; + visible: 0; + } + } + part { name: "bevel2"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "e.event.resize.bl"; + description { state: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "e.event.resize.b"; + description { state: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "e.event.resize.br"; + description { state: "default" 0.0; + min: 0 0; + visible: 0; + } + } + } +} + +group { name: "e/widgets/border/noresize_dialog/border"; + inherit: "e/widgets/border/dialog/border"; + parts { + part { name: "e.swallow.client"; type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "bottom"; type: RECT; + description { state: "default" 0.0; + color_class: "border_bottom"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -1; + rel2.relative: 1.0 1.0; + min: 0 0; + fixed: 0 1; + visible: 0; + } + } + part { name: "bevel2"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "e.event.resize.bl"; + description { state: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "e.event.resize.b"; + description { state: "default" 0.0; + min: 0 0; + visible: 0; + } + } + part { name: "e.event.resize.br"; + description { state: "default" 0.0; + min: 0 0; + visible: 0; + } + } + } +} + +group { name: "e/widgets/border/pixel/border"; + parts { + part { name: "e.swallow.client"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: -2 -2; + rel2.offset: -2 -2; + } + } + part { name: "top"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 0.0; + max: 99999 1; + } + } + part { name: "bottom"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 1.0; + max: 99999 1; + } + } + part { name: "left"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 0.0; + max: 1 99999; + } + } + part { name: "right"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 1.0 0.0; + max: 1 99999; + } + } + } +} diff --git a/data/themes/edc/button.edc b/data/themes/edc/button.edc new file mode 100644 index 000000000..ad2359d74 --- /dev/null +++ b/data/themes/edc/button.edc @@ -0,0 +1,176 @@ + group { name: "e/widgets/button"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -1 0; + rel2.offset: 0 1; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "icon_clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_clip"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.offset: 6 5; + rel1.to: "base"; + rel2.relative: 0.0 1.0; + rel2.offset: 6 -8; + rel2.to: "base"; + } + description { state: "combo" 0.0; + inherit: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + align: 0.5 0.5; + rel2.relative: 1.0 1.0; + rel2.offset: -7 -8; + } + } + part { name: "label_clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "label_clip"; + description { state: "default" 0.0; + rel1.offset: 6 5; + rel1.to_x: "base"; + rel1.to_y: "base"; + rel2.offset: -7 -7; + rel2.to: "base"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + text { 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: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + } + description { state: "combo" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: 2 5; + rel1.to_x: "e.swallow.icon"; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "button"; + } + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "event"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "event"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,text"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + target: "e.text.label"; + } + program { + signal: "e,state,icon"; source: "e"; + action: STATE_SET "icon" 0.0; + target: "e.swallow.icon"; + target: "e.text.label"; + } + program { + signal: "e,state,combo"; source: "e"; + action: STATE_SET "combo" 0.0; + target: "e.swallow.icon"; + target: "e.text.label"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "icon_clip"; + target: "label_clip"; + target: "label2"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "icon_clip"; + target: "label_clip"; + target: "label2"; + } + } +} diff --git a/data/themes/edc/check.edc b/data/themes/edc/check.edc new file mode 100644 index 000000000..2a5274f9b --- /dev/null +++ b/data/themes/edc/check.edc @@ -0,0 +1,166 @@ +group { name: "e/widgets/check"; + images.image: "inset_shadow_tiny.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "sym_check_alum.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel1.to: "inset"; + rel2.offset: -2 -2; + rel2.to: "inset"; + color: 24 24 24 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 64 64 64 255; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow_tiny.png"; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + align: 0.0 0.5; + min: 13 13; + max: 13 13; + fixed: 1 1; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "indicator"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "sym_check_alum.png"; + min: 11 11; + max: 11 11; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.to_x: "inset"; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "check_text"; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "check_button"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,checked"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "e,state,unchecked"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "e,action,toggle" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "base"; + target: "shadow"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "shadow"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + } +} + +group { name: "e/widgets/check_icon"; + inherit: "e/widgets/check"; + parts { + part { name: "e.swallow.icon"; type: SWALLOW; + insert_before: "event"; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.relative: 1.0 0.0; + rel1.to_x: "inset"; + rel2.offset: 2 -3; + rel2.relative: 1.0 1.0; + rel1.to_x: "inset"; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + part { name: "e.text.label"; + description { state: "default" 0.0; + rel1.to_x: "e.swallow.icon"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + } +} diff --git a/data/themes/edc/clock.edc b/data/themes/edc/clock.edc new file mode 100644 index 000000000..573e40d6f --- /dev/null +++ b/data/themes/edc/clock.edc @@ -0,0 +1,586 @@ +#if 0 +group { name: "e/modules/clock/digital"; +} +#endif + +#if 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; + } + 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); + 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); + 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); + 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); + 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); + 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); + 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"; + rel1.relative: (2.0/128.0) (2.0/128.0); + rel2.to: "base"; + rel2.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"; + rel1.relative: 0.3125 0.0; + rel2.to: "base2"; + rel2.relative: 0.6875 0.6875; + image.normal: "ch-s2.png"; + map. on: 1; + map.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"; + rel1.relative: 0.3125 0.0; + rel2.to: "base"; + rel2.relative: 0.6875 0.6875; + image.normal: "ch-s1.png"; + map.on: 1; + map.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"; + rel1.relative: 0.3125 0.0; + rel2.to: "base2"; + rel2.relative: 0.6875 0.6875; + image.normal: "ch-m2.png"; + map.on: 1; + map.rotation.center: "base2"; + } + } + part { name: "minutes"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.3125 0.0; + rel2.to: "base"; + rel2.relative: 0.6875 0.6875; + image.normal: "ch-m1.png"; + map.on: 1; + map.rotation.center: "base"; + } + } + part { name: "hour-sh"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base2"; + rel1.relative: 0.3125 0.0; + rel2.to: "base2"; + rel2.relative: 0.6875 0.6875; + image.normal: "ch-h2.png"; + map.on: 1; + map.rotation.center: "base2"; + } + } + part { name: "hour"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.3125 0.0; + rel2.to: "base"; + rel2.relative: 0.6875 0.6875; + image.normal: "ch-h1.png"; + map.on: 1; + map.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 { + signal: "load"; source: ""; + script { + clock_cb(0); + } + } + program { + 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 { + 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); + } + } + } +} +#endif + +group { name: "e/modules/clock/calendar/dayname"; + parts { + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: "Sans"; size: 8; + min: 1 1; + align: 0.5 0.5; + text_class: "module_small"; + } + } + description { state: "weekend" 0.0; + inherit: "default" 0.0; + color: 48 48 48 255; + } + } + } + programs { + program { + signal: "e,state,weekend"; source: "e"; + action: STATE_SET "weekend" 0.0; + target: "e.text.label"; + } + program { + signal: "e,state,weekday"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + } + } +} + +group { name: "e/modules/clock/calendar/day"; + script { + public day_state = 0; + evalstate() { + new vv = get_int(day_state); + + if (vv & 2) + { + set_state(PART:"e.text.label", "today", 0.0); + set_state(PART:"label2", "today", 0.0); + } + else if (vv & 4) + { + set_state(PART:"e.text.label", "hidden", 0.0); + set_state(PART:"label2", "default", 0.0); + } + else if (vv & 1) + { + set_state(PART:"e.text.label", "weekend", 0.0); + set_state(PART:"label2", "default", 0.0); + } + else + { + set_state(PART:"e.text.label", "default", 0.0); + set_state(PART:"label2", "default", 0.0); + } + } + } + parts { + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "today" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "weekend" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "e.text.label"; + rel2.offset: 2 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + min: 1 1; + align: 0.5 0.5; + } + visible: 0; + } + description { state: "today" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "e,state,weekend"; source: "e"; + script { + new vv = get_int(day_state); + set_int(day_state, vv | 1); + evalstate(); + } + } + program { + signal: "e,state,weekday"; source: "e"; + script { + new vv = get_int(day_state); + set_int(day_state, vv & (~1)); + evalstate(); + } + } + + program { + signal: "e,state,today"; source: "e"; + script { + new vv = get_int(day_state); + set_int(day_state, vv | 2); + evalstate(); + } + } + program { + signal: "e,state,someday"; source: "e"; + script { + new vv = get_int(day_state); + set_int(day_state, vv & (~2)); + evalstate(); + } + } + + program { + signal: "e,state,hidden"; source: "e"; + script { + new vv = get_int(day_state); + set_int(day_state, vv | 4); + evalstate(); + } + } + program { + signal: "e,state,visible"; source: "e"; + script { + new vv = get_int(day_state); + set_int(day_state, vv & (~4)); + evalstate(); + } + } + } +} + +group { name: "e/modules/clock/calendar"; + images.image: "separator_horiz.png" COMP; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + parts { + part { name: "e.text.month"; type: TEXT; + effect: SHADOW BOTTOM; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1.to_x: "prev"; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans:style=Bold"; size: 10; + align: 0.0 0.5; + min: 0 1; + text_class: "module_normal"; + } + } + } + part { name: "e.text.year"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + 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"; + rel2.relative: 0.0 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans:style=Bold"; size: 10; + align: 1.0 0.5; + min: 0 1; + text_class: "module_normal"; + } + } + } + part { name: "previm"; mouse_events: 0; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + rel1.to: "prev"; + rel2.to: "prev"; + image.normal: "sym_left_light_normal.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + } + } + 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: 15 15; + max: 15 15; + rel1.to: "next"; + rel2.to: "next"; + image.normal: "sym_right_light_normal.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + 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: "sel"; + description { state: "default" 0.0; + image.normal: "separator_horiz.png"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel1.to: "e.table.daynames"; + rel2.offset: -1 1; + rel2.to: "e.table.daynames"; + min: 0 2; + fill.smooth: 0; + } + } + + 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 D(x) \ +item { \ + position: x 0; \ + span: 1 1; \ + source: "e/modules/clock/calendar/dayname"; \ + weight: 1.0 1.0; \ + align: -1.0 -1.0; \ +} + D(0) D(1) D(2) D(3) D(4) D(5) D(6) +#undef D + } + } + } + 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 D(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; \ +} + D(0, 0) D(1, 0) D(2, 0) D(3, 0) D(4, 0) D(5, 0) D(6, 0) + D(0, 1) D(1, 1) D(2, 1) D(3, 1) D(4, 1) D(5, 1) D(6, 1) + D(0, 2) D(1, 2) D(2, 2) D(3, 2) D(4, 2) D(5, 2) D(6, 2) + D(0, 3) D(1, 3) D(2, 3) D(3, 3) D(4, 3) D(5, 3) D(6, 3) + D(0, 4) D(1, 4) D(2, 4) D(3, 4) D(4, 4) D(5, 4) D(6, 4) + D(0, 5) D(1, 5) D(2, 5) D(3, 5) D(4, 5) D(5, 5) D(6, 5) +#undef D + } + } + } + } +} diff --git a/data/themes/edc/colorwell.edc b/data/themes/edc/colorwell.edc new file mode 100644 index 000000000..291cf9d8e --- /dev/null +++ b/data/themes/edc/colorwell.edc @@ -0,0 +1,69 @@ +group { name: "e/widgets/color_well"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + color: 48 48 48 255; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow.png"; + image.border: 5 5 7 3; + image.middle: 0; + rel1.to: "bg"; + rel2.to: "bg"; + fill.smooth: 0; + color: 255 255 255 128; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + fill.smooth: 0; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; source: "bg"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "clipper"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + } +} diff --git a/data/themes/edc/comp.edc b/data/themes/edc/comp.edc new file mode 100644 index 000000000..99ee56b31 --- /dev/null +++ b/data/themes/edc/comp.edc @@ -0,0 +1,577 @@ +group { name: "e/modules/comp/preview"; + parts { + part { name: "e.swallow.preview"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans:style=Bold"; size: 10; + text_class: "fileman_icon"; + align: 0.5 0.5; + min: 1 1; + } + fixed: 0 1; + } + } + } +} + +group { name: "e/modules/comp/screen/base/default"; + parts { + part { name: "black"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + } + } + } +} + +group { name: "e/modules/comp/screen/overlay/default"; + images.image: "screen_circular_shadow.png" COMP; + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "shadow"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: 2.0 2.0; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "blanker"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + visible: 1; + } + } + part { name: "suspender"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + visible: 1; + } + } + } + programs { + program { + signal: "e,state,screensaver,on"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 3.0 CURRENT; + target: "blanker"; + } + program { + signal: "e,state,screensaver,on"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 1.5 CURRENT; + target: "shadow"; + } + program { + signal: "e,state,screensaver,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.5 CURRENT; + target: "blanker"; + } + program { + signal: "e,state,screensaver,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.25 CURRENT; + target: "shadow"; + } + program { + signal: "e,state,sys,suspend"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 0.5 CURRENT; + target: "suspender"; + after: "suspend_done"; + } + program { name: "suspend_done"; + action: SIGNAL_EMIT "e,state,sys,suspend,done" "e"; + } + program { + signal: "e,state,sys,hibernate"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 0.5 CURRENT; + target: "suspender"; + after: "hibernate_done"; + } + program { name: "hibernate_done"; + action: SIGNAL_EMIT "e,state,sys,hibernate,done" "e"; + } + program { + signal: "e,state,sys,resume"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 1.0 CURRENT; + target: "suspender"; + } + program { + signal: "e,state,sys,reboot"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 0.5 CURRENT; + target: "suspender"; + after: "reboot_done"; + } + program { name: "reboot_done"; + action: SIGNAL_EMIT "e,state,sys,reboot,done" "e"; + } + program { + signal: "e,state,sys,halt"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 0.5 CURRENT; + target: "suspender"; + after: "halt_done"; + } + program { name: "halt_done"; + action: SIGNAL_EMIT "e,state,sys,halt,done" "e"; + } + program { + signal: "e,state,sys,logout"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 0.5 CURRENT; + target: "suspender"; + after: "logout_done"; + } + program { name: "logout_done"; + action: SIGNAL_EMIT "e,state,sys,logout,done" "e"; + } + } +} + +group { name: "e/comp/default"; + alias: "e/comp/popup"; + images.image: "win_shadow.png" COMP; + images.image: "win_glow.png" COMP; + parts { + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel1.offset: -9999 -9999; + rel2.relative: 2.0 2.0; + rel2.offset: 9999 9999; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "shadow"; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "e.swallow.content"; + rel1.offset: -7 -3; + rel2.to: "e.swallow.content"; + rel2.offset: 6 11; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "glow"; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.to: "e.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "e.swallow.content"; + rel2.offset: 4 4; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "shower"; type: SPACER; + description { state: "default" 0.0; + rel1.relative: 0.05 0.05; + rel2.relative: 0.95 0.95; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "shower"; + rel2.to: "shower"; + } + } + } + programs { + program { + signal: "e,state,shadow,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "shadow"; + } + program { + signal: "e,state,shadow,off"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "shadow"; + } + program { + signal: "e,state,visible,on"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.15; + target: "clipper"; + target: "shower"; + after: "show2"; + } + program { name: "show2"; + action: SIGNAL_EMIT "e,action,show,done" "e"; + } + program { + signal: "e,state,visible,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.30; + target: "clipper"; + target: "shower"; + after: "hide2"; + } + program { name: "hide2"; + action: SIGNAL_EMIT "e,action,hide,done" "e"; + } + program { + signal: "e,state,focus,on"; source: "e"; + action: STATE_SET "focused" 0.0; + transition: SINUSOIDAL 0.1; + target: "glow"; + after: "focus2"; + } + program { name: "focus2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.4; + target: "glow"; + } +// program { +// signal: "e,state,focus,off"; source: "e"; +// } + program { name: "urgent1"; + signal: "e,state,urgent,on"; source: "e"; + action: STATE_SET "focused" 0.0; + transition: SINUSOIDAL 0.3; + target: "glow"; + after: "urgent2"; + } + program { name: "urgent2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.3; + target: "glow"; + after: "urgent1"; + } + program { + signal: "e,state,urgent,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.6 CURRENT; + target: "glow"; + } + } +} + +group { name: "e/comp/none"; + parts { + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + } + } + } + programs { + program { + signal: "e,state,visible,on"; source: "e"; + action: SIGNAL_EMIT "e,action,show,done" "e"; + } + program { + signal: "e,state,visible,off"; source: "e"; + action: SIGNAL_EMIT "e,action,hide,done" "e"; + } + } +} + +group { name: "e/comp/still"; + inherit: "e/comp/default"; + parts { + part { name: "shower"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "e/comp/menu"; + inherit: "e/comp/default"; + parts { + part { name: "shower"; + description { state: "default" 0.0; + rel1.relative: 0.05 0.0; + rel2.relative: 0.95 0.9; + } + } + } +} + +group { name: "e/comp/everything"; + inherit: "e/comp/default"; + parts { + part { name: "shower"; + description { state: "default" 0.0; + rel1.relative: -0.3 -0.3; + rel2.relative: 1.3 1.3; + } + } + } +} + +group { name: "e/comp/fullscreen"; + images.image: "win_shadow.png" COMP; + images.image: "screen_circular_shadow.png" COMP; + data.item: "screen.bg" "fullscreen.bg"; + parts { + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel1.offset: -9999 -9999; + rel2.relative: 2.0 2.0; + rel2.offset: 9999 9999; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible1" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + description { state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "clipper_sh"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel1.offset: -9999 -9999; + rel2.relative: 2.0 2.0; + rel2.offset: 9999 9999; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible1" 0.0; + inherit: "default" 0.0; + color: 255 255 255 100; + visible: 1; + } + description { state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + } + part { name: "clipper_all"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "scr_shadow"; + clip_to: "clipper_all"; + description { state: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: 2.0 2.0; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "scr_shade"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + visible: 1; + } + } + part { name: "shadow"; + clip_to: "clipper_sh"; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "e.swallow.content"; + rel1.offset: -7 -3; + rel2.to: "e.swallow.content"; + rel2.offset: 6 11; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "shower"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + visible: 0; + } + description { state: "visible1" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.1 0.49; + rel1.offset: 0 0; + rel2.relative: 0.9 0.51; + rel2.offset: -1 -1; + } + description { state: "visible2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "shower"; + rel2.to: "shower"; + } + } + part { name: "fader"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible1" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + description { state: "visible2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,shadow,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "shadow"; + } + program { + signal: "e,state,shadow,off"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "shadow"; + } + program { + signal: "e,state,visible,on"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.25; + target: "scr_shadow"; + target: "scr_shade"; + } + program { + signal: "e,state,visible,on"; source: "e"; + action: STATE_SET "visible1" 0.0; + transition: DECELERATE 0.05; + target: "clipper"; + target: "clipper_sh"; + target: "shower"; + target: "fader"; + after: "show2"; + } + program { name: "show2"; + action: STATE_SET "visible2" 0.0; + transition: DECELERATE 0.20; + target: "clipper"; + target: "clipper_sh"; + target: "shower"; + target: "fader"; + after: "show3"; + } + program { name: "show3"; + action: SIGNAL_EMIT "e,action,show,done" "e"; + } + program { + signal: "e,state,visible,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.25; + target: "scr_shadow"; + target: "scr_shade"; + } + program { + signal: "e,state,visible,off"; source: "e"; + action: STATE_SET "visible1" 0.0; + transition: DECELERATE 0.2; + target: "clipper"; + target: "clipper_sh"; + target: "shower"; + target: "fader"; + after: "hide2"; + } + program { name: "hide2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.05; + target: "clipper"; + target: "clipper_sh"; + target: "shower"; + target: "fader"; + after: "hide3"; + } + program { name: "hide3"; + action: SIGNAL_EMIT "e,action,hide,done" "e"; + } + } +} diff --git a/data/themes/edc/conf.edc b/data/themes/edc/conf.edc new file mode 100644 index 000000000..1cb99859b --- /dev/null +++ b/data/themes/edc/conf.edc @@ -0,0 +1,54 @@ +group { name: "e/widgets/configure/main"; + images.image: "bevel_dark_out.png" COMP; + images.image: "separator_horiz.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color_class: "dialog_base"; + color: 64 64 64 255; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "separator"; mouse_events: 0; + description { state: "default" 0.0; + min: 16 2; + max: 99999 2; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel1.to_y: "e.swallow.content"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + rel2.to_y: "e.swallow.button"; + image.normal: "separator_horiz.png"; + fill.smooth: 0; + fixed: 0 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel1.to_x: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -8; + rel2.to_y: "e.swallow.button"; + } + } + part { name: "e.swallow.button"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.5 1.0; + rel1.offset: 0 -5; + rel2.relative: 0.5 1.0; + rel2.offset: -1 -5; + fixed: 1 1; + } + } + } +} diff --git a/data/themes/edc/connman.edc b/data/themes/edc/connman.edc new file mode 100644 index 000000000..06dc51316 --- /dev/null +++ b/data/themes/edc/connman.edc @@ -0,0 +1,703 @@ +group { name: "e/modules/connman/main"; + images.image: "slot_horiz_top.png" COMP; + images.image: "slot_horiz_bottom.png" COMP; + images.image: "wifi_base.png" COMP; + images.image: "wifi_sig_1.png" COMP; + images.image: "wifi_sig_2.png" COMP; + images.image: "wifi_sig_3.png" COMP; + images.image: "eth.png" COMP; + images.image: "exlclam.png" COMP; + images.image: "hole_tiny.png" COMP; + images.image: "led_tiny_orange.png" COMP; + images.image: "led_tiny_green.png" COMP; + images.image: "bt_base.png" COMP; + images.image: "bt_sig_1.png" COMP; + images.image: "bt_sig_2.png" COMP; + images.image: "cell_base.png" COMP; + images.image: "cell_sig_1.png" COMP; + images.image: "cell_sig_2.png" COMP; + images.image: "cell_sig_3.png" COMP; + images.image: "cell_sig_4.png" COMP; + parts { + part { name: "slot_bottom"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "slot"; + rel2.relative: 1.0 0.5; + rel2.to: "slot"; + min: 0 3; + image.normal: "slot_horiz_bottom.png"; + fixed: 0 1; + } + } +/////////////////////// + part { name: "exclam_base"; mouse_events: 0; + clip_to: "clip_exclam"; + description { state: "default" 0.0; + aspect: (71/144) (71/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "exlclam.png"; + } + } +/////////////////////// + part { name: "eth_base"; mouse_events: 0; + clip_to: "clip_eth"; + description { state: "default" 0.0; + aspect: (60/144) (60/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "eth.png"; + } + } +/////////////////////// + part { name: "wifi_base"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "wifi_base.png"; + } + } + part { name: "wifi_1"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + rel1.to: "wifi_base"; + rel2.to: "wifi_base"; + image.normal: "wifi_sig_1.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "wifi_2"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + rel1.to: "wifi_base"; + rel2.to: "wifi_base"; + image.normal: "wifi_sig_2.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "wifi_3"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + rel1.to: "wifi_base"; + rel2.to: "wifi_base"; + image.normal: "wifi_sig_3.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +/////////////////////// + part { name: "bt_base"; mouse_events: 0; + clip_to: "clip_bt"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "bt_base.png"; + } + } + part { name: "bt_1"; mouse_events: 0; + clip_to: "clip_bt"; + description { state: "default" 0.0; + rel1.to: "bt_base"; + rel2.to: "bt_base"; + image.normal: "bt_sig_1.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bt_2"; mouse_events: 0; + clip_to: "clip_bt"; + description { state: "default" 0.0; + rel1.to: "bt_base"; + rel2.to: "bt_base"; + image.normal: "bt_sig_2.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +/////////////////////// + part { name: "cell_base"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "cell_base.png"; + } + } + part { name: "cell_1"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_1.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "cell_2"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_2.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "cell_3"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_3.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "cell_4"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_4.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +/////////////////////// + part { name: "slot"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 -1; + rel1.relative: (21/160) 1.0; + rel2.offset: -1 -1; + rel2.relative: (140/160) 1.0; + align: 0.5 1.0; + min: 0 6; + image.normal: "slot_horiz_top.png"; + fixed: 0 1; + } + } + part { name: "hole"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.relative: 1.0 1.0; + rel2.offset: -4 -4; + align: 1.0 1.0; + min: 4 4; + max: 4 4; + image.normal: "hole_tiny.png"; + fixed: 1 1; + } + } + part { name: "clip_exclam"; type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_wifi"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 1; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_eth"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 1; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_bt"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 1; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_cell"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 1; + } + } + part { name: "led"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "hole"; + rel2.to: "hole"; + min: 10 10; + max: 10 10; + image.normal: "led_tiny_orange.png"; + fixed: 1 1; + visible: 0; + } + description { state: "connected" 0.0; + inherit: "default" 0.0; + image.normal: "led_tiny_orange.png"; + visible: 1; + } + description { state: "online" 0.0; + inherit: "default" 0.0; + image.normal: "led_tiny_green.png"; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + +#define SCRIPT_MESSAGE() \ +script { \ +public message(Msg_Type:type, id, ...) { \ +if ((type == MSG_INT_SET) && (id == 1)) { \ +new state = getarg(2), signl = getarg(3); \ +if (signl <= 14) { \ +set_state(PART:"wifi_1", "default", 0.0); \ +set_state(PART:"wifi_2", "default", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 28) { \ +set_state(PART:"wifi_1", "partly", 0.0); \ +set_state(PART:"wifi_2", "default", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 42) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "default", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 57) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "partly", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 71) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "visible", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 85) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "visible", 0.0); \ +set_state(PART:"wifi_3", "partly", 0.0); \ +} \ +else { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "visible", 0.0); \ +set_state(PART:"wifi_3", "visible", 0.0); \ +} \ +if (signl <= 20) { \ +set_state(PART:"bt_1", "default", 0.0); \ +set_state(PART:"bt_2", "default", 0.0); \ +} \ +else if (signl <= 40) { \ +set_state(PART:"bt_1", "partly", 0.0); \ +set_state(PART:"bt_2", "default", 0.0); \ +} \ +else if (signl <= 60) { \ +set_state(PART:"bt_1", "visible", 0.0); \ +set_state(PART:"bt_2", "default", 0.0); \ +} \ +else if (signl <= 80) { \ +set_state(PART:"bt_1", "visible", 0.0); \ +set_state(PART:"bt_2", "partly", 0.0); \ +} \ +else { \ +set_state(PART:"bt_1", "visible", 0.0); \ +set_state(PART:"bt_2", "visible", 0.0); \ +} \ +if (signl <= 11) { \ +set_state(PART:"cell_1", "default", 0.0); \ +set_state(PART:"cell_2", "default", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 22) { \ +set_state(PART:"cell_1", "partly", 0.0); \ +set_state(PART:"cell_2", "default", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 33) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "default", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 44) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "partly", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 55) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 66) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "partly", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 77) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "visible", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 88) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "visible", 0.0); \ +set_state(PART:"cell_4", "partly", 0.0); \ +} \ +else { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "visible", 0.0); \ +set_state(PART:"cell_4", "visible", 0.0); \ +} \ +if ((state == 2)) { \ +set_state(PART:"led", "default", 0.0); \ +run_program(PROGRAM:"connecting"); \ +return; } \ +else if ((state == 3)) { return; } \ +else if ((state == 4)) { set_state(PART:"led", "connected", 0.0); } \ +else if ((state == 5)) { set_state(PART:"led", "online", 0.0); } \ +else { set_state(PART:"led", "default", 0.0); \ +} } } } + + SCRIPT_MESSAGE() + programs { + program { name: "connecting"; + action: STATE_SET "connected" 0.0; + target: "led"; + in: 0.3 0.0; + after: "connecting2"; + } + program { name: "connecting2"; + action: STATE_SET "default" 0.0; + target: "led"; + in: 0.3 0.0; + after: "connecting"; + } +// program { +// signal: "e,available"; source: "e"; +// } +// program { +// signal: "e,unavailable"; source: "e"; +// } + program { + signal: "e,changed,connected,no"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,wifi"; source: "e"; + action: STATE_SET "wifi" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,ethernet"; source: "e"; + action: STATE_SET "eth" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,bluetooth"; source: "e"; + action: STATE_SET "bt" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,cellular"; source: "e"; + action: STATE_SET "cell" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,other"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/wifi"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "wifi" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/ethernet"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "eth" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/bluetooth"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "bt" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/cellular"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "cell" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/end"; + images.image: "glow_lock_locked.png" COMP; + images.image: "glow_lock_unlocked.png" COMP; + images.image: "glow_lock_double.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "glow_lock_locked.png"; + max: 16 16; + aspect: 1.0 1.0; aspect_preference: BOTH; + visible: 0; + } + description { state: "none" 0.0; + inherit: "default" 0.0; + image.normal: "glow_lock_unlocked.png"; + visible: 1; + } + description { state: "wep" 0.0; + inherit: "default" 0.0; + image.normal: "glow_lock_locked.png"; + visible: 1; + } + description { state: "psk" 0.0; + inherit: "default" 0.0; + image.normal: "glow_lock_double.png"; + visible: 1; + } + } + } + programs { + program { + signal: "e,security,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "e,security,none"; source: "e"; + action: STATE_SET "none" 0.0; + target: "base"; + } + program { + signal: "e,security,wep"; source: "e"; + action: STATE_SET "wep" 0.0; + target: "base"; + } + program { + signal: "e,security,psk"; source: "e"; + action: STATE_SET "psk" 0.0; + target: "base"; + } + } +} diff --git a/data/themes/edc/deskpreview.edc b/data/themes/edc/deskpreview.edc new file mode 100644 index 000000000..2d28e4bbe --- /dev/null +++ b/data/themes/edc/deskpreview.edc @@ -0,0 +1,17 @@ +group { name: "e/widgets/deskpreview/desk"; + inherit: "e/widgets/preview"; + parts { + part { name: "e.swallow.content"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "e.event.menu"; type: RECT; + insert_after: "inset"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} diff --git a/data/themes/edc/dialog.edc b/data/themes/edc/dialog.edc new file mode 100644 index 000000000..3d2e3aeb9 --- /dev/null +++ b/data/themes/edc/dialog.edc @@ -0,0 +1,110 @@ +group { name: "e/widgets/dialog/main"; + images.image: "bevel_dark_out.png" COMP; + images.image: "separator_horiz.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color_class: "dialog_base"; + color: 64 64 64 255; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "separator"; mouse_events: 0; + description { state: "default" 0.0; + min: 16 2; + max: 99999 2; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel1.to_y: "e.swallow.content"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + rel2.to_y: "e.swallow.buttons"; + image.normal: "separator_horiz.png"; + fill.smooth: 0; + fixed: 0 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.relative: 0.0 0.0; + rel1.offset: 4 4; + rel2.relative: 0.0 0.0; + rel2.offset: 4 -8; + rel2.to_y: "e.swallow.buttons"; + fixed: 1 0; + visible: 0; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel1.to_x: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -8; + rel2.to_y: "e.swallow.buttons"; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.swallow.icon"; + } + } + part { name: "e.swallow.buttons"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel1.offset: 4 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + fixed: 0 1; + } + } + } + programs { + program { + signal: "e,icon,enabled"; source: "e"; + action: STATE_SET "icon" 0.0; + target: "e.swallow.icon"; + target: "e.swallow.content"; + } + program { + signal: "e,icon,disabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + target: "e.swallow.content"; + } + } +} + +group { name: "e/widgets/dialog/text"; + styles { + style { name: "dialog_style"; + base: "font=Sans font_size=10 text_class=tb_plain align=center color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light"; + } + } + parts { + part { name: "e.textblock.message"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + text { + style: "dialog_style"; + min: 1 1; + } + } + } + } +} diff --git a/data/themes/edc/entry.edc b/data/themes/edc/entry.edc new file mode 100644 index 000000000..9c894dbbf --- /dev/null +++ b/data/themes/edc/entry.edc @@ -0,0 +1,195 @@ +group { name: "e/widgets/entry/scrollframe"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "inset"; + rel1.offset: 1 1; + rel2.to: "inset"; + rel2.offset: -2 -2; + color: 48 48 48 255; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + mouse_events: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "shadow"; mouse_events: 0; repeat_events: 1; + description { state: "default" 0.0; + image.normal: "inset_shadow.png"; + image.border: 5 5 7 3; + image.middle: 0; + rel1.to: "bg"; + rel2.to: "bg"; + fill.smooth: 0; + color: 255 255 255 128; + } + } + part { name: "inset"; mouse_events: 0; repeat_events: 1; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + fill.smooth: 0; + } + } + } +} + +group { name: "e/widgets/entry/text"; + styles { + style { name: "entry_textblock_style"; + base: "font=Sans font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=entry color_classs=entry_text"; + } + style { name: "entry_textblock_disabled_style"; + base: "font=Sans font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=entry color_class=entry_text_disabled"; + } + } + parts { + part { name: "e.text.text"; type: TEXTBLOCK; + scale: 1; + entry_mode: EDITABLE; + select_mode: DEFAULT; + cursor_mode: BEFORE; + multiline: 0; + source: "e/widgets/entry/selection"; // selection under + source4: "e/widgets/entry/cursor"; // cursorover + description { state: "default" 0.0; + color_class: "entry_text"; + text { + text: ""; + style: "entry_textblock_style"; + min: 1 1; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "entry_textblock_disabled_style"; + color_class: "entry_text_disabled"; + } + } + } + programs { + program { name: "focus"; + signal: "load"; + source: ""; + action: FOCUS_SET; + target: "e.text.text"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "e.text.text"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.text"; + } + } +} + +group { name: "e/widgets/entry/password"; + inherit: "e/widgets/entry/text"; + parts { + part { name: "e.text.text"; + entry_mode: PASSWORD; + description { state: "default" 0.0; + text.repch: "*"; + } + } + } +} + +group { name: "e/widgets/entry/cursor"; + min: 1 0; + images.image: "white_bar_vert_glow.png" COMP; + parts { + part { name: "cursor"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + image.normal: "white_bar_vert_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + color: 255 255 255 0; + min: 9 10; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + signal: "e,action,show,cursor"; source: "e"; + action: ACTION_STOP; + target: "cursor_show"; + target: "cursor_hide"; + target: "cursor_show_timer"; + target: "cursor_hide_timer"; + after: "cursor_show"; + } + program { + name: "on_cursor_hide"; + signal: "e,action,hide,cursor"; + source: "e"; + action: ACTION_STOP; + target: "cursor_show"; + target: "cursor_hide"; + target: "cursor_show_timer"; + target: "cursor_hide_timer"; + after: "cursor_hide_stop"; + } + program { + name: "cursor_hide_stop"; + action: STATE_SET "default" 0.0; + target: "cursor"; + } + program { name: "cursor_show"; + action: STATE_SET "visible" 0.0; + target: "cursor"; + after: "cursor_show_timer"; + } + program { name: "cursor_hide"; + action: STATE_SET "default" 0.0; + target: "cursor"; + transition: SINUSOIDAL 0.2; + after: "cursor_hide_timer"; + } + program { name: "cursor_show_timer"; + in: 0.5 0.0; + after: "cursor_hide"; + } + program { name: "cursor_hide_timer"; + in: 0.2 0.0; + after: "cursor_show"; + } + } +} + +group { name: "e/widgets/entry/selection"; +// data.item: "on_foreground" "1"; + parts { + part { name: "selection"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 51 153 255 255; + } + } + } +} diff --git a/data/themes/edc/fileman.edc b/data/themes/edc/fileman.edc new file mode 100644 index 000000000..0070b5126 --- /dev/null +++ b/data/themes/edc/fileman.edc @@ -0,0 +1,2245 @@ +group { name: "e/fileman/default/list/variable"; + alias: "e/fileman/default/list/fixed"; +// data.item: "stacking" "above"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images.image: "bevel_curved_horiz_out.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "ball_small_glow.png" COMP; + images.image: "ball_small_glow_intense.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + color_class: "ilist_item_base"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_curved_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "sel_shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_rounded_horiz.png"; + image.border: 0 0 9 9; + rel1.offset: 0 -4; + rel2.offset: -1 5; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 3; + rel1.relative: 1.0 0.0; + rel1.to_x: "icon0"; + rel2.offset: -3 -3; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_item"; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "ilist_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "ilist_item_disabled"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "ilist_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "e.text.label"; + rel2.offset: 2 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "ilist_item_selected"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "ilist_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } +////////////////////////// + part { name: "icon0"; type: SPACER; + description { state: "default" 0.0; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 4 4; + rel2.relative: 0.0 1.0; + rel2.offset: 4 -5; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon0"; + rel2.to: "icon0"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + max: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "icon_base"; + rel2.offset: 2 4; + rel2.to: "icon_base"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "icon_base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 48 48 48 255; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + fixed: 1 1; + } + } + part { name: "vol"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "ball_small_glow.png"; + min: 14 14; + max: 14 14; + rel1.relative: 1.0 1.0; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + fixed: 1 1; + } + description { state: "unmounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow.png"; + visible: 1; + } + description { state: "mounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow_intense.png"; + visible: 1; + } + } +////////////////////////// + part { name: "sel_shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "sel_base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "sel_base"; + FIXED_SIZE(69, 5) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label_event"; type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + } + } + part { name: "e.swallow.entry"; type: SWALLOW; + description {state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { name: "rename"; + signal: "mouse,up,1"; source: "label_event"; + action: SIGNAL_EMIT "e,action,label,click" "e"; + } + program { + signal: "e,action,thumb,gen"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "shadow"; + after: "gen"; + } + program { + signal: "e,action,thumb,gen,alpha"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "shadow"; + after: "gen"; + } + program { name: "gen"; + action: STATE_SET "visible" 0.0; + transition: SPRING 0.7 2.0 4; + target: "icon"; + } + + /* XXX: need imagery to show a copy will happen, a move or an "ask" + program { + signal: "e,state,ask"; source: "e"; + } + program { + signal: "e,state,move"; source: "e"; + } + program { + signal: "e,state,copy"; source: "e"; + } + */ + + program { + signal: "e,state,volume,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,unmounted"; source: "e"; + action: STATE_SET "unmounted" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,mounted"; source: "e"; + action: STATE_SET "mounted" 0.0; + target: "vol"; + } + } +} + +group { name: "e/fileman/default/list_odd/variable"; + inherit: "e/fileman/default/list/variable"; + alias: "e/fileman/default/list_odd/fixed"; + parts { + part { name: "base"; + description { state: "default" 0.0; + color: 56 56 56 255; + } + } + } +} + +group { name: "e/fileman/desktop/list/fixed"; + alias: "e/fileman/desktop/list/variable"; + alias: "e/fileman/desktop/list_odd/fixed"; + alias: "e/fileman/desktop/list_odd/variable"; + inherit: "e/fileman/default/list/variable"; + parts { + part { name: "base"; + description { state: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "e/fileman/default/icon/fixed"; + alias: "e/fileman/default/icon/variable"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "glow_small.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + styles { + style { name: "fileman_icon_name"; + base: "font=Sans font_size=10 text_class=fileman_icon align=center color=#ffffffff wrap=mixed style=shadow,below shadow_color=#00000080 align=center ellipsis=1.0"; + } + style { name: "fileman_icon_name_selected"; + base: "font=Sans font_size=10 text_class=fileman_icon align=center color=#3399ffff wrap=mixed style=glow glow_color=#3399ff18 align=center glow2_color=#3399ff12 ellipsis=1.0"; + } + } + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + rel1.offset: -3 -2; + rel1.to: "sel_base"; + rel2.offset: 2 3; + rel2.to: "sel_base"; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_glow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 128; + visible: 1; + } + description { state: "hilighted" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "sel_base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +////////////////////////////// + part { name: "label0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.offset: 4 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + min: 0 20; + max: 99999 26; + fixed: 0 1; + } + } + part { name: "e.text.label"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "label0"; + rel2.to: "label0"; + rel2.offset: -1 6; + color_class: "fileman_icon"; + text { + style: "fileman_icon_name"; + align: 0.5 0.0; + text_class: "fileman_icon"; + } + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color_class: "fileman_icon_selected"; + text { + text_source: "e.text.label"; + style: "fileman_icon_name_selected"; + align: 0.5 0.0; + text_class: "fileman_icon_selected"; + } + fixed: 1 1; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +////////////////////////// + part { name: "icon0"; type: SPACER; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -1; + rel2.to_y: "label0"; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon0"; + rel2.to: "icon0"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + max: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "icon_shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "icon_base"; + rel2.offset: 2 4; + rel2.to: "icon_base"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "icon_base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 48 48 48 255; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + } + } + part { name: "vol"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "ball_small_glow.png"; + min: 14 14; + max: 14 14; + rel1.relative: 1.0 1.0; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + fixed: 1 1; + } + description { state: "unmounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow.png"; + visible: 1; + } + description { state: "mounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow_intense.png"; + visible: 1; + } + } +////////////////////////////// + part { name: "sel_shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "sel_base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "sel_base"; + FIXED_SIZE(69, 5) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +////////////////////////////// + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "label_event"; type: RECT; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + } + } + part { name: "e.swallow.entry"; type: SWALLOW; + description {state: "default" 0.0; + rel1.to: "label0"; + rel2.to: "label0"; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "hilighted" 0.0; + transition: DECELERATE 0.2; + target: "sel_glow"; + after: "sel2"; + } + program { name: "sel2"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.3; + target: "sel_glow"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "sel_glow"; + } + program { name: "rename"; + signal: "mouse,up,1"; source: "label_event"; + action: SIGNAL_EMIT "e,action,label,click" "e"; + } + program { + signal: "e,action,thumb,gen"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "icon_shadow"; + after: "gen"; + } + program { + signal: "e,action,thumb,gen,alpha"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "icon_shadow"; + after: "gen"; + } + program { name: "gen"; + action: STATE_SET "visible" 0.0; + transition: SPRING 0.7 2.0 4; + target: "icon"; + } + + /* XXX: need imagery to show a copy will happen, a move or an "ask" + program { + signal: "e,state,ask"; source: "e"; + } + program { + signal: "e,state,move"; source: "e"; + } + program { + signal: "e,state,copy"; source: "e"; + } + */ + + program { + signal: "e,state,volume,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,unmounted"; source: "e"; + action: STATE_SET "unmounted" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,mounted"; source: "e"; + action: STATE_SET "mounted" 0.0; + target: "vol"; + } + } +} + +group { name: "e/fileman/desktop/icon/fixed"; + inherit: "e/fileman/default/icon/fixed"; + alias: "e/fileman/desktop/icon/variable"; + images.image: "darken_rounded_square.png" COMP; + styles { + style { name: "fileman_icon_full"; + base: "font=Sans font_size=10 text_class=fileman_icon align=center color=#ff00ffff wrap=mixed style=shadow,below shadow_color=#00000080 align=center"; + } + } + parts { + part { name: "label1"; type: TEXTBLOCK; mouse_events: 0; + insert_after: "e.text.label"; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color_class: "fileman_icon"; + text { + text: "xxxxx"; + text_source: "e.text.label"; + style: "fileman_icon_full"; + align: 0.5 0.0; + text_class: "fileman_icon"; + max: 0 1; + } + fixed: 1 1; + visible: 0; + } + } + part { name: "label_min"; type: SPACER; + insert_after: "base"; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "label1"; + rel2.to: "label1"; + max: 99999 26; + fixed: 1 1; + } + } + part { name: "bevel"; mouse_events: 0; + insert_before: "e.text.label"; + description { state: "default" 0.0; + rel1.offset: -8 -7; + rel1.to: "e.text.label"; + rel2.offset: 7 7; + rel2.to: "label_min"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "bevel"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "bevel"; + } + } +} + +group { name: "e/fileman/default/scrollframe"; + inherit: "e/widgets/scrollframe"; + parts { + part { name: "e.swallow.bg"; type: SWALLOW; + insert_before: "e.swallow.content"; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "e.swallow.overlay"; type: SWALLOW; + insert_before: "shadow"; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "e.box.operations"; type: BOX; + insert_after: "shadow"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel1.to: "bg"; + rel2.offset: -4 -4; + rel2.to: "bg"; + align: 1.0 1.0; + box { layout: "vertical"; + padding: 0 0; + align: 1.0 1.0; + min: 1 1; + } + } + } + } +} + +group { name: "e/fileman/default/window/main"; + images.image: "bevel_dark_out.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color_class: "fwin_base"; + color: 64 64 64 255; + } + } + part { name: "e.swallow.bg"; type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.swallow.favorites"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1.offset: 4 4; + rel1.to: "region"; + rel2.offset: 4 -5; + 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: 4 4; + rel1.to: "region"; + rel2.offset: -5 -5; + 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: 4 4; + // XXX: this is a bug workaround. should be -4 4; + rel2.offset: -9 4; + rel2.relative: 1.0 0.0; + fixed: 0 1; + } + description { state: "tb_bottom" 0.0; + align: 0.5 1.0; + rel1.offset: 4 -5; + rel1.relative: 0.0 1.0; + // XXX: this is a bug workaround. should be -4 -5; + rel2.offset: -9 -5; + 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/toolbar/default/base"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 1; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "e.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + } + programs { +// program { +// signal: "e,state,orientation,left"; source: "e"; +// } +// program { +// signal: "e,state,orientation,right"; source: "e"; +// } +// program { +// signal: "e,state,orientation,top"; source: "e"; +// } +// program { +// signal: "e,state,orientation,bottom"; source: "e"; +// } + } +} + +group { name: "e/fileman/popup/default"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + 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: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans:style=Bold"; size: 10; + text_class: "fileman_popup_title"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + } +} + +group { name: "e/fileman/desktop/scrollframe"; + inherit: "e/fileman/default/scrollframe"; + parts { + part { name: "bg"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "e.swallow.content"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "shadow"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "inset"; + description { state: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "e/fileman/default/overlay"; + alias: "e/fileman/desktop/overlay"; + images.image: "darken_rounded_square.png" COMP; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + parts { + part { name: "typebuf_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy_bevel"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + rel1.offset: -12 0; + rel1.to: "e.text.busy_label"; + rel2.offset: 11 -1; + rel2.to: "e.text.busy_label"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + } + } + part { name: "e.text.busy_label"; type: TEXT; mouse_events: 0; + clip_to: "busy_clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: 12 0; + rel1.to: "knob"; + rel2.offset: 12 -1; + rel2.to: "knob"; + align: 0.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "fileman_busy"; + text { font: "Sans:style=Bold"; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "fileman_busy"; + } + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + rel1.relative: 0.0 1.0; + rel1.offset: 7 -8; + rel2.relative: 0.0 1.0; + rel2.offset: 7 -8; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { name: "knob_spinner"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "knob"; + rel2.to: "knob"; + image.normal: "glow_round_corners.png"; + map.on: 1; + map.smooth: 1; + map.rotation.center: "knob"; + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + part { name: "bevel"; mouse_events: 0; + clip_to: "typebuf_clip"; + description { state: "default" 0.0; + rel1.offset: -15 -15; + rel1.to: "e.text.typebuf_label"; + rel2.offset: 14 14; + rel2.to: "e.text.typebuf_label"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + } + } + part { name: "e.text.typebuf_label"; type: TEXT; mouse_events: 0; + clip_to: "typebuf_clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel1.offset: -8 -8; + rel2.relative: 0.5 0.5; + rel2.offset: 7 7; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "fileman_typebuf"; + text { font: "Sans:style=Bold"; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "fileman_typebuf"; + } + } + } + } + programs { + program { name: "spin"; + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "spin" 0.0; + transition: LINEAR 1.0; + target: "knob_spinner"; + after: "spin2"; + } + program { name: "spin2"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + after: "spin"; + } + program { + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "e,state,busy,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "spin3"; + } + program { name: "spin3"; + action: ACTION_STOP; + target: "spin"; + target: "spin2"; + after: "spin4"; + } + program { name: "spin4"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + } + program { + signal: "e,state,typebuf,start"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "typebuf_clip"; + } + program { + signal: "e,state,typebuf,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "typebuf_clip"; + } + } +} + +group { name: "e/fileman/default/list/drop_in"; + alias: "e/fileman/desktop/list/drop_in"; + images.image: "mini_blue_glow_arrow_0.png" COMP; + images.image: "mini_blue_glow_arrow_1.png" COMP; + images.image: "mini_blue_glow_arrow_2.png" COMP; + images.image: "mini_blue_glow_arrow_3.png" COMP; + images.image: "outline_glow.png" COMP; + images.image: "diagonal_stripes.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "outline_glow.png"; + image.border: 4 4 4 4; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "pat"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel2.to: "base"; + image.normal: "diagonal_stripes.png"; + color: 255 255 255 25; + TILED_PATTERN(240, 240) + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drop0"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_0.png"; + rel1.offset: -10 -10; + rel1.relative: 0.0 0.0; + rel2.offset: -10 -10; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 11; + rel2.offset: 11 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_1.png"; + rel1.offset: 9 -10; + rel1.relative: 1.0 0.0; + rel2.offset: 9 -10; + rel2.relative: 1.0 0.0; + align: 1.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 11; + rel2.offset: -12 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop2"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_2.png"; + rel1.offset: 9 9; + rel1.relative: 1.0 1.0; + rel2.offset: 9 9; + rel2.relative: 1.0 1.0; + align: 1.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 -12; + rel2.offset: -12 -12; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop3"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_3.png"; + rel1.offset: -10 9; + rel1.relative: 0.0 1.0; + rel2.offset: -10 9; + rel2.relative: 0.0 1.0; + align: 0.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 -12; + rel2.offset: 11 -12; + min: 1 1; + color: 255 255 255 0; + } + } + } + programs { + program { name: "drop1"; + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + after: "drop2"; + } + program { name: "drop2"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + after: "drop1"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "base"; + target: "pat"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "pat"; + } + } +} + +group { name: "e/fileman/default/list/drop_between"; + alias: "e/fileman/desktop/list/drop_between"; + images.image: "glow_small.png" COMP; + images.image: "sym_down_glow_normal.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + min: 8 8; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drop0"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_down_glow_normal.png"; + rel1.offset: 0 -20; + rel1.relative: 0.5 0.0; + rel2.offset: -1 -20; + rel2.relative: 0.5 0.0; + align: 0.5 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -1; + rel2.offset: -1 -1; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_up_glow_normal.png"; + rel1.offset: 0 19; + rel1.relative: 0.5 0.0; + rel2.offset: -1 19; + rel2.relative: 0.5 0.0; + align: 0.5 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 0; + min: 1 1; + color: 255 255 255 0; + } + } + } + programs { + program { name: "drop1"; + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "drop0"; + target: "drop1"; + after: "drop2"; + } + program { name: "drop2"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "drop0"; + target: "drop1"; + after: "drop1"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "base"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "drop0"; + target: "drop1"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "e/fileman/default/rubberband"; + images.image: "outline_glow.png" COMP; + images.image: "diagonal_stripes.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "outline_glow.png"; + image.border: 4 4 4 4; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "pat"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel2.to: "base"; + image.normal: "diagonal_stripes.png"; + color: 255 255 255 25; + TILED_PATTERN(240, 240) + } + } + } +} + +group { name: "e/fileman/default/progress"; +// min: 250 40; // this sucketh :( + images.image: "darken_rounded_square.png" COMP; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + images.image: "media_busy_progress.png" COMP; + images.image: "sym_close_light_normal.png" COMP; + images.image: "sym_close_light_selected.png" COMP; + parts { + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + rel1.to_x: "knob"; + rel1.relative: 1.0 0.0; + rel2.offset: -4 -1; + min: 12 12; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -5 -5; + rel2.offset: 4 4; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + fixed: 1 1; + } + } + part { name: "e.text.info"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color_class: "fileman_icon"; + color: 255 255 255 255; + color3: 0 0 0 128; + rel1.relative: 1.0 0.0; + rel1.to_x: "knob"; + rel2.relative: 0.0 1.0; + rel2.to_x: "close_event"; + min: 160 0; + text { font: "Sans"; size: 10; + min: 0 1; + align: 0.0 0.5; + text_class: "fileman_icon"; + } + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -20 -20; + rel2.offset: 19 19; + color: 255 255 255 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + rel1.offset: -4 -4; + rel2.relative: 0.0 1.0; + rel2.offset: -4 3; + align: 0.0 0.5; + } + } + part { name: "knob_spinner"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + rel1.to: "knob"; + rel2.to: "knob"; + image.normal: "glow_round_corners.png"; + map.on: 1; + map.smooth: 1; + map.rotation.center: "knob"; + fixed: 1 1; + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + part { name: "close"; + description { state: "default" 0.0; + image.normal: "sym_close_light_normal.png"; + rel1.to: "close_event"; + rel2.to: "close_event"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_close_light_selected.png"; + } + } + part { name: "close_event"; type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.relative: 1.0 0.0; + rel1.offset: -4 0; + rel2.offset: -4 -1; + color: 0 0 0 0; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + } + part { name: "progress"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: -5 0; + rel2.to: "e.gauge.bar"; + rel2.offset: 4 -1; + image.normal: "media_busy_progress.png"; + image.border: 5 5 0 0; + min: 10 40; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { name: "e.gauge.bar"; type: SPACER; mouse_events: 0; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "base"; + description { state: "default" 0.0; + } + } + } +/* we can also use messages with floats for progresss. + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT) && (id == 1)) { + new Float:val; + val = getfarg(2); + // val 0.0 -. 1.0 percentage + custom_state(PART:"progress", "default", 0.0); + set_state_val(PART:"progress", STATE_REL2, val, 1.0); + set_state(PART:"progress", "custom", 0.0); + } + } + } + */ + programs { + program { name: "spin"; + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "spin" 0.0; + transition: LINEAR 1.0; + target: "knob_spinner"; + after: "spin2"; + } + program { name: "spin2"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + after: "spin"; + } + program { + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "e,state,busy,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "spin3"; + } + program { name: "spin3"; + action: ACTION_STOP; + target: "spin"; + target: "spin2"; + after: "spin4"; + } + program { name: "spin4"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + } + program { + signal: "mouse,down,1*"; source: "close_event"; + action: STATE_SET "selected" 0.0; + target: "close"; + } + program { + signal: "mouse,up,1*"; source: "close_event"; + action: STATE_SET "default" 0.0; + target: "close"; + } + program { + signal: "mouse,clicked,1*"; source: "close_event"; + action: SIGNAL_EMIT "e,fm,operation,abort" ""; + } +/* XXX: implement these + program { + signal: "e,action,set,need_attention"; source: "e"; + } + program { + signal: "e,action,set,normal"; source: "e"; + } + program { + signal: "e,action,icon,unknown"; source: "e"; + } + program { + signal: "e,action,icon,copy"; source: "e"; + } + program { + signal: "e,action,icon,move"; source: "e"; + } + program { + signal: "e,action,icon,secure_delete"; source: "e"; + } + */ + } +} + +group { name: "modules/efm_navigation/main"; + images.image: "shadow_inset_light.png" COMP; + images.image: "shadow_angled_in_light.png" COMP; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + images.image: "sym_reload_light_normal.png" COMP; + images.image: "sym_reload_glow_normal.png" COMP; + images.image: "sym_heart_light_normal.png" COMP; + images.image: "sym_heart_glow_normal.png" COMP; + parts { + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "back"; + rel2.to: "favorite"; + fixed: 1 1; + } + } + part { name: "e.swallow.pathbar"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to_x: "base"; + rel1.relative: 1.0 0.0; + rel1.offset: 3 4; + rel2.offset: -4 -4; + } + } + +#define BUTTON(_NAME, _REL, _ICON, _ACTION) \ + part { name: _NAME"_shadow1"; \ + description { state: "default" 0.0; \ + rel1.to: _REL; \ + rel2.to: _REL; \ + image.normal: "shadow_inset_light.png"; \ + fixed: 1 1; \ + visible: 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0; \ + visible: 1; \ + } \ + } \ + part { name: _NAME"_shadow2"; \ + description { state: "default" 0.0; \ + rel1.to: _REL; \ + rel2.to: _REL; \ + image.normal: "shadow_angled_in_light.png"; \ + image.border: 16 16 0 0; \ + fixed: 1 1; \ + visible: 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0; \ + visible: 1; \ + } \ + } \ + part { name: _NAME"_icon"; \ + description { state: "default" 0.0; \ + rel1.to: _REL; \ + rel2.to: _REL; \ + image.normal: "sym_"_ICON"_light_normal.png"; \ + min: 15 15; \ + max: 15 15; \ + fixed: 1 1; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0; \ + image.normal: "sym_"_ICON"_glow_normal.png"; \ + } \ + } \ + program { \ + signal: "mouse,down,1*"; source: _REL; \ + action: STATE_SET "active" 0.0; \ + target: _NAME"_shadow1"; \ + target: _NAME"_shadow2"; \ + target: _NAME"_icon"; \ + } \ + program { \ + signal: "mouse,up,1*"; source: _REL; \ + action: STATE_SET "default" 0.0; \ + target: _NAME"_shadow1"; \ + target: _NAME"_shadow2"; \ + target: _NAME"_icon"; \ + } \ + program { \ + signal: "mouse,clicked,1*"; source: _REL; \ + action: SIGNAL_EMIT "e,action,"_ACTION",click" ""; \ + } \ + + BUTTON("go_back", "back", "left", "back") + BUTTON("go_forward", "forward", "right", "forward") + BUTTON("go_parent", "parent", "up", "up") + BUTTON("go_reload", "reload", "reload", "refresh") + BUTTON("go_fav", "favorite", "heart", "favorites") + + part { name: "back"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 6 0; + rel2.relative: 0.0 1.0; + rel2.offset: 6 -1; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "forward"; type: RECT; + description { state: "default" 0.0; + rel1.to: "back"; + rel1.relative: 1.0 0.0; + rel2.to: "back"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "parent"; type: RECT; + description { state: "default" 0.0; + rel1.to: "forward"; + rel1.relative: 1.0 0.0; + rel2.to: "forward"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "reload"; type: RECT; + description { state: "default" 0.0; + rel1.to: "parent"; + rel1.relative: 1.0 0.0; + rel2.to: "parent"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "favorite"; type: RECT; + description { state: "default" 0.0; + rel1.to: "reload"; + rel1.relative: 1.0 0.0; + rel2.to: "reload"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + } +} + +group { name: "modules/efm_navigation/pathbar_button"; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + parts { + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 6 6; + rel2.offset: -7 -6; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "sel_label"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "e.text.label"; + rel2.offset: 3 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "button_selected"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "button_selected"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + rel1.relative: 0.0 1.0; + rel1.offset: -3 -6; + rel2.offset: 2 3; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "sel_label"; + target: "bar"; + } + program { + signal: "e,state,default"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "sel_label"; + target: "bar"; + } + } +} + +group { name: "modules/efm_navigation/pathbar_scrollframe"; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "horiz_bar_inset.png" COMP; + parts { + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel1.offset: -3 -50; + rel2.to: "e.swallow.content"; + rel2.offset: 2 49; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "arrow1_ev"; + rel2.relative: 0.0 1.0; + rel2.to_x: "arrow2_ev"; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -4; + rel1.to_x: "clipper"; + rel2.offset: 0 2; + rel2.to_x: "clipper"; + image.normal: "horiz_bar_inset.png"; + image.border: 7 7 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.dragable.hbar"; mouse_events: 0; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "clipper"; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + visible: 0; + } + } + part { name: "arrow_clipper"; type: RECT; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow1"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow1_ev"; + rel2.to: "arrow1_ev"; + image.normal: "sym_left_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + } + } + part { name: "arrow1_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + part { name: "arrow2"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow2_ev"; + rel2.to: "arrow2_ev"; + image.normal: "sym_right_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "arrow2_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + } + programs { + program { + signal: "e,action,show,hbar"; source: "e"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + program { + signal: "e,action,hide,hbar"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: SIGNAL_EMIT "e,action,prev" "e"; + after: "arrow1_repeat"; + } + program { name: "arrow1_repeat"; + action: SIGNAL_EMIT "e,action,prev" "e"; + in: 0.3 0.0; + after: "arrow1_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: ACTION_STOP; + target: "arrow1_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow1"; + } + + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: STATE_SET "default" 0.0; + target: "arrow1"; + } + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: SIGNAL_EMIT "e,action,next" "e"; + after: "arrow2_repeat"; + } + program { name: "arrow2_repeat"; + action: SIGNAL_EMIT "e,action,next" "e"; + in: 0.3 0.0; + after: "arrow2_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: ACTION_STOP; + target: "arrow2_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow2"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: STATE_SET "default" 0.0; + target: "arrow2"; + } + } +} diff --git a/data/themes/edc/frame.edc b/data/themes/edc/frame.edc new file mode 100644 index 000000000..b886a5899 --- /dev/null +++ b/data/themes/edc/frame.edc @@ -0,0 +1,101 @@ +group { name: "e/widgets/frame"; + images.image: "shadow_square_tiny.png" COMP; + images.image: "vgrad_med_curved.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "holes_tiny_vert.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 1; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 2 0; + rel1.to_y: "top"; + rel2.offset: -3 -3; + color: 64 64 64 255; + } + } + part { name: "top"; + description { state: "default" 0.0; + image.normal: "vgrad_med_curved.png"; + rel1.offset: 2 2; + rel2.to_y: "e.text.label"; + rel2.offset: -3 -1; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "edge1"; + description { state: "default" 0.0; + image.normal: "holes_tiny_vert.png"; + rel1.offset: 4 0; + rel1.to_y: "e.text.label"; + rel2.offset: 4 -1; + rel2.relative: 0.0 1.0; + rel2.to_y: "e.text.label"; + align: 0.0 0.5; + FIXED_SIZE(3, 11) + } + } + part { name: "edge2"; + description { state: "default" 0.0; + image.normal: "holes_tiny_vert.png"; + rel1.offset: -5 0; + rel1.to_y: "e.text.label"; + rel1.relative: 1.0 0.0; + rel2.offset: -5 -1; + rel2.relative: 1.0 1.0; + rel2.to_y: "e.text.label"; + align: 1.0 0.5; + FIXED_SIZE(3, 11) + } + } + part { name: "e.text.label"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "frame"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 2; + rel1.to_x: "edge1"; + rel2.relative: 0.0 0.0; + rel2.offset: -2 2; + rel2.to_x: "edge2"; + align: 0.0 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: "Sans:style=Bold"; size: 10; + text_class: "frame"; + align: 0.0 0.0; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 0; + rel1.to_y: "e.text.label"; + rel2.offset: -6 -6; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + } +} diff --git a/data/themes/edc/gadman.edc b/data/themes/edc/gadman.edc new file mode 100644 index 000000000..99319b9af --- /dev/null +++ b/data/themes/edc/gadman.edc @@ -0,0 +1,38 @@ +group { name: "e/gadman/popup"; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "bg"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_tall.png"; + fill.smooth: 0; + TILED_HORIZ(40) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + FIXED_SIZE(69, 5) + } + } + } +} + diff --git a/data/themes/edc/ilist.edc b/data/themes/edc/ilist.edc new file mode 100644 index 000000000..c12641d24 --- /dev/null +++ b/data/themes/edc/ilist.edc @@ -0,0 +1,418 @@ +group { name: "e/ilist"; + images.image: "darken_rounded_square.png" COMP; + parts { + part { name: "typebuf_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "bevel"; mouse_events: 0; + clip_to: "typebuf_clip"; + description { state: "default" 0.0; + rel1.offset: -15 -15; + rel1.to: "e.text.label"; + rel2.offset: 14 14; + rel2.to: "e.text.label"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + clip_to: "typebuf_clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel1.offset: -8 -8; + rel2.relative: 0.5 0.5; + rel2.offset: 7 7; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_typebuf"; + text { font: "Sans:style=Bold"; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "ilist_typebuf"; + } + } + } + } + programs { + program { + signal: "e,state,typebuf,start"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "typebuf_clip"; + } + program { + signal: "e,state,typebuf,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "typebuf_clip"; + } + } +} + +group { name: "e/widgets/ilist"; +// data.item: "stacking" "above"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images.image: "bevel_curved_horiz_out.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + color_class: "ilist_item_base"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_curved_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "sel_shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_rounded_horiz.png"; + image.border: 0 0 9 9; + rel1.offset: 0 -4; + rel2.offset: -1 5; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 3; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.swallow.icon"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.swallow.end"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_item"; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "ilist_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "ilist_item_disabled"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "ilist_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "e.text.label"; + rel2.offset: 2 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "ilist_item_selected"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "ilist_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.swallow.end"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + } + part { name: "sel_shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "sel_base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "sel_base"; + FIXED_SIZE(69, 5) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + } +} + +group { name: "e/widgets/ilist_odd"; + inherit: "e/widgets/ilist"; + parts { + part { name: "base"; + description { state: "default" 0.0; + color: 56 56 56 255; + } + } + } +} + +group { name: "e/widgets/ilist_header"; + alias: "e/widgets/ilist_header_odd"; + data.item: "stacking" "above"; + images.image: "dot_pattern.png" COMP; + images.image: "inset_shadow.png" COMP; + images.image: "shadow_vertical_dark.png" COMP; + images.image: "horizontal_separated_bar_glow.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 48 48 48 255; + color_class: "ilist_item_base"; + } + } + part { name: "pat"; + description { state: "default" 0.0; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_vertical_dark.png"; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 6; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.swallow.icon"; + rel2.offset: -3 -7; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.swallow.end"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_item_header"; + text { font: "Sans:style=Bold"; size: 10; + min: 0 1; + align: 0.0 0.5; + text_class: "ilist_item"; + } + } + } + part { name: "e.swallow.end"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + } + part { name: "shadow2"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow.png"; + image.border: 5 5 7 3; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -5 -10; + rel1.relative: 0.0 1.0; + rel2.offset: 4 4; + image.normal: "horizontal_separated_bar_glow.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + fixed: 0 1; + } + } + } +} + +group { name: "e/widgets/ilist/toggle_end"; + images.image: "led_dark.png" COMP; + images.image: "led_light.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "led_dark.png"; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 32 32; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + image.normal: "led_light.png"; + } + } + } + programs { + program { + signal: "e,state,checked"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: BOUNCE 0.4 0.5 4; + target: "base"; + } + program { + signal: "e,state,unchecked"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + diff --git a/data/themes/edc/label.edc b/data/themes/edc/label.edc new file mode 100644 index 000000000..62c2d5690 --- /dev/null +++ b/data/themes/edc/label.edc @@ -0,0 +1,37 @@ +group { name: "e/widgets/label"; + parts { + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "label_text"; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "label"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + } + programs { + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "e.text.label"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + } + } +} diff --git a/data/themes/edc/menu.edc b/data/themes/edc/menu.edc new file mode 100644 index 000000000..a3900d3f5 --- /dev/null +++ b/data/themes/edc/menu.edc @@ -0,0 +1,521 @@ +group { name: "e/widgets/menu/default/background"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "top"; + color: 64 64 64 255; + } + } + part { name: "top"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel2.to_y: "e.text.title"; + rel2.offset: -1 0; + min: 0 23; + align: 0.0 0.0; + fill.smooth: 0; + TILED_HORIZ(120) + fixed: 0 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + min: 0 0; + rel2.offset: -1 1; + } + } + part { name: "e.text.title"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "menu_title"; + rel1.relative: 0.0 0.0; + rel1.offset: 1 0; + rel2.relative: 1.0 0.0; + rel2.offset: -2 -1; + align: 0.5 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + max: 0 0; + text { font: "Sans:style=Bold"; size: 10; + text_class: "menu_title"; + align: 0.5 0.0; + min: 0 0; + } + fixed: 0 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 1 3; + rel2.offset: -2 3; + max: 99999 99999; + text.min: 0 1; + visible: 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: 0 3; + rel1.to_y: "bevel"; + rel2.offset: -1 -4; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel1.to_y: "top"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "top"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "top"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "e,action,show,title"; source: "e"; + action: STATE_SET "active" 0.0; + target: "top"; + target: "e.text.title"; + target: "e.swallow.content"; + } + program { + signal: "e,action,hide,title"; source: "e"; + action: STATE_SET "default" 0.0; + target: "top"; + target: "e.text.title"; + target: "e.swallow.content"; + } + } +} + +group { name: "e/widgets/menu/default/separator"; + images.image: "separator_horiz.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "separator_horiz.png"; + rel1.offset: 0 2; + rel2.offset: -1 -3; + min: 0 2; + fill.smooth: 0; + } + } + } +} + +group { name: "e/widgets/menu/default/item_bg"; + alias: "e/widgets/menu/default/submenu_bg"; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_rounded_horiz.png"; + image.border: 0 0 9 9; + rel1.offset: 0 -4; + rel2.offset: -1 5; + fill.smooth: 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: 3 3; + rel2.offset: -1 -4; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "shadow"; + target: "base"; + target: "bevel"; + target: "shine"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "shadow"; + target: "base"; + target: "bevel"; + target: "shine"; + } + } +} + +group { name: "e/widgets/menu/default/icon"; + parts { + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + color: 255 255 255 128; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + min: 16 16; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + } + programs { + program { + signal: "e,state,enable"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip"; + } + program { + signal: "e,state,disable"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "clip"; + } + } +} + +group { name: "e/widgets/menu/default/label"; + parts { + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 5 -1; + rel2.offset: -4 -1; + color: 255 255 255 255; + color3: 0 0 0 128; + 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; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "menu_item_disabled"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "e.text.label"; + rel2.offset: 2 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "menu_item_active"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,enable"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,disable"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + } +} + +group { name: "e/widgets/menu/default/submenu"; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "vertical_separated_bar_glow.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_right_light_normal.png"; + rel2.offset: -2 -1; + min: 15 15; + max: 15 15; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -10 -8; + rel2.offset: 4 7; + image.normal: "vertical_separated_bar_glow.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "base"; + target: "bar"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "bar"; + } + } +} + +group { name: "e/widgets/menu/default/check"; + images.image: "inset_shadow_tiny.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "sym_check_alum.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel1.to: "inset"; + rel2.offset: -2 -2; + rel2.to: "inset"; + color: 24 24 24 255; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow_tiny.png"; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + min: 13 13; + max: 13 13; + } + } + part { name: "indicator"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "sym_check_alum.png"; + min: 11 11; + max: 11 11; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { +// program { +// signal: "e,state,selected"; source: "e"; +// } +// program { +// signal: "e,state,unselected"; source: "e"; +// } + program { + signal: "e,state,on"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "e,state,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + } +} + +group { name: "e/widgets/menu/default/radio"; + images.image: "inset_shadow_circle_tiny.png" COMP; + images.image: "sym_radio_alum.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow_circle_tiny.png"; + min: 13 13; + max: 13 13; + } + } + part { name: "indicator"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "sym_radio_alum.png"; + min: 11 11; + max: 11 11; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { +// program { +// signal: "e,state,selected"; source: "e"; +// } +// program { +// signal: "e,state,unselected"; source: "e"; +// } + program { + signal: "e,state,on"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "e,state,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + } +} diff --git a/data/themes/edc/pager.edc b/data/themes/edc/pager.edc new file mode 100644 index 000000000..3ec3865b8 --- /dev/null +++ b/data/themes/edc/pager.edc @@ -0,0 +1,456 @@ +group { name: "e/modules/pager/popup"; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_tall.png"; + fill.smooth: 0; + TILED_HORIZ(40) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to_y: "e.text.label"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 0; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -2; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "border_title"; + rel1.to: "base"; + rel1.offset: 0 1; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 1; + align: 0.5 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: "Sans:style=Bold"; size: 10; + text_class: "title_bar"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + FIXED_SIZE(69, 5) + } + } + } +} + +group { name: "e/modules/pager/desk"; + images.image: "vgrad_med_darker.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "inset_shadow.png" COMP; + images.image: "downlight_glow.png" COMP; + images.image: "mini_blue_glow_arrow_0.png" COMP; + images.image: "mini_blue_glow_arrow_1.png" COMP; + images.image: "mini_blue_glow_arrow_2.png" COMP; + images.image: "mini_blue_glow_arrow_3.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med_darker.png"; + rel1.to: "inset"; + rel1.offset: 1 1; + rel2.to: "inset"; + rel2.offset: -2 -2; + fill.smooth: 0; + TILED_HORIZ(32) + } + } + part { name: "pat"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "dot_pattern.png"; + rel1.to: "base"; + rel2.to: "base"; + TILED_PATTERN(256, 256) + } + } + part { name: "e.background"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "base"; + rel2.to: "base"; + fill.smooth: 0; + } + } + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow.png"; + image.border: 5 5 7 3; + image.middle: 0; + rel1.to: "base"; + rel2.to: "base"; + fill.smooth: 0; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow.png"; + image.border: 0 0 3 0; + rel1.to: "base"; + rel2.to: "base"; + color: 255 255 255 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "module_label"; + rel1.to: "base"; + rel2.to: "base"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans"; size: 10; + text_class: "module_small"; + align: 0.5 0.5; + } + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.offset: 1 2; + rel2.offset: -2 -3; + fill.smooth: 0; + } + } + part { name: "drop0"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_0.png"; + rel1.to: "base"; + rel1.offset: -1 -1; + rel1.relative: 0.0 0.0; + rel2.to: "base"; + rel2.relative: 0.0 0.0; + rel2.offset: -1 -1; + align: 0.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 11; + rel2.offset: 11 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_1.png"; + rel1.to: "base"; + rel1.offset: 0 -1; + rel1.relative: 1.0 0.0; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: 0 -1; + align: 1.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 11; + rel2.offset: -12 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop2"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_2.png"; + rel1.to: "base"; + rel1.offset: 0 0; + rel1.relative: 1.0 1.0; + rel2.to: "base"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 0; + align: 1.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 -12; + rel2.offset: -12 -12; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop3"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_3.png"; + rel1.to: "base"; + rel1.offset: -1 0; + rel1.relative: 0.0 1.0; + rel2.to: "base"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 0; + align: 0.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 -12; + rel2.offset: 11 -12; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "e.eventarea"; type: RECT; mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + color: 255 255 255 0; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + transition: BOUNCE 0.4 0.5 4; + target: "glow"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.2; + target: "glow"; + } + program { + signal: "e,preview,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.background"; + } + program { + signal: "e,preview,off"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "e.background"; + } + program { name: "drop1"; + signal: "e,action,drag,in"; source: "e"; + action: STATE_SET "active" 0.0; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + after: "drop2"; + } + program { name: "drop2"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + after: "drop1"; + } + program { + signal: "e,action,drag,out"; source: "e"; + action: STATE_SET "default" 0.0; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + } + program { + signal: "e,name,show"; source: "e"; + action: STATE_SET "active" 0.0; + target: "e.text.label"; + } + program { + signal: "e,name,hide"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + } + } +} + +group { name: "e/modules/pager/window"; + images.image: "mini_box_bevel_shadow.png" COMP; + images.image: "mini_box_glow.png" COMP; + parts { + part { name: "base"; type: SPACER; + repeat_events: 1; + description { state: "default" 0.0; + } + description { state: "urgent" 0.0; + rel1.offset: 0 -5; + rel2.offset: -1 -6; + } + } + part { name: "win"; + description { state: "default" 0.0; + image.normal: "mini_box_bevel_shadow.png"; + image.border: 7 7 7 7; + rel1.offset: -5 -5; + rel1.to: "base"; + rel2.offset: 4 4; + rel2.to: "base"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "mini_box_glow.png"; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 2 2; + rel2.to: "base"; + rel2.offset: -3 -3; + align: 1.0 1.0; + max: 24 24; + aspect: 1.0 1.0; aspect_preference: BOTH; + } + description { state: "preview" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + description { state: "preview" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "active" 0.0; + target: "win"; + } + program { + signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "win"; + } + program { + signal: "e,preview,on"; source: "e"; + action: STATE_SET "preview" 0.0; + target: "e.swallow.content"; + target: "e.swallow.icon"; + } + program { + signal: "e,preview,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.content"; + target: "e.swallow.icon"; + } + program { name: "urg1"; + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "urgent" 0.0; + transition: DECELERATE 0.2; + target: "base"; + after: "urg2"; + } + program { name: "urg2"; + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.2; + target: "base"; + after: "urg1"; + } + program { + signal: "e,state,not_urgent"; source: "e"; + action: ACTION_STOP; + target: "urg1"; + target: "urg2"; + after: "urg0"; + } + program { name: "urg0"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} diff --git a/data/themes/edc/pointer.edc b/data/themes/edc/pointer.edc new file mode 100644 index 000000000..734279eae --- /dev/null +++ b/data/themes/edc/pointer.edc @@ -0,0 +1,96 @@ +group { name: "e/pointer/enlightenment/default/color"; + images.image: "pointer.png" COMP; + images.image: "pointer_glow.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "pointer.png"; + } + } + part { name: "glow"; + description { state: "default" 0.0; + image.normal: "pointer_glow.png"; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "faded" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + } + part { name: "e.swallow.hotspot"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.relative: (6/32) (8/32); + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: (6/32) (8/32); + rel2.offset: 0 0; + } + } + } + programs { + program { + signal: "e,action,mouse,down"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "glow"; + after: "fade"; + } + program { name: "fade"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + target: "glow"; + } + program { name: "pulse"; + signal: "e,state,mouse,idle"; source: "e"; + in: 10.0 0.0; + action: STATE_SET "faded" 0.0; + transition: SINUSOIDAL 0.25; + target: "glow"; + after: "pulse2"; + } + program { name: "pulse2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + target: "glow"; + after: "pulse"; + } + program { + signal: "e,state,mouse,active"; source: "e"; + action: STATE_SET "default" 0.0; + target: "glow"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "pulse"; + target: "pulse2"; + } + } +} + +group { name: "e/pointer/enlightenment/default/mono"; + images.image: "pointer_mono.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "pointer_mono.png"; + min: 32 32; + max: 32 32; + } + } + part { name: "e.swallow.hotspot"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.offset: 6 8; + rel1.to: "base"; + rel2.offset: 6 8; + rel2.to: "base"; + rel2.relative: 0.0 0.0; + } + } + } +} diff --git a/data/themes/edc/preview.edc b/data/themes/edc/preview.edc new file mode 100644 index 000000000..d3d23b9b4 --- /dev/null +++ b/data/themes/edc/preview.edc @@ -0,0 +1,49 @@ +group { name: "e/widgets/preview"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + color: 64 64 64 255; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow.png"; + image.border: 5 5 7 3; + image.middle: 0; + rel1.to: "bg"; + rel2.to: "bg"; + fill.smooth: 0; + color: 255 255 255 128; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + fill.smooth: 0; + } + } + } +} diff --git a/data/themes/edc/radio.edc b/data/themes/edc/radio.edc new file mode 100644 index 000000000..2fe82f232 --- /dev/null +++ b/data/themes/edc/radio.edc @@ -0,0 +1,141 @@ +group { name: "e/widgets/radio"; + images.image: "inset_shadow_circle_tiny.png" COMP; + images.image: "inset_circle_tiny.png" COMP; + images.image: "sym_radio_alum.png" COMP; + parts { + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + image.normal: "inset_shadow_circle_tiny.png"; + align: 0.0 0.5; + min: 13 13; + max: 13 13; + fixed: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "inset_circle_tiny.png"; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "indicator"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "inset"; + rel2.to: "inset"; + image.normal: "sym_radio_alum.png"; + min: 11 11; + max: 11 11; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.to_x: "inset"; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "radio_text"; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "radio_button"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,on"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "e,state,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "e,action,toggle" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "inset"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "inset"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + } +} + +group { name: "e/widgets/radio_icon"; + inherit: "e/widgets/radio"; + parts { + part { name: "e.swallow.icon"; type: SWALLOW; + insert_before: "event"; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.relative: 1.0 0.0; + rel1.to_x: "inset"; + rel2.offset: 2 -3; + rel2.relative: 1.0 1.0; + rel1.to_x: "inset"; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + part { name: "e.text.label"; + description { state: "default" 0.0; + rel1.to_x: "e.swallow.icon"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + } +} diff --git a/data/themes/edc/scrollframe.edc b/data/themes/edc/scrollframe.edc new file mode 100644 index 000000000..4c79951b1 --- /dev/null +++ b/data/themes/edc/scrollframe.edc @@ -0,0 +1,709 @@ +group { name: "e/widgets/scrollframe"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "runner_horiz.png" COMP; + images.image: "runner_vert.png" COMP; + images.image: "runner_glow_horiz.png" COMP; + images.image: "runner_glow_vert.png" COMP; + images.image: "holes_tiny_horiz.png" COMP; + images.image: "holes_tiny_vert.png" COMP; + images.image: "holes_tiny_glow_horiz.png" COMP; + images.image: "holes_tiny_glow_vert.png" COMP; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "glow_small.png" COMP; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_down_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + images.image: "sym_down_glow_normal.png" COMP; + parts { +// vert bar //////////////////////////////////////////////////////////////// + part { name: "sb_vbar_show"; type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -11 -11; + rel2.offset: 10 10; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "sb_vbar"; type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 15 15; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -1 0; + rel2.relative: 1.0 0.0; + rel2.to_y: "sb_hbar"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 0 99999; + } + } + part { name: "sb_vbar_base"; type: RECT; + clip_to: "sb_vbar"; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel1.to: "sb_vbar_a1"; + rel2.relative: 1.0 0.0; + rel2.to: "sb_vbar_a2"; + } + } + part { name: "sb_vbar_p1"; type: RECT; + clip_to: "sb_vbar"; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel1.to: "sb_vbar_a1"; + rel2.relative: 1.0 0.0; + rel2.to: "e.dragable.vbar"; + } + } + part { name: "sb_vbar_p2"; type: RECT; + clip_to: "sb_vbar"; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 1.0; + rel1.to: "e.dragable.vbar"; + rel2.relative: 1.0 0.0; + rel2.to: "sb_vbar_a2"; + } + } + part { name: "e.dragable.vbar"; type: RECT; + clip_to: "sb_vbar"; + scale: 1; + dragable.x: 0 0 0; + dragable.y: 1 1 0; + dragable.confine: "sb_vbar_base"; + description { state: "default" 0.0; + min: 15 15; + rel1.relative: 0.5 0.5; + rel1.to: "sb_vbar_base"; + rel2.relative: 0.5 0.5; + rel2.to: "sb_vbar_base"; + color: 0 0 0 0; + } + } + part { name: "sb_vbar_a1"; type: RECT; + clip_to: "sb_vbar"; + description { state: "default" 0.0; + min: 15 15; + align: 0.5 0.0; + aspect: 1.0 1.0; aspect_preference: HORIZONTAL; + color: 0 0 0 0; + rel1.to: "sb_vbar"; + rel2.to: "sb_vbar"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 0; + } + } + part { name: "sb_vbar_a2"; type: RECT; + clip_to: "sb_vbar"; + description { state: "default" 0.0; + min: 15 15; + align: 0.5 1.0; + aspect: 1.0 1.0; aspect_preference: HORIZONTAL; + color: 0 0 0 0; + rel1.to: "sb_vbar"; + rel1.offset: 0 -1; + rel1.relative: 0.0 1.0; + rel2.to: "sb_vbar"; + } + } + program { + signal: "e,action,show,vbar"; source: "e"; + action: STATE_SET "default" 0.0; + target: "sb_vbar"; + target: "sb_vbar_show"; + } + program { + signal: "e,action,hide,vbar"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar"; + target: "sb_vbar_show"; + } + program { + signal: "mouse,down,1*"; source: "sb_vbar_a1"; + action: STATE_SET "clicked" 0.0; + target: "sb_vbar_a1"; + target: "arrow1_vbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_vbar_a1"; + action: DRAG_VAL_STEP 0.0 -1.0; + target: "e.dragable.vbar"; + } + program { + signal: "mouse,up,1"; source: "sb_vbar_a1"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_a1"; + target: "arrow1_vbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_vbar_a2"; + action: STATE_SET "clicked" 0.0; + target: "sb_vbar_a2"; + target: "arrow2_vbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_vbar_a2"; + action: DRAG_VAL_STEP 0.0 1.0; + target: "e.dragable.vbar"; + } + program { + signal: "mouse,up,1"; source: "sb_vbar_a2"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_a2"; + target: "arrow2_vbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_vbar_p1"; + action: DRAG_VAL_PAGE 0.0 -1.0; + target: "e.dragable.vbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_vbar_p2"; + action: DRAG_VAL_PAGE 0.0 1.0; + target: "e.dragable.vbar"; + } + program { + signal: "mouse,down,1*"; source: "e.dragable.vbar"; + action: STATE_SET "clicked" 0.0; + target: "e.dragable.vbar"; + target: "shadow_vbar"; + target: "glow_vbar"; + target: "center_glow_vbar"; + } + program { + signal: "mouse,up,1"; source: "e.dragable.vbar"; + action: STATE_SET "default" 0.0; + target: "e.dragable.vbar"; + target: "shadow_vbar"; + target: "glow_vbar"; + target: "center_glow_vbar"; + } + +// horiz bar ///////////////////////////////////////////////////////////// + part { name: "sb_hbar_show"; type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -11 -11; + rel2.offset: 10 10; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "sb_hbar"; type: RECT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 15 15; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -1; + rel2.relative: 0.0 1.0; + rel2.to_x: "sb_vbar"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: 99999 0; + } + } + part { name: "sb_hbar_base"; type: RECT; + clip_to: "sb_hbar"; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + rel1.to: "sb_hbar_a1"; + rel2.relative: 0.0 1.0; + rel2.to: "sb_hbar_a2"; + } + } + part { name: "sb_hbar_p1"; type: RECT; + clip_to: "sb_hbar"; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + rel1.to: "sb_hbar_a1"; + rel2.relative: 0.0 1.0; + rel2.to: "e.dragable.hbar"; + } + } + part { name: "sb_hbar_p2"; type: RECT; + clip_to: "sb_hbar"; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 1.0 0.0; + rel1.to: "e.dragable.hbar"; + rel2.relative: 0.0 1.0; + rel2.to: "sb_hbar_a2"; + } + } + part { name: "e.dragable.hbar"; type: RECT; + clip_to: "sb_hbar"; + scale: 1; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "sb_hbar_base"; + description { state: "default" 0.0; + min: 15 15; + rel1.relative: 0.5 0.5; + rel1.to: "sb_hbar_base"; + rel2.relative: 0.5 0.5; + rel2.to: "sb_hbar_base"; + color: 0 0 0 0; + } + } + part { name: "sb_hbar_a1"; type: RECT; + clip_to: "sb_hbar"; + description { state: "default" 0.0; + min: 15 15; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + rel1.to: "sb_hbar"; + rel2.to: "sb_hbar"; + rel2.relative: 0.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "sb_hbar_a2"; type: RECT; + clip_to: "sb_hbar"; + description { state: "default" 0.0; + min: 15 15; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + rel1.to: "sb_hbar"; + rel1.offset: -1 0; + rel1.relative: 1.0 0.0; + rel2.to: "sb_hbar"; + } + } + program { + signal: "e,action,show,hbar"; source: "e"; + action: STATE_SET "default" 0.0; + target: "sb_hbar"; + target: "sb_hbar_show"; + } + program { + signal: "e,action,hide,hbar"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar"; + target: "sb_hbar_show"; + } + program { + signal: "mouse,down,1*"; source: "sb_hbar_a1"; + action: STATE_SET "clicked" 0.0; + target: "sb_hbar_a1"; + target: "arrow1_hbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_hbar_a1"; + action: DRAG_VAL_STEP -1.0 0.0; + target: "e.dragable.hbar"; + } + program { + signal: "mouse,up,1"; source: "sb_hbar_a1"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_a1"; + target: "arrow1_hbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_hbar_a2"; + action: STATE_SET "clicked" 0.0; + target: "sb_hbar_a2"; + target: "arrow2_hbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_hbar_a2"; + action: DRAG_VAL_STEP 1.0 0.0; + target: "e.dragable.hbar"; + } + program { + signal: "mouse,up,1"; source: "sb_hbar_a2"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_a2"; + target: "arrow2_hbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_hbar_p1"; + action: DRAG_VAL_PAGE -1.0 0.0; + target: "e.dragable.hbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_hbar_p2"; + action: DRAG_VAL_PAGE 1.0 0.0; + target: "e.dragable.hbar"; + } + program { + signal: "mouse,down,1*"; source: "e.dragable.hbar"; + action: STATE_SET "clicked" 0.0; + target: "e.dragable.hbar"; + target: "shadow_hbar"; + target: "glow_hbar"; + target: "center_glow_hbar"; + } + program { + signal: "mouse,up,1"; source: "e.dragable.hbar"; + action: STATE_SET "default" 0.0; + target: "e.dragable.hbar"; + target: "shadow_hbar"; + target: "glow_hbar"; + target: "center_glow_hbar"; + } + + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + color: 64 64 64 200; + color_class: "scrollframe_base"; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.relative: 0.0 0.0; + rel2.offset: -2 -2; + rel2.to_x: "sb_vbar"; + rel2.to_y: "sb_hbar"; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow.png"; + image.border: 5 5 7 3; + image.middle: 0; + rel1.to: "bg"; + rel2.to: "bg"; + fill.smooth: 0; + color: 255 255 255 128; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + fill.smooth: 0; + } + } + part { name: "runner_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + image.normal: "runner_vert.png"; + image.border: 0 0 2 2; + rel1.to: "sb_vbar_base"; + rel2.to: "sb_vbar_base"; + fill.smooth: 0; + min: 3 4; + max: 3 99999; + } + } + part { name: "runner_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + image.normal: "runner_horiz.png"; + image.border: 2 2 0 0; + rel1.to: "sb_hbar_base"; + rel2.to: "sb_hbar_base"; + fill.smooth: 0; + min: 4 3; + max: 99999 3; + } + } + part { name: "runner_vbar_clip"; type: RECT; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + min: 1 1; + max: 1 99999; + rel1.to: "runner_vbar"; + rel1.offset: 0 1; + rel2.to: "runner_vbar"; + rel2.offset: -1 -2; + } + } + part { name: "runner_hbar_clip"; type: RECT; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + min: 1 1; + max: 99999 1; + rel1.to: "runner_hbar"; + rel1.offset: 1 0; + rel2.to: "runner_hbar"; + rel2.offset: -2 -1; + } + } + + part { name: "arrow1_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.to: "sb_vbar_a1"; + rel2.to: "sb_vbar_a1"; + image.normal: "sym_up_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_up_glow_normal.png"; + } + } + part { name: "arrow2_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.to: "sb_vbar_a2"; + rel2.to: "sb_vbar_a2"; + image.normal: "sym_down_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_down_glow_normal.png"; + } + } + part { name: "shadow_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "base_vbar"; + rel2.offset: 2 4; + rel2.to: "base_vbar"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + rel1.offset: -2 -2; + rel2.offset: 1 1; + color: 255 255 255 128; + } + } + part { name: "glow_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "base_vbar"; + rel2.offset: 2 2; + rel2.to: "base_vbar"; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "runner_glow_vbar"; mouse_events: 0; + clip_to: "runner_vbar_clip"; + description { state: "default" 0.0; + rel1.offset: 0 -30; + rel1.to_x: "runner_vbar_clip"; + rel1.to_y: "base_vbar"; + rel2.offset: -1 29; + rel2.to_x: "runner_vbar_clip"; + rel2.to_y: "base_vbar"; + image.normal: "runner_glow_vert.png"; + image.border: 0 0 33 33; + } + } + part { name: "base_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.offset: 2 0; + rel1.to: "e.dragable.vbar"; + rel2.offset: -3 -1; + rel2.to: "e.dragable.vbar"; + image.normal: "vgrad_med_lighter.png"; + fill.smooth: 0; + min: 5 13; + TILED_HORIZ(120) + } + } + part { name: "bevel_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.to: "base_vbar"; + rel2.to: "base_vbar"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + min: 5 5; + } + } + part { name: "center_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.to: "base_vbar"; + rel2.to: "base_vbar"; + image.normal: "holes_tiny_vert.png"; + FIXED_SIZE(3, 11) + } + } + part { name: "center_glow_vbar"; mouse_events: 0; + clip_to: "sb_vbar_show"; + description { state: "default" 0.0; + rel1.to: "center_vbar"; + rel2.to: "center_vbar"; + image.normal: "holes_tiny_glow_vert.png"; + FIXED_SIZE(11, 17) + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { name: "arrow1_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.to: "sb_hbar_a1"; + rel2.to: "sb_hbar_a1"; + image.normal: "sym_left_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + } + } + part { name: "arrow2_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.to: "sb_hbar_a2"; + rel2.to: "sb_hbar_a2"; + image.normal: "sym_right_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "shadow_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "base_hbar"; + rel2.offset: 2 4; + rel2.to: "base_hbar"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + rel1.offset: -2 -2; + rel2.offset: 1 1; + color: 255 255 255 128; + } + } + part { name: "glow_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "base_hbar"; + rel2.offset: 2 2; + rel2.to: "base_hbar"; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "runner_glow_hbar"; mouse_events: 0; + clip_to: "runner_hbar_clip"; + description { state: "default" 0.0; + rel1.offset: -30 0; + rel1.to_x: "base_hbar"; + rel1.to_y: "runner_hbar_clip"; + rel2.offset: 29 -1; + rel2.to_x: "base_hbar"; + rel2.to_y: "runner_hbar_clip"; + image.normal: "runner_glow_horiz.png"; + image.border: 33 33 0 0; + } + } + part { name: "base_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.offset: 0 2; + rel1.to: "e.dragable.hbar"; + rel2.offset: -1 -3; + rel2.to: "e.dragable.hbar"; + image.normal: "vgrad_med_lighter.png"; + fill.smooth: 0; + min: 13 5; + TILED_HORIZ(120) + } + } + part { name: "bevel_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.to: "base_hbar"; + rel2.to: "base_hbar"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + min: 5 5; + } + } + part { name: "center_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.to: "base_hbar"; + rel2.to: "base_hbar"; + image.normal: "holes_tiny_horiz.png"; + FIXED_SIZE(11, 3) + } + } + part { name: "center_glow_hbar"; mouse_events: 0; + clip_to: "sb_hbar_show"; + description { state: "default" 0.0; + rel1.to: "center_hbar"; + rel2.to: "center_hbar"; + image.normal: "holes_tiny_glow_horiz.png"; + FIXED_SIZE(17, 11) + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } +} diff --git a/data/themes/edc/shelf.edc b/data/themes/edc/shelf.edc new file mode 100644 index 000000000..2a200c7ef --- /dev/null +++ b/data/themes/edc/shelf.edc @@ -0,0 +1,287 @@ +group { name: "e/shelf/default/base"; + alias: "e/shelf/alternate/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" "2"; + /* 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: "vgrad_med.png" COMP; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "holes_vert.png" COMP; + images.image: "holes_horiz.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "bg"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med.png"; + fill.smooth: 0; + TILED_HORIZ(120) + } + description { state: "vert" 0.0; + image.normal: "vgrad_tall.png"; + fill.smooth: 0; + TILED_HORIZ(40) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "dots_start"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_vert.png"; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 5 -3; + FIXED_SIZE(4, 14) + } + description { state: "vert" 0.0; + image.normal: "holes_horiz.png"; + rel1.offset: 2 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 5; + FIXED_SIZE(14, 4) + } + } + part { name: "dots_end"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_vert.png"; + rel1.relative: 1.0 0.0; + rel1.offset: -6 2; + rel2.offset: -3 -3; + FIXED_SIZE(4, 14) + } + description { state: "vert" 0.0; + image.normal: "holes_horiz.png"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 -6; + rel2.offset: -3 -3; + FIXED_SIZE(14, 4) + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "dots_start"; + rel2.offset: -2 -1; + rel2.to_x: "dots_end"; + rel2.relative: 0.0 1.0; + } + description { state: "vert" 0.0; + rel1.offset: 0 1; + rel1.relative: 0.0 1.0; + rel1.to_y: "dots_start"; + rel2.offset: -1 -2; + rel2.to_y: "dots_end"; + rel2.relative: 1.0 0.0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + FIXED_SIZE(69, 5) + } + } + programs { +#define ORIENT_SATE(_ORIENT, _STATE) \ + program { \ + signal: "e,state,orientation,"_ORIENT; source: "e"; \ + action: STATE_SET _STATE 0.0; \ + target: "bg"; \ + target: "e.swallow.content"; \ + target: "dots_start"; \ + target: "dots_end"; \ + } + } + ORIENT_SATE("top", "default") + ORIENT_SATE("top_left", "default") + ORIENT_SATE("top_right", "default") + ORIENT_SATE("bottom", "default") + ORIENT_SATE("bottom_left", "default") + ORIENT_SATE("bottom_right", "default") + ORIENT_SATE("left", "vert") + ORIENT_SATE("left_top", "vert") + ORIENT_SATE("left_bottom", "vert") + ORIENT_SATE("right", "vert") + ORIENT_SATE("right_top", "vert") + ORIENT_SATE("right_bottom", "vert") +#undef ORIENT_SATE + } +} + +group { name: "e/shelf/default/inset"; + alias: "e/shelf/alternate/inset"; + alias: "e/shelf/invisible/inset"; + images.image: "horiz_bar_inset.png" COMP; + images.image: "vert_bar_inset.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 3 1; + rel2.offset: -4 -2; + color: 255 255 255 255; + } + description { state: "vert" 0.0; + rel1.offset: 1 3; + rel2.offset: -2 -4; + color: 255 255 255 255; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 4 1; + rel2.offset: -5 -2; + } + description { state: "vert" 0.0; + rel1.offset: 1 4; + rel2.offset: -2 -5; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 0; + rel2.offset: -3 -1; + image.normal: "horiz_bar_inset.png"; + image.border: 7 7 1 1; + image.middle: 0; + fill.smooth: 0; + } + description { state: "vert" 0.0; + rel1.offset: 0 2; + rel2.offset: -1 -3; + image.normal: "vert_bar_inset.png"; + image.border: 1 1 8 6; + image.middle: 0; + fill.smooth: 0; + } + } + } + programs { +#define ORIENT_SATE(_ORIENT, _STATE) \ + program { \ + signal: "e,state,orientation,"_ORIENT; source: "e"; \ + action: STATE_SET _STATE 0.0; \ + target: "e.swallow.content"; \ + target: "inset"; \ + target: "clip"; \ + } + ORIENT_SATE("top", "default") + ORIENT_SATE("top_left", "default") + ORIENT_SATE("top_right", "default") + ORIENT_SATE("bottom", "default") + ORIENT_SATE("bottom_left", "default") + ORIENT_SATE("bottom_right", "default") + ORIENT_SATE("left", "vert") + ORIENT_SATE("left_top", "vert") + ORIENT_SATE("left_bottom", "vert") + ORIENT_SATE("right", "vert") + ORIENT_SATE("right_top", "vert") + ORIENT_SATE("right_bottom", "vert") +#undef ORIENT_SATE + } +} + +group { name: "e/shelf/invisible/base"; + inherit: "e/shelf/default/base"; + data { + item: "shaped" "1"; + } + parts { + part { name: "bg"; + description { state: "default" 0.0; + visible: 0; + } + description { state: "vert" 0.0; + visible: 0; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "shine"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "dots_start"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + min: 0 0; + max: 0 0; + visible: 0; + } + description { state: "vert" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "dots_end"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + min: 0 0; + max: 0 0; + visible: 0; + } + description { state: "vert" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + min: 0 0; + max: 0 0; + visible: 0; + } + } + } +} + +group { name: "e/shelf/default/plain"; + alias: "e/shelf/alternate/plain"; + alias: "e/shelf/invisible/plain"; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + 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; + } + } + } +} diff --git a/data/themes/edc/slider.edc b/data/themes/edc/slider.edc new file mode 100644 index 000000000..34c5dd639 --- /dev/null +++ b/data/themes/edc/slider.edc @@ -0,0 +1,451 @@ +group { name: "e/widgets/slider_horizontal"; + images.image: "slider_run_base_horiz.png" COMP; + images.image: "slider_run_bevel_horiz.png" COMP; + images.image: "slider_run_base_light_horiz.png" COMP; + images.image: "horiz_glow_run.png" COMP; + images.image: "knob_round_small_normal.png" COMP; + images.image: "knob_round_small_selected.png" COMP; + parts { + part { name: "bg"; type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 42 21; + color: 0 0 0 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel2.relative: 0.0 1.0; + rel2.offset: -2 -1; + rel2.to_x: "e.text.label"; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "slider_run_base_horiz.png"; + image.border: 4 4 0 0; + fill.smooth: 0; + min: 8 5; + max: 99999 5; + fixed: 0 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "slider_run_base_light_horiz.png"; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "horiz_glow_run.png"; + rel1.offset: 1 1; + rel1.to: "base"; + rel2.relative: 0.5 1.0; + rel2.offset: -1 -2; + rel2.to_x: "knob"; + rel2.to_y: "base"; + image.border: 0 4 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "slider_run_bevel_horiz.png"; + image.border: 5 5 0 0; + fill.smooth: 0; + } + } + part { name: "clip1"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + clip_to: "clip1"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel1.relative: 1.0 0.0; + rel2.offset: -1 -1; + align: 1.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "slider_text"; + text { font: "Sans"; size: 10; + min: 0 1; + align: 0.0 0.5; + text_class: "slider"; + } + visible: 0; + max: 0 0; + fixed: 1 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + max: 99999 99999; + } + } + part { name: "clip2"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + clip_to: "clip2"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 21 21 21 255; + color3: 255 255 255 15; + color_class: "slider_text"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "slider"; + } + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "knob"; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel1.to: "e.dragable.slider"; + rel2.offset: 0 0; + rel2.to: "e.dragable.slider"; + image.normal: "knob_round_small_normal.png"; + min: 23 23; + max: 23 23; + fixed: 1 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "knob_round_small_selected.png"; + } + } + part { name: "e.swallow.bar"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to_x: "bg"; + rel1.offset: 1 0; + rel2.to_x: "bg"; + rel2.offset: -2 -1; + } + } + part { name: "e.dragable.slider"; type: RECT; + scale: 1; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "bg"; + description { state: "default" 0.0; + min: 21 21; + max: 21 21; + rel1.relative: 0.5 0.0; + rel1.to_x: "bg"; + rel2.relative: 0.5 1.0; + rel2.to_x: "bg"; + color: 0 0 0 0; + fixed: 1 1; + } + } + part { name: "event"; 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 { + signal: "mouse,down,1"; source: "e.dragable.slider"; + action: STATE_SET "clicked" 0.0; + target: "knob"; + } + program { + signal: "mouse,up,1"; source: "e.dragable.slider"; + action: STATE_SET "default" 0.0; + target: "knob"; + } + program { + signal: "e,action,show,label"; source: "e"; + action: STATE_SET "active" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + program { + signal: "e,action,hide,label"; source: "e"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "glow"; + target: "base"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "glow"; + target: "base"; + target: "clip1"; + target: "clip2"; + } + } +} + +group { name: "e/widgets/slider_vertical"; + images.image: "slider_run_base_vert.png" COMP; + images.image: "slider_run_bevel_vert.png" COMP; + images.image: "slider_run_base_light_vert.png" COMP; + images.image: "vert_glow_run.png" COMP; + images.image: "knob_round_small_normal.png" COMP; + images.image: "knob_round_small_selected.png" COMP; + parts { + part { name: "bg"; type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 21 42; + color: 0 0 0 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -2; + rel2.to_y: "e.text.label"; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "slider_run_base_vert.png"; + image.border: 0 0 4 4; + fill.smooth: 0; + min: 5 8; + max: 5 99999; + fixed: 1 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "slider_run_base_light_vert.png"; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vert_glow_run.png"; + rel1.offset: 1 0; + rel1.relative: 0.0 0.5; + rel1.to_y: "knob"; + rel1.to_x: "base"; + rel2.offset: -2 -2; + rel2.to: "base"; + image.border: 0 0 0 4; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "slider_run_bevel_vert.png"; + image.border: 0 0 5 5; + fill.smooth: 0; + } + } + part { name: "clip1"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + clip_to: "clip1"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 -1; + rel1.relative: 0.0 1.0; + rel2.offset: -1 -1; + align: 0.5 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "slider_text"; + text { font: "Sans"; size: 10; + min: 0 0; + align: 0.5 0.5; + text_class: "slider"; + } + visible: 0; + max: 0 0; + fixed: 1 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + max: 99999 99999; + } + } + part { name: "clip2"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + clip_to: "clip2"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 21 21 21 255; + color3: 255 255 255 15; + color_class: "slider_text"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "slider"; + } + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "knob"; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel1.to: "e.dragable.slider"; + rel2.offset: 0 0; + rel2.to: "e.dragable.slider"; + image.normal: "knob_round_small_normal.png"; + min: 23 23; + max: 23 23; + fixed: 1 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "knob_round_small_selected.png"; + } + } + part { name: "e.swallow.bar"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to_x: "bg"; + rel1.offset: 0 1; + rel2.to_x: "bg"; + rel2.offset: -1 -2; + } + } + part { name: "e.dragable.slider"; type: RECT; + scale: 1; + dragable.x: 0 0 0; + dragable.y: -1 1 0; + dragable.confine: "bg"; + description { state: "default" 0.0; + min: 21 21; + max: 21 21; + rel1.relative: 0.0 0.5; + rel1.to_x: "bg"; + rel2.relative: 1.0 0.5; + rel2.to_x: "bg"; + color: 0 0 0 0; + fixed: 1 1; + } + } + part { name: "event"; 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 { + signal: "mouse,down,1"; source: "e.dragable.slider"; + action: STATE_SET "clicked" 0.0; + target: "knob"; + } + program { + signal: "mouse,up,1"; source: "e.dragable.slider"; + action: STATE_SET "default" 0.0; + target: "knob"; + } + program { + signal: "e,action,show,label"; source: "e"; + action: STATE_SET "active" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + program { + signal: "e,action,hide,label"; source: "e"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "glow"; + target: "base"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "glow"; + target: "base"; + target: "clip1"; + target: "clip2"; + } + } +} diff --git a/data/themes/edc/start.edc b/data/themes/edc/start.edc new file mode 100644 index 000000000..7c8d34f2c --- /dev/null +++ b/data/themes/edc/start.edc @@ -0,0 +1,117 @@ +group { name: "e/modules/start/main"; + images.image: "big_arrow_down.png" COMP; + images.image: "big_arrow_down_shadow.png" COMP; + images.image: "big_arrow_up.png" COMP; + images.image: "big_arrow_up_shadow.png" COMP; + images.image: "big_arrow_left.png" COMP; + images.image: "big_arrow_left_shadow.png" COMP; + images.image: "big_arrow_right.png" COMP; + images.image: "big_arrow_right_shadow.png" COMP; + max: 128 128; + parts { + part { name: "arrow_base"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + color: 255 255 255 255; + } + description { state: "active" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 128; + } + } + part { name: "shadow"; + clip_to: "arrow_base"; + description { state: "default" 0.0; + image.normal: "big_arrow_up_shadow.png"; + rel1.to: "arrow_base"; + rel2.to: "arrow_base"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "down" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_down_shadow.png"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_left_shadow.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_right_shadow.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + } + part { name: "arrow"; + description { state: "default" 0.0; + image.normal: "big_arrow_up.png"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "down" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_down.png"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_left.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_right.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + } + part { name: "events"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,state,focused"; + source: "e"; + action: STATE_SET "active" 0.0; + target: "arrow_base"; + } + program { + signal: "e,state,unfocused"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "arrow_base"; + } +#define ORIENT_SATE(_ORIENT, _STATE) \ + program { \ + signal: "e,state,orientation,"_ORIENT; source: "e"; \ + action: STATE_SET _STATE 0.0; \ + target: "arrow"; \ + target: "shadow"; \ + } + ORIENT_SATE("top", "down") + ORIENT_SATE("top_left", "down") + ORIENT_SATE("top_right", "down") + ORIENT_SATE("bottom", "default") + ORIENT_SATE("bottom_left", "default") + ORIENT_SATE("bottom_right", "default") + ORIENT_SATE("left", "right") + ORIENT_SATE("left_top", "right") + ORIENT_SATE("left_bottom", "right") + ORIENT_SATE("right", "left") + ORIENT_SATE("right_top", "left") + ORIENT_SATE("right_bottom", "left") +#undef ORIENT_SATE + } +} diff --git a/data/themes/edc/syscon.edc b/data/themes/edc/syscon.edc new file mode 100644 index 000000000..3f5cc8cea --- /dev/null +++ b/data/themes/edc/syscon.edc @@ -0,0 +1,256 @@ +group { name: "e/widgets/syscon/main"; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + parts { + part { name: "bg"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_tall.png"; + fill.smooth: 0; + TILED_HORIZ(40) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.swallow.main"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 3; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "e.swallow.secondary"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.main"; + rel1.relative: 0.0 1.0; + rel2.to: "e.swallow.main"; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "e.swallow.extra"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.secondary"; + rel1.relative: 0.0 1.0; + rel2.to: "e.swallow.secondary"; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -6 -6; + rel1.to: "e.text.label"; + rel2.offset: 5 5; + rel2.to: "e.text.label"; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 12; + rel1.relative: 0.5 0.0; + rel1.to_y: "e.swallow.extra"; + rel2.offset: -1 -14; + rel2.relative: 0.5 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + align: 0.5 1.0; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + fixed: 1 0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "mouse,down,1*"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "e.text.label"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "e.text.label"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,close" ""; + } + } +} + +group { name: "e/widgets/syscon/item/button"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -1 0; + rel2.offset: 0 1; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "icon_clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_clip"; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.offset: 6 5; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -7 -1; + rel2.to_y: "e.text.label"; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + part { name: "label_clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "label_clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 6 -7; + rel1.to_y: "base"; + rel2.offset: -7 -7; + rel2.to: "base"; + align: 0.5 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + text { 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: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "button"; + } + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "event"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "event"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "icon_clip"; + target: "label_clip"; + target: "label2"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "icon_clip"; + target: "label_clip"; + target: "label2"; + } + } +} diff --git a/data/themes/edc/systray.edc b/data/themes/edc/systray.edc new file mode 100644 index 000000000..54b987d8b --- /dev/null +++ b/data/themes/edc/systray.edc @@ -0,0 +1,117 @@ +group { name: "e/modules/systray/main"; + alias: "e/modules/systray/main/default"; + alias: "e/modules/systray/main/invisible"; + data.item: "default" "64 64 64"; + data.item: "inset" "64 64 64"; + data.item: "plain" "64 64 64"; + 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; + visible: 0; + rel1.offset: -1 0; + rel2.offset: 0 -1; + } + } + 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; + inherit: "default" 0.0; + box { + layout: "vertical"; + padding: 0 2; + } + } + } + } + programs { + program { + signal: "e,action,orient,horiz"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,vert"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,left"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,right"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,top"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,bottom"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_tl"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_tr"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_bl"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_br"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_lt"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_rt"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_lb"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.box"; + } + program { + signal: "e,action,orient,corner_rb"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.box"; + } + } +} + diff --git a/data/themes/edc/tasks.edc b/data/themes/edc/tasks.edc new file mode 100644 index 000000000..fe4fa2f47 --- /dev/null +++ b/data/themes/edc/tasks.edc @@ -0,0 +1,359 @@ +group { name:"e/modules/tasks/item"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "glow_small.png" COMP; + images.image: "horizontal_separated_bar_glow.png" COMP; + parts { + part { name: "sel_shadow"; mouse_events: 0; + clip_to: "sel_clip"; + description { state: "default" 0.0; + image.normal: "shadow_rounded_horiz.png"; + image.border: 0 0 9 9; + rel1.offset: 0 -4; + rel1.to: "sel_base"; + rel2.offset: -1 5; + rel2.to: "sel_base"; + fill.smooth: 0; + } + } + part { name: "glow"; mouse_events: 0; + clip_to: "sel_clip"; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 128; + } + description { state: "hilighted" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 255; + } + } + part { name: "sel_base"; mouse_events: 0; + clip_to: "sel_clip"; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "sel_bevel"; mouse_events: 0; + clip_to: "sel_clip"; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "sel_label"; type: TEXT; mouse_events: 0; + clip_to: "sel_clip"; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "e.text.label"; + rel2.offset: 3 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "ilist_item_selected"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "ilist_item"; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color2: 51 153 255 64; + color3: 51 153 255 32; + } + } + part { name: "base"; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -3 -2; + rel1.to: "sel_base"; + rel2.offset: 2 3; + rel2.to: "sel_base"; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + clip_to: "clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: 2 3; + rel1.to_x: "icon"; + rel1.to_y: "sel_base"; + rel2.offset: -5 -5; + rel2.to: "sel_base"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "tasks_text"; + text { font: "Sans"; size: 10; + min: 0 1; + align: 0.0 0.5; + text_class: "tasks_text"; + } + } + description { state: "iconic" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + align: 0.0 0.5; + rel1.offset: 3 3; + rel1.to: "sel_base"; + rel2.relative: 0.0 1.0; + rel2.offset: 3 -4; + rel2.to: "sel_base"; + } + } + part { name: "icon_clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "iconic" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + align: 0.0 0.5; + rel1.offset: 4 4; + rel1.to: "icon"; + rel2.offset: -5 -5; + rel2.to: "icon"; + color: 255 0 0 128; + } + description { state: "bounce1" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.15; + rel2.relative: 1.0 1.15; + } + description { state: "bounce2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -0.15; + rel2.relative: 1.0 0.85; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "bar"; mouse_events: 0; + clip_to: "sel_clip"; + description { state: "default" 0.0; + rel1.offset: -5 -10; + rel1.relative: 0.0 1.0; + rel1.to: "sel_base"; + rel2.offset: 4 4; + rel2.to: "sel_base"; + image.normal: "horizontal_separated_bar_glow.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + fixed: 0 1; + } + } + part { name: "sel_shine"; mouse_events: 0; + clip_to: "sel_clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "sel_base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "sel_base"; + FIXED_SIZE(69, 5) + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -20 -20; + rel2.offset: 19 19; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "iconic" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "sel_clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -20 -20; + rel2.offset: 19 19; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "iconic" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "event"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "e.text.label"; + target: "sel_label"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "e.text.label"; + target: "sel_label"; + } + program { + signal: "mouse,up,clicked,1*"; source: "event"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "clip"; + target: "sel_clip"; + } + program { + signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip"; + target: "sel_clip"; + target: "glow"; + } + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "hilighted" 0.0; + transition: DECELERATE 0.2; + target: "glow"; + after: "focus2"; + } + program { name: "focus2"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.3; + target: "glow"; + } + program { + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "bounce1" 0.0; + target: "e.swallow.icon"; + after: "urg1"; + } + program { name: "urg1"; + action: STATE_SET "bounce2" 0.0; + transition: DECELERATE 0.2; + target: "e.swallow.icon"; + after: "urg2"; + } + program { name: "urg2"; + action: STATE_SET "bounce1" 0.0; + transition: ACCELERATE 0.2; + target: "e.swallow.icon"; + after: "urg1"; + } + program { + signal: "e,state,not_urgent"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + } + program { + signal: "e,state,iconified"; source: "e"; + action: STATE_SET "iconic" 0.0; + target: "e.text.label"; + target: "icon_clip"; + } + program { + signal: "e,state,uniconified"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "icon_clip"; + } + } +} + +group { name:"e/modules/tasks/item_vert"; + inherit: "e/modules/tasks/item"; + parts { + part { name: "sel_label"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel1.to: "icon"; + rel2.offset: -1 -1; + rel2.to: "icon"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name: "e.text.label"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel1.to: "icon"; + rel2.offset: -1 -1; + rel2.to: "icon"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name: "icon"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.offset: 2 2; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + } + } + } +} diff --git a/data/themes/edc/textblock.edc b/data/themes/edc/textblock.edc new file mode 100644 index 000000000..88a228cad --- /dev/null +++ b/data/themes/edc/textblock.edc @@ -0,0 +1,25 @@ +group { name: "e/widgets/textblock"; + styles { + style { name: "textblock_style"; + base: "font=Sans font_size=10 text_class=tb_plain align=left color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word"; + tag: "br" "\n"; + tag: "b" "+ font=Sans:style=Bold"; + tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light"; + tag: "urgent" "+ font=Sans:style=Bold color=#f40f style=outline outline_color=#ff000080"; + tag: "title" "+ font=Sans:style=Bold font_size=16 underline=on underline_color=#3399ff"; + } + } + parts { + part { name: "e.textblock.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + text { + style: "textblock_style"; + min: 1 1; + } + } + } + } +} diff --git a/data/themes/edc/toolbar.edc b/data/themes/edc/toolbar.edc new file mode 100644 index 000000000..8754953bc --- /dev/null +++ b/data/themes/edc/toolbar.edc @@ -0,0 +1,358 @@ +group { name: "e/widgets/toolbar"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 1; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; +// rel1.to: "clipper"; +// rel2.to: "clipper"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.dragable.hbar"; mouse_events: 0; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "base"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + part { name: "arrow_clipper"; type: RECT; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow1"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow1_ev"; + rel2.to: "arrow1_ev"; + image.normal: "sym_left_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + } + } + part { name: "arrow1_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + part { name: "arrow2"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow2_ev"; + rel2.to: "arrow2_ev"; + image.normal: "sym_right_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "arrow2_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 1.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "e,action,show,hbar"; source: "e"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + program { + signal: "e,action,hide,hbar"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: SIGNAL_EMIT "e,action,prev" "e"; + after: "arrow1_repeat"; + } + program { name: "arrow1_repeat"; + action: SIGNAL_EMIT "e,action,prev" "e"; + in: 0.3 0.0; + after: "arrow1_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: ACTION_STOP; + target: "arrow1_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow1"; + } + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: STATE_SET "default" 0.0; + target: "arrow1"; + } + + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: SIGNAL_EMIT "e,action,next" "e"; + after: "arrow2_repeat"; + } + program { name: "arrow2_repeat"; + action: SIGNAL_EMIT "e,action,next" "e"; + in: 0.3 0.0; + after: "arrow2_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: ACTION_STOP; + target: "arrow2_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow2"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: STATE_SET "default" 0.0; + target: "arrow2"; + } + } +} + +group { name: "e/widgets/toolbar/item"; + images.image: "shadow_inset_bevels.png" COMP; + images.image: "shadow_angled_in_sides.png" COMP; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + parts { + part { name: "shadow1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_inset_bevels.png"; + image.border: 2 2 0 1; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "shadow2"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 0; + rel1.to: "shadow1"; + rel2.offset: -2 -1; + rel2.to: "shadow1"; + image.normal: "shadow_angled_in_sides.png"; + image.border: 8 8 0 1; + image.middle: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + 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; + rel1.offset: 2 2; + rel2.to_y: "e.text.label"; + rel2.relative: 1.0 0.0; + rel2.offset: -3 -1; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + visible: 0; + rel1.offset: 2 0; + rel2.relative: 1.0 0.0; + rel2.offset: -3 -4; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 4 -3; + rel1.relative: 0.0 1.0; + rel2.offset: -5 -3; + align: 0.5 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "menu_item"; + text { font: "Sans"; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "menu_item"; + } + fixed: 0 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "e.text.label"; + rel2.offset: 2 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "menu_item_active"; + text { font: "Sans"; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -7; + rel1.relative: 0.0 1.0; + rel1.to: "shadow2"; + rel2.offset: 2 2; + rel2.to: "shadow2"; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,icon,disabled"; source: "e"; + action: STATE_SET "noicon" 0.0; + target: "e.swallow.icon"; +// target: "e.text.label"; + } + program { + signal: "e,icon,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; +// target: "e.text.label"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "e,action,click" "e"; + } + } +} diff --git a/data/themes/edc/xkbswitch.edc b/data/themes/edc/xkbswitch.edc new file mode 100644 index 000000000..849dfedec --- /dev/null +++ b/data/themes/edc/xkbswitch.edc @@ -0,0 +1,173 @@ +group { name: "e/modules/xkbswitch/main"; + images.image: "shadow_square_tiny.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + max: 128 128; + parts { + part { name: "shadow"; + description { state: "default" 0.0; + rel1.to: "e.swallow.flag"; + rel1.offset: -3 -2; + rel2.to: "e.swallow.flag"; + rel2.offset: 2 4; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "e.swallow.flag"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1.to: "e.swallow.flag"; + rel1.relative: 0.0 0.5; + rel2.to: "e.swallow.flag"; + rel2.relative: 1.0 0.5; + color: 255 255 255 0; + color3: 0 0 0 0; + text { font: "Sans"; size: 9; + min: 0 1; + text_class: "module_small"; + } + fixed: 0 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "e.swallow.flag"; + rel2.to: "e.swallow.flag"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "e.swallow.flag"; + rel2.to_x: "e.swallow.flag"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "e.swallow.flag"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "e.swallow.flag"; + FIXED_SIZE(69, 5) + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,in"; source: "event"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.25; + target: "e.text.label"; + } + program { + signal: "mouse,out"; source: "event"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 1.0; + target: "e.text.label"; + } + } +} + +group { name: "e/modules/xkbswitch/noflag"; + images.image: "shadow_square_tiny.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + max: 128 128; + parts { + part { name: "shadow"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: -3 -2; + rel2.to: "base"; + rel2.offset: 2 4; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + aspect: 1.8 1.8; aspect_preference: BOTH; + color: 51 153 255 255; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 0.5; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans:style=Bold"; size: 9; + min: 0 1; + text_class: "module_small"; + } + fixed: 0 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "base"; + rel2.to_x: "base"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} diff --git a/data/themes/img/O/about_bot.png b/data/themes/img/O/about_bot.png new file mode 100644 index 000000000..ef0c7cd68 Binary files /dev/null and b/data/themes/img/O/about_bot.png differ diff --git a/data/themes/img/O/about_mid.png b/data/themes/img/O/about_mid.png new file mode 100644 index 000000000..2162f0a09 Binary files /dev/null and b/data/themes/img/O/about_mid.png differ diff --git a/data/themes/img/O/about_top.png b/data/themes/img/O/about_top.png new file mode 100644 index 000000000..db2c27ef1 Binary files /dev/null and b/data/themes/img/O/about_top.png differ diff --git a/data/themes/img/O/arrow_down.png b/data/themes/img/O/arrow_down.png new file mode 100644 index 000000000..3e181396a Binary files /dev/null and b/data/themes/img/O/arrow_down.png differ diff --git a/data/themes/img/O/arrow_up.png b/data/themes/img/O/arrow_up.png new file mode 100644 index 000000000..1b499b8e8 Binary files /dev/null and b/data/themes/img/O/arrow_up.png differ diff --git a/data/themes/img/O/batt_base.png b/data/themes/img/O/batt_base.png new file mode 100644 index 000000000..610db36b2 Binary files /dev/null and b/data/themes/img/O/batt_base.png differ diff --git a/data/themes/img/O/batt_level.png b/data/themes/img/O/batt_level.png new file mode 100644 index 000000000..260402642 Binary files /dev/null and b/data/themes/img/O/batt_level.png differ diff --git a/data/themes/img/O/batt_over.png b/data/themes/img/O/batt_over.png new file mode 100644 index 000000000..c79adb50d Binary files /dev/null and b/data/themes/img/O/batt_over.png differ diff --git a/data/themes/img/O/batt_power.png b/data/themes/img/O/batt_power.png new file mode 100644 index 000000000..f64625ebb Binary files /dev/null and b/data/themes/img/O/batt_power.png differ diff --git a/data/themes/img/O/bg_shadow.png b/data/themes/img/O/bg_shadow.png new file mode 100644 index 000000000..ae502f8ae Binary files /dev/null and b/data/themes/img/O/bg_shadow.png differ diff --git a/data/themes/img/O/big_arrow_up.png b/data/themes/img/O/big_arrow_up.png new file mode 100644 index 000000000..7d714ff63 Binary files /dev/null and b/data/themes/img/O/big_arrow_up.png differ diff --git a/data/themes/img/O/bnw.png b/data/themes/img/O/bnw.png new file mode 100644 index 000000000..3baf7bcf0 Binary files /dev/null and b/data/themes/img/O/bnw.png differ diff --git a/data/themes/img/O/bt_base1.png b/data/themes/img/O/bt_base1.png new file mode 100644 index 000000000..2d1f17909 Binary files /dev/null and b/data/themes/img/O/bt_base1.png differ diff --git a/data/themes/img/O/bt_base2.png b/data/themes/img/O/bt_base2.png new file mode 100644 index 000000000..dd3e3ce06 Binary files /dev/null and b/data/themes/img/O/bt_base2.png differ diff --git a/data/themes/img/O/bt_dis_base.png b/data/themes/img/O/bt_dis_base.png new file mode 100644 index 000000000..06f3dd51a Binary files /dev/null and b/data/themes/img/O/bt_dis_base.png differ diff --git a/data/themes/img/O/bt_dis_hilight.png b/data/themes/img/O/bt_dis_hilight.png new file mode 100644 index 000000000..e5cf7d3b0 Binary files /dev/null and b/data/themes/img/O/bt_dis_hilight.png differ diff --git a/data/themes/img/O/bt_dis_shine.png b/data/themes/img/O/bt_dis_shine.png new file mode 100644 index 000000000..20285bebb Binary files /dev/null and b/data/themes/img/O/bt_dis_shine.png differ diff --git a/data/themes/img/O/bt_glow.png b/data/themes/img/O/bt_glow.png new file mode 100644 index 000000000..25891a158 Binary files /dev/null and b/data/themes/img/O/bt_glow.png differ diff --git a/data/themes/img/O/bt_hilight.png b/data/themes/img/O/bt_hilight.png new file mode 100644 index 000000000..3a6750e78 Binary files /dev/null and b/data/themes/img/O/bt_hilight.png differ diff --git a/data/themes/img/O/bt_shine.png b/data/themes/img/O/bt_shine.png new file mode 100644 index 000000000..a58bdeed4 Binary files /dev/null and b/data/themes/img/O/bt_shine.png differ diff --git a/data/themes/img/O/bt_sm_base1.png b/data/themes/img/O/bt_sm_base1.png new file mode 100644 index 000000000..c37e182ed Binary files /dev/null and b/data/themes/img/O/bt_sm_base1.png differ diff --git a/data/themes/img/O/bt_sm_base2.png b/data/themes/img/O/bt_sm_base2.png new file mode 100644 index 000000000..f159648ec Binary files /dev/null and b/data/themes/img/O/bt_sm_base2.png differ diff --git a/data/themes/img/O/bt_sm_hilight.png b/data/themes/img/O/bt_sm_hilight.png new file mode 100644 index 000000000..63899caac Binary files /dev/null and b/data/themes/img/O/bt_sm_hilight.png differ diff --git a/data/themes/img/O/bt_sm_shine.png b/data/themes/img/O/bt_sm_shine.png new file mode 100644 index 000000000..23bf3110e Binary files /dev/null and b/data/themes/img/O/bt_sm_shine.png differ diff --git a/data/themes/img/O/bulb-0.png b/data/themes/img/O/bulb-0.png new file mode 100644 index 000000000..6b54be161 Binary files /dev/null and b/data/themes/img/O/bulb-0.png differ diff --git a/data/themes/img/O/bulb-1.png b/data/themes/img/O/bulb-1.png new file mode 100644 index 000000000..ca46a4f06 Binary files /dev/null and b/data/themes/img/O/bulb-1.png differ diff --git a/data/themes/img/O/bulb-2.png b/data/themes/img/O/bulb-2.png new file mode 100644 index 000000000..bacc91113 Binary files /dev/null and b/data/themes/img/O/bulb-2.png differ diff --git a/data/themes/img/O/busy-1.png b/data/themes/img/O/busy-1.png new file mode 100644 index 000000000..48d00e04f Binary files /dev/null and b/data/themes/img/O/busy-1.png differ diff --git a/data/themes/img/O/busy-2.png b/data/themes/img/O/busy-2.png new file mode 100644 index 000000000..75d840444 Binary files /dev/null and b/data/themes/img/O/busy-2.png differ diff --git a/data/themes/img/O/busy-3.png b/data/themes/img/O/busy-3.png new file mode 100644 index 000000000..b383fcbad Binary files /dev/null and b/data/themes/img/O/busy-3.png differ diff --git a/data/themes/img/O/busy-4.png b/data/themes/img/O/busy-4.png new file mode 100644 index 000000000..8aa8a0f2c Binary files /dev/null and b/data/themes/img/O/busy-4.png differ diff --git a/data/themes/img/O/busy-5.png b/data/themes/img/O/busy-5.png new file mode 100644 index 000000000..7da0e041b Binary files /dev/null and b/data/themes/img/O/busy-5.png differ diff --git a/data/themes/img/O/busy-6.png b/data/themes/img/O/busy-6.png new file mode 100644 index 000000000..45b27bd83 Binary files /dev/null and b/data/themes/img/O/busy-6.png differ diff --git a/data/themes/img/O/busy-7.png b/data/themes/img/O/busy-7.png new file mode 100644 index 000000000..53bed1a97 Binary files /dev/null and b/data/themes/img/O/busy-7.png differ diff --git a/data/themes/img/O/busy-8.png b/data/themes/img/O/busy-8.png new file mode 100644 index 000000000..75d684a25 Binary files /dev/null and b/data/themes/img/O/busy-8.png differ diff --git a/data/themes/img/O/busy-9.png b/data/themes/img/O/busy-9.png new file mode 100644 index 000000000..4af4a4ae9 Binary files /dev/null and b/data/themes/img/O/busy-9.png differ diff --git a/data/themes/img/O/dia_botshad.png b/data/themes/img/O/dia_botshad.png new file mode 100644 index 000000000..89a598e0f Binary files /dev/null and b/data/themes/img/O/dia_botshad.png differ diff --git a/data/themes/img/O/dia_grad.png b/data/themes/img/O/dia_grad.png new file mode 100644 index 000000000..1385d12d4 Binary files /dev/null and b/data/themes/img/O/dia_grad.png differ diff --git a/data/themes/img/O/e17_mini_button_shadow2.png b/data/themes/img/O/e17_mini_button_shadow2.png new file mode 100644 index 000000000..dcdc6ea26 Binary files /dev/null and b/data/themes/img/O/e17_mini_button_shadow2.png differ diff --git a/data/themes/img/O/everything_box.png b/data/themes/img/O/everything_box.png new file mode 100644 index 000000000..60961a712 Binary files /dev/null and b/data/themes/img/O/everything_box.png differ diff --git a/data/themes/img/O/everything_item_bg.png b/data/themes/img/O/everything_item_bg.png new file mode 100644 index 000000000..1bd167b83 Binary files /dev/null and b/data/themes/img/O/everything_item_bg.png differ diff --git a/data/themes/img/O/exq-bglight.png b/data/themes/img/O/exq-bglight.png new file mode 100644 index 000000000..5eeeca245 Binary files /dev/null and b/data/themes/img/O/exq-bglight.png differ diff --git a/data/themes/img/O/exq-dot-glow.png b/data/themes/img/O/exq-dot-glow.png new file mode 100644 index 000000000..8e0d0f711 Binary files /dev/null and b/data/themes/img/O/exq-dot-glow.png differ diff --git a/data/themes/img/O/exq-dot.png b/data/themes/img/O/exq-dot.png new file mode 100644 index 000000000..005d896c9 Binary files /dev/null and b/data/themes/img/O/exq-dot.png differ diff --git a/data/themes/img/O/exq-logo.png b/data/themes/img/O/exq-logo.png new file mode 100644 index 000000000..e9bdf3650 Binary files /dev/null and b/data/themes/img/O/exq-logo.png differ diff --git a/data/themes/img/O/exq-vgrad.png b/data/themes/img/O/exq-vgrad.png new file mode 100644 index 000000000..708fe70e7 Binary files /dev/null and b/data/themes/img/O/exq-vgrad.png differ diff --git a/data/themes/img/O/gadman_border.png b/data/themes/img/O/gadman_border.png new file mode 100644 index 000000000..9c1cc00f2 Binary files /dev/null and b/data/themes/img/O/gadman_border.png differ diff --git a/data/themes/img/O/gadman_bottom.png b/data/themes/img/O/gadman_bottom.png new file mode 100644 index 000000000..fbfb1e965 Binary files /dev/null and b/data/themes/img/O/gadman_bottom.png differ diff --git a/data/themes/img/O/gadman_frame.png b/data/themes/img/O/gadman_frame.png new file mode 100644 index 000000000..6b8b51f29 Binary files /dev/null and b/data/themes/img/O/gadman_frame.png differ diff --git a/data/themes/img/O/gadman_left.png b/data/themes/img/O/gadman_left.png new file mode 100644 index 000000000..374be1fd5 Binary files /dev/null and b/data/themes/img/O/gadman_left.png differ diff --git a/data/themes/img/O/gadman_right.png b/data/themes/img/O/gadman_right.png new file mode 100644 index 000000000..c27ebb34e Binary files /dev/null and b/data/themes/img/O/gadman_right.png differ diff --git a/data/themes/img/O/gadman_top.png b/data/themes/img/O/gadman_top.png new file mode 100644 index 000000000..300c4b68e Binary files /dev/null and b/data/themes/img/O/gadman_top.png differ diff --git a/data/themes/img/O/glow.png b/data/themes/img/O/glow.png new file mode 100644 index 000000000..b423e0aa4 Binary files /dev/null and b/data/themes/img/O/glow.png differ diff --git a/data/themes/img/O/icon_active.png b/data/themes/img/O/icon_active.png new file mode 100644 index 000000000..2ad17e9aa Binary files /dev/null and b/data/themes/img/O/icon_active.png differ diff --git a/data/themes/img/O/icon_add.png b/data/themes/img/O/icon_add.png new file mode 100644 index 000000000..f6f4108ee Binary files /dev/null and b/data/themes/img/O/icon_add.png differ diff --git a/data/themes/img/O/icon_add_fav.png b/data/themes/img/O/icon_add_fav.png new file mode 100644 index 000000000..9d468a467 Binary files /dev/null and b/data/themes/img/O/icon_add_fav.png differ diff --git a/data/themes/img/O/icon_advanced.png b/data/themes/img/O/icon_advanced.png new file mode 100644 index 000000000..91a80500a Binary files /dev/null and b/data/themes/img/O/icon_advanced.png differ diff --git a/data/themes/img/O/icon_applications.png b/data/themes/img/O/icon_applications.png new file mode 100644 index 000000000..d2fd23896 Binary files /dev/null and b/data/themes/img/O/icon_applications.png differ diff --git a/data/themes/img/O/icon_applications_ibar.png b/data/themes/img/O/icon_applications_ibar.png new file mode 100644 index 000000000..094abda08 Binary files /dev/null and b/data/themes/img/O/icon_applications_ibar.png differ diff --git a/data/themes/img/O/icon_applications_new.png b/data/themes/img/O/icon_applications_new.png new file mode 100644 index 000000000..e1027c4c5 Binary files /dev/null and b/data/themes/img/O/icon_applications_new.png differ diff --git a/data/themes/img/O/icon_applications_restart.png b/data/themes/img/O/icon_applications_restart.png new file mode 100644 index 000000000..92ecd7d0e Binary files /dev/null and b/data/themes/img/O/icon_applications_restart.png differ diff --git a/data/themes/img/O/icon_applications_startup.png b/data/themes/img/O/icon_applications_startup.png new file mode 100644 index 000000000..987b0c904 Binary files /dev/null and b/data/themes/img/O/icon_applications_startup.png differ diff --git a/data/themes/img/O/icon_autoscroll.png b/data/themes/img/O/icon_autoscroll.png new file mode 100644 index 000000000..d6d81129e Binary files /dev/null and b/data/themes/img/O/icon_autoscroll.png differ diff --git a/data/themes/img/O/icon_behavior.png b/data/themes/img/O/icon_behavior.png new file mode 100644 index 000000000..f82ff56dd Binary files /dev/null and b/data/themes/img/O/icon_behavior.png differ diff --git a/data/themes/img/O/icon_border_border.png b/data/themes/img/O/icon_border_border.png new file mode 100644 index 000000000..da50fe5cd Binary files /dev/null and b/data/themes/img/O/icon_border_border.png differ diff --git a/data/themes/img/O/icon_border_close.png b/data/themes/img/O/icon_border_close.png new file mode 100644 index 000000000..718acccbb Binary files /dev/null and b/data/themes/img/O/icon_border_close.png differ diff --git a/data/themes/img/O/icon_border_kill.png b/data/themes/img/O/icon_border_kill.png new file mode 100644 index 000000000..5f1f0703a Binary files /dev/null and b/data/themes/img/O/icon_border_kill.png differ diff --git a/data/themes/img/O/icon_border_lock.png b/data/themes/img/O/icon_border_lock.png new file mode 100644 index 000000000..cf6705e31 Binary files /dev/null and b/data/themes/img/O/icon_border_lock.png differ diff --git a/data/themes/img/O/icon_border_maximize.png b/data/themes/img/O/icon_border_maximize.png new file mode 100644 index 000000000..bc70cc76d Binary files /dev/null and b/data/themes/img/O/icon_border_maximize.png differ diff --git a/data/themes/img/O/icon_border_minimize.png b/data/themes/img/O/icon_border_minimize.png new file mode 100644 index 000000000..43099b1b0 Binary files /dev/null and b/data/themes/img/O/icon_border_minimize.png differ diff --git a/data/themes/img/O/icon_border_more.png b/data/themes/img/O/icon_border_more.png new file mode 100644 index 000000000..a27b0fb64 Binary files /dev/null and b/data/themes/img/O/icon_border_more.png differ diff --git a/data/themes/img/O/icon_border_pager.png b/data/themes/img/O/icon_border_pager.png new file mode 100644 index 000000000..5ea60a946 Binary files /dev/null and b/data/themes/img/O/icon_border_pager.png differ diff --git a/data/themes/img/O/icon_border_pin.png b/data/themes/img/O/icon_border_pin.png new file mode 100644 index 000000000..cb1ed8d31 Binary files /dev/null and b/data/themes/img/O/icon_border_pin.png differ diff --git a/data/themes/img/O/icon_border_properties.png b/data/themes/img/O/icon_border_properties.png new file mode 100644 index 000000000..f051a35bb Binary files /dev/null and b/data/themes/img/O/icon_border_properties.png differ diff --git a/data/themes/img/O/icon_border_remember.png b/data/themes/img/O/icon_border_remember.png new file mode 100644 index 000000000..d27b3bfe3 Binary files /dev/null and b/data/themes/img/O/icon_border_remember.png differ diff --git a/data/themes/img/O/icon_border_sendto.png b/data/themes/img/O/icon_border_sendto.png new file mode 100644 index 000000000..495aff746 Binary files /dev/null and b/data/themes/img/O/icon_border_sendto.png differ diff --git a/data/themes/img/O/icon_border_shaded.png b/data/themes/img/O/icon_border_shaded.png new file mode 100644 index 000000000..cf83cef18 Binary files /dev/null and b/data/themes/img/O/icon_border_shaded.png differ diff --git a/data/themes/img/O/icon_border_skip.png b/data/themes/img/O/icon_border_skip.png new file mode 100644 index 000000000..8a5e53a41 Binary files /dev/null and b/data/themes/img/O/icon_border_skip.png differ diff --git a/data/themes/img/O/icon_border_stack_bot.png b/data/themes/img/O/icon_border_stack_bot.png new file mode 100644 index 000000000..5f1228038 Binary files /dev/null and b/data/themes/img/O/icon_border_stack_bot.png differ diff --git a/data/themes/img/O/icon_border_stack_norm.png b/data/themes/img/O/icon_border_stack_norm.png new file mode 100644 index 000000000..f0035f7e3 Binary files /dev/null and b/data/themes/img/O/icon_border_stack_norm.png differ diff --git a/data/themes/img/O/icon_border_stack_top.png b/data/themes/img/O/icon_border_stack_top.png new file mode 100644 index 000000000..351d29816 Binary files /dev/null and b/data/themes/img/O/icon_border_stack_top.png differ diff --git a/data/themes/img/O/icon_check.png b/data/themes/img/O/icon_check.png new file mode 100644 index 000000000..c698b1e88 Binary files /dev/null and b/data/themes/img/O/icon_check.png differ diff --git a/data/themes/img/O/icon_close.png b/data/themes/img/O/icon_close.png new file mode 100644 index 000000000..688c54859 Binary files /dev/null and b/data/themes/img/O/icon_close.png differ diff --git a/data/themes/img/O/icon_colors.png b/data/themes/img/O/icon_colors.png new file mode 100644 index 000000000..0584ad50f Binary files /dev/null and b/data/themes/img/O/icon_colors.png differ diff --git a/data/themes/img/O/icon_config.png b/data/themes/img/O/icon_config.png new file mode 100644 index 000000000..b7f6c5643 Binary files /dev/null and b/data/themes/img/O/icon_config.png differ diff --git a/data/themes/img/O/icon_configuration.png b/data/themes/img/O/icon_configuration.png new file mode 100644 index 000000000..43602b0bf Binary files /dev/null and b/data/themes/img/O/icon_configuration.png differ diff --git a/data/themes/img/O/icon_del.png b/data/themes/img/O/icon_del.png new file mode 100644 index 000000000..39f8f3b19 Binary files /dev/null and b/data/themes/img/O/icon_del.png differ diff --git a/data/themes/img/O/icon_desklock.png b/data/themes/img/O/icon_desklock.png new file mode 100644 index 000000000..4d8b5911f Binary files /dev/null and b/data/themes/img/O/icon_desklock.png differ diff --git a/data/themes/img/O/icon_desklock_menu.png b/data/themes/img/O/icon_desklock_menu.png new file mode 100644 index 000000000..d050151f3 Binary files /dev/null and b/data/themes/img/O/icon_desklock_menu.png differ diff --git a/data/themes/img/O/icon_desktops.png b/data/themes/img/O/icon_desktops.png new file mode 100644 index 000000000..ea6853a6d Binary files /dev/null and b/data/themes/img/O/icon_desktops.png differ diff --git a/data/themes/img/O/icon_directories.png b/data/themes/img/O/icon_directories.png new file mode 100644 index 000000000..e30a9bbb5 Binary files /dev/null and b/data/themes/img/O/icon_directories.png differ diff --git a/data/themes/img/O/icon_down_arrow.png b/data/themes/img/O/icon_down_arrow.png new file mode 100644 index 000000000..305b79e62 Binary files /dev/null and b/data/themes/img/O/icon_down_arrow.png differ diff --git a/data/themes/img/O/icon_dummy.png b/data/themes/img/O/icon_dummy.png new file mode 100644 index 000000000..1b1b83401 Binary files /dev/null and b/data/themes/img/O/icon_dummy.png differ diff --git a/data/themes/img/O/icon_efm_arrange.png b/data/themes/img/O/icon_efm_arrange.png new file mode 100644 index 000000000..72b43b676 Binary files /dev/null and b/data/themes/img/O/icon_efm_arrange.png differ diff --git a/data/themes/img/O/icon_efm_arrange_name.png b/data/themes/img/O/icon_efm_arrange_name.png new file mode 100644 index 000000000..293173e6d Binary files /dev/null and b/data/themes/img/O/icon_efm_arrange_name.png differ diff --git a/data/themes/img/O/icon_efm_arrange_time.png b/data/themes/img/O/icon_efm_arrange_time.png new file mode 100644 index 000000000..52612de6b Binary files /dev/null and b/data/themes/img/O/icon_efm_arrange_time.png differ diff --git a/data/themes/img/O/icon_efm_cd.png b/data/themes/img/O/icon_efm_cd.png new file mode 100644 index 000000000..8cc29f00f Binary files /dev/null and b/data/themes/img/O/icon_efm_cd.png differ diff --git a/data/themes/img/O/icon_efm_copy.png b/data/themes/img/O/icon_efm_copy.png new file mode 100644 index 000000000..d2af9e34d Binary files /dev/null and b/data/themes/img/O/icon_efm_copy.png differ diff --git a/data/themes/img/O/icon_efm_cut.png b/data/themes/img/O/icon_efm_cut.png new file mode 100644 index 000000000..7fb475322 Binary files /dev/null and b/data/themes/img/O/icon_efm_cut.png differ diff --git a/data/themes/img/O/icon_efm_delete.png b/data/themes/img/O/icon_efm_delete.png new file mode 100644 index 000000000..ddf87823d Binary files /dev/null and b/data/themes/img/O/icon_efm_delete.png differ diff --git a/data/themes/img/O/icon_efm_desktop.png b/data/themes/img/O/icon_efm_desktop.png new file mode 100644 index 000000000..a1e2ab40e Binary files /dev/null and b/data/themes/img/O/icon_efm_desktop.png differ diff --git a/data/themes/img/O/icon_efm_dnd_ask.png b/data/themes/img/O/icon_efm_dnd_ask.png new file mode 100644 index 000000000..56a6884c5 Binary files /dev/null and b/data/themes/img/O/icon_efm_dnd_ask.png differ diff --git a/data/themes/img/O/icon_efm_dnd_copy.png b/data/themes/img/O/icon_efm_dnd_copy.png new file mode 100644 index 000000000..7224892f4 Binary files /dev/null and b/data/themes/img/O/icon_efm_dnd_copy.png differ diff --git a/data/themes/img/O/icon_efm_dnd_move.png b/data/themes/img/O/icon_efm_dnd_move.png new file mode 100644 index 000000000..b0a65a1ee Binary files /dev/null and b/data/themes/img/O/icon_efm_dnd_move.png differ diff --git a/data/themes/img/O/icon_efm_eject.png b/data/themes/img/O/icon_efm_eject.png new file mode 100644 index 000000000..0162356e2 Binary files /dev/null and b/data/themes/img/O/icon_efm_eject.png differ diff --git a/data/themes/img/O/icon_efm_file.png b/data/themes/img/O/icon_efm_file.png new file mode 100644 index 000000000..102f6c072 Binary files /dev/null and b/data/themes/img/O/icon_efm_file.png differ diff --git a/data/themes/img/O/icon_efm_file_del.png b/data/themes/img/O/icon_efm_file_del.png new file mode 100644 index 000000000..019e3d610 Binary files /dev/null and b/data/themes/img/O/icon_efm_file_del.png differ diff --git a/data/themes/img/O/icon_efm_flash.png b/data/themes/img/O/icon_efm_flash.png new file mode 100644 index 000000000..f5152a72d Binary files /dev/null and b/data/themes/img/O/icon_efm_flash.png differ diff --git a/data/themes/img/O/icon_efm_folder.png b/data/themes/img/O/icon_efm_folder.png new file mode 100644 index 000000000..4aa581c2b Binary files /dev/null and b/data/themes/img/O/icon_efm_folder.png differ diff --git a/data/themes/img/O/icon_efm_hdd.png b/data/themes/img/O/icon_efm_hdd.png new file mode 100644 index 000000000..f77673d21 Binary files /dev/null and b/data/themes/img/O/icon_efm_hdd.png differ diff --git a/data/themes/img/O/icon_efm_home.png b/data/themes/img/O/icon_efm_home.png new file mode 100644 index 000000000..e7a13849e Binary files /dev/null and b/data/themes/img/O/icon_efm_home.png differ diff --git a/data/themes/img/O/icon_efm_new.png b/data/themes/img/O/icon_efm_new.png new file mode 100644 index 000000000..44e9146d5 Binary files /dev/null and b/data/themes/img/O/icon_efm_new.png differ diff --git a/data/themes/img/O/icon_efm_new_dir.png b/data/themes/img/O/icon_efm_new_dir.png new file mode 100644 index 000000000..317e0bf76 Binary files /dev/null and b/data/themes/img/O/icon_efm_new_dir.png differ diff --git a/data/themes/img/O/icon_efm_open.png b/data/themes/img/O/icon_efm_open.png new file mode 100644 index 000000000..ee313035d Binary files /dev/null and b/data/themes/img/O/icon_efm_open.png differ diff --git a/data/themes/img/O/icon_efm_paste.png b/data/themes/img/O/icon_efm_paste.png new file mode 100644 index 000000000..872465843 Binary files /dev/null and b/data/themes/img/O/icon_efm_paste.png differ diff --git a/data/themes/img/O/icon_efm_properties.png b/data/themes/img/O/icon_efm_properties.png new file mode 100644 index 000000000..92cc8382b Binary files /dev/null and b/data/themes/img/O/icon_efm_properties.png differ diff --git a/data/themes/img/O/icon_efm_refresh.png b/data/themes/img/O/icon_efm_refresh.png new file mode 100644 index 000000000..74b606072 Binary files /dev/null and b/data/themes/img/O/icon_efm_refresh.png differ diff --git a/data/themes/img/O/icon_efm_rename.png b/data/themes/img/O/icon_efm_rename.png new file mode 100644 index 000000000..5ac3198aa Binary files /dev/null and b/data/themes/img/O/icon_efm_rename.png differ diff --git a/data/themes/img/O/icon_efm_root.png b/data/themes/img/O/icon_efm_root.png new file mode 100644 index 000000000..eec2a1e09 Binary files /dev/null and b/data/themes/img/O/icon_efm_root.png differ diff --git a/data/themes/img/O/icon_efm_select.png b/data/themes/img/O/icon_efm_select.png new file mode 100644 index 000000000..442c4be91 Binary files /dev/null and b/data/themes/img/O/icon_efm_select.png differ diff --git a/data/themes/img/O/icon_efm_sort.png b/data/themes/img/O/icon_efm_sort.png new file mode 100644 index 000000000..0a0588f1c Binary files /dev/null and b/data/themes/img/O/icon_efm_sort.png differ diff --git a/data/themes/img/O/icon_efm_tmp.png b/data/themes/img/O/icon_efm_tmp.png new file mode 100644 index 000000000..bd6550684 Binary files /dev/null and b/data/themes/img/O/icon_efm_tmp.png differ diff --git a/data/themes/img/O/icon_efm_usbmedia.png b/data/themes/img/O/icon_efm_usbmedia.png new file mode 100644 index 000000000..6989e97dd Binary files /dev/null and b/data/themes/img/O/icon_efm_usbmedia.png differ diff --git a/data/themes/img/O/icon_efm_view.png b/data/themes/img/O/icon_efm_view.png new file mode 100644 index 000000000..38b701626 Binary files /dev/null and b/data/themes/img/O/icon_efm_view.png differ diff --git a/data/themes/img/O/icon_efm_view_details.png b/data/themes/img/O/icon_efm_view_details.png new file mode 100644 index 000000000..29fc7867f Binary files /dev/null and b/data/themes/img/O/icon_efm_view_details.png differ diff --git a/data/themes/img/O/icon_efm_view_name.png b/data/themes/img/O/icon_efm_view_name.png new file mode 100644 index 000000000..22d78c115 Binary files /dev/null and b/data/themes/img/O/icon_efm_view_name.png differ diff --git a/data/themes/img/O/icon_efm_vol_mounted.png b/data/themes/img/O/icon_efm_vol_mounted.png new file mode 100644 index 000000000..f52b563f5 Binary files /dev/null and b/data/themes/img/O/icon_efm_vol_mounted.png differ diff --git a/data/themes/img/O/icon_efm_vol_unmounted.png b/data/themes/img/O/icon_efm_vol_unmounted.png new file mode 100644 index 000000000..793d9a121 Binary files /dev/null and b/data/themes/img/O/icon_efm_vol_unmounted.png differ diff --git a/data/themes/img/O/icon_engine.png b/data/themes/img/O/icon_engine.png new file mode 100644 index 000000000..dfbe46ffc Binary files /dev/null and b/data/themes/img/O/icon_engine.png differ diff --git a/data/themes/img/O/icon_evry_clipboard.png b/data/themes/img/O/icon_evry_clipboard.png new file mode 100644 index 000000000..a42602b29 Binary files /dev/null and b/data/themes/img/O/icon_evry_clipboard.png differ diff --git a/data/themes/img/O/icon_extensions.png b/data/themes/img/O/icon_extensions.png new file mode 100644 index 000000000..55ba93e7d Binary files /dev/null and b/data/themes/img/O/icon_extensions.png differ diff --git a/data/themes/img/O/icon_favorites.png b/data/themes/img/O/icon_favorites.png new file mode 100644 index 000000000..208cc44d6 Binary files /dev/null and b/data/themes/img/O/icon_favorites.png differ diff --git a/data/themes/img/O/icon_file_icons.png b/data/themes/img/O/icon_file_icons.png new file mode 100644 index 000000000..7d74638db Binary files /dev/null and b/data/themes/img/O/icon_file_icons.png differ diff --git a/data/themes/img/O/icon_fonts.png b/data/themes/img/O/icon_fonts.png new file mode 100644 index 000000000..9171dbf3a Binary files /dev/null and b/data/themes/img/O/icon_fonts.png differ diff --git a/data/themes/img/O/icon_gadget.png b/data/themes/img/O/icon_gadget.png new file mode 100644 index 000000000..0f8413685 Binary files /dev/null and b/data/themes/img/O/icon_gadget.png differ diff --git a/data/themes/img/O/icon_globe.png b/data/themes/img/O/icon_globe.png new file mode 100644 index 000000000..946d2241c Binary files /dev/null and b/data/themes/img/O/icon_globe.png differ diff --git a/data/themes/img/O/icon_gradient.png b/data/themes/img/O/icon_gradient.png new file mode 100644 index 000000000..a523b0956 Binary files /dev/null and b/data/themes/img/O/icon_gradient.png differ diff --git a/data/themes/img/O/icon_halt.png b/data/themes/img/O/icon_halt.png new file mode 100644 index 000000000..63ed9c85d Binary files /dev/null and b/data/themes/img/O/icon_halt.png differ diff --git a/data/themes/img/O/icon_hibernate.png b/data/themes/img/O/icon_hibernate.png new file mode 100644 index 000000000..45cfa63d5 Binary files /dev/null and b/data/themes/img/O/icon_hibernate.png differ diff --git a/data/themes/img/O/icon_icon_theme.png b/data/themes/img/O/icon_icon_theme.png new file mode 100644 index 000000000..89d49e7ff Binary files /dev/null and b/data/themes/img/O/icon_icon_theme.png differ diff --git a/data/themes/img/O/icon_illume.png b/data/themes/img/O/icon_illume.png new file mode 100644 index 000000000..babb89634 Binary files /dev/null and b/data/themes/img/O/icon_illume.png differ diff --git a/data/themes/img/O/icon_imc.png b/data/themes/img/O/icon_imc.png new file mode 100644 index 000000000..7ddd968bc Binary files /dev/null and b/data/themes/img/O/icon_imc.png differ diff --git a/data/themes/img/O/icon_interaction.png b/data/themes/img/O/icon_interaction.png new file mode 100644 index 000000000..1c82af9f9 Binary files /dev/null and b/data/themes/img/O/icon_interaction.png differ diff --git a/data/themes/img/O/icon_intl.png b/data/themes/img/O/icon_intl.png new file mode 100644 index 000000000..826c7492f Binary files /dev/null and b/data/themes/img/O/icon_intl.png differ diff --git a/data/themes/img/O/icon_keyboard.png b/data/themes/img/O/icon_keyboard.png new file mode 100644 index 000000000..84b14bab5 Binary files /dev/null and b/data/themes/img/O/icon_keyboard.png differ diff --git a/data/themes/img/O/icon_keys.png b/data/themes/img/O/icon_keys.png new file mode 100644 index 000000000..4bbd8b10d Binary files /dev/null and b/data/themes/img/O/icon_keys.png differ diff --git a/data/themes/img/O/icon_left_arrow.png b/data/themes/img/O/icon_left_arrow.png new file mode 100644 index 000000000..e9338019b Binary files /dev/null and b/data/themes/img/O/icon_left_arrow.png differ diff --git a/data/themes/img/O/icon_logout.png b/data/themes/img/O/icon_logout.png new file mode 100644 index 000000000..29ee4e71e Binary files /dev/null and b/data/themes/img/O/icon_logout.png differ diff --git a/data/themes/img/O/icon_look.png b/data/themes/img/O/icon_look.png new file mode 100644 index 000000000..bb8a366ad Binary files /dev/null and b/data/themes/img/O/icon_look.png differ diff --git a/data/themes/img/O/icon_lost_windows.png b/data/themes/img/O/icon_lost_windows.png new file mode 100644 index 000000000..e19cb8264 Binary files /dev/null and b/data/themes/img/O/icon_lost_windows.png differ diff --git a/data/themes/img/O/icon_menu_settings.png b/data/themes/img/O/icon_menu_settings.png new file mode 100644 index 000000000..f75bb19c5 Binary files /dev/null and b/data/themes/img/O/icon_menu_settings.png differ diff --git a/data/themes/img/O/icon_menus.png b/data/themes/img/O/icon_menus.png new file mode 100644 index 000000000..0ed330fc2 Binary files /dev/null and b/data/themes/img/O/icon_menus.png differ diff --git a/data/themes/img/O/icon_mime_audio_generic.png b/data/themes/img/O/icon_mime_audio_generic.png new file mode 100644 index 000000000..874b6cfaf Binary files /dev/null and b/data/themes/img/O/icon_mime_audio_generic.png differ diff --git a/data/themes/img/O/icon_mime_bdf.png b/data/themes/img/O/icon_mime_bdf.png new file mode 100644 index 000000000..b850a6546 Binary files /dev/null and b/data/themes/img/O/icon_mime_bdf.png differ diff --git a/data/themes/img/O/icon_mime_c.png b/data/themes/img/O/icon_mime_c.png new file mode 100644 index 000000000..2c0e5c489 Binary files /dev/null and b/data/themes/img/O/icon_mime_c.png differ diff --git a/data/themes/img/O/icon_mime_css.png b/data/themes/img/O/icon_mime_css.png new file mode 100644 index 000000000..96558d8eb Binary files /dev/null and b/data/themes/img/O/icon_mime_css.png differ diff --git a/data/themes/img/O/icon_mime_deb.png b/data/themes/img/O/icon_mime_deb.png new file mode 100644 index 000000000..08d79d739 Binary files /dev/null and b/data/themes/img/O/icon_mime_deb.png differ diff --git a/data/themes/img/O/icon_mime_doc.png b/data/themes/img/O/icon_mime_doc.png new file mode 100644 index 000000000..929d2a33a Binary files /dev/null and b/data/themes/img/O/icon_mime_doc.png differ diff --git a/data/themes/img/O/icon_mime_executable_generic.png b/data/themes/img/O/icon_mime_executable_generic.png new file mode 100644 index 000000000..655407a21 Binary files /dev/null and b/data/themes/img/O/icon_mime_executable_generic.png differ diff --git a/data/themes/img/O/icon_mime_font_generic.png b/data/themes/img/O/icon_mime_font_generic.png new file mode 100644 index 000000000..527210464 Binary files /dev/null and b/data/themes/img/O/icon_mime_font_generic.png differ diff --git a/data/themes/img/O/icon_mime_h.png b/data/themes/img/O/icon_mime_h.png new file mode 100644 index 000000000..074f5bb76 Binary files /dev/null and b/data/themes/img/O/icon_mime_h.png differ diff --git a/data/themes/img/O/icon_mime_html.png b/data/themes/img/O/icon_mime_html.png new file mode 100644 index 000000000..1b24ebd24 Binary files /dev/null and b/data/themes/img/O/icon_mime_html.png differ diff --git a/data/themes/img/O/icon_mime_image_generic.png b/data/themes/img/O/icon_mime_image_generic.png new file mode 100644 index 000000000..887e31058 Binary files /dev/null and b/data/themes/img/O/icon_mime_image_generic.png differ diff --git a/data/themes/img/O/icon_mime_o.png b/data/themes/img/O/icon_mime_o.png new file mode 100644 index 000000000..4153cfaf1 Binary files /dev/null and b/data/themes/img/O/icon_mime_o.png differ diff --git a/data/themes/img/O/icon_mime_package.png b/data/themes/img/O/icon_mime_package.png new file mode 100644 index 000000000..40d11bdcb Binary files /dev/null and b/data/themes/img/O/icon_mime_package.png differ diff --git a/data/themes/img/O/icon_mime_patch.png b/data/themes/img/O/icon_mime_patch.png new file mode 100644 index 000000000..2b9c67e59 Binary files /dev/null and b/data/themes/img/O/icon_mime_patch.png differ diff --git a/data/themes/img/O/icon_mime_pcf.png b/data/themes/img/O/icon_mime_pcf.png new file mode 100644 index 000000000..2d887d44a Binary files /dev/null and b/data/themes/img/O/icon_mime_pcf.png differ diff --git a/data/themes/img/O/icon_mime_pdf.png b/data/themes/img/O/icon_mime_pdf.png new file mode 100644 index 000000000..ba537a905 Binary files /dev/null and b/data/themes/img/O/icon_mime_pdf.png differ diff --git a/data/themes/img/O/icon_mime_plain.png b/data/themes/img/O/icon_mime_plain.png new file mode 100644 index 000000000..7c25d3484 Binary files /dev/null and b/data/themes/img/O/icon_mime_plain.png differ diff --git a/data/themes/img/O/icon_mime_sh.png b/data/themes/img/O/icon_mime_sh.png new file mode 100644 index 000000000..e46ae4eb8 Binary files /dev/null and b/data/themes/img/O/icon_mime_sh.png differ diff --git a/data/themes/img/O/icon_mime_text_generic.png b/data/themes/img/O/icon_mime_text_generic.png new file mode 100644 index 000000000..9415847b2 Binary files /dev/null and b/data/themes/img/O/icon_mime_text_generic.png differ diff --git a/data/themes/img/O/icon_mime_ttf.png b/data/themes/img/O/icon_mime_ttf.png new file mode 100644 index 000000000..9c150111f Binary files /dev/null and b/data/themes/img/O/icon_mime_ttf.png differ diff --git a/data/themes/img/O/icon_mime_video_generic.png b/data/themes/img/O/icon_mime_video_generic.png new file mode 100644 index 000000000..fcfedbe11 Binary files /dev/null and b/data/themes/img/O/icon_mime_video_generic.png differ diff --git a/data/themes/img/O/icon_mime_xcf.png b/data/themes/img/O/icon_mime_xcf.png new file mode 100644 index 000000000..f1e71a6d9 Binary files /dev/null and b/data/themes/img/O/icon_mime_xcf.png differ diff --git a/data/themes/img/O/icon_mixer.png b/data/themes/img/O/icon_mixer.png new file mode 100644 index 000000000..e5e3b0e23 Binary files /dev/null and b/data/themes/img/O/icon_mixer.png differ diff --git a/data/themes/img/O/icon_modules.png b/data/themes/img/O/icon_modules.png new file mode 100644 index 000000000..50101e8f1 Binary files /dev/null and b/data/themes/img/O/icon_modules.png differ diff --git a/data/themes/img/O/icon_mouse.png b/data/themes/img/O/icon_mouse.png new file mode 100644 index 000000000..0af8dbc39 Binary files /dev/null and b/data/themes/img/O/icon_mouse.png differ diff --git a/data/themes/img/O/icon_mouse_clean.png b/data/themes/img/O/icon_mouse_clean.png new file mode 100644 index 000000000..190193c68 Binary files /dev/null and b/data/themes/img/O/icon_mouse_clean.png differ diff --git a/data/themes/img/O/icon_mouse_extra.png b/data/themes/img/O/icon_mouse_extra.png new file mode 100644 index 000000000..94f83b168 Binary files /dev/null and b/data/themes/img/O/icon_mouse_extra.png differ diff --git a/data/themes/img/O/icon_mouse_left.png b/data/themes/img/O/icon_mouse_left.png new file mode 100644 index 000000000..ba0198daa Binary files /dev/null and b/data/themes/img/O/icon_mouse_left.png differ diff --git a/data/themes/img/O/icon_mouse_middle.png b/data/themes/img/O/icon_mouse_middle.png new file mode 100644 index 000000000..ced1ef6d1 Binary files /dev/null and b/data/themes/img/O/icon_mouse_middle.png differ diff --git a/data/themes/img/O/icon_mouse_right.png b/data/themes/img/O/icon_mouse_right.png new file mode 100644 index 000000000..de9b9adf0 Binary files /dev/null and b/data/themes/img/O/icon_mouse_right.png differ diff --git a/data/themes/img/O/icon_mouse_wheel.png b/data/themes/img/O/icon_mouse_wheel.png new file mode 100644 index 000000000..7b5259edf Binary files /dev/null and b/data/themes/img/O/icon_mouse_wheel.png differ diff --git a/data/themes/img/O/icon_new.png b/data/themes/img/O/icon_new.png new file mode 100644 index 000000000..911c7b55f Binary files /dev/null and b/data/themes/img/O/icon_new.png differ diff --git a/data/themes/img/O/icon_pager.png b/data/themes/img/O/icon_pager.png new file mode 100644 index 000000000..147f26f53 Binary files /dev/null and b/data/themes/img/O/icon_pager.png differ diff --git a/data/themes/img/O/icon_performance.png b/data/themes/img/O/icon_performance.png new file mode 100644 index 000000000..6e54bc5c3 Binary files /dev/null and b/data/themes/img/O/icon_performance.png differ diff --git a/data/themes/img/O/icon_power_management.png b/data/themes/img/O/icon_power_management.png new file mode 100644 index 000000000..7ddef134a Binary files /dev/null and b/data/themes/img/O/icon_power_management.png differ diff --git a/data/themes/img/O/icon_profiles.png b/data/themes/img/O/icon_profiles.png new file mode 100644 index 000000000..37c0255a1 Binary files /dev/null and b/data/themes/img/O/icon_profiles.png differ diff --git a/data/themes/img/O/icon_reboot.png b/data/themes/img/O/icon_reboot.png new file mode 100644 index 000000000..1fc38a0dc Binary files /dev/null and b/data/themes/img/O/icon_reboot.png differ diff --git a/data/themes/img/O/icon_reset.png b/data/themes/img/O/icon_reset.png new file mode 100644 index 000000000..1fc38a0dc Binary files /dev/null and b/data/themes/img/O/icon_reset.png differ diff --git a/data/themes/img/O/icon_resize.png b/data/themes/img/O/icon_resize.png new file mode 100644 index 000000000..7362a7e3c Binary files /dev/null and b/data/themes/img/O/icon_resize.png differ diff --git a/data/themes/img/O/icon_right_arrow.png b/data/themes/img/O/icon_right_arrow.png new file mode 100644 index 000000000..5da3a7d00 Binary files /dev/null and b/data/themes/img/O/icon_right_arrow.png differ diff --git a/data/themes/img/O/icon_run.png b/data/themes/img/O/icon_run.png new file mode 100644 index 000000000..525e60f3a Binary files /dev/null and b/data/themes/img/O/icon_run.png differ diff --git a/data/themes/img/O/icon_scale.png b/data/themes/img/O/icon_scale.png new file mode 100644 index 000000000..fb6a85e74 Binary files /dev/null and b/data/themes/img/O/icon_scale.png differ diff --git a/data/themes/img/O/icon_screen_around.png b/data/themes/img/O/icon_screen_around.png new file mode 100644 index 000000000..5885668f8 Binary files /dev/null and b/data/themes/img/O/icon_screen_around.png differ diff --git a/data/themes/img/O/icon_screen_hflip.png b/data/themes/img/O/icon_screen_hflip.png new file mode 100644 index 000000000..f22d996f1 Binary files /dev/null and b/data/themes/img/O/icon_screen_hflip.png differ diff --git a/data/themes/img/O/icon_screen_left.png b/data/themes/img/O/icon_screen_left.png new file mode 100644 index 000000000..2debe427c Binary files /dev/null and b/data/themes/img/O/icon_screen_left.png differ diff --git a/data/themes/img/O/icon_screen_normal.png b/data/themes/img/O/icon_screen_normal.png new file mode 100644 index 000000000..1b773344e Binary files /dev/null and b/data/themes/img/O/icon_screen_normal.png differ diff --git a/data/themes/img/O/icon_screen_resolution.png b/data/themes/img/O/icon_screen_resolution.png new file mode 100644 index 000000000..bb363d4c1 Binary files /dev/null and b/data/themes/img/O/icon_screen_resolution.png differ diff --git a/data/themes/img/O/icon_screen_right.png b/data/themes/img/O/icon_screen_right.png new file mode 100644 index 000000000..42ca3fd52 Binary files /dev/null and b/data/themes/img/O/icon_screen_right.png differ diff --git a/data/themes/img/O/icon_screen_setup.png b/data/themes/img/O/icon_screen_setup.png new file mode 100644 index 000000000..1b773344e Binary files /dev/null and b/data/themes/img/O/icon_screen_setup.png differ diff --git a/data/themes/img/O/icon_screen_vflip.png b/data/themes/img/O/icon_screen_vflip.png new file mode 100644 index 000000000..198465fe0 Binary files /dev/null and b/data/themes/img/O/icon_screen_vflip.png differ diff --git a/data/themes/img/O/icon_screensaver.png b/data/themes/img/O/icon_screensaver.png new file mode 100644 index 000000000..8b749b6a9 Binary files /dev/null and b/data/themes/img/O/icon_screensaver.png differ diff --git a/data/themes/img/O/icon_screenshot.png b/data/themes/img/O/icon_screenshot.png new file mode 100644 index 000000000..bcd2a695d Binary files /dev/null and b/data/themes/img/O/icon_screenshot.png differ diff --git a/data/themes/img/O/icon_shelf.png b/data/themes/img/O/icon_shelf.png new file mode 100644 index 000000000..9a51d029b Binary files /dev/null and b/data/themes/img/O/icon_shelf.png differ diff --git a/data/themes/img/O/icon_shelf_bottom.png b/data/themes/img/O/icon_shelf_bottom.png new file mode 100644 index 000000000..cc600ecb9 Binary files /dev/null and b/data/themes/img/O/icon_shelf_bottom.png differ diff --git a/data/themes/img/O/icon_shelf_bottom_desk.png b/data/themes/img/O/icon_shelf_bottom_desk.png new file mode 100644 index 000000000..316461be0 Binary files /dev/null and b/data/themes/img/O/icon_shelf_bottom_desk.png differ diff --git a/data/themes/img/O/icon_shelf_bottom_left.png b/data/themes/img/O/icon_shelf_bottom_left.png new file mode 100644 index 000000000..1f76067ac Binary files /dev/null and b/data/themes/img/O/icon_shelf_bottom_left.png differ diff --git a/data/themes/img/O/icon_shelf_bottom_right.png b/data/themes/img/O/icon_shelf_bottom_right.png new file mode 100644 index 000000000..025a6bcf9 Binary files /dev/null and b/data/themes/img/O/icon_shelf_bottom_right.png differ diff --git a/data/themes/img/O/icon_shelf_custom.png b/data/themes/img/O/icon_shelf_custom.png new file mode 100644 index 000000000..5187f36f0 Binary files /dev/null and b/data/themes/img/O/icon_shelf_custom.png differ diff --git a/data/themes/img/O/icon_shelf_dock.png b/data/themes/img/O/icon_shelf_dock.png new file mode 100644 index 000000000..e7a2aea7b Binary files /dev/null and b/data/themes/img/O/icon_shelf_dock.png differ diff --git a/data/themes/img/O/icon_shelf_left.png b/data/themes/img/O/icon_shelf_left.png new file mode 100644 index 000000000..4500993e5 Binary files /dev/null and b/data/themes/img/O/icon_shelf_left.png differ diff --git a/data/themes/img/O/icon_shelf_left_bottom.png b/data/themes/img/O/icon_shelf_left_bottom.png new file mode 100644 index 000000000..6c5a383e5 Binary files /dev/null and b/data/themes/img/O/icon_shelf_left_bottom.png differ diff --git a/data/themes/img/O/icon_shelf_left_top.png b/data/themes/img/O/icon_shelf_left_top.png new file mode 100644 index 000000000..659c52b46 Binary files /dev/null and b/data/themes/img/O/icon_shelf_left_top.png differ diff --git a/data/themes/img/O/icon_shelf_menu_bar.png b/data/themes/img/O/icon_shelf_menu_bar.png new file mode 100644 index 000000000..5762bb233 Binary files /dev/null and b/data/themes/img/O/icon_shelf_menu_bar.png differ diff --git a/data/themes/img/O/icon_shelf_panel.png b/data/themes/img/O/icon_shelf_panel.png new file mode 100644 index 000000000..2a4fc8a4f Binary files /dev/null and b/data/themes/img/O/icon_shelf_panel.png differ diff --git a/data/themes/img/O/icon_shelf_right.png b/data/themes/img/O/icon_shelf_right.png new file mode 100644 index 000000000..26fa5cff4 Binary files /dev/null and b/data/themes/img/O/icon_shelf_right.png differ diff --git a/data/themes/img/O/icon_shelf_right_bottom.png b/data/themes/img/O/icon_shelf_right_bottom.png new file mode 100644 index 000000000..1f26807b7 Binary files /dev/null and b/data/themes/img/O/icon_shelf_right_bottom.png differ diff --git a/data/themes/img/O/icon_shelf_right_top.png b/data/themes/img/O/icon_shelf_right_top.png new file mode 100644 index 000000000..236c5da18 Binary files /dev/null and b/data/themes/img/O/icon_shelf_right_top.png differ diff --git a/data/themes/img/O/icon_shelf_top.png b/data/themes/img/O/icon_shelf_top.png new file mode 100644 index 000000000..8291263b4 Binary files /dev/null and b/data/themes/img/O/icon_shelf_top.png differ diff --git a/data/themes/img/O/icon_shelf_top_desk.png b/data/themes/img/O/icon_shelf_top_desk.png new file mode 100644 index 000000000..49f595d99 Binary files /dev/null and b/data/themes/img/O/icon_shelf_top_desk.png differ diff --git a/data/themes/img/O/icon_shelf_top_left.png b/data/themes/img/O/icon_shelf_top_left.png new file mode 100644 index 000000000..563687b17 Binary files /dev/null and b/data/themes/img/O/icon_shelf_top_left.png differ diff --git a/data/themes/img/O/icon_shelf_top_right.png b/data/themes/img/O/icon_shelf_top_right.png new file mode 100644 index 000000000..edac6f205 Binary files /dev/null and b/data/themes/img/O/icon_shelf_top_right.png differ diff --git a/data/themes/img/O/icon_startup.png b/data/themes/img/O/icon_startup.png new file mode 100644 index 000000000..63645f46a Binary files /dev/null and b/data/themes/img/O/icon_startup.png differ diff --git a/data/themes/img/O/icon_suspend.png b/data/themes/img/O/icon_suspend.png new file mode 100644 index 000000000..cb0e03868 Binary files /dev/null and b/data/themes/img/O/icon_suspend.png differ diff --git a/data/themes/img/O/icon_swap.png b/data/themes/img/O/icon_swap.png new file mode 100644 index 000000000..3250eae7c Binary files /dev/null and b/data/themes/img/O/icon_swap.png differ diff --git a/data/themes/img/O/icon_system.png b/data/themes/img/O/icon_system.png new file mode 100644 index 000000000..b9b35959d Binary files /dev/null and b/data/themes/img/O/icon_system.png differ diff --git a/data/themes/img/O/icon_theme.png b/data/themes/img/O/icon_theme.png new file mode 100644 index 000000000..674355916 Binary files /dev/null and b/data/themes/img/O/icon_theme.png differ diff --git a/data/themes/img/O/icon_toolbar.png b/data/themes/img/O/icon_toolbar.png new file mode 100644 index 000000000..c759dba47 Binary files /dev/null and b/data/themes/img/O/icon_toolbar.png differ diff --git a/data/themes/img/O/icon_transitions.png b/data/themes/img/O/icon_transitions.png new file mode 100644 index 000000000..7d0b62f2f Binary files /dev/null and b/data/themes/img/O/icon_transitions.png differ diff --git a/data/themes/img/O/icon_up_arrow.png b/data/themes/img/O/icon_up_arrow.png new file mode 100644 index 000000000..7ee536cd4 Binary files /dev/null and b/data/themes/img/O/icon_up_arrow.png differ diff --git a/data/themes/img/O/icon_wallpaper.png b/data/themes/img/O/icon_wallpaper.png new file mode 100644 index 000000000..ae9f97a92 Binary files /dev/null and b/data/themes/img/O/icon_wallpaper.png differ diff --git a/data/themes/img/O/icon_wallpaper_center.png b/data/themes/img/O/icon_wallpaper_center.png new file mode 100644 index 000000000..ee9601224 Binary files /dev/null and b/data/themes/img/O/icon_wallpaper_center.png differ diff --git a/data/themes/img/O/icon_wallpaper_center_flat.png b/data/themes/img/O/icon_wallpaper_center_flat.png new file mode 100644 index 000000000..dd3dc874f Binary files /dev/null and b/data/themes/img/O/icon_wallpaper_center_flat.png differ diff --git a/data/themes/img/O/icon_wallpaper_grad_screen.png b/data/themes/img/O/icon_wallpaper_grad_screen.png new file mode 100644 index 000000000..732adcbcd Binary files /dev/null and b/data/themes/img/O/icon_wallpaper_grad_screen.png differ diff --git a/data/themes/img/O/icon_wallpaper_screen.png b/data/themes/img/O/icon_wallpaper_screen.png new file mode 100644 index 000000000..ca9f87893 Binary files /dev/null and b/data/themes/img/O/icon_wallpaper_screen.png differ diff --git a/data/themes/img/O/icon_warning.png b/data/themes/img/O/icon_warning.png new file mode 100644 index 000000000..ef79dac6b Binary files /dev/null and b/data/themes/img/O/icon_warning.png differ diff --git a/data/themes/img/O/icon_win_move.png b/data/themes/img/O/icon_win_move.png new file mode 100644 index 000000000..4f58e4c10 Binary files /dev/null and b/data/themes/img/O/icon_win_move.png differ diff --git a/data/themes/img/O/icon_win_resize.png b/data/themes/img/O/icon_win_resize.png new file mode 100644 index 000000000..3d45fec27 Binary files /dev/null and b/data/themes/img/O/icon_win_resize.png differ diff --git a/data/themes/img/O/icon_window_focus.png b/data/themes/img/O/icon_window_focus.png new file mode 100644 index 000000000..fd2633ca5 Binary files /dev/null and b/data/themes/img/O/icon_window_focus.png differ diff --git a/data/themes/img/O/icon_window_geometry.png b/data/themes/img/O/icon_window_geometry.png new file mode 100644 index 000000000..75d8f095e Binary files /dev/null and b/data/themes/img/O/icon_window_geometry.png differ diff --git a/data/themes/img/O/icon_window_manipulation.png b/data/themes/img/O/icon_window_manipulation.png new file mode 100644 index 000000000..108a80a49 Binary files /dev/null and b/data/themes/img/O/icon_window_manipulation.png differ diff --git a/data/themes/img/O/icon_window_process_management.png b/data/themes/img/O/icon_window_process_management.png new file mode 100644 index 000000000..71f1f388a Binary files /dev/null and b/data/themes/img/O/icon_window_process_management.png differ diff --git a/data/themes/img/O/icon_window_remembers.png b/data/themes/img/O/icon_window_remembers.png new file mode 100644 index 000000000..bf9c94753 Binary files /dev/null and b/data/themes/img/O/icon_window_remembers.png differ diff --git a/data/themes/img/O/icon_windows.png b/data/themes/img/O/icon_windows.png new file mode 100644 index 000000000..9b19d4ae5 Binary files /dev/null and b/data/themes/img/O/icon_windows.png differ diff --git a/data/themes/img/O/icon_winlist.png b/data/themes/img/O/icon_winlist.png new file mode 100644 index 000000000..97ad69ab1 Binary files /dev/null and b/data/themes/img/O/icon_winlist.png differ diff --git a/data/themes/img/O/illume-home.png b/data/themes/img/O/illume-home.png new file mode 100644 index 000000000..62b51fd8e Binary files /dev/null and b/data/themes/img/O/illume-home.png differ diff --git a/data/themes/img/O/illume-kbd-on.png b/data/themes/img/O/illume-kbd-on.png new file mode 100644 index 000000000..0dbecb242 Binary files /dev/null and b/data/themes/img/O/illume-kbd-on.png differ diff --git a/data/themes/img/O/illume-kbd.png b/data/themes/img/O/illume-kbd.png new file mode 100644 index 000000000..3bbe26fd8 Binary files /dev/null and b/data/themes/img/O/illume-kbd.png differ diff --git a/data/themes/img/O/illume-mode-dual-left.png b/data/themes/img/O/illume-mode-dual-left.png new file mode 100644 index 000000000..5319f0135 Binary files /dev/null and b/data/themes/img/O/illume-mode-dual-left.png differ diff --git a/data/themes/img/O/illume-mode-dual-top.png b/data/themes/img/O/illume-mode-dual-top.png new file mode 100644 index 000000000..e8833d13e Binary files /dev/null and b/data/themes/img/O/illume-mode-dual-top.png differ diff --git a/data/themes/img/O/illume-mode-single.png b/data/themes/img/O/illume-mode-single.png new file mode 100644 index 000000000..9f7acc0f8 Binary files /dev/null and b/data/themes/img/O/illume-mode-single.png differ diff --git a/data/themes/img/O/inset_raised.png b/data/themes/img/O/inset_raised.png new file mode 100644 index 000000000..5f392b99e Binary files /dev/null and b/data/themes/img/O/inset_raised.png differ diff --git a/data/themes/img/O/inset_sunk.png b/data/themes/img/O/inset_sunk.png new file mode 100644 index 000000000..bb1989dd7 Binary files /dev/null and b/data/themes/img/O/inset_sunk.png differ diff --git a/data/themes/img/O/logo_black_128.png b/data/themes/img/O/logo_black_128.png new file mode 100644 index 000000000..0b79b69ab Binary files /dev/null and b/data/themes/img/O/logo_black_128.png differ diff --git a/data/themes/img/O/logo_white_128.png b/data/themes/img/O/logo_white_128.png new file mode 100644 index 000000000..9f0c7a7b9 Binary files /dev/null and b/data/themes/img/O/logo_white_128.png differ diff --git a/data/themes/img/O/mixer.png b/data/themes/img/O/mixer.png new file mode 100644 index 000000000..61d5dd356 Binary files /dev/null and b/data/themes/img/O/mixer.png differ diff --git a/data/themes/img/O/mixer_high_left.png b/data/themes/img/O/mixer_high_left.png new file mode 100644 index 000000000..e46adec06 Binary files /dev/null and b/data/themes/img/O/mixer_high_left.png differ diff --git a/data/themes/img/O/mixer_high_right.png b/data/themes/img/O/mixer_high_right.png new file mode 100644 index 000000000..7ee672e22 Binary files /dev/null and b/data/themes/img/O/mixer_high_right.png differ diff --git a/data/themes/img/O/mixer_low_left.png b/data/themes/img/O/mixer_low_left.png new file mode 100644 index 000000000..eaea3f1c0 Binary files /dev/null and b/data/themes/img/O/mixer_low_left.png differ diff --git a/data/themes/img/O/mixer_low_right.png b/data/themes/img/O/mixer_low_right.png new file mode 100644 index 000000000..ce0dc15fd Binary files /dev/null and b/data/themes/img/O/mixer_low_right.png differ diff --git a/data/themes/img/O/mixer_med_left.png b/data/themes/img/O/mixer_med_left.png new file mode 100644 index 000000000..d5a1d8a04 Binary files /dev/null and b/data/themes/img/O/mixer_med_left.png differ diff --git a/data/themes/img/O/mixer_med_right.png b/data/themes/img/O/mixer_med_right.png new file mode 100644 index 000000000..11c2ab8e2 Binary files /dev/null and b/data/themes/img/O/mixer_med_right.png differ diff --git a/data/themes/img/O/outline.png b/data/themes/img/O/outline.png new file mode 100644 index 000000000..8adc831f1 Binary files /dev/null and b/data/themes/img/O/outline.png differ diff --git a/data/themes/img/O/randr_icon_off.png b/data/themes/img/O/randr_icon_off.png new file mode 100644 index 000000000..47448b940 Binary files /dev/null and b/data/themes/img/O/randr_icon_off.png differ diff --git a/data/themes/img/O/randr_icon_on.png b/data/themes/img/O/randr_icon_on.png new file mode 100644 index 000000000..3859d428a Binary files /dev/null and b/data/themes/img/O/randr_icon_on.png differ diff --git a/data/themes/img/O/randr_monitor.png b/data/themes/img/O/randr_monitor.png new file mode 100644 index 000000000..da03c17b6 Binary files /dev/null and b/data/themes/img/O/randr_monitor.png differ diff --git a/data/themes/img/O/randr_stand.png b/data/themes/img/O/randr_stand.png new file mode 100644 index 000000000..84b5351e4 Binary files /dev/null and b/data/themes/img/O/randr_stand.png differ diff --git a/data/themes/img/O/sb_runnerh.png b/data/themes/img/O/sb_runnerh.png new file mode 100644 index 000000000..a483ce8b1 Binary files /dev/null and b/data/themes/img/O/sb_runnerh.png differ diff --git a/data/themes/img/O/sb_runnerv.png b/data/themes/img/O/sb_runnerv.png new file mode 100644 index 000000000..cb2da6fc3 Binary files /dev/null and b/data/themes/img/O/sb_runnerv.png differ diff --git a/data/themes/img/O/silk.png b/data/themes/img/O/silk.png new file mode 100644 index 000000000..4e7a4d811 Binary files /dev/null and b/data/themes/img/O/silk.png differ diff --git a/data/themes/img/O/t0-sh.png b/data/themes/img/O/t0-sh.png new file mode 100644 index 000000000..0ed57229a Binary files /dev/null and b/data/themes/img/O/t0-sh.png differ diff --git a/data/themes/img/O/t0.png b/data/themes/img/O/t0.png new file mode 100644 index 000000000..ed6ccf071 Binary files /dev/null and b/data/themes/img/O/t0.png differ diff --git a/data/themes/img/O/t1-sh.png b/data/themes/img/O/t1-sh.png new file mode 100644 index 000000000..cf647492a Binary files /dev/null and b/data/themes/img/O/t1-sh.png differ diff --git a/data/themes/img/O/t1.png b/data/themes/img/O/t1.png new file mode 100644 index 000000000..a41aa7345 Binary files /dev/null and b/data/themes/img/O/t1.png differ diff --git a/data/themes/img/O/t2.png b/data/themes/img/O/t2.png new file mode 100644 index 000000000..4c018a4ef Binary files /dev/null and b/data/themes/img/O/t2.png differ diff --git a/data/themes/img/O/tacho_bg.png b/data/themes/img/O/tacho_bg.png new file mode 100644 index 000000000..4f3124d9b Binary files /dev/null and b/data/themes/img/O/tacho_bg.png differ diff --git a/data/themes/img/O/tacho_fg.png b/data/themes/img/O/tacho_fg.png new file mode 100644 index 000000000..da7d80c95 Binary files /dev/null and b/data/themes/img/O/tacho_fg.png differ diff --git a/data/themes/img/O/temp_base.png b/data/themes/img/O/temp_base.png new file mode 100644 index 000000000..2cd854705 Binary files /dev/null and b/data/themes/img/O/temp_base.png differ diff --git a/data/themes/img/O/temp_mid.png b/data/themes/img/O/temp_mid.png new file mode 100644 index 000000000..e4ac06f1f Binary files /dev/null and b/data/themes/img/O/temp_mid.png differ diff --git a/data/themes/img/O/temp_over.png b/data/themes/img/O/temp_over.png new file mode 100644 index 000000000..daa845d63 Binary files /dev/null and b/data/themes/img/O/temp_over.png differ diff --git a/data/themes/img/O/theme-label.png b/data/themes/img/O/theme-label.png new file mode 100644 index 000000000..6dd6c1162 Binary files /dev/null and b/data/themes/img/O/theme-label.png differ diff --git a/data/themes/img/O/toolbar_sel.png b/data/themes/img/O/toolbar_sel.png new file mode 100644 index 000000000..d1205e72c Binary files /dev/null and b/data/themes/img/O/toolbar_sel.png differ diff --git a/data/themes/img/O/topsh.png b/data/themes/img/O/topsh.png new file mode 100644 index 000000000..4ea369d58 Binary files /dev/null and b/data/themes/img/O/topsh.png differ diff --git a/data/themes/img/O/transition_vswipe.png b/data/themes/img/O/transition_vswipe.png new file mode 100644 index 000000000..1e8eecc96 Binary files /dev/null and b/data/themes/img/O/transition_vswipe.png differ diff --git a/data/themes/img/O/vgrad_dark.png b/data/themes/img/O/vgrad_dark.png new file mode 100644 index 000000000..18c12e362 Binary files /dev/null and b/data/themes/img/O/vgrad_dark.png differ diff --git a/data/themes/img/O/vgrad_light.png b/data/themes/img/O/vgrad_light.png new file mode 100644 index 000000000..2ffbe95a6 Binary files /dev/null and b/data/themes/img/O/vgrad_light.png differ diff --git a/data/themes/img/O/wizard_bt1.png b/data/themes/img/O/wizard_bt1.png new file mode 100644 index 000000000..26cfc0f4a Binary files /dev/null and b/data/themes/img/O/wizard_bt1.png differ diff --git a/data/themes/img/O/wizard_bt2.png b/data/themes/img/O/wizard_bt2.png new file mode 100644 index 000000000..b929d45bb Binary files /dev/null and b/data/themes/img/O/wizard_bt2.png differ diff --git a/data/themes/img/O/wizard_pattern.png b/data/themes/img/O/wizard_pattern.png new file mode 100644 index 000000000..662c9e05f Binary files /dev/null and b/data/themes/img/O/wizard_pattern.png differ diff --git a/data/themes/img/O/wp-bot1.png b/data/themes/img/O/wp-bot1.png new file mode 100644 index 000000000..a04e5553f Binary files /dev/null and b/data/themes/img/O/wp-bot1.png differ diff --git a/data/themes/img/O/wp-bot2.png b/data/themes/img/O/wp-bot2.png new file mode 100644 index 000000000..cb86fb25c Binary files /dev/null and b/data/themes/img/O/wp-bot2.png differ diff --git a/data/themes/img/O/wp-tb1.png b/data/themes/img/O/wp-tb1.png new file mode 100644 index 000000000..6ed8e9ff2 Binary files /dev/null and b/data/themes/img/O/wp-tb1.png differ diff --git a/data/themes/img/O/wp-tb2.png b/data/themes/img/O/wp-tb2.png new file mode 100644 index 000000000..8c6f8c393 Binary files /dev/null and b/data/themes/img/O/wp-tb2.png differ diff --git a/data/themes/img/O/wp-tb3.png b/data/themes/img/O/wp-tb3.png new file mode 100644 index 000000000..404e8cde1 Binary files /dev/null and b/data/themes/img/O/wp-tb3.png differ diff --git a/data/themes/img/O/wp-tbs.png b/data/themes/img/O/wp-tbs.png new file mode 100644 index 000000000..02f1f25ef Binary files /dev/null and b/data/themes/img/O/wp-tbs.png differ diff --git a/data/themes/img/ball_small_glow.png b/data/themes/img/ball_small_glow.png new file mode 100644 index 000000000..8cdf8f500 Binary files /dev/null and b/data/themes/img/ball_small_glow.png differ diff --git a/data/themes/img/ball_small_glow_intense.png b/data/themes/img/ball_small_glow_intense.png new file mode 100644 index 000000000..5d6109472 Binary files /dev/null and b/data/themes/img/ball_small_glow_intense.png differ diff --git a/data/themes/img/bevel_curved_horiz_out.png b/data/themes/img/bevel_curved_horiz_out.png new file mode 100644 index 000000000..75426a29d Binary files /dev/null and b/data/themes/img/bevel_curved_horiz_out.png differ diff --git a/data/themes/img/bevel_dark_out.png b/data/themes/img/bevel_dark_out.png new file mode 100644 index 000000000..f22c0ae21 Binary files /dev/null and b/data/themes/img/bevel_dark_out.png differ diff --git a/data/themes/img/bevel_horiz_out.png b/data/themes/img/bevel_horiz_out.png new file mode 100644 index 000000000..38784d769 Binary files /dev/null and b/data/themes/img/bevel_horiz_out.png differ diff --git a/data/themes/img/bevel_in.png b/data/themes/img/bevel_in.png new file mode 100644 index 000000000..152e5acd0 Binary files /dev/null and b/data/themes/img/bevel_in.png differ diff --git a/data/themes/img/bevel_out.png b/data/themes/img/bevel_out.png new file mode 100644 index 000000000..7b9c2e47d Binary files /dev/null and b/data/themes/img/bevel_out.png differ diff --git a/data/themes/img/bg_radgrad.png b/data/themes/img/bg_radgrad.png new file mode 100644 index 000000000..76f626549 Binary files /dev/null and b/data/themes/img/bg_radgrad.png differ diff --git a/data/themes/img/big_arrow_down.png b/data/themes/img/big_arrow_down.png new file mode 100644 index 000000000..24dae5d9c Binary files /dev/null and b/data/themes/img/big_arrow_down.png differ diff --git a/data/themes/img/big_arrow_down_shadow.png b/data/themes/img/big_arrow_down_shadow.png new file mode 100644 index 000000000..12891095c Binary files /dev/null and b/data/themes/img/big_arrow_down_shadow.png differ diff --git a/data/themes/img/big_arrow_left.png b/data/themes/img/big_arrow_left.png new file mode 100644 index 000000000..8f327da60 Binary files /dev/null and b/data/themes/img/big_arrow_left.png differ diff --git a/data/themes/img/big_arrow_left_shadow.png b/data/themes/img/big_arrow_left_shadow.png new file mode 100644 index 000000000..42964d05e Binary files /dev/null and b/data/themes/img/big_arrow_left_shadow.png differ diff --git a/data/themes/img/big_arrow_right.png b/data/themes/img/big_arrow_right.png new file mode 100644 index 000000000..fe174dfdf Binary files /dev/null and b/data/themes/img/big_arrow_right.png differ diff --git a/data/themes/img/big_arrow_right_shadow.png b/data/themes/img/big_arrow_right_shadow.png new file mode 100644 index 000000000..a57b7e04c Binary files /dev/null and b/data/themes/img/big_arrow_right_shadow.png differ diff --git a/data/themes/img/big_arrow_up.png b/data/themes/img/big_arrow_up.png new file mode 100644 index 000000000..95f1787c3 Binary files /dev/null and b/data/themes/img/big_arrow_up.png differ diff --git a/data/themes/img/big_arrow_up_shadow.png b/data/themes/img/big_arrow_up_shadow.png new file mode 100644 index 000000000..5a1db285a Binary files /dev/null and b/data/themes/img/big_arrow_up_shadow.png differ diff --git a/data/themes/img/bt_base.png b/data/themes/img/bt_base.png new file mode 100644 index 000000000..a60b8d929 Binary files /dev/null and b/data/themes/img/bt_base.png differ diff --git a/data/themes/img/bt_sig_1.png b/data/themes/img/bt_sig_1.png new file mode 100644 index 000000000..b1f3a51ac Binary files /dev/null and b/data/themes/img/bt_sig_1.png differ diff --git a/data/themes/img/bt_sig_2.png b/data/themes/img/bt_sig_2.png new file mode 100644 index 000000000..aa23c336d Binary files /dev/null and b/data/themes/img/bt_sig_2.png differ diff --git a/data/themes/img/button_clicked.png b/data/themes/img/button_clicked.png new file mode 100644 index 000000000..fd76490bc Binary files /dev/null and b/data/themes/img/button_clicked.png differ diff --git a/data/themes/img/button_normal.png b/data/themes/img/button_normal.png new file mode 100644 index 000000000..a7feada45 Binary files /dev/null and b/data/themes/img/button_normal.png differ diff --git a/data/themes/img/cell_base.png b/data/themes/img/cell_base.png new file mode 100644 index 000000000..21cfc9b2a Binary files /dev/null and b/data/themes/img/cell_base.png differ diff --git a/data/themes/img/cell_sig_1.png b/data/themes/img/cell_sig_1.png new file mode 100644 index 000000000..fb03cd43d Binary files /dev/null and b/data/themes/img/cell_sig_1.png differ diff --git a/data/themes/img/cell_sig_2.png b/data/themes/img/cell_sig_2.png new file mode 100644 index 000000000..31459b578 Binary files /dev/null and b/data/themes/img/cell_sig_2.png differ diff --git a/data/themes/img/cell_sig_3.png b/data/themes/img/cell_sig_3.png new file mode 100644 index 000000000..6475d888c Binary files /dev/null and b/data/themes/img/cell_sig_3.png differ diff --git a/data/themes/img/cell_sig_4.png b/data/themes/img/cell_sig_4.png new file mode 100644 index 000000000..7bbfa0377 Binary files /dev/null and b/data/themes/img/cell_sig_4.png differ diff --git a/data/themes/img/darken_rounded_square.png b/data/themes/img/darken_rounded_square.png new file mode 100644 index 000000000..c7f143512 Binary files /dev/null and b/data/themes/img/darken_rounded_square.png differ diff --git a/data/themes/img/diagonal_stripes.png b/data/themes/img/diagonal_stripes.png new file mode 100644 index 000000000..afa982a40 Binary files /dev/null and b/data/themes/img/diagonal_stripes.png differ diff --git a/data/themes/img/dot_pattern.png b/data/themes/img/dot_pattern.png new file mode 100644 index 000000000..391f2ea56 Binary files /dev/null and b/data/themes/img/dot_pattern.png differ diff --git a/data/themes/img/downlight_glow.png b/data/themes/img/downlight_glow.png new file mode 100644 index 000000000..ece5bf1bc Binary files /dev/null and b/data/themes/img/downlight_glow.png differ diff --git a/data/themes/img/eth.png b/data/themes/img/eth.png new file mode 100644 index 000000000..14cb9c114 Binary files /dev/null and b/data/themes/img/eth.png differ diff --git a/data/themes/img/exlclam.png b/data/themes/img/exlclam.png new file mode 100644 index 000000000..d4958c242 Binary files /dev/null and b/data/themes/img/exlclam.png differ diff --git a/data/themes/img/glow_lock_double.png b/data/themes/img/glow_lock_double.png new file mode 100644 index 000000000..87794bba4 Binary files /dev/null and b/data/themes/img/glow_lock_double.png differ diff --git a/data/themes/img/glow_lock_locked.png b/data/themes/img/glow_lock_locked.png new file mode 100644 index 000000000..693924e8d Binary files /dev/null and b/data/themes/img/glow_lock_locked.png differ diff --git a/data/themes/img/glow_lock_unlocked.png b/data/themes/img/glow_lock_unlocked.png new file mode 100644 index 000000000..6e1342997 Binary files /dev/null and b/data/themes/img/glow_lock_unlocked.png differ diff --git a/data/themes/img/glow_round_corners.png b/data/themes/img/glow_round_corners.png new file mode 100644 index 000000000..ab7b7a17a Binary files /dev/null and b/data/themes/img/glow_round_corners.png differ diff --git a/data/themes/img/glow_round_corners_small.png b/data/themes/img/glow_round_corners_small.png new file mode 100644 index 000000000..079f5a643 Binary files /dev/null and b/data/themes/img/glow_round_corners_small.png differ diff --git a/data/themes/img/glow_small.png b/data/themes/img/glow_small.png new file mode 100644 index 000000000..4a86096ca Binary files /dev/null and b/data/themes/img/glow_small.png differ diff --git a/data/themes/img/hole_tiny.png b/data/themes/img/hole_tiny.png new file mode 100644 index 000000000..49f7648b5 Binary files /dev/null and b/data/themes/img/hole_tiny.png differ diff --git a/data/themes/img/holes_horiz.png b/data/themes/img/holes_horiz.png new file mode 100644 index 000000000..f8c501b42 Binary files /dev/null and b/data/themes/img/holes_horiz.png differ diff --git a/data/themes/img/holes_tiny_glow_horiz.png b/data/themes/img/holes_tiny_glow_horiz.png new file mode 100644 index 000000000..bd2e33167 Binary files /dev/null and b/data/themes/img/holes_tiny_glow_horiz.png differ diff --git a/data/themes/img/holes_tiny_glow_vert.png b/data/themes/img/holes_tiny_glow_vert.png new file mode 100644 index 000000000..360a19cf8 Binary files /dev/null and b/data/themes/img/holes_tiny_glow_vert.png differ diff --git a/data/themes/img/holes_tiny_horiz.png b/data/themes/img/holes_tiny_horiz.png new file mode 100644 index 000000000..aab4069f7 Binary files /dev/null and b/data/themes/img/holes_tiny_horiz.png differ diff --git a/data/themes/img/holes_tiny_vert.png b/data/themes/img/holes_tiny_vert.png new file mode 100644 index 000000000..a49be378d Binary files /dev/null and b/data/themes/img/holes_tiny_vert.png differ diff --git a/data/themes/img/holes_vert.png b/data/themes/img/holes_vert.png new file mode 100644 index 000000000..01611d1a3 Binary files /dev/null and b/data/themes/img/holes_vert.png differ diff --git a/data/themes/img/horiz_bar_inset.png b/data/themes/img/horiz_bar_inset.png new file mode 100644 index 000000000..aca19eceb Binary files /dev/null and b/data/themes/img/horiz_bar_inset.png differ diff --git a/data/themes/img/horiz_glow_run.png b/data/themes/img/horiz_glow_run.png new file mode 100644 index 000000000..acbc96e58 Binary files /dev/null and b/data/themes/img/horiz_glow_run.png differ diff --git a/data/themes/img/horizontal_separated_bar_glow.png b/data/themes/img/horizontal_separated_bar_glow.png new file mode 100644 index 000000000..f08388462 Binary files /dev/null and b/data/themes/img/horizontal_separated_bar_glow.png differ diff --git a/data/themes/img/horizontal_separated_bar_small_glow.png b/data/themes/img/horizontal_separated_bar_small_glow.png new file mode 100644 index 000000000..31ddfeeca Binary files /dev/null and b/data/themes/img/horizontal_separated_bar_small_glow.png differ diff --git a/data/themes/img/inset_circle_tiny.png b/data/themes/img/inset_circle_tiny.png new file mode 100644 index 000000000..9ed6af9e3 Binary files /dev/null and b/data/themes/img/inset_circle_tiny.png differ diff --git a/data/themes/img/inset_shadow.png b/data/themes/img/inset_shadow.png new file mode 100644 index 000000000..dad255c61 Binary files /dev/null and b/data/themes/img/inset_shadow.png differ diff --git a/data/themes/img/inset_shadow_circle_tiny.png b/data/themes/img/inset_shadow_circle_tiny.png new file mode 100644 index 000000000..db416a960 Binary files /dev/null and b/data/themes/img/inset_shadow_circle_tiny.png differ diff --git a/data/themes/img/inset_shadow_tiny.png b/data/themes/img/inset_shadow_tiny.png new file mode 100644 index 000000000..773237cb8 Binary files /dev/null and b/data/themes/img/inset_shadow_tiny.png differ diff --git a/data/themes/img/knob_round_busy.png b/data/themes/img/knob_round_busy.png new file mode 100644 index 000000000..8bf03e6ab Binary files /dev/null and b/data/themes/img/knob_round_busy.png differ diff --git a/data/themes/img/knob_round_small_busy.png b/data/themes/img/knob_round_small_busy.png new file mode 100644 index 000000000..76d35baa5 Binary files /dev/null and b/data/themes/img/knob_round_small_busy.png differ diff --git a/data/themes/img/knob_round_small_normal.png b/data/themes/img/knob_round_small_normal.png new file mode 100644 index 000000000..de73084ce Binary files /dev/null and b/data/themes/img/knob_round_small_normal.png differ diff --git a/data/themes/img/knob_round_small_selected.png b/data/themes/img/knob_round_small_selected.png new file mode 100644 index 000000000..df339ad12 Binary files /dev/null and b/data/themes/img/knob_round_small_selected.png differ diff --git a/data/themes/img/led_dark.png b/data/themes/img/led_dark.png new file mode 100644 index 000000000..d60cdf20f Binary files /dev/null and b/data/themes/img/led_dark.png differ diff --git a/data/themes/img/led_light.png b/data/themes/img/led_light.png new file mode 100644 index 000000000..42d3d5075 Binary files /dev/null and b/data/themes/img/led_light.png differ diff --git a/data/themes/img/led_tiny_green.png b/data/themes/img/led_tiny_green.png new file mode 100644 index 000000000..a66ffd289 Binary files /dev/null and b/data/themes/img/led_tiny_green.png differ diff --git a/data/themes/img/led_tiny_orange.png b/data/themes/img/led_tiny_orange.png new file mode 100644 index 000000000..0bcb57495 Binary files /dev/null and b/data/themes/img/led_tiny_orange.png differ diff --git a/data/themes/img/media_busy_progress.png b/data/themes/img/media_busy_progress.png new file mode 100644 index 000000000..2d973daa2 Binary files /dev/null and b/data/themes/img/media_busy_progress.png differ diff --git a/data/themes/img/mini_blue_glow_arrow_0.png b/data/themes/img/mini_blue_glow_arrow_0.png new file mode 100644 index 000000000..e22bad004 Binary files /dev/null and b/data/themes/img/mini_blue_glow_arrow_0.png differ diff --git a/data/themes/img/mini_blue_glow_arrow_1.png b/data/themes/img/mini_blue_glow_arrow_1.png new file mode 100644 index 000000000..9d180029a Binary files /dev/null and b/data/themes/img/mini_blue_glow_arrow_1.png differ diff --git a/data/themes/img/mini_blue_glow_arrow_2.png b/data/themes/img/mini_blue_glow_arrow_2.png new file mode 100644 index 000000000..e4f1901b9 Binary files /dev/null and b/data/themes/img/mini_blue_glow_arrow_2.png differ diff --git a/data/themes/img/mini_blue_glow_arrow_3.png b/data/themes/img/mini_blue_glow_arrow_3.png new file mode 100644 index 000000000..ebe6bbabc Binary files /dev/null and b/data/themes/img/mini_blue_glow_arrow_3.png differ diff --git a/data/themes/img/mini_box_bevel_shadow.png b/data/themes/img/mini_box_bevel_shadow.png new file mode 100644 index 000000000..768e8682c Binary files /dev/null and b/data/themes/img/mini_box_bevel_shadow.png differ diff --git a/data/themes/img/mini_box_glow.png b/data/themes/img/mini_box_glow.png new file mode 100644 index 000000000..da4622306 Binary files /dev/null and b/data/themes/img/mini_box_glow.png differ diff --git a/data/themes/img/outline_glow.png b/data/themes/img/outline_glow.png new file mode 100644 index 000000000..8ae8c2f67 Binary files /dev/null and b/data/themes/img/outline_glow.png differ diff --git a/data/themes/img/pointer.png b/data/themes/img/pointer.png new file mode 100644 index 000000000..9d1aaaa1b Binary files /dev/null and b/data/themes/img/pointer.png differ diff --git a/data/themes/img/pointer_glow.png b/data/themes/img/pointer_glow.png new file mode 100644 index 000000000..297e7d604 Binary files /dev/null and b/data/themes/img/pointer_glow.png differ diff --git a/data/themes/img/pointer_mono.png b/data/themes/img/pointer_mono.png new file mode 100644 index 000000000..fe8ee71cd Binary files /dev/null and b/data/themes/img/pointer_mono.png differ diff --git a/data/themes/img/runner_glow_horiz.png b/data/themes/img/runner_glow_horiz.png new file mode 100644 index 000000000..ff6330147 Binary files /dev/null and b/data/themes/img/runner_glow_horiz.png differ diff --git a/data/themes/img/runner_glow_vert.png b/data/themes/img/runner_glow_vert.png new file mode 100644 index 000000000..ddc47c719 Binary files /dev/null and b/data/themes/img/runner_glow_vert.png differ diff --git a/data/themes/img/runner_horiz.png b/data/themes/img/runner_horiz.png new file mode 100644 index 000000000..bf9b3880a Binary files /dev/null and b/data/themes/img/runner_horiz.png differ diff --git a/data/themes/img/runner_vert.png b/data/themes/img/runner_vert.png new file mode 100644 index 000000000..1db8e6cc8 Binary files /dev/null and b/data/themes/img/runner_vert.png differ diff --git a/data/themes/img/screen_circular_shadow.png b/data/themes/img/screen_circular_shadow.png new file mode 100644 index 000000000..ae502f8ae Binary files /dev/null and b/data/themes/img/screen_circular_shadow.png differ diff --git a/data/themes/img/separator_horiz.png b/data/themes/img/separator_horiz.png new file mode 100644 index 000000000..ed53e4d39 Binary files /dev/null and b/data/themes/img/separator_horiz.png differ diff --git a/data/themes/img/shadow_angled_in_light.png b/data/themes/img/shadow_angled_in_light.png new file mode 100644 index 000000000..ad44b47cc Binary files /dev/null and b/data/themes/img/shadow_angled_in_light.png differ diff --git a/data/themes/img/shadow_angled_in_sides.png b/data/themes/img/shadow_angled_in_sides.png new file mode 100644 index 000000000..8f5d276e3 Binary files /dev/null and b/data/themes/img/shadow_angled_in_sides.png differ diff --git a/data/themes/img/shadow_inset_bevels.png b/data/themes/img/shadow_inset_bevels.png new file mode 100644 index 000000000..ecac08b3f Binary files /dev/null and b/data/themes/img/shadow_inset_bevels.png differ diff --git a/data/themes/img/shadow_inset_light.png b/data/themes/img/shadow_inset_light.png new file mode 100644 index 000000000..88c76c799 Binary files /dev/null and b/data/themes/img/shadow_inset_light.png differ diff --git a/data/themes/img/shadow_rounded_horiz.png b/data/themes/img/shadow_rounded_horiz.png new file mode 100644 index 000000000..5030a0840 Binary files /dev/null and b/data/themes/img/shadow_rounded_horiz.png differ diff --git a/data/themes/img/shadow_square_tiny.png b/data/themes/img/shadow_square_tiny.png new file mode 100644 index 000000000..7a180f307 Binary files /dev/null and b/data/themes/img/shadow_square_tiny.png differ diff --git a/data/themes/img/shadow_vertical_dark.png b/data/themes/img/shadow_vertical_dark.png new file mode 100644 index 000000000..0f516e928 Binary files /dev/null and b/data/themes/img/shadow_vertical_dark.png differ diff --git a/data/themes/img/shine.png b/data/themes/img/shine.png new file mode 100644 index 000000000..e433c0236 Binary files /dev/null and b/data/themes/img/shine.png differ diff --git a/data/themes/img/slider_run_base_horiz.png b/data/themes/img/slider_run_base_horiz.png new file mode 100644 index 000000000..220dde727 Binary files /dev/null and b/data/themes/img/slider_run_base_horiz.png differ diff --git a/data/themes/img/slider_run_base_light_horiz.png b/data/themes/img/slider_run_base_light_horiz.png new file mode 100644 index 000000000..ce130bbbd Binary files /dev/null and b/data/themes/img/slider_run_base_light_horiz.png differ diff --git a/data/themes/img/slider_run_base_light_vert.png b/data/themes/img/slider_run_base_light_vert.png new file mode 100644 index 000000000..b82078d74 Binary files /dev/null and b/data/themes/img/slider_run_base_light_vert.png differ diff --git a/data/themes/img/slider_run_base_vert.png b/data/themes/img/slider_run_base_vert.png new file mode 100644 index 000000000..20e2813dc Binary files /dev/null and b/data/themes/img/slider_run_base_vert.png differ diff --git a/data/themes/img/slider_run_bevel_horiz.png b/data/themes/img/slider_run_bevel_horiz.png new file mode 100644 index 000000000..a018687e1 Binary files /dev/null and b/data/themes/img/slider_run_bevel_horiz.png differ diff --git a/data/themes/img/slider_run_bevel_vert.png b/data/themes/img/slider_run_bevel_vert.png new file mode 100644 index 000000000..a6c15ffc9 Binary files /dev/null and b/data/themes/img/slider_run_bevel_vert.png differ diff --git a/data/themes/img/slot_horiz_bottom.png b/data/themes/img/slot_horiz_bottom.png new file mode 100644 index 000000000..a8c6fdc87 Binary files /dev/null and b/data/themes/img/slot_horiz_bottom.png differ diff --git a/data/themes/img/slot_horiz_top.png b/data/themes/img/slot_horiz_top.png new file mode 100644 index 000000000..e0dba5c8a Binary files /dev/null and b/data/themes/img/slot_horiz_top.png differ diff --git a/data/themes/img/sym_check_alum.png b/data/themes/img/sym_check_alum.png new file mode 100644 index 000000000..fa9e2fc78 Binary files /dev/null and b/data/themes/img/sym_check_alum.png differ diff --git a/data/themes/img/sym_close_dark_normal.png b/data/themes/img/sym_close_dark_normal.png new file mode 100644 index 000000000..7f01f5a7d Binary files /dev/null and b/data/themes/img/sym_close_dark_normal.png differ diff --git a/data/themes/img/sym_close_dark_selected.png b/data/themes/img/sym_close_dark_selected.png new file mode 100644 index 000000000..fdc8b0594 Binary files /dev/null and b/data/themes/img/sym_close_dark_selected.png differ diff --git a/data/themes/img/sym_close_light_normal.png b/data/themes/img/sym_close_light_normal.png new file mode 100644 index 000000000..54ad4b2c2 Binary files /dev/null and b/data/themes/img/sym_close_light_normal.png differ diff --git a/data/themes/img/sym_close_light_selected.png b/data/themes/img/sym_close_light_selected.png new file mode 100644 index 000000000..c2ff0c58e Binary files /dev/null and b/data/themes/img/sym_close_light_selected.png differ diff --git a/data/themes/img/sym_down_dark_normal.png b/data/themes/img/sym_down_dark_normal.png new file mode 100644 index 000000000..f34aa136a Binary files /dev/null and b/data/themes/img/sym_down_dark_normal.png differ diff --git a/data/themes/img/sym_down_dark_selected.png b/data/themes/img/sym_down_dark_selected.png new file mode 100644 index 000000000..7fc701ad5 Binary files /dev/null and b/data/themes/img/sym_down_dark_selected.png differ diff --git a/data/themes/img/sym_down_glow_normal.png b/data/themes/img/sym_down_glow_normal.png new file mode 100644 index 000000000..2ec0f1e98 Binary files /dev/null and b/data/themes/img/sym_down_glow_normal.png differ diff --git a/data/themes/img/sym_down_light_normal.png b/data/themes/img/sym_down_light_normal.png new file mode 100644 index 000000000..9b6f25999 Binary files /dev/null and b/data/themes/img/sym_down_light_normal.png differ diff --git a/data/themes/img/sym_down_light_selected.png b/data/themes/img/sym_down_light_selected.png new file mode 100644 index 000000000..a36d1def4 Binary files /dev/null and b/data/themes/img/sym_down_light_selected.png differ diff --git a/data/themes/img/sym_heart_glow_normal.png b/data/themes/img/sym_heart_glow_normal.png new file mode 100644 index 000000000..41a9001e7 Binary files /dev/null and b/data/themes/img/sym_heart_glow_normal.png differ diff --git a/data/themes/img/sym_heart_light_normal.png b/data/themes/img/sym_heart_light_normal.png new file mode 100644 index 000000000..1cb10bb21 Binary files /dev/null and b/data/themes/img/sym_heart_light_normal.png differ diff --git a/data/themes/img/sym_left_glow_normal.png b/data/themes/img/sym_left_glow_normal.png new file mode 100644 index 000000000..c2446a73e Binary files /dev/null and b/data/themes/img/sym_left_glow_normal.png differ diff --git a/data/themes/img/sym_left_light_normal.png b/data/themes/img/sym_left_light_normal.png new file mode 100644 index 000000000..f8a2a46a0 Binary files /dev/null and b/data/themes/img/sym_left_light_normal.png differ diff --git a/data/themes/img/sym_radio_alum.png b/data/themes/img/sym_radio_alum.png new file mode 100644 index 000000000..3f46d9399 Binary files /dev/null and b/data/themes/img/sym_radio_alum.png differ diff --git a/data/themes/img/sym_reload_glow_normal.png b/data/themes/img/sym_reload_glow_normal.png new file mode 100644 index 000000000..d0ab27539 Binary files /dev/null and b/data/themes/img/sym_reload_glow_normal.png differ diff --git a/data/themes/img/sym_reload_light_normal.png b/data/themes/img/sym_reload_light_normal.png new file mode 100644 index 000000000..a3c2cfa58 Binary files /dev/null and b/data/themes/img/sym_reload_light_normal.png differ diff --git a/data/themes/img/sym_right_glow_normal.png b/data/themes/img/sym_right_glow_normal.png new file mode 100644 index 000000000..301039386 Binary files /dev/null and b/data/themes/img/sym_right_glow_normal.png differ diff --git a/data/themes/img/sym_right_light_normal.png b/data/themes/img/sym_right_light_normal.png new file mode 100644 index 000000000..2caf1dd39 Binary files /dev/null and b/data/themes/img/sym_right_light_normal.png differ diff --git a/data/themes/img/sym_up_dark_normal.png b/data/themes/img/sym_up_dark_normal.png new file mode 100644 index 000000000..06a17f6a9 Binary files /dev/null and b/data/themes/img/sym_up_dark_normal.png differ diff --git a/data/themes/img/sym_up_dark_selected.png b/data/themes/img/sym_up_dark_selected.png new file mode 100644 index 000000000..c03aaf5f4 Binary files /dev/null and b/data/themes/img/sym_up_dark_selected.png differ diff --git a/data/themes/img/sym_up_glow_normal.png b/data/themes/img/sym_up_glow_normal.png new file mode 100644 index 000000000..2df4220b0 Binary files /dev/null and b/data/themes/img/sym_up_glow_normal.png differ diff --git a/data/themes/img/sym_up_light_normal.png b/data/themes/img/sym_up_light_normal.png new file mode 100644 index 000000000..8ac150ccd Binary files /dev/null and b/data/themes/img/sym_up_light_normal.png differ diff --git a/data/themes/img/sym_up_light_selected.png b/data/themes/img/sym_up_light_selected.png new file mode 100644 index 000000000..ae085a6ff Binary files /dev/null and b/data/themes/img/sym_up_light_selected.png differ diff --git a/data/themes/img/vert_bar_inset.png b/data/themes/img/vert_bar_inset.png new file mode 100644 index 000000000..3da939f82 Binary files /dev/null and b/data/themes/img/vert_bar_inset.png differ diff --git a/data/themes/img/vert_glow_run.png b/data/themes/img/vert_glow_run.png new file mode 100644 index 000000000..539b7a6c8 Binary files /dev/null and b/data/themes/img/vert_glow_run.png differ diff --git a/data/themes/img/vertical_separated_bar_glow.png b/data/themes/img/vertical_separated_bar_glow.png new file mode 100644 index 000000000..3dfbb7e29 Binary files /dev/null and b/data/themes/img/vertical_separated_bar_glow.png differ diff --git a/data/themes/img/vgrad_med.png b/data/themes/img/vgrad_med.png new file mode 100644 index 000000000..24caaa87a Binary files /dev/null and b/data/themes/img/vgrad_med.png differ diff --git a/data/themes/img/vgrad_med_curved.png b/data/themes/img/vgrad_med_curved.png new file mode 100644 index 000000000..7ad247641 Binary files /dev/null and b/data/themes/img/vgrad_med_curved.png differ diff --git a/data/themes/img/vgrad_med_dark.png b/data/themes/img/vgrad_med_dark.png new file mode 100644 index 000000000..85430449e Binary files /dev/null and b/data/themes/img/vgrad_med_dark.png differ diff --git a/data/themes/img/vgrad_med_darker.png b/data/themes/img/vgrad_med_darker.png new file mode 100644 index 000000000..965021f48 Binary files /dev/null and b/data/themes/img/vgrad_med_darker.png differ diff --git a/data/themes/img/vgrad_med_lighter.png b/data/themes/img/vgrad_med_lighter.png new file mode 100644 index 000000000..54d215efc Binary files /dev/null and b/data/themes/img/vgrad_med_lighter.png differ diff --git a/data/themes/img/vgrad_tall.png b/data/themes/img/vgrad_tall.png new file mode 100644 index 000000000..f85007f69 Binary files /dev/null and b/data/themes/img/vgrad_tall.png differ diff --git a/data/themes/img/white_bar_vert_glow.png b/data/themes/img/white_bar_vert_glow.png new file mode 100644 index 000000000..49c673550 Binary files /dev/null and b/data/themes/img/white_bar_vert_glow.png differ diff --git a/data/themes/img/wifi_base.png b/data/themes/img/wifi_base.png new file mode 100644 index 000000000..077b0a35b Binary files /dev/null and b/data/themes/img/wifi_base.png differ diff --git a/data/themes/img/wifi_sig_1.png b/data/themes/img/wifi_sig_1.png new file mode 100644 index 000000000..f7aebf225 Binary files /dev/null and b/data/themes/img/wifi_sig_1.png differ diff --git a/data/themes/img/wifi_sig_2.png b/data/themes/img/wifi_sig_2.png new file mode 100644 index 000000000..a72388147 Binary files /dev/null and b/data/themes/img/wifi_sig_2.png differ diff --git a/data/themes/img/wifi_sig_3.png b/data/themes/img/wifi_sig_3.png new file mode 100644 index 000000000..1d40d81c5 Binary files /dev/null and b/data/themes/img/wifi_sig_3.png differ diff --git a/data/themes/img/win_glow.png b/data/themes/img/win_glow.png new file mode 100644 index 000000000..d513f66da Binary files /dev/null and b/data/themes/img/win_glow.png differ diff --git a/data/themes/img/win_shadow.png b/data/themes/img/win_shadow.png new file mode 100644 index 000000000..98f158e93 Binary files /dev/null and b/data/themes/img/win_shadow.png differ diff --git a/data/themes/macros.edc b/data/themes/macros.edc new file mode 100644 index 000000000..75351e75b --- /dev/null +++ b/data/themes/macros.edc @@ -0,0 +1,8 @@ +#define ASPECT_FILL(_ASPECT) \ + aspect: _ASPECT _ASPECT; aspect_preference: NONE; +#define TILED_PATTERN(_WIDTH, _HEIGHT) \ + fill { size { relative: 0.0 0.0; offset: _WIDTH _HEIGHT; } } +#define TILED_HORIZ(_WIDTH) \ + fill { size { relative: 0.0 1.0; offset: _WIDTH 0; } } +#define FIXED_SIZE(_WIDTH, _HEIGHT) \ + min: _WIDTH _HEIGHT; max: _WIDTH _HEIGHT; fixed: 1 1; diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c index 995667cf3..1a7802d94 100644 --- a/src/modules/clock/e_mod_main.c +++ b/src/modules/clock/e_mod_main.c @@ -201,6 +201,10 @@ _clock_month_update(Instance *inst) od = edje_object_part_table_child_get(oi, "e.table.daynames", x, 0); edje_object_part_text_set(od, "e.text.label", inst->daynames[x]); edje_object_message_signal_process(od); + if (inst->dayweekends[x][0]) + edje_object_signal_emit(od, "e,state,weekend", "e"); + else + edje_object_signal_emit(od, "e,state,weekday", "e"); } for (y = 0; y < 6; y++)