|
@ -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
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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"
|
||||
}
|
|
@ -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<br>"
|
||||
"The default theme for<br>"
|
||||
"Enlightenment<br>"
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
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" "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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")
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -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);
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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)
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -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" "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 257 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 261 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 324 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 952 B |
After Width: | Height: | Size: 981 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 230 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 629 B |
After Width: | Height: | Size: 361 B |
After Width: | Height: | Size: 305 B |
After Width: | Height: | Size: 477 B |
After Width: | Height: | Size: 482 B |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 275 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 648 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 209 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 568 B |
After Width: | Height: | Size: 257 B |