diff --git a/legacy/elementary/.gitignore b/legacy/elementary/.gitignore index b1c3233935..abdbd65fc3 100644 --- a/legacy/elementary/.gitignore +++ b/legacy/elementary/.gitignore @@ -47,3 +47,4 @@ tags /config.cache *.gmo /config.cache-env +/compile diff --git a/legacy/elementary/data/themes/Makefile.am b/legacy/elementary/data/themes/Makefile.am index 09166902f6..5bf66eeccf 100644 --- a/legacy/elementary/data/themes/Makefile.am +++ b/legacy/elementary/data/themes/Makefile.am @@ -5,351 +5,908 @@ EDJE_CC = @edje_cc@ EDJE_FLAGS_VERBOSE_ = EDJE_FLAGS_VERBOSE_0 = EDJE_FLAGS_VERBOSE_1 = -v -EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) -id $(top_srcdir)/data/themes/images -fd $(top_srcdir)/data/themes +EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) -id $(top_srcdir)/data/themes/img -fd $(top_srcdir)/data/themes/fnt -sd $(top_srcdir)/data/themes/snd filesdir = $(datadir)/elementary/themes -files_DATA = default.edj default-desktop.edj - -EXTRA_DIST = \ -default.edc \ -default-desktop.edc \ -widgets/access.edc \ -widgets/actionslider.edc \ -widgets/fileselector.edc \ -widgets/focus_highlight.edc \ -widgets/menu.edc \ -widgets/segment_control.edc \ -widgets/bg.edc \ -widgets/border.edc \ -widgets/flipselector.edc \ -widgets/naviframe.edc \ -widgets/multibuttonentry.edc \ -widgets/separator.edc \ -widgets/bubble.edc \ -widgets/frame.edc \ -widgets/notify.edc \ -widgets/slider.edc \ -widgets/button.edc \ -widgets/gengrid.edc \ -widgets/slideshow.edc \ -widgets/calendar.edc \ -widgets/genlist.edc \ -widgets/panel.edc \ -widgets/spinner.edc \ -widgets/check.edc \ -widgets/hover.edc \ -widgets/panes.edc \ -widgets/thumb.edc \ -widgets/clock.edc \ -widgets/icon.edc \ -widgets/photocam.edc \ -widgets/colorselector.edc \ -widgets/index.edc \ -widgets/photo.edc \ -widgets/toolbar.edc \ -widgets/conformant.edc \ -widgets/label.edc \ -widgets/player.edc \ -widgets/tooltip.edc \ -widgets/ctxpopup.edc \ -widgets/layout.edc \ -widgets/progressbar.edc \ -widgets/video.edc \ -widgets/diskselector.edc \ -widgets/list.edc \ -widgets/radio.edc \ -widgets/win.edc \ -widgets/entry.edc \ -widgets/map.edc \ -widgets/scroller.edc \ -widgets/pointer.edc \ -widgets/datetime.edc \ -widgets/dayselector.edc \ -widgets/popup.edc \ -ews.edc \ -images/arrow_down.png \ -images/arrow_up.png \ -images/bar_shine.png \ -images/bd_bottom.png \ -images/bd_button_close_focused.png \ -images/bd_button_close_shadow.png \ -images/bd_button_close_unfocused.png \ -images/bd_button_max_focused.png \ -images/bd_button_max_shadow.png \ -images/bd_button_max_unfocused.png \ -images/bd_button_min_focused.png \ -images/bd_button_min_shadow.png \ -images/bd_button_min_unfocused.png \ -images/bd_resize_b.png \ -images/bd_title_bg.png \ -images/bd_title_over.png \ -images/bd_top_hilight.png \ -images/bd_top.png \ -images/bt_base1.png \ -images/bt_base2.png \ -images/bt_bases.png \ -images/bt_basew.png \ -images/bt_glow.png \ -images/bt_hilight.png \ -images/bt_hilightw.png \ -images/bt_shine.png \ -images/bt_sm_base1.png \ -images/bt_sm_base2.png \ -images/bt_sm_hilight.png \ -images/bt_sm_shine.png \ -images/bt_dis_base.png \ -images/bt_dis_hilight.png \ -images/ctxpopup_arrow_left.png \ -images/ctxpopup_arrow_down.png \ -images/ctxpopup_arrow_right.png \ -images/ctxpopup_arrow_up.png \ -images/dia_botshad.png \ -images/dia_grad.png \ -images/dia_topshad.png \ -images/exclam.png \ -images/frame_1.png \ -images/frame_2.png \ -images/flip_0b.png \ -images/flip_0t.png \ -images/flip_1b.png \ -images/flip_1t.png \ -images/flip_2b.png \ -images/flip_2t.png \ -images/flip_3b.png \ -images/flip_3t.png \ -images/flip_4b.png \ -images/flip_4t.png \ -images/flip_5b.png \ -images/flip_5t.png \ -images/flip_6b.png \ -images/flip_6t.png \ -images/flip_7b.png \ -images/flip_7t.png \ -images/flip_8b.png \ -images/flip_8t.png \ -images/flip_9b.png \ -images/flip_9t.png \ -images/flip_amb.png \ -images/flip_amt.png \ -images/flip_base.png \ -images/flip_base_shad.png \ -images/flip_pmb.png \ -images/flip_pmt.png \ -images/flip_shad.png \ -images/flip_t.png \ -images/flip_b.png \ -images/head.png \ -images/item_highlight.png \ -images/sb_runnerh.png \ -images/sb_runnerv.png \ -images/seg_single_pressed.png \ -images/seg_single_selected.png \ -images/seg_single_normal.png \ -images/seg_left_pressed.png \ -images/seg_left_selected.png \ -images/seg_left_normal.png \ -images/seg_middle_pressed.png \ -images/seg_middle_selected.png \ -images/seg_middle_normal.png \ -images/seg_right_pressed.png \ -images/seg_right_selected.png \ -images/seg_right_normal.png \ -images/shelf_inset.png \ -images/tog_base_on.png \ -images/tog_base_off.png \ -images/tog_dis_base_on.png \ -images/tog_dis_base_off.png \ -images/shad_circ.png \ -images/bt_dis_base.png \ -images/bt_dis_hilight.png \ -images/outdent-top.png \ -images/outdent-bottom.png \ -images/updown.png \ -images/leftright.png \ -images/hoversel_entry_bg.png \ -images/cur_box.png \ -images/cur_hi.png \ -images/cur_shad.png \ -images/cur_shine.png \ -images/cur_glow.png \ -images/handler_start.png \ -images/handler_end.png \ -images/magnifier_bg.png \ -images/magnifier_line.png \ -images/bubble.png \ -images/bubble_3.png \ -images/bubble_shine3.png \ -images/bubble_4.png \ -images/bubble_shine4.png \ -images/bubble_1.png \ -images/bubble_shine.png \ -images/bubble_2.png \ -images/icon_home.png \ -images/icon_close.png \ -images/icon_apps.png \ -images/icon_arrow_up.png \ -images/icon_arrow_down.png \ -images/icon_arrow_left.png \ -images/icon_arrow_right.png \ -images/bt_dis_shine.png \ -images/icon_left_arrow.png \ -images/icon_right_arrow.png \ -images/toolbar_sel.png \ -images/icon_chat.png \ -images/icon_clock.png \ -images/icon_delete.png \ -images/icon_edit.png \ -images/icon_refresh.png \ -images/icon_folder.png \ -images/icon_file.png \ -images/ilist_1.png \ -images/ilist_1_h.png \ -images/ilist_2.png \ -images/ilist_2_h.png \ -images/ilist_item_shadow.png \ -images/ilist_item_shadow_h.png \ -images/sl_bg.png \ -images/sl_bg_over.png \ -images/sl_bt_0.png \ -images/sl_bt_1.png \ -images/sl_bt_2.png \ -images/sl_bt_3.png \ -images/sl_bt2_0_0.png \ -images/sl_bt2_0_1.png \ -images/sl_bt2_0_2.png \ -images/sl_bt2_1.png \ -images/sl_bt2_2.png \ -images/sl_units.png \ -images/slv_bg.png \ -images/slv_bg_over.png \ -images/slv_units.png \ -images/check_base.png \ -images/check.png \ -images/check2.png \ -images/radio_base.png \ -images/radio.png \ -images/radio2.png \ -images/separator_h.png \ -images/separator_v.png \ -images/toolbar_separator_h.png \ -images/toolbar_separator_v.png \ -images/sp_bt_l.png \ -images/sp_bt_r.png \ -images/busy-1.png \ -images/busy-2.png \ -images/busy-3.png \ -images/busy-4.png \ -images/busy-5.png \ -images/busy-6.png \ -images/busy-7.png \ -images/busy-8.png \ -images/busy-9.png \ -images/arrow_right.png \ -images/arrow_left.png \ -images/bt_spinner_up.png \ -images/bt_spinner_down.png \ -images/bt_spinner_hilight.png \ -images/up.png \ -images/down.png \ -images/emo-angry.png \ -images/emo-angry-shout.png \ -images/emo-crazy-laugh.png \ -images/emo-evil-laugh.png \ -images/emo-evil.png \ -images/emo-goggle-smile.png \ -images/emo-grumpy.png \ -images/emo-grumpy-smile.png \ -images/emo-guilty.png \ -images/emo-guilty-smile.png \ -images/emo-haha.png \ -images/emo-half-smile.png \ -images/emo-happy-panting.png \ -images/emo-happy.png \ -images/emo-indifferent.png \ -images/emo-kiss.png \ -images/emo-knowing-grin.png \ -images/emo-laugh.png \ -images/emo-little-bit-sorry.png \ -images/emo-love-lots.png \ -images/emo-love.png \ -images/emo-minimal-smile.png \ -images/emo-not-happy.png \ -images/emo-not-impressed.png \ -images/emo-omg.png \ -images/emo-opensmile.png \ -images/emo-smile.png \ -images/emo-sorry.png \ -images/emo-squint-laugh.png \ -images/emo-surprised.png \ -images/emo-suspicious.png \ -images/emo-tongue-dangling.png \ -images/emo-tongue-poke.png \ -images/emo-uh.png \ -images/emo-unhappy.png \ -images/emo-very-sorry.png \ -images/emo-what.png \ -images/emo-wink.png \ -images/emo-worried.png \ -images/emo-wtf.png \ -images/map_item.png \ -images/shadow.png \ -images/black.png \ -images/tooltip-corner-top-left-tip.png \ -images/tooltip-base.png \ -images/tooltip-corner-bottom-left-tip.png \ -images/tooltip-edge-top-tip.png \ -images/tooltip-corner-bottom-right-tip.png \ -images/tooltip-edge-left-tip.png \ -images/tooltip-edge-bottom-tip.png \ -images/tooltip-edge-right-tip.png \ -images/tooltip-corner-top-right-tip.png \ -images/color_picker_alpha.png \ -images/color_picker_alpha_bg.png \ -images/color_picker_brightness.png \ -images/color_picker_color.png \ -images/color_picker_opacity.png \ -images/icon_arrow_down_left.png \ -images/icon_arrow_down_right.png \ -images/icon_arrow_up_left.png \ -images/icon_arrow_up_right.png \ -images/thumb_shadow.png \ -images/group_index.png \ -images/mp_forward.png \ -images/mp_info.png \ -images/mp_next.png \ -images/mp_pause.png \ -images/mp_play.png \ -images/mp_prev.png \ -images/mp_rewind.png \ -images/mp_stop.png \ -images/access_glow.png \ -images/pointer_glint_01.png \ -images/pointer_glint_02.png \ -images/pointer_glint_03.png \ -images/pointer_glint_04.png \ -images/pointer_glint_05.png \ -images/pointer_glint_06.png \ -images/pointer_glint_07.png \ -images/pointer_glint_08.png \ -images/pointer_glint_09.png \ -images/pointer_glint_10.png \ -images/pointer_glint_11.png \ -images/pointer_glint_12.png \ -images/pointer_glow.png \ -images/pointer.png \ -images/map_circle.png \ -images/map_scale.png \ -images/naviframe-base.jpg +files_DATA = default.edj default.edj: Makefile $(EXTRA_DIST) - $(EDJE_CC) $(EDJE_FLAGS) \ + $(EDJE_CC) \ + -fastdecomp \ + $(EDJE_FLAGS) \ $(top_srcdir)/data/themes/default.edc \ $(top_builddir)/data/themes/default.edj -default-desktop.edj: Makefile $(EXTRA_DIST) - $(EDJE_CC) $(EDJE_FLAGS) \ - $(top_srcdir)/data/themes/default-desktop.edc \ - $(top_builddir)/data/themes/default-desktop.edj - clean-local: rm -f *.edj + +EXTRA_DIST = \ +default.edc \ +\ +colorclasses.edc \ +fonts.edc \ +macros.edc \ +\ +edc/about-e.edc \ +edc/about-theme.edc \ +edc/appmenu.edc \ +edc/background.edc \ +edc/backlight.edc \ +edc/battery.edc \ +edc/bluez4.edc \ +edc/border.edc \ +edc/border-icons.edc \ +edc/button.edc \ +edc/check.edc \ +edc/clock.edc \ +edc/colors.edc \ +edc/colorwell.edc \ +edc/comp.edc \ +edc/comp_effects.edc \ +edc/conf.edc \ +edc/connman.edc \ +edc/cpufreq.edc \ +edc/cslider.edc \ +edc/desklock.edc \ +edc/deskpreview.edc \ +edc/dialog.edc \ +edc/edgebindings.edc \ +edc/entry.edc \ +edc/evrything.edc \ +edc/fileman.edc \ +edc/fontpreview.edc \ +edc/frame.edc \ +edc/gadman.edc \ +edc/ibar-ibox.edc \ +edc/icons.edc \ +edc/ilist.edc \ +edc/illume.edc \ +edc/init.edc \ +edc/label.edc \ +edc/menu.edc \ +edc/mixer.edc \ +edc/music_control.edc \ +edc/notification.edc \ +edc/pager.edc \ +edc/pointer.edc \ +edc/preview.edc \ +edc/radio.edc \ +edc/randr.edc \ +edc/scrollframe.edc \ +edc/shelf.edc \ +edc/slider.edc \ +edc/spectrum.edc \ +edc/start.edc \ +edc/syscon.edc \ +edc/sys.edc \ +edc/systray.edc \ +edc/tasks.edc \ +edc/temperature.edc \ +edc/textblock.edc \ +edc/toolbar.edc \ +edc/transitions.edc \ +edc/wallpaper.edc \ +edc/winlist.edc \ +edc/wizard.edc \ +edc/xkbswitch.edc \ +\ +edc/elm/access.edc \ +edc/elm/actionslider.edc \ +edc/elm/bg.edc \ +edc/elm/border.edc \ +edc/elm/bubble.edc \ +edc/elm/button.edc \ +edc/elm/calendar.edc \ +edc/elm/check.edc \ +edc/elm/clock.edc \ +edc/elm/colorsel.edc \ +edc/elm/conform.edc \ +edc/elm/ctxpopup.edc \ +edc/elm/datetime.edc \ +edc/elm/dayselector.edc \ +edc/elm/diskselector.edc \ +edc/elm/entry.edc \ +edc/elm/fileselector.edc \ +edc/elm/flipselector.edc \ +edc/elm/focus.edc \ +edc/elm/frame.edc \ +edc/elm/gengrid.edc \ +edc/elm/genlist.edc \ +edc/elm/hover.edc \ +edc/elm/icon.edc \ +edc/elm/index.edc \ +edc/elm/inwin.edc \ +edc/elm/label.edc \ +edc/elm/layout.edc \ +edc/elm/list.edc \ +edc/elm/map.edc \ +edc/elm/menu.edc \ +edc/elm/multibuttonentry.edc \ +edc/elm/naviframe.edc \ +edc/elm/notify.edc \ +edc/elm/panel.edc \ +edc/elm/panes.edc \ +edc/elm/photocam.edc \ +edc/elm/photo.edc \ +edc/elm/player.edc \ +edc/elm/pointer.edc \ +edc/elm/popup.edc \ +edc/elm/progress.edc \ +edc/elm/radio.edc \ +edc/elm/scroller.edc \ +edc/elm/segment_control.edc \ +edc/elm/separator.edc \ +edc/elm/slider.edc \ +edc/elm/slideshow.edc \ +edc/elm/spinner.edc \ +edc/elm/thumb.edc \ +edc/elm/toolbar.edc \ +edc/elm/tooltip.edc \ +edc/elm/video.edc \ +edc/elm/win.edc \ +\ +edc/O/efm_icons.edc \ +edc/O/icons.edc \ +\ +img/access_glow.png \ +img/add_glow_small.png \ +img/ball_small_glow_intense.png \ +img/ball_small_glow.png \ +img/bar_shine.png \ +img/bat_base.png \ +img/bat_bottom0.png \ +img/bat_bottom1.png \ +img/bat_shadow.png \ +img/bat_shine.png \ +img/bat_top0.png \ +img/bat_top1.png \ +img/bevel_curved_horiz_out.png \ +img/bevel_curved_vert_out.png \ +img/bevel_dark_in.png \ +img/bevel_dark_out.png \ +img/bevel_horiz_out.png \ +img/bevel_in.png \ +img/bevel_out.png \ +img/bg_glow_in.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/box_glow.png \ +img/box_outline.png \ +img/bt_base.png \ +img/bt_sig_1.png \ +img/bt_sig_2.png \ +img/bub_base_b0.png \ +img/bub_base_b1.png \ +img/bub_base_b2.png \ +img/bub_base_bl.png \ +img/bub_base_br.png \ +img/bub_base_tl.png \ +img/bub_base_tr.png \ +img/bub_over_bot.png \ +img/bub_over_top.png \ +img/bulb_glow.png \ +img/bulb_off.png \ +img/bulb_on.png \ +img/bulb_over.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/clock_base.png \ +img/color_picker_alpha.png \ +img/color_picker_brightness.png \ +img/color_picker_color.png \ +img/color_picker_opacity.png \ +img/col_sel_end_bottom.png \ +img/col_sel_end_left.png \ +img/col_sel_end_right.png \ +img/col_sel_end_top.png \ +img/ctxpopup_arrow_down.png \ +img/ctxpopup_arrow_left.png \ +img/ctxpopup_arrow_right.png \ +img/ctxpopup_arrow_up.png \ +img/darken_rounded_square_half_h.png \ +img/darken_rounded_square_half.png \ +img/darken_rounded_square.png \ +img/day_left_normal.png \ +img/day_left_press.png \ +img/day_left_selected.png \ +img/day_middle_normal.png \ +img/day_middle_press.png \ +img/day_middle_selected.png \ +img/day_right_normal.png \ +img/day_right_press.png \ +img/day_right_selected.png \ +img/day_single_normal.png \ +img/day_single_press.png \ +img/day_single_selected.png \ +img/diagonal_stripes.png \ +img/digit_0.png \ +img/digit_1.png \ +img/digit_2.png \ +img/digit_3.png \ +img/digit_4.png \ +img/digit_5.png \ +img/digit_6.png \ +img/digit_7.png \ +img/digit_8.png \ +img/digit_9.png \ +img/digit_am.png \ +img/digit_na.png \ +img/digit_nm.png \ +img/digit_pm.png \ +img/dot_pattern.png \ +img/downlight_glow_left.png \ +img/downlight_glow.png \ +img/downlight_glow_right.png \ +img/downlight_glow_up.png \ +img/emo-angry.png \ +img/emo-angry-shout.png \ +img/emo-crazy-laugh.png \ +img/emo-evil-laugh.png \ +img/emo-evil.png \ +img/emo-goggle-smile.png \ +img/emo-grumpy.png \ +img/emo-grumpy-smile.png \ +img/emo-guilty.png \ +img/emo-guilty-smile.png \ +img/emo-haha.png \ +img/emo-half-smile.png \ +img/emo-happy-panting.png \ +img/emo-happy.png \ +img/emo-indifferent.png \ +img/emo-kiss.png \ +img/emo-knowing-grin.png \ +img/emo-laugh.png \ +img/emo-little-bit-sorry.png \ +img/emo-love-lots.png \ +img/emo-love.png \ +img/emo-minimal-smile.png \ +img/emo-not-happy.png \ +img/emo-not-impressed.png \ +img/emo-omg.png \ +img/emo-opensmile.png \ +img/emo-smile.png \ +img/emo-sorry.png \ +img/emo-squint-laugh.png \ +img/emo-surprised.png \ +img/emo-suspicious.png \ +img/emo-tongue-dangling.png \ +img/emo-tongue-poke.png \ +img/emo-uh.png \ +img/emo-unhappy.png \ +img/emo-very-sorry.png \ +img/emo-what.png \ +img/emo-wink.png \ +img/emo-worried.png \ +img/emo-wtf.png \ +img/eth.png \ +img/exlclam.png \ +img/flip_base_shad.png \ +img/flip_shad.png \ +img/frame_rounded.png \ +img/glow_exclam.png \ +img/glow_lock_double.png \ +img/glow_lock_locked.png \ +img/glow_lock_unlocked.png \ +img/glow_med_white.png \ +img/glow_round_corners.png \ +img/glow_round_corners_small.png \ +img/glow_small.png \ +img/handle_pick_up_left.png \ +img/handle_pick_up_right.png \ +img/hole_pixel.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/home_glow.png \ +img/home_hilight.png \ +img/home_inset.png \ +img/horiz_bar_inset.png \ +img/horiz_glow_run_big.png \ +img/horiz_glow_run.png \ +img/horiz_glow_run_rev.png \ +img/horizontal_separated_bar_glow.png \ +img/horizontal_separated_bar_small_glow.png \ +img/icon_apps.png \ +img/icon_arrow_down_left.png \ +img/icon_arrow_down.png \ +img/icon_arrow_down_right.png \ +img/icon_arrow_left.png \ +img/icon_arrow_right.png \ +img/icon_arrow_up_left.png \ +img/icon_arrow_up.png \ +img/icon_arrow_up_right.png \ +img/icon_border_border.png \ +img/icon_border_close.png \ +img/icon_border_kill.png \ +img/icon_border_lock.png \ +img/icon_border_maximize.png \ +img/icon_border_minimize.png \ +img/icon_border_more.png \ +img/icon_border_move.png \ +img/icon_border_pager.png \ +img/icon_border_pin.png \ +img/icon_border_properties.png \ +img/icon_border_remember.png \ +img/icon_border_resize.png \ +img/icon_border_sendto.png \ +img/icon_border_shaded.png \ +img/icon_border_skip.png \ +img/icon_border_stack_bot.png \ +img/icon_border_stack_norm.png \ +img/icon_border_stack_top.png \ +img/icon_chat.png \ +img/icon_clock.png \ +img/icon_close.png \ +img/icon_delete.png \ +img/icon_edit.png \ +img/icon_eject_mono.png \ +img/icon_eject.png \ +img/icon_enlightenment.png \ +img/icon_file.png \ +img/icon_folder.png \ +img/icon_forward_mono.png \ +img/icon_forward.png \ +img/icon_head.png \ +img/icon_home.png \ +img/icon_info_mono.png \ +img/icon_info.png \ +img/icon_mute_mono.png \ +img/icon_mute.png \ +img/icon_next_mono.png \ +img/icon_next.png \ +img/icon_pause_mono.png \ +img/icon_pause.png \ +img/icon_play_mono.png \ +img/icon_play.png \ +img/icon_preferences-applications-personal.png \ +img/icon_preferences-applications-screen-lock.png \ +img/icon_preferences-applications-screen-unlock.png \ +img/icon_preferences-composite.png \ +img/icon_preferences-desklock-locale.png \ +img/icon_preferences-desktop-environments.png \ +img/icon_preferences-desktop-signal-bindings.png \ +img/icon_preferences-interaction.png \ +img/icon_preferences-variables.png \ +img/icon_prev_mono.png \ +img/icon_prev.png \ +img/icon_refresh.png \ +img/icon_rewind_mono.png \ +img/icon_rewind.png \ +img/icon_stop_mono.png \ +img/icon_stop.png \ +img/icon_system-lock-screen.png \ +img/icon_system-log-out.png \ +img/icon_system.png \ +img/icon_system-restart.png \ +img/icon_system-shutdown.png \ +img/icon_system-suspend-hibernate.png \ +img/icon_system-suspend.png \ +img/icon_volume_mono.png \ +img/icon_volume.png \ +img/icon_wallpaper_center.png \ +img/icon_wallpaper_fill.png \ +img/icon_wallpaper_pan.png \ +img/icon_wallpaper_stretch.png \ +img/icon_wallpaper_tile.png \ +img/icon_wallpaper_within.png \ +img/ic_win_move.png \ +img/ic_win_resize.png \ +img/img_example_1.png \ +img/img_example_2.png \ +img/inset_bar_horiz_base.png \ +img/inset_bar_horiz_glow_base_double.png \ +img/inset_bar_horiz_glow_base.png \ +img/inset_bar_horiz_glow_inv_base_double.png \ +img/inset_bar_horiz_glow_inv_base.png \ +img/inset_bar_horiz_glow_inv_light.png \ +img/inset_bar_horiz_glow_light.png \ +img/inset_bar_horiz_glow_mid_base.png \ +img/inset_bar_horiz_glow_mid_light.png \ +img/inset_bar_horiz_inside_base.png \ +img/inset_bar_horiz_inside_light.png \ +img/inset_bar_horiz_light.png \ +img/inset_bar_vert_base.png \ +img/inset_bar_vert_glow_base_double.png \ +img/inset_bar_vert_glow_base.png \ +img/inset_bar_vert_glow_inv_base_double.png \ +img/inset_bar_vert_glow_inv_base.png \ +img/inset_bar_vert_glow_inv_light.png \ +img/inset_bar_vert_glow_light.png \ +img/inset_bar_vert_glow_mid_base.png \ +img/inset_bar_vert_glow_mid_light.png \ +img/inset_bar_vert_inside_base.png \ +img/inset_bar_vert_inside_light.png \ +img/inset_bar_vert_light.png \ +img/inset_circle_tiny.png \ +img/inset_round_hilight.png \ +img/inset_round_shading.png \ +img/inset_round_shadow.png \ +img/inset_shadow_circle_tiny.png \ +img/inset_shadow.png \ +img/inset_shadow_tiny.png \ +img/kbd_glow.png \ +img/kbd_hilight.png \ +img/kbd_inset.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/knob_sz_04.png \ +img/knob_sz_06.png \ +img/knob_sz_08.png \ +img/knob_sz_10.png \ +img/knob_sz_12.png \ +img/knob_sz_14.png \ +img/knob_sz_16.png \ +img/knob_sz_18.png \ +img/knob_sz_20.png \ +img/knob_sz_22.png \ +img/knob_sz_24.png \ +img/led_dark.png \ +img/led_dot_white.png \ +img/led_light.png \ +img/led_red_light.png \ +img/led_square_base.png \ +img/led_square_glow.png \ +img/led_square_shading.png \ +img/led_square_shadow.png \ +img/led_square_shine.png \ +img/led_strobe.png \ +img/led_tiny_blue.png \ +img/led_tiny_green.png \ +img/led_tiny_orange.png \ +img/logo_blue_bottom.png \ +img/logo_blue_small_glow.png \ +img/logo_blue_small.png \ +img/map_circle.png \ +img/map_marker.png \ +img/map_scale.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/music_control_icon.png \ +img/outline_glow.png \ +img/pointer_entry_bar.png \ +img/pointer_glow.png \ +img/pointer_mono.png \ +img/pointer.png \ +img/ring_shadow.png \ +img/ring_white_blue_glow.png \ +img/ring_white_middle.png \ +img/rounded_square.png \ +img/runner_glow_horiz.png \ +img/runner_glow_vert.png \ +img/runner_horiz.png \ +img/runner_vert.png \ +img/screen_base.png \ +img/screen_bg.png \ +img/screen_circular_shadow.png \ +img/screen_fg.png \ +img/separator_horiz.png \ +img/shadow_angled_in_light.png \ +img/shadow_angled_in_sides.png \ +img/shadow_horiz.png \ +img/shadow_inset_bevels.png \ +img/shadow_inset_light.png \ +img/shadow_rounded_horiz.png \ +img/shadow_rounded_vert.png \ +img/shadow_square_tiny.png \ +img/shadow_vertical_dark.png \ +img/shadow_vert.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/spanner_glow.png \ +img/spanner_hilight.png \ +img/spanner_inset.png \ +img/speaker.png \ +img/split_h_glow.png \ +img/split_h_hilight.png \ +img/split_h_inset.png \ +img/split_none_glow.png \ +img/split_none_hilight.png \ +img/split_none_inset.png \ +img/split_v_glow.png \ +img/split_v_hilight.png \ +img/split_v_inset.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_icon_op_ask.png \ +img/sym_icon_op_copy.png \ +img/sym_icon_op_move.png \ +img/sym_left_dark_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_dark_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/tacho_base.png \ +img/tacho_hand_big2.png \ +img/tacho_hand_big3.png \ +img/tacho_hand_big4.png \ +img/tacho_hand_big.png \ +img/tacho_hand_big_shadow.png \ +img/tacho_hand_small_min2.png \ +img/tacho_hand_small_min3.png \ +img/tacho_hand_small_min4.png \ +img/tacho_hand_small_min.png \ +img/tacho_hand_small_shadow.png \ +img/therm_content.png \ +img/therm_shadow.png \ +img/therm_shine.png \ +img/tooltip-base.png \ +img/tooltip-corner-bottom-left-tip.png \ +img/tooltip-corner-bottom-right-tip.png \ +img/tooltip-corner-top-left-tip.png \ +img/tooltip-corner-top-right-tip.png \ +img/tooltip-edge-bottom-tip.png \ +img/tooltip-edge-left-tip.png \ +img/tooltip-edge-right-tip.png \ +img/tooltip-edge-top-tip.png \ +img/vert_bar_inset.png \ +img/vert_glow_run.png \ +img/vert_glow_run_rev.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_dark_sparkle.png \ +img/vgrad_med_lighter.png \ +img/vgrad_med_lighter_sparkle.png \ +img/vgrad_med.png \ +img/vgrad_shadow_bi.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 \ +\ +snd/kbd-tap2.wav \ +snd/kbd-tap3.wav \ +snd/kbd-tap4.wav \ +snd/kbd-tap5.wav \ +snd/kbd-tap.wav diff --git a/legacy/elementary/data/themes/arrow_down.xcf.gz b/legacy/elementary/data/themes/arrow_down.xcf.gz deleted file mode 100644 index 3d4e89c547..0000000000 Binary files a/legacy/elementary/data/themes/arrow_down.xcf.gz and /dev/null differ diff --git a/legacy/elementary/data/themes/arrow_up.xcf.gz b/legacy/elementary/data/themes/arrow_up.xcf.gz deleted file mode 100644 index 977e24cbf6..0000000000 Binary files a/legacy/elementary/data/themes/arrow_up.xcf.gz and /dev/null differ diff --git a/legacy/elementary/data/themes/colorclasses.edc b/legacy/elementary/data/themes/colorclasses.edc new file mode 100644 index 0000000000..465e838a6a --- /dev/null +++ b/legacy/elementary/data/themes/colorclasses.edc @@ -0,0 +1,7 @@ +color_classes { + color_class { + name: "comp_focus-out_color"; + color: 253 253 253 255; + color3: 0 0 0 0; + } +} diff --git a/legacy/elementary/data/themes/default-desktop.edc b/legacy/elementary/data/themes/default-desktop.edc deleted file mode 100644 index 11d3c43dd6..0000000000 --- a/legacy/elementary/data/themes/default-desktop.edc +++ /dev/null @@ -1,2285 +0,0 @@ -externals.external: "elm"; - -#define SCROLLBARS_ADD() \ - images { \ - image: "bt_sm_base2.png" COMP; \ - image: "bt_sm_shine.png" COMP; \ - image: "bt_sm_hilight.png" COMP; \ - image: "sb_runnerh.png" COMP; \ - image: "sb_runnerv.png" COMP; \ - image: "arrow_up.png" COMP; \ - image: "arrow_down.png" COMP; \ - image: "arrow_right.png" COMP; \ - image: "arrow_left.png" COMP; \ - } \ - script { \ - public sbvis_v, sbvis_h; \ - } \ - part { name: "elm.scrollbar.base"; \ - type: SWALLOW; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - min: 13 13; \ - fixed: 1 1; \ - align: 1.0 1.0; \ - rel1.relative: 1.0 1.0; \ - rel2.offset: 12 12; \ - } \ - description { state: "vertical" 0.0; \ - inherit: "default" 0.0; \ - align: 1.0 0.0; \ - rel2.offset: -2 12; \ - } \ - description { state: "horizontal" 0.0; \ - inherit: "default" 0.0; \ - align: 0.0 1.0; \ - rel2.offset: 12 -2; \ - } \ - description { state: "both" 0.0; \ - inherit: "default" 0.0; \ - align: 1.0 1.0; \ - rel2.offset: -2 -2; \ - } \ - } \ - part { name: "sb_vbar_clip_master"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - } \ - description { state: "hidden" 0.0; \ - visible: 0; \ - } \ - } \ - part { name: "sb_vbar_clip"; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "sb_vbar_clip_master"; \ - description { state: "default" 0.0; \ - rel1.to: "sb_vbar_clip_master"; \ - rel2.to: "sb_vbar_clip_master"; \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - max: 0 99999; \ - } \ - } \ - part { name: "sb_vbar"; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - min: 13 0; \ - fixed: 1 1; \ - color: 0 0 0 0; \ - align: 0.0 0.5; \ - rel1 { \ - to_y: "sb_vbar_a1"; \ - to_x: "elm.scrollbar.base"; \ - relative: 0.0 1.0; \ - offset: 0 -1; \ - } \ - rel2 { \ - to_y: "sb_vbar_a2"; \ - relative: 1.0 0.0; \ - offset: -1 -2; \ - } \ - } \ - } \ - part { name: "sb_vbar_runner"; \ - mouse_events: 0; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - min: 3 0; \ - max: 3 99999; \ - fixed: 1 1; \ - align: 1.0 0.5; \ - rel1 { \ - to: "sb_vbar"; \ - relative: 0.5 0.0; \ - offset: 0 2; \ - } \ - rel2 { \ - to: "sb_vbar"; \ - relative: 0.5 1.0; \ - offset: 0 -2; \ - } \ - image { \ - normal: "sb_runnerv.png"; \ - border: 0 0 4 4; \ - } \ - fill.smooth: 0; \ - } \ - } \ - part { name: "sb_vbar_p1"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - fixed: 1 1; \ - rel1 { \ - to: "sb_vbar_a1"; \ - relative: 0.0 1.0; \ - } \ - rel2 { \ - to: "elm.dragable.vbar"; \ - relative: 1.0 0.0; \ - } \ - } \ - } \ - part { name: "sb_vbar_p2"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - fixed: 1 1; \ - rel1 { \ - to: "elm.dragable.vbar"; \ - relative: 0.0 1.0; \ - } \ - rel2 { \ - to: "sb_vbar_a2"; \ - relative: 1.0 0.0; \ - } \ - } \ - } \ - part { name: "sb_vbar_a1"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - min: 13 13; \ - fixed: 1 1; \ - align: 0.5 0.0; \ - aspect: 1.0 1.0; \ - aspect_preference: HORIZONTAL; \ - color: 0 0 0 0; \ - rel1 { \ - to_y: "sb_vbar_clip"; \ - to_x: "elm.scrollbar.base"; \ - relative: 0.0 0.0; \ - offset: 0 1; \ - } \ - rel2 { \ - to: "elm.scrollbar.base"; \ - relative: 1.0 0.0; \ - offset: -1 -2; \ - } \ - } \ - } \ - part { name: "sb_vbar_a1_arrow"; \ - mouse_events: 0; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - rel1.to: "sb_vbar_a1"; \ - rel2.to: "sb_vbar_a1"; \ - image.normal: "arrow_up.png"; \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1.offset: 0 -1; \ - rel2.offset: -1 -2; \ - } \ - } \ - part { name: "sb_vbar_a2"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - min: 13 13; \ - fixed: 1 1; \ - align: 0.5 1.0; \ - aspect: 1.0 1.0; \ - aspect_preference: HORIZONTAL; \ - color: 0 0 0 0; \ - rel1.to: "elm.scrollbar.base"; \ - rel2 { \ - to: "elm.scrollbar.base"; \ - relative: 1.0 0.0; \ - } \ - } \ - } \ - part { name: "sb_vbar_a2_arrow"; \ - mouse_events: 0; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - rel1.to: "sb_vbar_a2"; \ - rel2.to: "sb_vbar_a2"; \ - image.normal: "arrow_down.png"; \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1.offset: 0 1; \ - rel2.offset: -1 0; \ - } \ - } \ - part { name: "elm.dragable.vbar"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_vbar_clip"; \ - dragable { \ - x: 0 0 0; \ - y: 1 1 0; \ - confine: "sb_vbar"; \ - } \ - description { state: "default" 0.0; \ - min: 13 20; \ - fixed: 1 1; \ - aspect: 1.0 0.5; \ - aspect_preference: VERTICAL; \ - align: 0.5 0.0; \ - color: 0 0 0 0; \ - rel1 { \ - to_y: "sb_vbar"; \ - to_x: "elm.scrollbar.base"; \ - relative: 0.0 0.0; \ - } \ - rel2.to_y: "sb_vbar"; \ - } \ - } \ - part { name: "elm.dragable.vbar.image"; \ - mouse_events: 0; \ - clip_to: "sb_vbar_clip"; \ - description { state: "default" 0.0; \ - rel1.to: "elm.dragable.vbar"; \ - rel2.to: "elm.dragable.vbar"; \ - image { \ - normal: "bt_sm_base2.png"; \ - border: 6 6 6 6; \ - } \ - } \ - } \ - part { name: "sb_vbar_over1"; \ - clip_to: "sb_vbar_clip"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1.to: "elm.dragable.vbar.image"; \ - rel2 { \ - to: "elm.dragable.vbar.image"; \ - relative: 1.0 0.5; \ - } \ - image { \ - normal: "bt_sm_hilight.png"; \ - border: 6 6 6 0; \ - } \ - } \ - } \ - part { name: "sb_vbar_over2"; \ - clip_to: "sb_vbar_clip"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1.to: "elm.dragable.vbar.image"; \ - rel2.to: "elm.dragable.vbar.image"; \ - image { \ - normal: "bt_sm_shine.png"; \ - border: 6 6 6 0; \ - } \ - } \ - } \ - part { name: "sb_hbar_clip_master"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - } \ - description { state: "hidden" 0.0; \ - visible: 0; \ - } \ - } \ - part { name: "sb_hbar_clip"; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "sb_hbar_clip_master"; \ - description { state: "default" 0.0; \ - rel1.to: "sb_hbar_clip_master"; \ - rel2.to: "sb_hbar_clip_master"; \ - } \ - description { state: "hidden" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - max: 99999 0; \ - } \ - } \ - part { name: "sb_hbar"; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - min: 0 13; \ - fixed: 1 1; \ - color: 0 0 0 0; \ - align: 0.5 0.5; \ - rel1 { \ - to_x: "sb_hbar_a1"; \ - to_y: "elm.scrollbar.base"; \ - relative: 1.0 0.0; \ - offset: -1 0; \ - } \ - rel2 { \ - to_x: "sb_hbar_a2"; \ - relative: 0.0 1.0; \ - offset: -2 -1; \ - } \ - } \ - } \ - part { name: "sb_hbar_runner"; \ - mouse_events: 0; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - min: 0 3; \ - max: 99999 3; \ - fixed: 1 1; \ - align: 0.5 0.5; \ - rel1 { \ - to: "sb_hbar"; \ - relative: 0.0 0.5; \ - offset: 2 0; \ - } \ - rel2 { \ - to: "sb_hbar"; \ - relative: 1.0 0.5; \ - offset: -2 0; \ - } \ - image { \ - normal: "sb_runnerh.png"; \ - border: 4 4 0 0; \ - } \ - fill.smooth: 0; \ - } \ - } \ - part { name: "elm.dragable.hbar"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_hbar_clip"; \ - dragable { \ - x: 1 1 0; \ - y: 0 0 0; \ - confine: "sb_hbar"; \ - } \ - description { state: "default" 0.0; \ - min: 20 13; \ - fixed: 1 1; \ - aspect_preference: HORIZONTAL; \ - align: 0.0 1.0; \ - color: 0 0 0 0; \ - rel1 { \ - to_x: "sb_hbar"; \ - relative: 0.0 1.0; \ - } \ - rel2.to_x: "sb_hbar"; \ - } \ - } \ - part { name: "elm.dragable.hbar.image"; \ - mouse_events: 0; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - rel1.to: "elm.dragable.hbar"; \ - rel2.to: "elm.dragable.hbar"; \ - image { \ - normal: "bt_sm_base2.png"; \ - border: 6 6 6 6; \ - } \ - } \ - } \ - part { name: "sb_hbar_over1"; \ - clip_to: "sb_hbar_clip"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1.to: "elm.dragable.hbar.image"; \ - rel2 { \ - to: "elm.dragable.hbar.image"; \ - relative: 1.0 0.5; \ - } \ - image { \ - normal: "bt_sm_hilight.png"; \ - border: 6 6 6 0; \ - } \ - } \ - } \ - part { name: "sb_hbar_over2"; \ - clip_to: "sb_hbar_clip"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1.to: "elm.dragable.hbar.image"; \ - rel2.to: "elm.dragable.hbar.image"; \ - image { \ - normal: "bt_sm_shine.png"; \ - border: 6 6 6 0; \ - } \ - } \ - } \ - part { name: "sb_hbar_p1"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - fixed: 1 1; \ - rel1 { \ - to: "sb_hbar_a1"; \ - relative: 1.0 0.0; \ - } \ - rel2 { \ - to: "elm.dragable.hbar"; \ - relative: 0.0 1.0; \ - } \ - } \ - } \ - part { name: "sb_hbar_p2"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - fixed: 1 1; \ - rel1 { \ - to: "elm.dragable.hbar"; \ - relative: 1.0 0.0; \ - } \ - rel2 { \ - to: "sb_hbar_a2"; \ - relative: 0.0 1.0; \ - } \ - } \ - } \ - part { name: "sb_hbar_a1"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - min: 13 13; \ - fixed: 1 1; \ - align: 0.0 1.0; \ - aspect: 1.0 1.0; \ - aspect_preference: VERTICAL; \ - color: 0 0 0 0; \ - rel1 { \ - to_x: "sb_hbar_clip"; \ - to_y: "elm.scrollbar.base"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to: "elm.scrollbar.base"; \ - relative: 0.0 1.0; \ - offset: -1 -1; \ - } \ - } \ - } \ - part { name: "sb_hbar_a1_arrow"; \ - mouse_events: 0; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - rel1.to: "sb_hbar_a1"; \ - rel2.to: "sb_hbar_a1"; \ - image.normal: "arrow_left.png"; \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1.offset: -1 0; \ - rel2.offset: -2 -1; \ - } \ - } \ - part { name: "sb_hbar_a2"; \ - type: RECT; \ - mouse_events: 1; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - min: 13 13; \ - align: 1.0 1.0; \ - aspect: 1.0 1.0; \ - fixed: 1 1; \ - aspect_preference: VERTICAL; \ - color: 0 0 0 0; \ - rel1 { \ - to: "elm.scrollbar.base"; \ - relative: 1.0 0.0; \ - } \ - rel2 { \ - to: "elm.scrollbar.base"; \ - relative: 0.0 1.0; \ - } \ - } \ - } \ - part { name: "sb_hbar_a2_arrow"; \ - mouse_events: 0; \ - clip_to: "sb_hbar_clip"; \ - description { state: "default" 0.0; \ - rel1.to: "sb_hbar_a2"; \ - rel2.to: "sb_hbar_a2"; \ - image.normal: "arrow_right.png"; \ - } \ - description { state: "clicked" 0.0; \ - inherit: "default" 0.0; \ - rel1.offset: 1 0; \ - rel2.offset: 0 -1; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - rel1.to: "clipper"; \ - rel2.to: "clipper"; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 128 128 128 128; \ - } \ - } \ - programs { \ - program { name: "load"; \ - signal: "load"; \ - source: ""; \ - script { \ - set_state(PART:"sb_hbar_clip", "hidden", 0.0); \ - set_state(PART:"sb_vbar_clip", "hidden", 0.0); \ - set_int(sbvis_h, 0); \ - set_int(sbvis_v, 0); \ - } \ - } \ - program { name: "vbar_show"; \ - signal: "elm,action,show,vbar"; \ - source: "elm"; \ - script { \ - set_state(PART:"sb_vbar_clip_master", "default", 0.0); \ - set_int(sbvis_v, 1); \ - if (get_int(sbvis_h)) \ - set_state(PART:"elm.scrollbar.base", "both", 0.0); \ - else \ - set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \ - emit("do-show-vbar", ""); \ - } \ - } \ - program { name: "vbar_hide"; \ - signal: "elm,action,hide,vbar"; \ - source: "elm"; \ - script { \ - set_state(PART:"sb_vbar_clip_master", "hidden", 0.0); \ - set_int(sbvis_v, 0); \ - if (get_int(sbvis_h)) \ - set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \ - else \ - set_state(PART:"elm.scrollbar.base", "default", 0.0); \ - emit("do-hide-vbar", ""); \ - } \ - } \ - program { name: "sb_vbar_down"; \ - signal: "mouse,down,1"; \ - source: "elm.dragable.vbar"; \ - action: STATE_SET "clicked" 0.0; \ - target: "elm.dragable.vbar"; \ - } \ - program { name: "sb_vbar_up"; \ - signal: "mouse,up,1"; \ - source: "elm.dragable.vbar"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.dragable.vbar"; \ - } \ - program { name: "sb_vbar_show"; \ - signal: "do-show-vbar"; \ - source: ""; \ - action: STATE_SET "default" 0.0; \ - transition: LINEAR 0.1; \ - target: "sb_vbar_clip"; \ - } \ - program { name: "sb_vbar_hide"; \ - signal: "do-hide-vbar"; \ - source: ""; \ - action: STATE_SET "hidden" 0.0; \ - transition: LINEAR 1.0; \ - target: "sb_vbar_clip"; \ - } \ - program { name: "sb_vbar_press"; \ - signal: "mouse,down,1"; \ - source: "elm.dragable.vbar"; \ - action: SIGNAL_EMIT "elm,vbar,press" "elm"; \ - } \ - program { name: "sb_vbar_unpress"; \ - signal: "mouse,up,1"; \ - source: "elm.dragable.vbar"; \ - action: SIGNAL_EMIT "elm,vbar,unpress" "elm"; \ - } \ - program { name: "sb_vbar_a1_down"; \ - signal: "mouse,down,1"; \ - source: "sb_vbar_a1"; \ - action: STATE_SET "clicked" 0.0; \ - target: "sb_vbar_a1_arrow"; \ - } \ - program { name: "sb_vbar_a1_down2"; \ - signal: "mouse,down,1"; \ - source: "sb_vbar_a1"; \ - action: DRAG_VAL_STEP 0.0 -1.0; \ - target: "elm.dragable.vbar"; \ - } \ - program { name: "sb_vbar_a1_up"; \ - signal: "mouse,up,1"; \ - source: "sb_vbar_a1"; \ - action: STATE_SET "default" 0.0; \ - target: "sb_vbar_a1_arrow"; \ - } \ - program { name: "sb_vbar_a2_down"; \ - signal: "mouse,down,1"; \ - source: "sb_vbar_a2"; \ - action: STATE_SET "clicked" 0.0; \ - target: "sb_vbar_a2_arrow"; \ - } \ - program { name: "sb_vbar_a2_down2"; \ - signal: "mouse,down,1"; \ - source: "sb_vbar_a2"; \ - action: DRAG_VAL_STEP 0.0 1.0; \ - target: "elm.dragable.vbar"; \ - } \ - program { name: "sb_vbar_a2_up"; \ - signal: "mouse,up,1"; \ - source: "sb_vbar_a2"; \ - action: STATE_SET "default" 0.0; \ - target: "sb_vbar_a2_arrow"; \ - } \ - program { name: "sb_vbar_p1_down"; \ - signal: "mouse,down,1"; \ - source: "sb_vbar_p1"; \ - action: DRAG_VAL_PAGE 0.0 -1.0; \ - target: "elm.dragable.vbar"; \ - } \ - program { name: "sb_vbar_p2_down"; \ - signal: "mouse,down,1"; \ - source: "sb_vbar_p2"; \ - action: DRAG_VAL_PAGE 0.0 1.0; \ - target: "elm.dragable.vbar"; \ - } \ - program { name: "hbar_show"; \ - signal: "elm,action,show,hbar"; \ - source: "elm"; \ - script { \ - set_state(PART:"sb_hbar_clip_master", "default", 0.0); \ - set_int(sbvis_h, 1); \ - if (get_int(sbvis_v)) \ - set_state(PART:"elm.scrollbar.base", "both", 0.0); \ - else \ - set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \ - emit("do-show-hbar", ""); \ - } \ - } \ - program { name: "hbar_hide"; \ - signal: "elm,action,hide,hbar"; \ - source: "elm"; \ - script { \ - set_state(PART:"sb_hbar_clip_master", "hidden", 0.0); \ - set_int(sbvis_h, 0); \ - if (get_int(sbvis_v)) \ - set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \ - else \ - set_state(PART:"elm.scrollbar.base", "default", 0.0); \ - emit("do-hide-hbar", ""); \ - } \ - } \ - program { name: "sb_hbar_down"; \ - signal: "mouse,down,1"; \ - source: "elm.dragable.hbar"; \ - action: STATE_SET "clicked" 0.0; \ - target: "elm.dragable.hbar"; \ - } \ - program { name: "sb_hbar_up"; \ - signal: "mouse,up,1"; \ - source: "elm.dragable.hbar"; \ - action: STATE_SET "default" 0.0; \ - target: "elm.dragable.hbar"; \ - } \ - program { name: "sb_hbar_show"; \ - signal: "do-show-hbar"; \ - source: ""; \ - action: STATE_SET "default" 0.0; \ - transition: LINEAR 0.1; \ - target: "sb_hbar_clip"; \ - } \ - program { name: "sb_hbar_hide"; \ - signal: "do-hide-hbar"; \ - source: ""; \ - action: STATE_SET "hidden" 0.0; \ - transition: LINEAR 1.0; \ - target: "sb_hbar_clip"; \ - } \ - program { name: "sb_hbar_press"; \ - signal: "mouse,down,1"; \ - source: "elm.dragable.hbar"; \ - action: SIGNAL_EMIT "elm,hbar,press" "elm"; \ - } \ - program { name: "sb_hbar_unpress"; \ - signal: "mouse,up,1"; \ - source: "elm.dragable.hbar"; \ - action: SIGNAL_EMIT "elm,hbar,unpress" "elm"; \ - } \ - program { name: "sb_hbar_a1_down"; \ - signal: "mouse,down,1"; \ - source: "sb_hbar_a1"; \ - action: STATE_SET "clicked" 0.0; \ - target: "sb_hbar_a1_arrow"; \ - } \ - program { name: "sb_hbar_a1_down2"; \ - signal: "mouse,down,1"; \ - source: "sb_hbar_a1"; \ - action: DRAG_VAL_STEP -1.0 0.0; \ - target: "elm.dragable.hbar"; \ - } \ - program { name: "sb_hbar_a1_up"; \ - signal: "mouse,up,1"; \ - source: "sb_hbar_a1"; \ - action: STATE_SET "default" 0.0; \ - target: "sb_hbar_a1_arrow"; \ - } \ - program { name: "sb_hbar_a2_down"; \ - signal: "mouse,down,1"; \ - source: "sb_hbar_a2"; \ - action: STATE_SET "clicked" 0.0; \ - target: "sb_hbar_a2_arrow"; \ - } \ - program { name: "sb_hbar_a2_down2"; \ - signal: "mouse,down,1"; \ - source: "sb_hbar_a2"; \ - action: DRAG_VAL_STEP 1.0 0.0; \ - target: "elm.dragable.hbar"; \ - } \ - program { name: "sb_hbar_a2_up"; \ - signal: "mouse,up,1"; \ - source: "sb_hbar_a2"; \ - action: STATE_SET "default" 0.0; \ - target: "sb_hbar_a2_arrow"; \ - } \ - program { name: "sb_hbar_p1_down"; \ - signal: "mouse,down,1"; \ - source: "sb_hbar_p1"; \ - action: DRAG_VAL_PAGE -1.0 0.0; \ - target: "elm.dragable.hbar"; \ - } \ - program { name: "sb_hbar_p2_down"; \ - signal: "mouse,down,1"; \ - source: "sb_hbar_p2"; \ - action: DRAG_VAL_PAGE 1.0 0.0; \ - target: "elm.dragable.hbar"; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - } \ - } \ - -collections { - - group { name: "elm/scroller/base/default"; - alias: "elm/list/base/default"; - alias: "elm/genlist/base/default"; - alias: "elm/gengrid/base/default"; - - data { - item: "focus_highlight" "on"; - } - - images { - image: "shelf_inset.png" COMP; - image: "sl_bt2_2.png" COMP; - } - - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - rel2 { - to_x: "sb_vbar"; - to_y: "sb_hbar"; - relative: 0.0 0.0; - offset: -1 -1; - } - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth: 0; - } - } - part { name: "focus_highlight"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -1 -1; - rel2.offset: 0 0; - image { - normal: "sl_bt2_2.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth: 0; - color: 200 155 0 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: 200 155 0 255; - } - } - SCROLLBARS_ADD() - } - } - - group { name: "elm/scroller/entry/default"; - - data { - item: "focus_highlight" "on"; - } - - images { - image: "shelf_inset.png" COMP; - image: "sl_bt2_2.png" COMP; - } - - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 255; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "content.clipper"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { - to: "elm.swallow.icon"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.swallow.end"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to: "bg"; - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - offset: -1 -1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - align: 0.0 1.0; - visible: 1; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to: "bg"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { -// to_x: "elm.dragable.vbar"; -// to_y: "elm.dragable.hbar"; -// relative: 0.0 0.0; - offset: -1 -1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - align: 1.0 1.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "content.clipper"; - description { state: "default" 0.0; - rel1 { - to: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 1 1; - } - rel2 { - to: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -2 -2; - } - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth: 0; - } - } - part { name: "focus_highlight"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -1 -1; - rel2.offset: 0 0; - image { - normal: "sl_bt2_2.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth: 0; - color: 200 155 0 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: 200 155 0 255; - } - } - SCROLLBARS_ADD() - } - programs { - program { name: "icon_show"; - signal: "elm,action,show,icon"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { name: "icon_hide"; - signal: "elm,action,hide,icon"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "end_show"; - signal: "elm,action,show,end"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,action,hide,end"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - target: "conf_over"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - target: "conf_over"; - } - } - } - - group { name: "elm/photocam/base/default"; - - images { - image: "shelf_inset.png" COMP; - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - } - } - part { name: "busy_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "busy"; - clip_to: "busy_clip"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - min: 32 32; - aspect: 1.0 1.0; - align: 1.0 1.0; - aspect_preference: BOTH; - rel1 { - relative: 0.9 0.9; - offset: -9 -9; - } - rel2 { - relative: 0.9 0.9; - offset: -9 -9; - } - image { - normal: "busy-9.png"; - tween: "busy-1.png"; - tween: "busy-2.png"; - tween: "busy-3.png"; - tween: "busy-4.png"; - tween: "busy-5.png"; - tween: "busy-6.png"; - tween: "busy-7.png"; - tween: "busy-8.png"; - } - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - SCROLLBARS_ADD() - } - programs { - program { name: "go1"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - } - program { name: "go2"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "busy"; - after: "go2"; - } - program { name: "stop1"; - signal: "elm,state,busy,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - after: "stop2"; - } - program { name: "stop2"; - action: ACTION_STOP; - target: "go2"; - } - } - } - - /////////////////////////////////////////////////////////////////////////////// - group { name: "elm/map/base/default"; - images { - image: "shelf_inset.png" COMP; - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - } - } - part { name: "busy_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "busy"; - clip_to: "busy_clip"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - min: 32 32; - aspect: 1.0 1.0; - align: 1.0 1.0; - aspect_preference: BOTH; - rel1 { - relative: 0.9 0.9; - offset: -9 -9; - } - rel2 { - relative: 0.9 0.9; - offset: -9 -9; - } - image { - normal: "busy-9.png"; - tween: "busy-1.png"; - tween: "busy-2.png"; - tween: "busy-3.png"; - tween: "busy-4.png"; - tween: "busy-5.png"; - tween: "busy-6.png"; - tween: "busy-7.png"; - tween: "busy-8.png"; - } - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - SCROLLBARS_ADD() - } - programs { - program { name: "go1"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - } - program { name: "go2"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "busy"; - after: "go2"; - } - program { name: "stop1"; - signal: "elm,state,busy,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - after: "stop2"; - } - program { name: "stop2"; - action: ACTION_STOP; - target: "go2"; - } - } - } - - group { name: "elm/list/base/hoverlist"; - data { - item: "focus_highlight" "on"; - } - images { - image: "sl_bt2_2.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 2 2; - rel2.offset: -3 -3; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "bg"; - offset: 2 2; - } - rel2 { - to: "bg"; - offset: -3 -3; - } - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "bg"; - offset: 2 2; - } - rel2 { - to: "bg"; - offset: -3 -3; - } - } - } - part { name: "focus_highlight"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -1 -1; - rel2.offset: 0 0; - image { - normal: "sl_bt2_2.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - color: 200 155 0 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: 200 155 0 255; - } - } - SCROLLBARS_ADD() - } - programs { - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - } - } - } - -//------------------------------------------------------------ - group { name: "elm/entry/base/default"; - styles - { - style { name: "entry_textblock_style"; - base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - style { name: "entry_textblock_disabled_style"; - base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - style { name: "entry_textblock_guide_style"; - base: "font=Sans font_size=10 color=#00000040 wrap=word text_class=entry"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - } - data { -// item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: DEFAULT; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - // source2: "X"; // selection over - // source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - // source6: "X"; // anchor over - description { state: "default" 0.0; - /* we gotta use 0 0 here, because of scrolled entries */ - fixed: 0 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } - } - - group { name: "elm/entry/base-charwrap/default"; - styles - { - style { name: "entry_textblock_style_charwrap"; - base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - style { name: "entry_textblock_disabled_style_charwrap"; - base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - style { name: "entry_textblock_guide_style_charwrap"; - base: "font=Sans font_size=10 color=#00000040 wrap=char text_class=entry"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style_charwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: DEFAULT; - multiline: 1; - source: "elm/entry/selection/default"; // selection under -// source2: "X"; // selection over -// source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under -// source6: "X"; // anchor over - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style_charwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_charwrap"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } - } - - group { name: "elm/entry/base-nowrap/default"; - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: DEFAULT; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } -/* - part { name: "sel"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - max: 16 16; - aspect: 1.0 1.0; - color: 255 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 0 0 50; - } - } - */ - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } -/* - program { name: "selmode0"; - signal: "elm,state,select,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "sel"; - } - program { name: "selmode1"; - signal: "elm,state,select,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sel"; - } - */ - } - } - - group { name: "elm/entry/base-single/default"; - styles - { - style { name: "entry_single_textblock_style"; - base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry"; - tag: "br" ""; - tag: "ps" ""; - tag: "tab" "\t"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - style { name: "entry_single_textblock_disabled_style"; - base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry"; - tag: "br" ""; - tag: "ps" ""; - tag: "tab" "\t"; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - style { name: "entry_single_textblock_guide_style"; - base: "font=Sans font_size=10 color=#00000080 wrap=none"; - tag: "br" ""; - tag: "ps" ""; - tag: "em" "+ font=Sans:style=Oblique"; - tag: "hilight" "+ font=Sans:style=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: DEFAULT; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } - } - - group { name: "elm/entry/base-single-noedit/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: DEFAULT; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-noedit/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: DEFAULT; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-noedit-charwrap/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: DEFAULT; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style_charwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_charwrap"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-nowrap-noedit/default"; - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PLAIN; - select_mode: DEFAULT; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - } - } - - group { name: "elm/entry/base-password/default"; - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: PASSWORD; - select_mode: DEFAULT; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - repch: "*"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } - } - -group { name: "elm/entry/cursor/default"; - images { - image: "cur_box.png" COMP; - image: "cur_hi.png" COMP; - image: "cur_shad.png" COMP; - image: "cur_shine.png" COMP; - image: "cur_glow.png" COMP; - } - parts { - part { name: "clip2"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "clip"; - rel2.to: "clip"; - visible: 0; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clip"; - type: RECT; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.offset: -10 0; - rel2.offset: 9 9; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.offset: -2 0; - rel2.to: "base"; - rel2.offset: 1 1; - image.border: 2 2 2 2; - image.normal: "cur_shad.png"; - } - } - part { name: "base"; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - min: 2 2; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - rel1.offset: 0 -1; - rel2.relative: 1.0 1.0; - rel2.offset: -1 -1; - image.normal: "cur_box.png"; - } - } - part { name: "hi"; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - image.normal: "cur_hi.png"; - } - } - part { name: "shine"; - mouse_events: 0; - clip_to: "clip"; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.75; - image.border: 2 2 1 0; - image.normal: "cur_shine.png"; - fill.smooth: 0; - } - } - part { name: "glow"; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.relative: 0.0 -2.0; - rel1.offset: -2 0; - rel2.to: "base"; - rel2.relative: 1.0 0.0; - rel2.offset: 1 1; - image.border: 2 2 0 4; - image.normal: "cur_glow.png"; - fill.smooth: 0; - color: 255 255 255 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 55; - visible: 1; - } - } - } - programs { - program { name: "blink"; - action: STATE_SET "visible" 0.0; - in: 0.2 0.0; - target: "clip"; - after: "blink2"; - } - program { name: "blink2"; - action: STATE_SET "visible" 0.0; - in: 0.2 0.0; - target: "glow"; - after: "blink3"; - } - program { name: "blink3"; - action: STATE_SET "default" 0.0; - in: 0.2 0.0; - target: "glow"; - after: "blink4"; - } - program { name: "blink4"; - action: STATE_SET "default" 0.0; - in: 0.2 0.0; - target: "clip"; - after: "blink"; - } - program { name: "noblink"; - action: ACTION_STOP; - target: "blink"; - target: "blink2"; - target: "blink3"; - target: "blink4"; - after: "noblink2"; - } - program { name: "noblink2"; - action: STATE_SET "default" 0.0; - target: "clip"; - target: "glow"; - } - program { name: "focused"; - signal: "elm,action,focus"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "clip2"; - after: "blink"; - } - program { name: "unfocused"; - signal: "elm,action,unfocus"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "clip2"; - after: "noblink"; - } - } -} - - group { name: "elm/entry/selection/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 128 128 128; - } - } - } - } - - group { name: "elm/entry/anchor/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 0 0 64; - } - } - } - } -} diff --git a/legacy/elementary/data/themes/default.edc b/legacy/elementary/data/themes/default.edc index 317595a17e..90e8304577 100644 --- a/legacy/elementary/data/themes/default.edc +++ b/legacy/elementary/data/themes/default.edc @@ -1,67 +1,141 @@ -// LICENSE NOTE: -// This file (and only this one) is licenses under public-domain. The reason -// is that this is meant to serve as a template for making your own themes and -// Elementary's LGPL license is not intended to follow. The images used do come -// under LGPL, but this file specifically for the structure of your theme is -// public-domain. This means you can take, use, re-license and otherwise -// have zero restrictions on using this file as a base for your theme. +#include "macros.edc" externals.external: "elm"; collections { +#include "colorclasses.edc" +#include "fonts.edc" -#include "widgets/access.edc" -#include "widgets/bg.edc" -#include "widgets/border.edc" -#include "widgets/scroller.edc" -#include "widgets/label.edc" -#include "widgets/button.edc" -#include "widgets/clock.edc" -#include "widgets/datetime.edc" -#include "widgets/dayselector.edc" -#include "widgets/menu.edc" -#include "widgets/frame.edc" -#include "widgets/focus_highlight.edc" -#include "widgets/tooltip.edc" -#include "widgets/hover.edc" -#include "widgets/ctxpopup.edc" -#include "widgets/entry.edc" -#include "widgets/bubble.edc" -#include "widgets/photo.edc" -#include "widgets/thumb.edc" -#include "widgets/icon.edc" -#include "widgets/toolbar.edc" -#include "widgets/notify.edc" -#include "widgets/slideshow.edc" -#include "widgets/win.edc" -#include "widgets/list.edc" -#include "widgets/slider.edc" -#include "widgets/actionslider.edc" -#include "widgets/genlist.edc" -#include "widgets/check.edc" -#include "widgets/radio.edc" -#include "widgets/progressbar.edc" -#include "widgets/separator.edc" -#include "widgets/spinner.edc" -#include "widgets/index.edc" -#include "widgets/gengrid.edc" -#include "widgets/photocam.edc" -#include "widgets/map.edc" -#include "widgets/panes.edc" -#include "widgets/panel.edc" -#include "widgets/conformant.edc" -#include "widgets/calendar.edc" -#include "widgets/colorselector.edc" -#include "widgets/flipselector.edc" -#include "widgets/diskselector.edc" -#include "widgets/fileselector.edc" -#include "widgets/layout.edc" -#include "widgets/segment_control.edc" -#include "widgets/player.edc" -#include "widgets/video.edc" -#include "widgets/naviframe.edc" -#include "widgets/multibuttonentry.edc" -#include "widgets/popup.edc" -#include "ews.edc" -#include "widgets/pointer.edc" +// elm +#include "edc/elm/bg.edc" +#include "edc/elm/button.edc" +// XXX: mobile mode needs invbisible scrollers... make signals that do this +#include "edc/elm/scroller.edc" +// XXX: mobile mode needs different entry setup +#include "edc/elm/entry.edc" +#include "edc/elm/frame.edc" +#include "edc/elm/label.edc" +#include "edc/elm/separator.edc" +#include "edc/elm/check.edc" +#include "edc/elm/slider.edc" +#include "edc/elm/radio.edc" +#include "edc/elm/bubble.edc" +#include "edc/elm/panes.edc" +#include "edc/elm/toolbar.edc" +#include "edc/elm/genlist.edc" +#include "edc/elm/list.edc" +#include "edc/elm/conform.edc" +#include "edc/elm/icon.edc" +#include "edc/elm/video.edc" +#include "edc/elm/access.edc" +#include "edc/elm/photo.edc" +#include "edc/elm/focus.edc" +#include "edc/elm/datetime.edc" +#include "edc/elm/player.edc" +#include "edc/elm/thumb.edc" +#include "edc/elm/pointer.edc" +#include "edc/elm/fileselector.edc" +#include "edc/elm/win.edc" +#include "edc/elm/inwin.edc" +#include "edc/elm/slideshow.edc" +#include "edc/elm/diskselector.edc" +#include "edc/elm/ctxpopup.edc" +#include "edc/elm/multibuttonentry.edc" +#include "edc/elm/dayselector.edc" +#include "edc/elm/actionslider.edc" +#include "edc/elm/photocam.edc" +#include "edc/elm/tooltip.edc" +#include "edc/elm/colorsel.edc" +#include "edc/elm/segment_control.edc" +#include "edc/elm/flipselector.edc" +#include "edc/elm/notify.edc" +#include "edc/elm/map.edc" +#include "edc/elm/index.edc" +#include "edc/elm/calendar.edc" +#include "edc/elm/layout.edc" +#include "edc/elm/progress.edc" +#include "edc/elm/naviframe.edc" +#include "edc/elm/panel.edc" +#include "edc/elm/popup.edc" +#include "edc/elm/border.edc" +// XXX: min size calc problems - too wide! ... err ok on my 32bit box... eh? +#include "edc/elm/spinner.edc" +#include "edc/elm/menu.edc" +#include "edc/elm/clock.edc" +#include "edc/elm/gengrid.edc" +#include "edc/elm/hover.edc" + +// desktop in general +#include "edc/wallpaper.edc" +#include "edc/comp.edc" +#include "edc/comp_effects.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" +#include "edc/sys.edc" +#include "edc/winlist.edc" +#include "edc/desklock.edc" +#include "edc/wizard.edc" +#include "edc/init.edc" +#include "edc/about-e.edc" +#include "edc/about-theme.edc" +#include "edc/transitions.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" +#include "edc/fontpreview.edc" +#include "edc/cslider.edc" +#include "edc/spectrum.edc" + +// modules +#include "edc/start.edc" +#include "edc/pager.edc" +#include "edc/xkbswitch.edc" +#include "edc/tasks.edc" +#include "edc/connman.edc" +#include "edc/music_control.edc" +#include "edc/systray.edc" +#include "edc/appmenu.edc" +#include "edc/clock.edc" +#include "edc/ibar-ibox.edc" +#include "edc/colors.edc" +#include "edc/edgebindings.edc" +#include "edc/randr.edc" +#include "edc/notification.edc" +#include "edc/cpufreq.edc" +#include "edc/temperature.edc" +#include "edc/backlight.edc" +#include "edc/mixer.edc" +#include "edc/battery.edc" +#include "edc/evrything.edc" +#include "edc/illume.edc" +#include "edc/bluez4.edc" + +// icons +#include "edc/icons.edc" +#include "edc/border-icons.edc" + +// port unchanged stuff so this can work as a replacement +#include "edc/O/efm_icons.edc" +#include "edc/O/icons.edc" } diff --git a/legacy/elementary/data/themes/edc/O/efm_icons.edc b/legacy/elementary/data/themes/edc/O/efm_icons.edc new file mode 100644 index 0000000000..bac8c4dcfd --- /dev/null +++ b/legacy/elementary/data/themes/edc/O/efm_icons.edc @@ -0,0 +1,160 @@ + // EFM icons // + /* #define EFMICON(NAME, FILE, SIZE) \ + * group { name: "e/icons/fileman/"NAME; \ + * max: SIZE SIZE; \ + * parts { \ + * part { name: "icon"; \ + * mouse_events: 0; \ + * description { state: "default" 0.0; \ + * aspect: 1.0 1.0; \ + * aspect_preference: BOTH; \ + * image.image: FILE COMP; \ + * image.normal: FILE ; \ + * } \ + * } \ + * } \ + * } */ + //EFMICON("folder","icon_efm_folder.png", 128) + //EFMICON("chrdev","icon_efm_file.png", 128) + //EFMICON("blkdev","icon_efm_file.png", 128) + //EFMICON("fifo","icon_efm_file.png", 128) + //EFMICON("socket","icon_efm_file.png", 128) + //EFMICON("executable","icon_efm_file.png", 128) + //EFMICON("home","icon_efm_home.png", 128) + //EFMICON("root","icon_efm_root.png", 128) + //EFMICON("tmp","icon_efm_tmp.png", 128) + //EFMICON("desktop","icon_efm_desktop.png", 128) + //EFMICON("hdd","icon_efm_hdd.png", 128) + //EFMICON("hd","icon_efm_hdd.png", 128) + + // EFM Mime type icons // + + #define MIMEICON(NAME, FILE, SIZE) \ + group { \ + name: "e/icons/fileman/mime/"NAME; \ + max: SIZE SIZE; \ + parts { \ + part { \ + name: "icon"; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + image.image: "O/"FILE COMP; \ + image.normal: "O/"FILE ; \ + } \ + } \ + } \ + } + + MIMEICON("application/pdf","icon_mime_pdf.png", 128); + MIMEICON("application/x-deb","icon_mime_deb.png", 128); + MIMEICON("application/x-bzip","icon_mime_package.png", 128); + MIMEICON("application/zip","icon_mime_package.png", 128); + MIMEICON("application/x-gzip","icon_mime_package.png", 128); + MIMEICON("application/x-bzip-compressed-tar","icon_mime_package.png", 128); + MIMEICON("application/x-bzip2-compressed-tar","icon_mime_package.png",128); + MIMEICON("application/x-compressed-tar","icon_mime_package.png",128); + MIMEICON("application/x-tar","icon_mime_package.png", 128); + MIMEICON("application/x-rar","icon_mime_package.png", 128); + MIMEICON("inode/chardevice","icon_efm_file.png", 128); + MIMEICON("inode/blockdevice","icon_efm_file.png", 128); + MIMEICON("inode/fifo","icon_efm_file.png", 128); + MIMEICON("inode/socket","icon_efm_file.png", 128); + MIMEICON("inode/directory","icon_efm_folder.png", 128); + MIMEICON("inode/file","icon_efm_file.png", 128); + MIMEICON("application/octet-stream","icon_efm_file.png", 128); + MIMEICON("application/x-executable","icon_mime_executable_generic.png", 128); + MIMEICON("application/x-ms-dos-executable","icon_mime_executable_generic.png", 128); + MIMEICON("application/x-7z-compressed","icon_mime_package.png", 128); + MIMEICON("application/vnd.ms-cab-compressed","icon_mime_package.png", 128); + + // Dynamic MIME Icons // + #define MIMEBASE(MIME, FILE, NAME, SIZE) \ + group { \ + name: "e/icons/fileman/mime/"MIME; \ + max: SIZE SIZE; \ + parts { \ + part { \ + name: "base"; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: BOTH; \ + image.image: "O/"FILE COMP; \ + image.normal: "O/"FILE; \ + } \ + } \ + part { \ + name: "name"; \ + type: TEXT; \ + mouse_events: 0; \ + description { \ + state: "default" 0.0; \ + rel1.relative: 0.2444 0.6797; \ + rel2.relative: 0.7478 0.8894; \ + color: 245 245 245 255; \ + text { \ + text: NAME; \ + font: FNBD; \ + size: 4; \ + fit: 1 1; \ + min: 1 1; \ + align: 0.5 0.0; \ + } \ + } \ + } \ + } \ + } + + MIMEBASE("video/mpeg","icon_mime_video_generic.png", ".MPEG", 128); + MIMEBASE("application/ogg","icon_mime_video_generic.png", ".OGG", 128); + MIMEBASE("video/x-theora+ogg","icon_mime_video_generic.png", ".OGG", 128); + MIMEBASE("video/x-msvideo","icon_mime_video_generic.png", ".AVI", 128); + MIMEBASE("video/ogg","icon_mime_video_generic.png", ".OGG", 128); + MIMEBASE("video/mp4","icon_mime_video_generic.png", ".MP4", 128); + MIMEBASE("video/quicktime","icon_mime_video_generic.png", ".MOV", 128); + MIMEBASE("video/x-matroska","icon_mime_video_generic.png", ".MKV", 128); + MIMEBASE("video/x-flv","icon_mime_video_generic.png", ".FLV", 128); + MIMEBASE("application/vnd.rn-realmedia","icon_mime_video_generic.png", ".REAL", 128); + MIMEBASE("video/x-ms-wmv","icon_mime_video_generic.png", ".WMV", 128); + MIMEBASE("image/png","icon_mime_image_generic.png", ".PNG", 128); + MIMEBASE("image/jpeg","icon_mime_image_generic.png", ".JPEG", 128); + MIMEBASE("image/gif","icon_mime_image_generic.png", ".GIF", 128); + MIMEBASE("image/bmp","icon_mime_image_generic.png", ".BMP", 128); + MIMEBASE("application/x-xcf","icon_mime_image_generic.png", ".XCF", 128); + MIMEBASE("application/x-cbz","icon_mime_image_generic.png", ".CBZ", 128); + MIMEBASE("application/x-cbr","icon_mime_image_generic.png", ".CBR", 128); + MIMEBASE("audio/mpeg","icon_mime_audio_generic.png", ".MP3", 128); + MIMEBASE("audio/x-wav","icon_mime_audio_generic.png", ".WAV", 128); + MIMEBASE("audio/x-flac","icon_mime_audio_generic.png", ".FLAC", 128); + MIMEBASE("audio/x-musepack","icon_mime_audio_generic.png", ".MPC", 128); + MIMEBASE("audio/x-vorbis+ogg","icon_mime_audio_generic.png", ".OGG", 128); + MIMEBASE("application/x-audacity-project","icon_mime_audio_generic.png", ".AUP", 128); + MIMEBASE("audio/x-ms-wma","icon_mime_audio_generic.png", ".WMA", 128); + MIMEBASE("text/css","icon_mime_text_generic.png", ".CSS", 128); + MIMEBASE("text/html","icon_mime_text_generic.png", ".HTML", 128); + MIMEBASE("text/x-csrc","icon_mime_text_generic.png", ".C", 128); + MIMEBASE("text/x-chdr","icon_mime_text_generic.png", ".H", 128); + MIMEBASE("text/x-c++src","icon_mime_text_generic.png", ".C++", 128); + MIMEBASE("text/x-csharp","icon_mime_text_generic.png", ".C#", 128); + MIMEBASE("text/x-patch","icon_mime_text_generic.png", ".PATCH", 128); + MIMEBASE("text/plain","icon_mime_text_generic.png", ".TXT", 128); + MIMEBASE("application/x-msword","icon_mime_text_generic.png", ".DOC", 128); + MIMEBASE("application/vnd.ms-powerpoint","icon_mime_text_generic.png", ".PPT", 128); + MIMEBASE("application/vnd.ms-excel","icon_mime_text_generic.png", ".XLS", 128); + MIMEBASE("application/x-abiword","icon_mime_text_generic.png", ".ABW", 128); + MIMEBASE("application/vnd.scribus","icon_mime_text_generic.png", ".SLA", 128); + MIMEBASE("text/x-python","icon_mime_text_generic.png", ".PY", 128); + MIMEBASE("application/x-awk","icon_mime_text_generic.png", ".AWK", 128); + MIMEBASE("application/x-lyx","icon_mime_text_generic.png", ".LYX", 128); + MIMEBASE("application/vnd.oasis.opendocument.spreadsheet","icon_mime_text_generic.png", ".ODS", 128); + MIMEBASE("application/vnd.oasis.opendocument.text","icon_mime_text_generic.png", ".ODT", 128); + MIMEBASE("application/vnd.oasis.opendocument.presentation","icon_mime_text_generic.png", ".ODP", 128); + MIMEBASE("application/x-object","icon_efm_file.png", "", 128); + MIMEBASE("application/x-shellscript","icon_applications.png", "", 128); + MIMEBASE("application/x-font-ttf","icon_mime_font_generic.png", ".TTF", 128); + MIMEBASE("application/x-font-pcf","icon_mime_font_generic.png", ".PCF", 128); + MIMEBASE("application/x-font-bdf","icon_mime_font_generic.png", ".BDF", 128); diff --git a/legacy/elementary/data/themes/edc/O/icons.edc b/legacy/elementary/data/themes/edc/O/icons.edc new file mode 100644 index 0000000000..a47886559a --- /dev/null +++ b/legacy/elementary/data/themes/edc/O/icons.edc @@ -0,0 +1,200 @@ +///////////////////////////////////////////////////////////////////////////// +/*** 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("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("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_reset.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-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" + //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" + //Standard Device Icons + ICON("computer","icon_efm_root.png", 64) // "fileman/root" + ICON("drive-harddisk","icon_efm_hdd.png", 128) // "fileman/hd" "fileman/hdd" + ICON("drive-optical","icon_efm_cd.png", 128) // "fileman/??" + ICON("media-flash","icon_efm_flash.png", 128) // "fileman/??" + ICON("drive-removable-media","icon_efm_usbmedia.png", 128); + ICON("media-eject","icon_efm_eject.png", 64) + /* End of FreeDesktop.Org icons */ + //E Specific icons + ICON("everything-launch","icon_advanced.png",64) + ICON("everything-clipboard","icon_evry_clipboard.png", 256) + //EFM Mime icons + ICONMIME("inode/chardevice","icon_efm_file.png",128) + ICONMIME("inode/blockdevice","icon_efm_file.png",128) + ICONMIME("inode/directory-locked","icon_efm_file.png",128) + ICONMIME("inode/directory","icon_efm_folder.png",128) + ICONMIME("inode/fifo","icon_efm_file.png",128) + ICONMIME("inode/socket","icon_efm_file.png",128) diff --git a/legacy/elementary/data/themes/edc/about-e.edc b/legacy/elementary/data/themes/edc/about-e.edc new file mode 100644 index 0000000000..ef1c14fdd4 --- /dev/null +++ b/legacy/elementary/data/themes/edc/about-e.edc @@ -0,0 +1,284 @@ +group { name: "e/widgets/about/main"; + // data.item: "borderless" "1"; + // data.item: "shaped" "1"; + images.image: "bg_radgrad.png" COMP; + images.image: "dot_pattern.png" COMP; + images.image: "bevel_dark_out.png" COMP; + 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: "screen_circular_shadow.png" COMP; + images.image: "logo_blue_bottom.png" COMP; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + styles { + style { name: "about_style"; + base: "font="FN" font_size=10 align=center text_class=tb_plain color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word"; + tag: "hilight" "+ font="FNBD" text_class=tb_light style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12"; + tag: "title" "+ font_size=16 font="FNBD" text_class=tb_big"; + tag: "/title" "- \n \n"; + tag: "br" "\n"; + } + style { name: "authors_style"; + base: "font="FNBD" font_size=16 align=left text_class=tb_plain color=#00000044 wrap=none"; + tag: "hilight" "+ font="FNBD" text_class=tb_light color=#3399ff44"; + tag: "title" "+ font_size=24 font="FNBD" text_class=tb_big"; + tag: "/title" "- \n \n"; + tag: "br" "\n"; + } + } + min: 220 260; + max: 800 600; + parts { + part { name: "sizer"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 220 260; + } + } + 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) + } + } + part { name: "e.textblock.authors"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + max: 20000 20000; + min: 160 0; + rel1.relative: 0.0 1.0; + rel1.offset: 4 4; + rel2.relative: 1.0 1.0; + rel2.offset: -5 4; + align: 0.5 0.0; + text { style: "authors_style"; + min: 0 1; + align: 0.5 0.0; + } + } + description { state: "up" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: 4 -5; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -5; + align: 0.5 1.0; + } + } + part { name: "e.textblock.about"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + max: 20000 20000; + min: 160 0; + rel1.relative: 0.0 1.0; + rel1.offset: 4 4; + rel2.relative: 1.0 1.0; + rel2.offset: -5 4; + align: 0.5 0.0; + text { style: "about_style"; + min: 0 1; + align: 0.5 0.0; + } + } + description { state: "up" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: 4 -5; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -5; + align: 0.5 1.0; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "top_shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "top_base"; + rel2.offset: 3 4; + rel2.to: "top_base"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "logo"; + description { state: "default" 0.0; + image.normal: "logo_blue_bottom.png"; + image.scale_hint: STATIC; + FIXED_SIZE(263,100); + rel1.to: "top_base"; + rel2.to: "top_base"; + align: 0.5 0.25; + } + } + part { name: "top_base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel2.to_y: "e.text.title"; + rel2.offset: -1 3; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "top_bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "top_base"; + rel2.to: "top_base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.text.title"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.offset: 3 3; + rel2.relative: 0.0 0.0; + rel2.offset: 3 3; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.0; + text_class: "about_title"; + } + fixed: 1 1; + } + } + part { name: "e.text.version"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: -4 3; + rel2.relative: 1.0 0.0; + rel2.offset: -4 3; + text { font: FN; size: 10; + min: 1 1; + align: 1.0 0.0; + text_class: "about_version"; + } + fixed: 1 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 -14; + rel1.relative: 0.5 1.0; + 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: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + fixed: 1 1; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "top_base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "top_base"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { name: "show1"; + signal: "show"; source: ""; + action: STATE_SET "up" 0.0; + transition: LINEAR 45.0; + target: "e.textblock.about"; + after: "show2"; + } + program { name: "show2"; + action: STATE_SET "default" 0.0; + target: "e.textblock.about"; + after: "show1"; + } + program { name: "show3"; + signal: "show"; source: ""; + action: STATE_SET "up" 0.0; + transition: LINEAR 120.0; + target: "e.textblock.authors"; + after: "show4"; + } + program { name: "show4"; + action: STATE_SET "default" 0.0; + target: "e.textblock.authors"; + after: "show3"; + } + 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" ""; + } + } +} diff --git a/legacy/elementary/data/themes/edc/about-theme.edc b/legacy/elementary/data/themes/edc/about-theme.edc new file mode 100644 index 0000000000..13fee85d05 --- /dev/null +++ b/legacy/elementary/data/themes/edc/about-theme.edc @@ -0,0 +1,189 @@ +group { name: "e/theme/about"; + // data.item: "borderless" "1"; + // data.item: "shaped" "1"; + images.image: "bevel_dark_out.png" COMP; + images.image: "screen_circular_shadow.png" COMP; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + min: 220 220; + max: 220 220; + parts { + part { name: "sizer"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 220 220; + } + } + 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: "name"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + text { font: FNBD; size: 64; + text: "Dark"; + min: 1 1; + align: 0.5 0.5; + } + } + } + part { name: "name2"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + rel1.relative: 0.5 0.9; + rel1.to: "name"; + rel2.relative: 0.5 0.9; + rel2.to: "name"; + align: 0.5 1.0; + text { font: FN; size: 10; + text: "The default theme for Enlightenment"; + min: 1 1; + align: 0.5 1.0; + } + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "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: -14 -14; + rel1.relative: 1.0 1.0; + rel2.offset: -14 -14; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + align: 1.0 1.0; + min: 85 0; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + fixed: 1 1; + } + } + part { name: "base2"; + 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.theme"; + rel2.offset: 5 5; + rel2.to: "e.text.theme"; + 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.theme"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 13 -14; + rel1.relative: 0.0 1.0; + rel2.offset: 13 -14; + rel2.relative: 0.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + align: 0.0 1.0; + min: 85 0; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + fixed: 1 1; + } + } + } + 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" ""; + } + program { + signal: "mouse,down,1*"; source: "base2"; + action: STATE_SET "clicked" 0.0; + target: "base2"; + target: "e.text.theme"; + } + program { + signal: "mouse,up,1"; source: "base2"; + action: STATE_SET "default" 0.0; + target: "base2"; + target: "e.text.theme"; + } + program { + signal: "mouse,clicked,1*"; source: "base2"; + action: SIGNAL_EMIT "e,action,settings,theme" ""; + } + } +} diff --git a/legacy/elementary/data/themes/edc/appmenu.edc b/legacy/elementary/data/themes/edc/appmenu.edc new file mode 100644 index 0000000000..80cdc8dda7 --- /dev/null +++ b/legacy/elementary/data/themes/edc/appmenu.edc @@ -0,0 +1,77 @@ +group { name: "e/modules/appmenu/item"; + images.image: "vgrad_med_dark.png" COMP; + data.item: "padding_horizontal" "5"; + data.item: "padding_vertical" "5"; + parts { + part { + name: "event_area"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "background"; + type: IMAGE; + 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: "text"; + type: TEXT; + mouse_events: 0; + 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; + text { + font: FN; + size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "label"; + } + } + description { + state: "selected" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + } + } + } + programs { + program { + signal: "mouse,in"; + source: "event_area"; + action: STATE_SET "selected" 0.0; + target: "background"; + target: "text"; + } + program { + signal: "mouse,out"; + source: "event_area"; + action: STATE_SET "default" 0.0; + target: "background"; + target: "text"; + } + } +} \ No newline at end of file diff --git a/legacy/elementary/data/themes/edc/background.edc b/legacy/elementary/data/themes/edc/background.edc new file mode 100644 index 0000000000..955bee28e6 --- /dev/null +++ b/legacy/elementary/data/themes/edc/background.edc @@ -0,0 +1,21 @@ +group { name: "e/desktop/background"; + images.image: "bg_radgrad.png" COMP; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "bg"; + description { state: "default" 0.0; + image.normal: "bg_radgrad.png"; + image.scale_hint: STATIC; + fill.smooth: 0; + ASPECT_FILL((1024/653)) + } + } + part { name: "pat"; + description { state: "default" 0.0; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/backlight.edc b/legacy/elementary/data/themes/edc/backlight.edc new file mode 100644 index 0000000000..4387663122 --- /dev/null +++ b/legacy/elementary/data/themes/edc/backlight.edc @@ -0,0 +1,66 @@ +group { name: "e/modules/backlight/main"; + images.image: "bulb_glow.png" COMP; + images.image: "bulb_off.png" COMP; + images.image: "bulb_on.png" COMP; + images.image: "bulb_over.png" COMP; + min: 16 16; + max: 160 160; + 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"; + rel1.relative: (76/152) (69/152); + rel2.to: "base"; + rel2.relative: (76/152) (69/152); + image.normal: "bulb_glow.png"; + color: 255 255 255 0; + max: 138 138; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel1.relative: (7/152) (0/152); + rel2.relative: (145/152) (138/152); + color: 255 255 255 255; + } + } + part { name: "base"; + description { state: "default" 0.0; + rel1.relative: (4/160) (4/160); + rel2.relative: (156/160) (156/160); + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "bulb_off.png"; + max: 152 152; + } + } + part { name: "glow2"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bulb_on.png"; + color: 255 255 255 0; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "over"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bulb_over.png"; + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/battery.edc b/legacy/elementary/data/themes/edc/battery.edc new file mode 100644 index 0000000000..d190376203 --- /dev/null +++ b/legacy/elementary/data/themes/edc/battery.edc @@ -0,0 +1,347 @@ +group { name: "e/modules/battery/main"; + images.image: "bat_shadow.png" COMP; + images.image: "bat_base.png" COMP; + images.image: "bat_shine.png" COMP; + images.image: "bat_bottom0.png" COMP; + images.image: "bat_bottom1.png" COMP; + images.image: "bat_top0.png" COMP; + images.image: "bat_top1.png" COMP; + images.image: "glow_med_white.png" COMP; + min: 16 16; + max: 160 160; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT) && (id == 1)) { + new Float:val; + new r = 51, g = 153, b = 255; + new lr = 255, lg = 0, lb = 0; + + val = getfarg(2); + if (val < 0.35) { + new Float:val1, Float:val2; + + val1 = (val - 0.10) / 0.25; + val2 = 1.0 - val1; + r = round((r * val1) + (lr * val2), ROUND); + g = round((g * val1) + (lg * val2), ROUND); + b = round((b * val1) + (lb * val2), ROUND); + } + 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_val(PART:"fill", STATE_REL1, 0.0, 1.0 - val); + set_state(PART:"fill", "custom", 0.0); + } + } + } + parts { + part { name: "fade_clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "faded" 0.0; + color: 128 128 128 255; + } + } + part { name: "info_clip"; type: RECT; + 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; + 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 64; + } + } + part { name: "fill_region"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "pwr"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.40 0.40; + rel2.to: "bg"; + rel2.relative: 0.60 0.60; + aspect: 1.0 1.0; aspect_preference: BOTH; + min: 5 5; + step: 5 5; + } + } + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + } + } + part { name: "shadow"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "top"; + rel1.offset: -4 0; + rel2.to: "bottom"; + rel2.offset: 3 3; + image.normal: "bat_shadow.png"; + } + } + part { name: "bg"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "top"; + rel1.relative: 0.0 1.0; + rel2.to: "bottom"; + rel2.relative: 1.0 0.0; + image.normal: "bat_base.png"; + fill.smooth: 0; + } + } + part { name: "top"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 6 4; + rel2.to: "base"; + rel2.offset: -7 4; + rel2.relative: 1.0 0.0; + aspect: (112/24) (112/24); aspect_preference: HORIZONTAL; + align: 0.5 0.0; + image.normal: "bat_top0.png"; + } + } + part { name: "bottom"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 6 -5; + rel2.to: "base"; + rel2.offset: -7 -5; + aspect: (112/12) (112/12); aspect_preference: HORIZONTAL; + align: 0.5 1.0; + image.normal: "bat_bottom0.png"; + } + } + part { name: "fill"; mouse_events: 0; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "fill_region"; + rel1.offset: -5 -5; + rel2.to: "fill_region"; + rel2.offset: 4 4; + image.normal: "glow_med_white.png"; + image.border: 10 10 10 10; + color: 51 153 255 255; + } + } + part { name: "top-shine"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "top"; + image.normal: "bat_top1.png"; + } + } + part { name: "bottom-shine"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + image.normal: "bat_bottom1.png"; + } + } + part { name: "shine"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: 0 -6; + rel2.to: "bg"; + rel2.offset: -1 5; + image.normal: "bat_shine.png"; + image.border: 0 0 7 7; + } + } + part { name: "pwr1"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "pwr"; + rel1.relative: (2/5) 0.0; + rel1.offset: -5 -5; + rel2.to: "pwr"; + rel2.relative: (3/5) 1.0; + rel2.offset: 4 4; + image.normal: "glow_med_white.png"; + image.border: 5 5 5 5; + fill.smooth: 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "pwr2"; + clip_to: "pulse_clip"; + description { state: "default" 0.0; + rel1.to: "pwr"; + rel1.relative: 0.0 (2/5); + rel1.offset: -5 -5; + rel2.to: "pwr"; + rel2.relative: 1.0 (3/5); + rel2.offset: 4 4; + image.normal: "glow_med_white.png"; + image.border: 5 5 5 5; + fill.smooth: 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.reading"; type: TEXT; mouse_events: 0; + scale: 1; + clip_to: "info_clip"; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "bg"; + rel1.offset: 0 -2; + rel2.relative: 1.0 0.0; + rel2.to_x: "bg"; + rel2.to_y: "pwr"; + color: 255 255 255 255; + color_class: "module_label"; + text { font: "Sans"; size: 6; + min: 0 1; + text_class: "module_small"; + } + } + } + part { name: "e.text.time"; type: TEXT; mouse_events: 0; + scale: 1; + clip_to: "info_clip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel1.to_x: "bg"; + rel1.to_y: "pwr"; + rel2.offset: -1 1; + rel2.to: "bg"; + color: 255 255 255 255; + color_class: "module_label"; + text { font: "Sans"; size: 6; + min: 0 1; + text_class: "module_small"; + } + } + } + part { name: "over"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,in"; source: "over"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.3; + target: "info_clip"; + } + program { + signal: "mouse,out"; source: "over"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.3; + target: "info_clip"; + } + program { + signal: "e,state,charging"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "pwr1"; + target: "pwr2"; + } + program { + signal: "e,state,discharging"; source: "e"; + action: STATE_SET "default" 0.0; + target: "pwr1"; + target: "pwr2"; + } + program { + 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 { + signal: "e,action,pulse,stop"; source: "e"; + action: STATE_SET "default" 0.0; + target: "pulse_clip"; + } + } +} + +group { name: "e/modules/battery/popup"; + min: 240 60; + parts { + part { name: "e.swallow.battery"; type: SWALLOW; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + min: 1 1; + max: 160 160; + align: 0.0 0.5; + } + } + part { name: "e.text.title"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.swallow.battery"; + rel2.relative: 1.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans:style=Bold"; size: 10; + text: "Your battery is low!"; + min: 1 1; + text_class: "module_large"; + } + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.5; + rel1.to_x: "e.swallow.battery"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans"; size: 10; + text: "AC power is recommended."; + min: 1 1; + text_class: "module_normal"; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/bluez4.edc b/legacy/elementary/data/themes/edc/bluez4.edc new file mode 100644 index 0000000000..b9a89fb8e2 --- /dev/null +++ b/legacy/elementary/data/themes/edc/bluez4.edc @@ -0,0 +1,26 @@ +group { name: "e/modules/bluez4/main"; + images.image: "bt_base.png" COMP; + max: 160 160; + parts { + part { name: "base"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + image.normal: "bt_base.png"; + } + } + } +} + +group { name: "e/modules/bluez4/inactive"; + images.image: "bt_base.png" COMP; + max: 160 160; + parts { + part { name: "base"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + image.normal: "bt_base.png"; + color: 255 255 255 128; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/border-icons.edc b/legacy/elementary/data/themes/edc/border-icons.edc new file mode 100644 index 0000000000..9abf83b157 --- /dev/null +++ b/legacy/elementary/data/themes/edc/border-icons.edc @@ -0,0 +1,42 @@ +#define ICON(_NAME, _FILE) \ + group { \ + name: "e/widgets/border/default/"_NAME; \ + max: 16 16; \ + parts { \ + part { name: "icon"; mouse_events: 0; \ + description { state: "default" 0.0; \ + max: 16 16; \ + aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.image: _FILE COMP; \ + image.normal: _FILE; \ + } \ + } \ + } \ + } + + ICON("basic", "icon_border_more.png") + ICON("close", "icon_border_close.png") + ICON("kill", "icon_border_kill.png") + ICON("stacking", "icon_border_stack_norm.png") + ICON("stack_on_top", "icon_border_stack_top.png") + ICON("stack_normal", "icon_border_stack_norm.png") + ICON("stack_below", "icon_border_stack_bot.png") + ICON("move_icon", "icon_border_move.png") + ICON("resize_icon", "icon_border_resize.png"); + ICON("maximize", "icon_border_maximize.png") + ICON("fullscreen", "icon_border_maximize.png") + ICON("minimize", "icon_border_minimize.png") + ICON("stick", "icon_border_pin.png") + ICON("sendto", "icon_border_sendto.png") + ICON("skip", "icon_border_skip.png") + ICON("skip_pager", "icon_border_pager.png") + ICON("skip_taskbar", "icon_border_skip.png") + ICON("skip_winlist", "icon_border_skip.png") + ICON("borderless", "icon_border_border.png") + ICON("remember", "icon_border_remember.png") + ICON("shade", "icon_border_shaded.png") + ICON("locks", "icon_border_lock.png") + ICON("locks_user", "icon_border_lock.png") + ICON("locks_application", "icon_border_lock.png") + ICON("properties", "icon_border_properties.png") +#undef ICON diff --git a/legacy/elementary/data/themes/edc/border.edc b/legacy/elementary/data/themes/edc/border.edc new file mode 100644 index 0000000000..a0ca40a15a --- /dev/null +++ b/legacy/elementary/data/themes/edc/border.edc @@ -0,0 +1,1274 @@ +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; + images.image: "screen_circular_shadow.png" COMP; + images.image: "win_shadow.png" COMP; + data.item: "shadow" "1"; + parts { + part { name: "client_clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to_y: "e.swallow.client"; + rel2.to_y: "e.swallow.client"; + } + description { state: "hidden" 0.0; + inherit: "default"; + visible: 0; + } + } + part { name: "e.swallow.client"; type: SWALLOW; mouse_events: 0; + clip_to: "client_clip"; + 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; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + } + } + part { name: "top"; mouse_events: 0; + 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; mouse_events: 0; + 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: FNBD; 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; mouse_events: 0; + 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: FNBD; 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; mouse_events: 0; + 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; mouse_events: 0; + 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_small.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; mouse_events: 0; + 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; mouse_events: 0; + 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"; mouse_events: 0; + 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"; mouse_events: 0; + 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"; mouse_events: 0; + 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"; mouse_events: 0; + 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"; mouse_events: 0; + 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"; mouse_events: 0; + 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.titlebar"; type: RECT; + description { state: "default" 0.0; + rel2.to_y: "e.swallow.client"; + rel2.relative: 1 0; + rel2.offset: 0 1; + color: 0 0 0 0; + } + } + 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.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; mouse_events: 0; + 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"; mouse_events: 0; + 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: "shadow_clip"; type: RECT; mouse_events: 0; + description { state: "default"; + rel1.to: "shadow"; + rel2.to: "shadow"; + } + description { state: "hidden"; + visible: 0; + } + } + part { name: "shadow"; mouse_events: 0; clip_to: "shadow_clip"; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "top"; + rel1.offset: -7 -3; + rel2.to: "bottom"; + rel2.offset: 6 11; + fill.smooth: 0; + } + description { state: "shaded"; + inherit: "default"; + rel2.to: "top"; + } + } + part { name: "e.event.resize.bl"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "e.swallow.client"; + rel1.offset: 0 -1; + 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"; + rel1.to_y: "e.swallow.client"; + rel1.offset: 0 -1; + 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; + rel1.to_y: "e.swallow.client"; + rel1.offset: 0 -1; + 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,shadow,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "shadow_clip"; + } + program { + signal: "e,state,shadow,off"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "shadow_clip"; + } + 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 { name: "shade_hide"; + action: STATE_SET "hidden" 0.0; + target: "client_clip"; + } + program { + signal: "e,state,shaded"; source: "e"; + action: STATE_SET "shaded" 0.0; + target: "shadow"; + after: "shade_hide"; + after: "shading"; + } + program { name: "shading"; + signal: "e,state,shading"; 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,unshaded"; source: "e"; + action: STATE_SET "default" 0.0; + target: "bottom"; + target: "bevel2"; + target: "e.event.resize.bl"; + target: "e.event.resize.b"; + target: "e.event.resize.br"; + target: "client_clip"; + after: "unshading"; + } + program { name: "unshading"; + signal: "e,state,unshading"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.client"; + target: "shadow"; + target: "client_clip"; + } +// 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/sparkle/border"; + inherit: "e/widgets/border/default/border"; + images.image: "vgrad_med_lighter_sparkle.png" COMP; + images.image: "vgrad_med_dark_sparkle.png" COMP; + script { + public in_x, in_y, locked = 0; + } + parts { + part { name: "top"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter_sparkle.png"; + visible: 0; + } + description { state: "focused" 0.0; + image.normal: "vgrad_med_dark_sparkle.png"; + visible: 0; + } + } + part { name: "proxy"; type: PROXY; mouse_events: 0; + insert_after: "top"; + description { state: "default"; + source: "top"; + rel1.to: "top"; + rel2.to: "top"; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "bevel"; + description { state: "default" 0.0; + rel1.to: "proxy"; + rel2.to: "proxy"; + } + } + part { name: "e.text.title"; + effect: GLOW; + description { state: "default" 0.0; + color3: 255 255 255 222; + } + } + part { name: "title2"; + effect: OUTLINE_SHADOW; + description { state: "focused" 0.0; + color3: 0 0 0 255; + } + } + part { name: "e.event.icon"; + description { state: "default" 0.0; + rel1.to: "proxy"; + } + } + part { name: "e.event.close"; + description { state: "default" 0.0; + rel2.to: "proxy"; + } + } + part { name: "shine"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "events"; type: RECT; repeat_events: 1; + description { state: "default"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "in"; + signal: "mouse,in"; source: "events"; + + script { + new mx, my; + + get_mouse(mx, my); + set_int(in_x, mx); + set_int(in_y, my); + } + } + program { name: "out"; + signal: "mouse,out"; source: "events"; + action: STATE_SET "default" 0.0; + target: "proxy"; + transition: LINEAR 0.2; + } + program { name: "anim"; + signal: "mouse,move"; source: "events"; + script { + new mx, my; + + if (get_int(locked) != 1) { + get_mouse(mx, my); + custom_state(PART:"proxy", "default", 0.0); + set_state_val(PART:"proxy", STATE_REL1_OFFSET, get_int(in_x) - mx, 0); + set_state_val(PART:"proxy", STATE_REL2_OFFSET, get_int(in_x) - mx, 0); + set_state(PART:"proxy", "custom", 0.0); + } + } + } + program { name: "lock"; + after: "out"; + script { + set_int(locked, 1); + set_int(in_x, 0); + set_int(in_y, 0); + } + } + program { name: "unlock"; + script { + set_int(locked, 0); + } + } + program { + signal: "mouse,down,1"; source: "e.event.resize.tr"; + after: "lock"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.t"; + after: "lock"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.tl"; + after: "lock"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.br"; + after: "lock"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.b"; + after: "lock"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.bl"; + after: "lock"; + } + program { + signal: "mouse,up,1"; source: "e.event.resize.tr"; + after: "unlock"; + } + program { + signal: "mouse,up,1"; source: "e.event.resize.t"; + after: "unlock"; + } + program { + signal: "mouse,up,1"; source: "e.event.resize.tl"; + after: "unlock"; + } + program { + signal: "mouse,up,1"; source: "e.event.resize.br"; + after: "unlock"; + } + program { + signal: "mouse,up,1"; source: "e.event.resize.b"; + after: "unlock"; + } + program { + signal: "mouse,up,1"; source: "e.event.resize.bl"; + after: "unlock"; + } + } +} + +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; mouse_events: 0; + 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: "client_clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to_y: "e.swallow.client"; + rel2.to_y: "e.swallow.client"; + } + } + part { name: "e.swallow.client"; type: SWALLOW; mouse_events: 0; + clip_to: "client_clip"; + description { state: "default" 0.0; + rel1.offset: 1 1; + 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; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + part { name: "bottom"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 1.0; + max: 99999 1; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + part { name: "left"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 0.0 0.0; + max: 1 99999; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + part { name: "right"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + align: 1.0 0.0; + max: 1 99999; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 51 153 255 255; + } + } + 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: "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; + } + } + 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; + } + } + 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; + } + } + } + programs { + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "focused" 0.0; + target: "top"; + target: "bottom"; + target: "left"; + target: "right"; + } + program { + signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "top"; + target: "bottom"; + target: "left"; + target: "right"; + } + } +} + +group { name: "e/widgets/border/default/move"; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "ic_win_move.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: "icon"; + description { state: "default" 0.0; + align: 0.0 0.5; + FIXED_SIZE(21, 21) + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + image.normal: "ic_win_move.png"; + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "icon"; + rel1.offset: 4 4; + rel1.relative: 1.0 0.0; + rel2.offset: -5 -5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "move_text"; + text { font: FN; size: 10; + min: 1 1; + text_class: "move_text"; + } + } + } + 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/widgets/border/default/resize"; + inherit: "e/widgets/border/default/move"; + images.image: "ic_win_resize.png" COMP; + parts { + part { name: "icon"; + description { state: "default" 0.0; + image.normal: "ic_win_resize.png"; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/button.edc b/legacy/elementary/data/themes/edc/button.edc new file mode 100644 index 0000000000..8369efe7b5 --- /dev/null +++ b/legacy/elementary/data/themes/edc/button.edc @@ -0,0 +1,218 @@ + group { name: "e/widgets/button"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "win_glow.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; + min: 17 17; + 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: FN; 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: FN; 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: "base2"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.to: "base2"; + rel1.offset: -2 -3; + rel2.to: "base2"; + rel2.offset: 1 0; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 255 255 255 150; + 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"; + target: "base2"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "base2"; + } + 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"; + } + program { signal: "e,state,focused"; source: "e"; + action: STATE_SET "focused" 0.0; + target: "glow"; + } + program { signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "glow"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/check.edc b/legacy/elementary/data/themes/edc/check.edc new file mode 100644 index 0000000000..59ab0a0888 --- /dev/null +++ b/legacy/elementary/data/themes/edc/check.edc @@ -0,0 +1,166 @@ +group { name: "e/widgets/check"; + images.image: "inset_shadow_tiny.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "sym_check_alum.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel1.to: "inset"; + rel2.offset: -2 -2; + rel2.to: "inset"; + color: 24 24 24 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 64 64 64 255; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow_tiny.png"; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + align: 0.0 0.5; + min: 13 13; + max: 13 13; + fixed: 1 1; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "indicator"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "sym_check_alum.png"; + min: 11 11; + max: 11 11; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.to_x: "inset"; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "check_text"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "check_button"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,checked"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "e,state,unchecked"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "e,action,toggle" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "base"; + target: "shadow"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "shadow"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + } +} + +group { name: "e/widgets/check_icon"; + inherit: "e/widgets/check"; + parts { + part { name: "e.swallow.icon"; type: SWALLOW; + insert_before: "event"; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.relative: 1.0 0.0; + rel1.to_x: "inset"; + rel2.offset: 2 -3; + rel2.relative: 1.0 1.0; + rel1.to_x: "inset"; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + part { name: "e.text.label"; + description { state: "default" 0.0; + rel1.to_x: "e.swallow.icon"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/clock.edc b/legacy/elementary/data/themes/edc/clock.edc new file mode 100644 index 0000000000..e0f5b166fd --- /dev/null +++ b/legacy/elementary/data/themes/edc/clock.edc @@ -0,0 +1,1179 @@ +group { name: "e/modules/clock/digital"; + min: 64 16; + max: 512 128; + images.image: "digit_na.png" COMP; + images.image: "digit_nm.png" COMP; + images.image: "digit_0.png" COMP; + images.image: "digit_1.png" COMP; + images.image: "digit_2.png" COMP; + images.image: "digit_3.png" COMP; + images.image: "digit_4.png" COMP; + images.image: "digit_5.png" COMP; + images.image: "digit_6.png" COMP; + images.image: "digit_7.png" COMP; + images.image: "digit_8.png" COMP; + images.image: "digit_9.png" COMP; + images.image: "digit_am.png" COMP; + images.image: "digit_pm.png" COMP; + images.image: "hole_tiny.png" COMP; + script { + public do_seconds, do_24h, do_date, tick_timer; + + evalsize() { + new do24h, dosec, v[14], i, tot, mul; + new parts[] = { + PART:"hours1", PART:"hours1", + PART:"hours2", PART:"hours2", + PART:"mins1", PART:"mins1", + PART:"mins2", PART:"mins2", + PART:"secs1", PART:"secs1", + PART:"secs2", PART:"secs2", + PART:"ampm", PART:"ampm" + }; + + mul = 4; + if (get_int(do_date)) { + mul = 3; + } + + for (i = 0; i < 14; i += 2) { + custom_state(parts[i], "default", 0.0); + } + v[0] = 0; v[1] = 2; v[2] = 2; v[3] = 4; // hrs + v[4] = 5; v[5] = 7; v[6] = 7; v[7] = 9; // mins + tot = 9; + + dosec = get_int(do_seconds); + do24h = get_int(do_24h); + if ((dosec) && (!do24h)) { // sec + ampm + tot += 7; + v[8] = 10; v[9] = 12; v[10] = 12; v[11] = 14; + v[12] = 14; v[13] = 16; + } + else if ((dosec) && (do24h)) { // sec + - + tot += 5; + v[8] = 10; v[9] = 12; v[10] = 12; v[11] = 14; + v[12] = 0; v[13] = 0; + } + else if ((!dosec) && (!do24h)) { // - + ampm + tot += 2; + v[8] = 0; v[9] = 0; v[10] = 0; v[11] = 0; + v[12] = 9; v[13] = 11; + } + else if ((!dosec) && (do24h)) { // - + - + tot += 0; + v[8] = 0; v[9] = 0; v[10] = 0; v[11] = 0; + v[12] = 0; v[13] = 0; + } + for (i = 0; i < 14; i += 2) { + set_state_val(parts[i], STATE_REL1, + float(v[i]) / float(tot), 0.0); + set_state_val(parts[i + 1], STATE_REL2, + float(v[i + 1]) / float(tot), 1.0); + } + for (i = 0; i < 14; i += 2) { + set_state(parts[i], "custom", 0.0); + } + set_min_size(tot * mul, 16); + set_max_size(tot * 8 * mul, 128); + emit("e,state,sizing,changed", ""); + } + reset() { + new tim; + + evalsize(); + tim = get_int(tick_timer); + if (tim) { + cancel_timer(tim); + set_int(tick_timer, 0); + } + clock_cb(0); + } + valset(name[], v) { + new buf[20], i; + + for (i = 0; i < 10; i++) { + if (i == v) { + snprintf(buf, 20, "show,%s-%i", name, i); + } + else { + snprintf(buf, 20, "hide,%s-%i", name, i); + } + emit(buf, "c"); + } + } + apvalset(id, pm) { + if (pm) set_state(id, "active", 0.0); + else set_state(id, "default", 0.0); + } + public clock_cb(val) { + new year, month, day, yearday, weekday, hour, minute; + new Float:second; + new v, dosec, do24h, tim; + + date(year, month, day, yearday, weekday, hour, minute, second); + dosec = get_int(do_seconds); + if (dosec) { + v = round(second); + tim = timer(1.0 - (second - v), "clock_cb", 1); + // set seconds to v + valset("s0", v / 10); + valset("s1", v % 10); + } + else { + tim = timer(60.0 - (second), "clock_cb", 1); + } + set_int(tick_timer, tim); + + // set minutes to minute + valset("m0", minute / 10); + valset("m1", minute % 10); + + // set hours to hour + do24h = get_int(do_24h); + if (do24h) { + valset("h0", hour / 10); + valset("h1", hour % 10); + } + else { + new pm; + + // if 12 or later, its pm + if (hour >= 12) { + pm = 1; + // if we are after 12 (1, 2, 3 etc.) then mod by 12 + if (hour > 12) hour = hour % 12; + } + else { + pm = 0; + // make after midnight be 12:XX AM :) + if (hour == 0) hour = 12; + } + valset("h0", hour / 10); + valset("h1", hour % 10); + apvalset(PART:"ap", pm); + } + } + } + parts { + part { name: "secclip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "ampmclip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + // XXX: hours1/2, mins1/2, secs1/2 and ampm SHOULD be spacers... but + // if they are calculations go weird. this shouldnt happen, but does. + part { name: "timearea"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "date" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.0; + rel2.offset: -1 4; + rel2.to_y: "e.text.today"; + } + } + part { name: "hours1"; type: RECT; + description { state: "default" 0.0; + rel1.relative: (0/16) 0.0; + rel2.relative: (2/16) 1.0; + rel1.to: "timearea"; + rel2.to: "timearea"; + visible: 0; + } + } + part { name: "hours2"; type: RECT; + description { state: "default" 0.0; + rel1.relative: (2/16) 0.0; + rel2.relative: (4/16) 1.0; + rel1.to: "timearea"; + rel2.to: "timearea"; + visible: 0; + } + } + part { name: "mins1"; type: RECT; + description { state: "default" 0.0; + rel1.relative: (5/16) 0.0; + rel2.relative: (7/16) 1.0; + rel1.to: "timearea"; + rel2.to: "timearea"; + visible: 0; + } + } + part { name: "mins2"; type: RECT; + description { state: "default" 0.0; + rel1.relative: (7/16) 0.0; + rel2.relative: (9/16) 1.0; + rel1.to: "timearea"; + rel2.to: "timearea"; + visible: 0; + } + } + part { name: "secs1"; type: RECT; + description { state: "default" 0.0; + rel1.relative: (10/16) 0.0; + rel2.relative: (12/16) 1.0; + rel1.to: "timearea"; + rel2.to: "timearea"; + visible: 0; + } + } + part { name: "secs2"; type: RECT; + description { state: "default" 0.0; + rel1.relative: (12/16) 0.0; + rel2.relative: (14/16) 1.0; + rel1.to: "timearea"; + rel2.to: "timearea"; + visible: 0; + } + } + part { name: "ampm"; type: RECT; + description { state: "default" 0.0; + rel1.relative: (14/16) 0.0; + rel2.relative: (16/16) 1.0; + rel1.to: "timearea"; + rel2.to: "timearea"; + visible: 0; + } + } + part { name: "c00"; + description { state: "default" 0.0; + rel1.to: "hours2"; + rel1.relative: 1.0 0.5; + rel1.offset: 0 -2; + rel2.to: "mins1"; + rel2.relative: 0.0 0.5; + rel2.offset: 0 -2; + align: 0.5 1.0; + FIXED_SIZE(4, 4) + image.normal: "hole_tiny.png"; + } + } + part { name: "c01"; + description { state: "default" 0.0; + rel1.to: "hours2"; + rel1.relative: 1.0 0.5; + rel1.offset: 0 1; + rel2.to: "mins1"; + rel2.relative: 0.0 0.5; + rel2.offset: 0 1; + align: 0.5 0.0; + FIXED_SIZE(4, 4) + image.normal: "hole_tiny.png"; + } + } + part { name: "c10"; + clip_to: "secclip"; + description { state: "default" 0.0; + rel1.to: "mins2"; + rel1.relative: 1.0 0.5; + rel1.offset: 0 -2; + rel2.to: "secs1"; + rel2.relative: 0.0 0.5; + rel2.offset: 0 -2; + align: 0.5 1.0; + FIXED_SIZE(4, 4) + image.normal: "hole_tiny.png"; + } + } + part { name: "c11"; + clip_to: "secclip"; + description { state: "default" 0.0; + rel1.to: "mins2"; + rel1.relative: 1.0 0.5; + rel1.offset: 0 1; + rel2.to: "secs1"; + rel2.relative: 0.0 0.5; + rel2.offset: 0 1; + align: 0.5 0.0; + FIXED_SIZE(4, 4) + image.normal: "hole_tiny.png"; + } + } +#define ELEM(_NAME, _TO, _DIGIT) \ + part { name: _NAME; \ + description { state: "default" 0.0; \ + rel1.to: _TO; rel2.to: _TO; \ + aspect: (52/72) (52/72); aspect_preference: BOTH; \ + image.normal: "digit_"_DIGIT".png"; \ + visible: 0; \ + color: 255 255 255 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } +#define DIGIT(_NAME, _TO) \ + ELEM(_NAME"-0", _TO, "0") \ + ELEM(_NAME"-1", _TO, "1") \ + ELEM(_NAME"-2", _TO, "2") \ + ELEM(_NAME"-3", _TO, "3") \ + ELEM(_NAME"-4", _TO, "4") \ + ELEM(_NAME"-5", _TO, "5") \ + ELEM(_NAME"-6", _TO, "6") \ + ELEM(_NAME"-7", _TO, "7") \ + ELEM(_NAME"-8", _TO, "8") \ + ELEM(_NAME"-9", _TO, "9") +#define ELEMC(_NAME, _TO, _DIGIT, _CLIP) \ + part { name: _NAME; \ + clip_to: _CLIP; \ + description { state: "default" 0.0; \ + rel1.to: _TO; rel2.to: _TO; \ + aspect: (52/72) (52/72); aspect_preference: BOTH; \ + image.normal: "digit_"_DIGIT".png"; \ + visible: 0; \ + color: 255 255 255 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } +#define DIGITC(_NAME, _TO, _CLIP) \ + ELEMC(_NAME"-0", _TO, "0", _CLIP) \ + ELEMC(_NAME"-1", _TO, "1", _CLIP) \ + ELEMC(_NAME"-2", _TO, "2", _CLIP) \ + ELEMC(_NAME"-3", _TO, "3", _CLIP) \ + ELEMC(_NAME"-4", _TO, "4", _CLIP) \ + ELEMC(_NAME"-5", _TO, "5", _CLIP) \ + ELEMC(_NAME"-6", _TO, "6", _CLIP) \ + ELEMC(_NAME"-7", _TO, "7", _CLIP) \ + ELEMC(_NAME"-8", _TO, "8", _CLIP) \ + ELEMC(_NAME"-9", _TO, "9", _CLIP) + +#define TAG(_NAME, _TO, _CLIP) \ + part { name: _NAME; \ + clip_to: _CLIP; \ + description { state: "default" 0.0; \ + rel1.to: _TO; rel2.to: _TO; \ + aspect: (48/31) (48/31); aspect_preference: BOTH; \ + image.normal: "digit_am.png"; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "digit_pm.png"; \ + } \ + } +#define BASE(_NAME, _BASE, _IMG) \ + part { name: _NAME; \ + description { state: "default" 0.0; \ + rel1.to: _BASE; \ + rel2.to: _BASE; \ + image.normal: _IMG; \ + color: 255 255 255 128; \ + } \ + } +#define BASEC(_NAME, _CLIP, _BASE, _IMG) \ + part { name: _NAME; \ + clip_to: _CLIP; \ + description { state: "default" 0.0; \ + rel1.to: _BASE; \ + rel2.to: _BASE; \ + image.normal: _IMG; \ + color: 255 255 255 128; \ + } \ + } + + BASE ("ha", "h0-0", "digit_na.png") + BASE ("hb", "h1-0", "digit_na.png") + BASE ("ma", "m0-0", "digit_na.png") + BASE ("mb", "m1-0", "digit_na.png") + + BASEC("sa", "secclip", "s0-0", "digit_na.png") + BASEC("sb", "secclip", "s1-0", "digit_na.png") + BASEC("aa", "ampmclip", "ap", "digit_nm.png") + + DIGIT ("h0", "hours1") + DIGIT ("h1", "hours2") + DIGIT ("m0", "mins1") + DIGIT ("m1", "mins2") + DIGITC("s0", "secs1", "secclip") + DIGITC("s1", "secs2", "secclip") + TAG("ap", "ampm", "ampmclip") +#undef TAG +#undef TAG +#undef ELEM +#undef ELEMC +#undef BASE +#undef BASEC +#undef DIGIT +#undef DIGITC + + part { name: "e.text.today"; type: TEXT; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 1; + rel2.offset: -1 1; + align: 0.5 1.0; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + text { font: FN; size: 8; + text_class: "module_small"; + align: 0.5 0.5; + min: 0 1; + } + fixed: 0 1; + visible: 0; + } + description { state: "date" 0.0; + inherit: "default" 0.0; + visible: 1; + fixed: 1 1; + } + } + + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "load"; source: ""; + script { + reset(); + } + } + program { + signal: "e,state,date,on"; source: "e"; + script { + set_int(do_date, 1); + set_state(PART:"timearea", "date", 0.0); + set_state(PART:"e.text.today", "date", 0.0); + reset(); + } + } + program { + signal: "e,state,date,off"; source: "e"; + script { + set_int(do_date, 0); + set_state(PART:"timearea", "default", 0.0); + set_state(PART:"e.text.today", "default", 0.0); + reset(); + } + } + program { + signal: "e,state,seconds,on"; source: "e"; + script { + set_int(do_seconds, 1); + set_state(PART:"secclip", "default", 0.0); + reset(); + } + } + program { + signal: "e,state,seconds,off"; source: "e"; + script { + set_int(do_seconds, 0); + set_state(PART:"secclip", "hidden", 0.0); + reset(); + } + } + program { + signal: "e,state,24h,on"; source: "e"; + script { + set_int(do_24h, 1); + set_state(PART:"ampmclip", "hidden", 0.0); + reset(); + } + } + program { + signal: "e,state,24h,off"; source: "e"; + script { + set_int(do_24h, 0); + set_state(PART:"ampmclip", "default", 0.0); + reset(); + } + } +#define DIGPRG(_NAME) \ + program { \ + signal: "show,"_NAME; source: "c"; \ + action: STATE_SET "active" 0.0; \ + transition: BOUNCE 0.3 0.5 2; \ + target: _NAME; \ + } \ + program { \ + signal: "hide,"_NAME; source: "c"; \ + action: STATE_SET "default" 0.0; \ + transition: DECELERATE 0.3; \ + target: _NAME; \ + } +#define DIGPRGS(_NAME) \ + DIGPRG(_NAME"-0") \ + DIGPRG(_NAME"-1") \ + DIGPRG(_NAME"-2") \ + DIGPRG(_NAME"-3") \ + DIGPRG(_NAME"-4") \ + DIGPRG(_NAME"-5") \ + DIGPRG(_NAME"-6") \ + DIGPRG(_NAME"-7") \ + DIGPRG(_NAME"-8") \ + DIGPRG(_NAME"-9") + + DIGPRGS("h0") + DIGPRGS("h1") + DIGPRGS("m0") + DIGPRGS("m1") + DIGPRGS("s0") + DIGPRGS("s1") +#undef DIGPRG +#undef DIGPRGS + } +} + +group { name: "e/modules/clock/main"; + images.image: "clock_base.png" COMP; + images.image: "inset_round_hilight.png" COMP; + images.image: "inset_round_shadow.png" COMP; + images.image: "inset_round_shading.png" COMP; + set { name: "tacho_hand_big"; + image { image: "tacho_hand_big.png" COMP; size: 73 73 99999 99999; } + image { image: "tacho_hand_big2.png" COMP; size: 37 37 72 72; } + image { image: "tacho_hand_big3.png" COMP; size: 19 19 36 36; } + image { image: "tacho_hand_big4.png" COMP; size: 0 0 18 18; } + } + images.image: "tacho_hand_big_shadow.png" COMP; + set { name: "tacho_hand_small_min"; + image { image: "tacho_hand_small_min.png" COMP; size: 73 73 99999 99999; } + image { image: "tacho_hand_small_min2.png" COMP; size: 37 37 72 72; } + image { image: "tacho_hand_small_min3.png" COMP; size: 19 19 36 36; } + image { image: "tacho_hand_small_min4.png" COMP; size: 0 0 18 18; } + } + set { name: "knob"; + image { image: "knob_sz_24.png" COMP; size: 31 31 32 32; } + image { image: "knob_sz_22.png" COMP; size: 29 29 30 30; } + image { image: "knob_sz_20.png" COMP; size: 27 27 28 28; } + image { image: "knob_sz_18.png" COMP; size: 25 25 26 26; } + image { image: "knob_sz_16.png" COMP; size: 23 23 24 24; } + image { image: "knob_sz_14.png" COMP; size: 21 21 22 22; } + image { image: "knob_sz_12.png" COMP; size: 19 19 20 20; } + image { image: "knob_sz_10.png" COMP; size: 17 17 18 18; } + image { image: "knob_sz_08.png" COMP; size: 15 15 16 16; } + image { image: "knob_sz_06.png" COMP; size: 13 13 14 14; } + image { image: "knob_sz_04.png" COMP; size: 0 0 12 12; } + } + min: 16 16; + max: 160 160; + 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; + + date(year, month, day, yearday, weekday, hour, minute, second); + dosec = get_int(do_seconds); + if (dosec) { + v = round(second); + tim = timer(1.0 - (second - v), "clock_cb", 1); + + custom_state(PART:"seconds", "default", 0.0); + set_state_val(PART:"seconds", STATE_MAP_ROT_Z, (v * 360.0) / 60.0); + 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(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(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(PART:"minutes-sh", "custom", 0.0); + + custom_state(PART:"hours", "default", 0.0); + set_state_val(PART:"hours", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0); + set_state(PART:"hours", "custom", 0.0); + + custom_state(PART:"hours-sh", "default", 0.0); + set_state_val(PART:"hours-sh", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0); + set_state(PART:"hours-sh", "custom", 0.0); + } + } + parts { + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "base-sh"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 -1; + rel2.to: "base"; + rel2.offset: -1 -2; + image.normal: "inset_round_shadow.png"; + } + } + part { name: "base-hi"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 1; + rel2.to: "base"; + rel2.offset: -1 0; + image.normal: "inset_round_hilight.png"; + } + } + part { name: "base"; + description { state: "default" 0.0; + rel1.relative: (25/380) (25/380); + rel2.relative: (365/380) (365/380); + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "clock_base.png"; + } + } + part { name: "seconds-sh"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "tacho_hand_big_shadow.png"; + rel1.to: "hours-sh"; + rel2.to: "hours-sh"; + map { + on: 1; + rotation.center: "seconds-sh"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "seconds"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "tacho_hand_big"; + color: 255 0 0 255; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + rotation.center: "base"; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "minutes-sh"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "tacho_hand_big_shadow.png"; + rel1.to: "hours-sh"; + rel2.to: "hours-sh"; + map { + on: 1; + rotation.center: "minutes-sh"; + } + } + } + part { name: "minutes"; mouse_events: 0; + description { state: "default" 0.0000; + color: 255 255 255 255; + image.normal: "tacho_hand_big"; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + rotation.center: "base"; + } + } + } + part { name: "hours-sh"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "tacho_hand_small_shadow.png"; + rel1.to: "hours"; + rel1.relative: 0.0 (15/380); + rel1.offset: 0 1; + rel2.to: "hours"; + rel2.relative: 1.0 (395/380); + rel2.offset: -1 0; + map { + on: 1; + rotation.center: "hours-sh"; + } + } + } + part { name: "hours"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "tacho_hand_small_min"; + color: 255 255 255 255; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + rotation.center: "base"; + } + } + } + part { name: "over"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "inset_round_shading.png"; + } + } + part { name: "knob"; type: SPACER; + description { state: "default" 0.0; + rel1.relative: (140/340) (140/340); + rel1.to: "base"; + rel2.relative: (205/340) (205/340); + rel2.to: "base"; + min: 4 4; + step: 2 2; + max: 24 24; + } + } + part { name: "knob2"; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.to: "knob"; + rel2.offset: 3 3; + rel2.to: "knob"; + min: 12 12; + max: 32 32; + image.normal: "knob"; + } + } + } + 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); + } + } + } +} + +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: FN; size: 8; + text: "WWe"; + 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: FN; size: 10; + text: "00"; + 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: FN; 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: FNBD; size: 10; + text: "000000000000"; + 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: FNBD; size: 10; + text: "0000"; + align: 1.0 0.5; + min: 0 1; + text_class: "module_normal"; + } + } + } + part { name: "previm"; mouse_events: 0; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + rel1.to: "prev"; + rel2.to: "prev"; + image.normal: "sym_left_light_normal.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + } + } + part { name: "prev"; type: RECT; + description { state: "default" 0.0; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.to_y: "e.text.month"; + rel1.relative: 0.0 0.0; + rel2.to_y: "e.text.month"; + rel2.relative: 0.0 1.0; + } + program { name: "prev_down"; + signal: "mouse,down,1*"; source: "prev"; + action: STATE_SET "pressed" 0.0; + target: "previm"; + } + program { name: "prev_up"; + signal: "mouse,up,1"; source: "prev"; + action: STATE_SET "default" 0.0; + target: "previm"; + } + program { name: "prev_clicked"; + signal: "mouse,clicked,1*"; source: "prev"; + action: SIGNAL_EMIT "e,action,prev" ""; + } + } + part { name: "nextim"; mouse_events: 0; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + rel1.to: "next"; + rel2.to: "next"; + image.normal: "sym_right_light_normal.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "next"; type: RECT; + description { state: "default" 0.0; + align: 1.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.to_y: "e.text.month"; + rel1.relative: 1.0 0.0; + rel2.to_y: "e.text.month"; + rel2.relative: 1.0 1.0; + } + program { name: "next_down"; + signal: "mouse,down,1"; source: "next"; + action: STATE_SET "pressed" 0.0; + target: "nextim"; + } + program { name: "next_up"; + signal: "mouse,up,1"; source: "next"; + action: STATE_SET "default" 0.0; + target: "nextim"; + } + program { name: "next_clicked"; + signal: "mouse,clicked,1"; source: "next"; + action: SIGNAL_EMIT "e,action,next" ""; + } + } + part { name: "sel"; + description { state: "default" 0.0; + image.normal: "separator_horiz.png"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel1.to: "e.table.daynames"; + rel2.offset: -1 1; + rel2.to: "e.table.daynames"; + min: 0 2; + fill.smooth: 0; + } + } + + part { name: "e.table.daynames"; type: TABLE; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1.to_y: "e.text.month"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 2; + rel2.to_y: "e.text.month"; + rel2.relative: 1.0 1.0; + rel2.offset: -3 2; + step: 7 1; + table { homogeneous: TABLE; + padding: 1 1; + align: 0.5 0.5; + min: 1 1; + } + } + table { + items { +#define D(x) \ +item { \ + position: x 0; \ + span: 1 1; \ + source: "e/modules/clock/calendar/dayname"; \ + weight: 1.0 1.0; \ + align: -1.0 -1.0; \ +} + D(0) D(1) D(2) D(3) D(4) D(5) D(6) +#undef D + } + } + } + part { name: "e.table.days"; type: TABLE; + description { state: "default" 0.0; + rel1.to_y: "e.table.daynames"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + step: 7 5; + table { homogeneous: TABLE; + padding: 1 1; + align: 0.5 0.5; + min: 1 1; + } + } + table { + items { +#define D(x, y) \ +item { \ + position: x y; \ + span: 1 1; \ + source: "e/modules/clock/calendar/day"; \ + weight: 1.0 1.0; \ + align: -1.0 -1.0; \ +} + D(0, 0) D(1, 0) D(2, 0) D(3, 0) D(4, 0) D(5, 0) D(6, 0) + D(0, 1) D(1, 1) D(2, 1) D(3, 1) D(4, 1) D(5, 1) D(6, 1) + D(0, 2) D(1, 2) D(2, 2) D(3, 2) D(4, 2) D(5, 2) D(6, 2) + D(0, 3) D(1, 3) D(2, 3) D(3, 3) D(4, 3) D(5, 3) D(6, 3) + D(0, 4) D(1, 4) D(2, 4) D(3, 4) D(4, 4) D(5, 4) D(6, 4) + D(0, 5) D(1, 5) D(2, 5) D(3, 5) D(4, 5) D(5, 5) D(6, 5) +#undef D + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/colors.edc b/legacy/elementary/data/themes/edc/colors.edc new file mode 100644 index 0000000000..d980a671e0 --- /dev/null +++ b/legacy/elementary/data/themes/edc/colors.edc @@ -0,0 +1,156 @@ +group { name: "e/modules/conf_colors/preview/solid"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + color: 48 48 48 255; + min: 18 18; + } + } + part { name: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + part { name: "e.rect"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 255; + color_class: "color_preview"; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + 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"; + 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; + } + } + } +} + +group { name: "e/modules/conf_colors/preview/text"; + parts { + part { name: "shadow"; type: TEXT; mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 32; + text { font: FN; size: 10; + text: "Text"; + min: 1 1; + } + } + } + part { name: "e.text"; type: TEXT; mouse_events: 0; + effect: OUTLINE_SHADOW; + description { state: "default" 0.0; + color: 255 255 255 255; + color2: 255 255 255 255; + color3: 255 255 255 255; + color_class: "color_preview"; + text { font: FNBD; size: 16; + text: "Ab"; + min: 1 1; + } + } + } + } +} + +group { name: "e/modules/conf_colors/preview/unknown"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + color: 48 48 48 255; + min: 18 18; + } + } + part { name: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + part { name: "c1"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 255 0 0 128; + color_class: "color_preview_c1"; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.relative: 0.333 1.0; + } + } + part { name: "c2"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 255 0 128; + color_class: "color_preview_c2"; + rel1.to: "c1"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.667 1.0; + } + } + part { name: "c3"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 255 128; + color_class: "color_preview_c3"; + rel1.to: "c2"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + } + } + 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"; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + fill.smooth: 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/colorwell.edc b/legacy/elementary/data/themes/edc/colorwell.edc new file mode 100644 index 0000000000..d129cf83ca --- /dev/null +++ b/legacy/elementary/data/themes/edc/colorwell.edc @@ -0,0 +1,78 @@ +group { name: "e/widgets/color_well"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "dot_pattern.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: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + 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: 3 3; + rel2.offset: -4 -4; + } + } + 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"; + 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: "inset"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "clipper"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/comp.edc b/legacy/elementary/data/themes/edc/comp.edc new file mode 100644 index 0000000000..b8da880954 --- /dev/null +++ b/legacy/elementary/data/themes/edc/comp.edc @@ -0,0 +1,853 @@ +group { name: "e/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: FNBD; size: 10; + text_class: "fileman_icon"; + align: 0.5 0.5; + min: 1 1; + } + fixed: 0 1; + } + } + } +} + +group { name: "e/comp/screen/base/default"; + alias: "e/comp/screen/base/noeffects"; + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + } + } + part { name: "e.swallow.background"; type: SWALLOW; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + } + } + } +} + +group { name: "e/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 { + name: "screensaver_on"; + signal: "e,state,screensaver,on"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 3.0 CURRENT; + target: "blanker"; + } + program { + name: "screensaver_on2"; + signal: "e,state,screensaver,on"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 1.5 CURRENT; + target: "shadow"; + } + program { + name: "screensaver_off"; + signal: "e,state,screensaver,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.5 CURRENT; + target: "blanker"; + } + program { + name: "screensaver_off2"; + signal: "e,state,screensaver,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.25 CURRENT; + target: "shadow"; + } + program { + name: "suspend"; + 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 { + name: "hibernate"; + 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 { + name: "resume"; + signal: "e,state,sys,resume"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 1.0 CURRENT; + target: "suspender"; + } + program { + name: "reboot"; + 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 { + name: "halt"; + 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 { + name: "logout"; + 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/screen/overlay/noeffects"; + inherit: "e/comp/screen/overlay/default"; + programs { + program { + name: "screensaver_on"; + transition: ACCELERATE 0 CURRENT; + } + program { + name: "screensaver_on2"; + transition: DECELERATE 0 CURRENT; + } + program { + name: "screensaver_off"; + transition: ACCELERATE 0 CURRENT; + } + program { + name: "screensaver_off2"; + transition: ACCELERATE 0 CURRENT; + } + program { + name: "suspend"; + signal: "e,state,sys,suspend"; source: "e"; + action: SIGNAL_EMIT "e,state,sys,suspend,done" "e"; + after: "action_done"; + } + program { + name: "action_done"; + action: STATE_SET "visible" 0.0; + transition: ACCELERATE 0 CURRENT; + target: "suspender"; + } + program { + name: "hibernate"; + signal: "e,state,sys,hibernate"; source: "e"; + action: SIGNAL_EMIT "e,state,sys,hibernate,done" "e"; + after: "action_done"; + } + program { + name: "resume"; + transition: DECELERATE 1 CURRENT; + } + program { + name: "reboot"; + signal: "e,state,sys,reboot"; source: "e"; + action: SIGNAL_EMIT "e,state,sys,reboot,done" "e"; + after: "action_done"; + } + program { + name: "halt"; + signal: "e,state,sys,halt"; source: "e"; + action: SIGNAL_EMIT "e,state,sys,halt,done" "e"; + after: "action_done"; + } + program { + name: "logout"; + signal: "e,state,sys,logout"; source: "e"; + action: SIGNAL_EMIT "e,state,sys,logout,done" "e"; + after: "action_done"; + } + } +} + +group { name: "e/comp/border/default"; + 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"; mouse_events: 0; + 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"; mouse_events: 0; + 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: "trans-clipper"; + type: RECT; + clip_to: "clipper"; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "comp_alpha"; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + part { name: "focus-clipper"; + type: RECT; + clip_to: "trans-clipper"; + mouse_events: 0; + description { state: "default" 0.0; + color_class: "comp_focus-out_color"; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color_class: ""; + color: 255 255 255 255; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "focus-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 { + name: "visible_on"; + 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 { + name: "visible_off"; + 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 { + name: "focus_on"; + signal: "e,state,focus,on"; source: "e"; + action: STATE_SET "focused" 0.0; + transition: SINUSOIDAL 0.1; + target: "glow"; + target: "focus-clipper"; + after: "focus2"; + } + program { name: "focus2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.4; + target: "glow"; + } + program { + name: "focus_off"; + signal: "e,state,focus,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.1; + target: "focus-clipper"; + after: "focus_off2"; + } + program { + name: "focus_off2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.4; + target: "glow"; + } + 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/border/rotate"; + inherit: "e/comp/border/default"; + parts { + part { name: "e.swallow.content"; + description { state: "default"; + map { + on: 1; + rotation { + z: 0; + } + } + } + description { state: "focus-out"; + inherit: "default"; + map.rotation.z: 180; + } + } + part { + name: "shower"; + description { state: "default"; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + } + programs { + program { name: "focus3"; + signal: "e,state,focus,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.content"; + transition: LINEAR 0.3; + } + program { name: "focus_off3"; + signal: "e,state,focus,off"; source: "e"; + action: STATE_SET "focus-out" 0.0; + target: "e.swallow.content"; + transition: LINEAR 0.3; + } + } +} + +group { name: "e/comp/border/rotate/fast"; + inherit: "e/comp/border/rotate"; + programs { + program { name: "focus3"; + transition: LINEAR 0; + } + program { name: "focus_off3"; + transition: LINEAR 0; + } + } +} + +group { name: "e/comp/border/flip"; + inherit: "e/comp/border/rotate"; + parts { + part { name: "e.swallow.content"; + description { state: "default"; + map { + on: 1; + rotation { + z: 0; + y: 0; + } + backface_cull: 1; + } + } + description { state: "focus-out"; + inherit: "default"; + map.rotation { + z: 0; + y: 180; + } + } + } + } +} + +group { name: "e/comp/border/flip/fast"; + inherit: "e/comp/border/flip"; + programs { + program { name: "focus3"; + transition: LINEAR 0; + } + program { name: "focus_off3"; + transition: LINEAR 0; + } + } +} + +group { name: "e/comp/border/popup"; + inherit: "e/comp/border/default"; + parts { + part { name: "focus-clipper"; + description { state: "default"; + color_class: ""; + } + } + } +} + +group { name: "e/comp/border/default/fast"; + inherit: "e/comp/border/default"; + programs { + program { + name: "visible_on"; + transition: DECELERATE 0; + } + program { + name: "visible_off"; + transition: DECELERATE 0; + } + program { + name: "focus_on"; + signal: "e,state,focus,on"; source: "e"; + action: STATE_SET "focused" 0.0; + transition: SINUSOIDAL 0.1; + target: "glow"; + target: "focus-clipper"; + after: "focus2"; + } + program { name: "focus2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.1; + target: "glow"; + } + program { + name: "focus_off"; + transition: SINUSOIDAL 0; + } + } +} + +group { name: "e/comp/border/popup/fast"; + inherit: "e/comp/border/default/fast"; + parts { + part { name: "focus-clipper"; + description { state: "default"; + color_class: ""; + } + } + } +} + +group { name: "e/comp/border/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/border/still"; + inherit: "e/comp/border/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/border/still/fast"; + inherit: "e/comp/border/default/fast"; + 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/border/menu"; + inherit: "e/comp/border/popup"; + 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/border/menu/fast"; + inherit: "e/comp/border/popup/fast"; + 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/border/everything"; + inherit: "e/comp/border/popup"; + 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/border/everything/fast"; + inherit: "e/comp/border/popup/fast"; + 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/border/fullscreen"; + 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_all"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "scr_shadow"; mouse_events: 0; + 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: "shower"; type: SPACER; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + 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 { + name: "visible_on"; + signal: "e,state,visible,on"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.25; + target: "scr_shadow"; + target: "scr_shade"; + } + program { + name: "visible_on2"; + signal: "e,state,visible,on"; source: "e"; + action: STATE_SET "visible1" 0.0; + transition: DECELERATE 0.05; + target: "clipper"; + target: "shower"; + target: "fader"; + after: "show2"; + } + program { name: "show2"; + action: STATE_SET "visible2" 0.0; + transition: DECELERATE 0.20; + target: "clipper"; + target: "shower"; + target: "fader"; + after: "show3"; + } + program { name: "show3"; + action: SIGNAL_EMIT "e,action,show,done" "e"; + } + program { + name: "visible_off"; + signal: "e,state,visible,off"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.25; + target: "scr_shadow"; + target: "scr_shade"; + } + program { + name: "visible_off2"; + signal: "e,state,visible,off"; source: "e"; + action: STATE_SET "visible1" 0.0; + transition: DECELERATE 0.2; + target: "clipper"; + target: "shower"; + target: "fader"; + after: "hide2"; + } + program { name: "hide2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.05; + target: "clipper"; + target: "shower"; + target: "fader"; + after: "hide3"; + } + program { name: "hide3"; + action: SIGNAL_EMIT "e,action,hide,done" "e"; + } + } +} + +group { name: "e/comp/border/fullscreen/fast"; + inherit: "e/comp/border/fullscreen"; + programs { + program { + name: "visible_on"; + transition: DECELERATE 0; + } + program { + name: "visible_on2"; + transition: DECELERATE 0; + } + program { name: "show2"; + transition: DECELERATE 0; + } + program { + name: "visible_off"; + transition: DECELERATE 0; + } + program { + name: "visible_off2"; + transition: DECELERATE 0; + } + program { name: "hide2"; + transition: DECELERATE 0; + } + } +} diff --git a/legacy/elementary/data/themes/edc/comp_effects.edc b/legacy/elementary/data/themes/edc/comp_effects.edc new file mode 100644 index 0000000000..9d7aaf8012 --- /dev/null +++ b/legacy/elementary/data/themes/edc/comp_effects.edc @@ -0,0 +1,497 @@ +#define COMP_EFFECT_DURATION 0.4 + +group { name: "e/comp/effects/none"; + parts { + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +/* non-auto effects are assumed to be run frame by frame by an animator */ +group { name: "e/comp/effects/move"; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + /* set state */ + new st; + + st = getarg(2); + if (st == 1) + set_state(PART:"mover", "custom", 0.0); + else + set_state(PART:"mover", "default", 0.0); + } else if ((type == MSG_INT_SET) && (id == 1)) { + /* x,y coords to move to */ + new x, y; + + x = getarg(2); + y = getarg(3); + + custom_state(PART:"mover", "default", 0.0); + set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y); + set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y); + } + } + } + parts { + part { name: "mover"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "mover"; + rel2.to: "mover"; + } + } + } + programs { + program { + name: "show"; + signal: "e,action,go"; + source: "e"; + filter: "mover" "default"; + action: STATE_SET "custom" 0.0; + transition: DECELERATE COMP_EFFECT_DURATION CURRENT; + target: "mover"; + after: "done"; + } + program { + name: "hide"; + signal: "e,action,go"; + source: "e"; + filter: "mover" "custom"; + action: STATE_SET "default" 0.0; + transition: DECELERATE COMP_EFFECT_DURATION CURRENT; + target: "mover"; + after: "done"; + } + program { + name: "stop"; + signal: "e,action,stop"; + source: "e"; + action: ACTION_STOP; + target: "show"; + target: "hide"; + } + program { + name: "done"; + action: SIGNAL_EMIT "e,action,done" "e"; + } + } +} + +/* auto effects are "start and forget" */ +group { name: "e/comp/effects/auto/pane"; + //data.item: "noclip" "1"; //setting this prevents object from being clipped to its zone during effect + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + /* set state */ + new st; + + st = getarg(2); + if (st == 1) + set_state(PART:"mover", "custom", 0.0); + else + set_state(PART:"mover", "default", 0.0); + } else if ((type == MSG_INT_SET) && (id == 1)) { + /* border geom[4] / screen size[2] / desk change direction[2] */ + new x, y, sw, sh, dx, dy; + + sw = getarg(6); + sh = getarg(7); + dx = getarg(8); + dy = getarg(9); + + x = round(sw*dx*1.5); + y = round(sh*dy*1.5); + + custom_state(PART:"mover", "default", 0.0); + set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y); + set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y); + } + } + } + parts { + part { name: "mover"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "mover"; + rel2.to: "mover"; + } + } + } + programs { + program { + name: "show"; + signal: "e,action,go"; + source: "e"; + filter: "mover" "default"; + action: STATE_SET "custom" 0.0; + transition: DECELERATE COMP_EFFECT_DURATION CURRENT; + target: "mover"; + after: "done"; + } + program { + name: "hide"; + signal: "e,action,go"; + source: "e"; + filter: "mover" "custom"; + action: STATE_SET "default" 0.0; + transition: DECELERATE COMP_EFFECT_DURATION CURRENT; + target: "mover"; + after: "done"; + } + program { + name: "stop"; + signal: "e,action,stop"; + source: "e"; + action: ACTION_STOP; + target: "show"; + target: "hide"; + } + program { + name: "done"; + action: SIGNAL_EMIT "e,action,done" "e"; + } + } +} + +group { name: "e/comp/effects/auto/diagonal"; + inherit: "e/comp/effects/auto/pane"; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + /* set state */ + new st; + + st = getarg(2); + + if (st == 1) + set_state(PART:"mover", "custom", 0.0); + else + set_state(PART:"mover", "default", 0.0); + } else if ((type == MSG_INT_SET) && (id == 1)) { + /* border geom / screen size / desk change direction */ + new x, y, w, h, sw, sh, mx, my, bx, by; + new Float:fx, Float:fy, Float:ang, Float:len, Float:lmax, Float:rad; + + x = getarg(2); + y = getarg(3); + w = getarg(4); + h = getarg(5); + sw = getarg(6); + sh = getarg(7); + custom_state(PART:"mover", "default", 0.0); + + mx = sw/2; + my = sh/2; + + bx = x+(w/2)-mx; + by = y+(h/2)-my; + if (bx == 0) bx = 1; + if (by == 0) by = 1; + fx = bx/(w/2); + fy = by/(h/2); + ang = atan(fy/fx); + if (fx < 0.0) + ang = PI+ang; + len = sqrt((bx*bx)+(by*by)); + lmax = sqrt(((sw/2)*(sw/2))+((sh/2)*(sh/2))); + rad = sqrt((w*w)+(h*h))/2.0; + x = round(cos(ang)*(lmax-len+rad)); + y = round(sin(ang)*(lmax-len+rad)); + set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y); + set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y); + } + } + } +} + +group { name: "e/comp/effects/auto/zoom"; + inherit: "e/comp/effects/auto/diagonal"; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + /* set state */ + new st; + + st = getarg(2); + if (st == 1) { + /* starting from offscreen */ + set_state_val(PART:"mover", STATE_REL1, 0.3, 0.3); + set_state_val(PART:"mover", STATE_REL2, 0.7, 0.7); + set_state(PART:"mover", "custom", 0.0); + set_state(PART:"clip", "hidden", 0.0); + } else { + /* starting from normal position */ + set_state_val(PART:"mover", STATE_REL1, -1.7, -1.7); + set_state_val(PART:"mover", STATE_REL2, 1.7, 1.7); + set_state(PART:"mover", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + } + } else if ((type == MSG_INT_SET) && (id == 1)) { + /* border geom / screen size / desk change direction */ + new x, y, w, h, sw, sh, mx, my, bx, by; + new Float:fx, Float:fy, Float:ang, Float:len, Float:lmax, Float:rad; + + x = getarg(2); + y = getarg(3); + w = getarg(4); + h = getarg(5); + sw = getarg(6); + sh = getarg(7); + custom_state(PART:"mover", "default", 0.0); + + mx = sw/2; + my = sh/2; + + bx = x+(w/2)-mx; + by = y+(h/2)-my; + if (bx == 0) bx = 1; + if (by == 0) by = 1; + fx = bx/(w/2); + fy = by/(h/2); + ang = atan(fy/fx); + if (fx < 0.0) + ang = PI+ang; + len = sqrt((bx*bx)+(by*by)); + lmax = sqrt(((sw/2)*(sw/2))+((sh/2)*(sh/2))); + rad = sqrt((w*w)+(h*h))/2.0; + x = round(cos(ang)*(lmax-len+rad)); + y = round(sin(ang)*(lmax-len+rad)); + set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y); + set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y); + } + } + } + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + insert_after: "mover"; + description { state: "default"; + rel1.to: "mover"; + rel1.offset: -20 -20; + rel2.to: "mover"; + rel2.offset: 20 20; + color: 255 255 255 255; + } + description { state: "hidden"; + rel1.to: "mover"; + rel2.to: "mover"; + color: 255 255 255 0; + } + } + part { name: "e.swallow.content"; clip_to: "clip"; + } + } + programs { + program { + name: "show2"; + signal: "e,action,go"; + source: "e"; + filter: "mover" "default"; + action: STATE_SET "hidden" 0.0; + transition: ACCELERATE COMP_EFFECT_DURATION CURRENT; + target: "clip"; + } + program { + name: "hide2"; + signal: "e,action,go"; + source: "e"; + filter: "mover" "custom"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE COMP_EFFECT_DURATION CURRENT; + target: "clip"; + } + } +} + +group { name: "e/comp/effects/auto/blend"; + //data.item: "noclip" "1"; //setting this prevents object from being clipped to its zone during effect + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + /* set state */ + new st; + + st = getarg(2); + if (st == 1) { + /* starting from hidden */ + set_state(PART:"clip", "hidden", 0.0); + } else { + set_state(PART:"clip", "default", 0.0); + } + } + } + } + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default"; + rel1.to: "e.swallow.content"; + rel1.offset: -20 -20; + rel2.to: "e.swallow.content"; + rel2.offset: 20 20; + color: 255 255 255 255; + } + description { state: "hidden"; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + } + } + } + programs { + program { + name: "show"; + signal: "e,action,go"; + source: "e"; + filter: "clip" "default"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR COMP_EFFECT_DURATION CURRENT; + target: "clip"; + after: "done"; + } + program { + name: "hide"; + signal: "e,action,go"; + source: "e"; + filter: "clip" "hidden"; + action: STATE_SET "default" 0.0; + transition: LINEAR COMP_EFFECT_DURATION CURRENT; + target: "clip"; + after: "done"; + } + program { + name: "stop"; + signal: "e,action,stop"; + source: "e"; + action: ACTION_STOP; + target: "show"; + target: "hide"; + } + program { + name: "done"; + action: SIGNAL_EMIT "e,action,done" "e"; + } + } +} + +group { name: "e/comp/effects/auto/grow"; + inherit: "e/comp/effects/auto/pane"; + //data.item: "noclip" "1"; //setting this prevents object from being clipped to its zone during effect + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + /* set state */ + new st; + + st = getarg(2); + if (st == 1) + set_state(PART:"mover", "custom", 0.0); + else + set_state(PART:"mover", "default", 0.0); + } else if ((type == MSG_INT_SET) && (id == 1)) { + /* border geom[4] / screen size[2] / desk change direction[2] */ + new dx, dy; + new Float:r1x = 0.0, Float:r1y = 0.0, Float:r2x = 1.0, Float:r2y = 1.0; + + dx = getarg(8); + dy = getarg(9); + + custom_state(PART:"mover", "default", 0.0); + if (dx == 1) r1x = 1.0; + else if (dx == -1) r2x = 0.0; + if (dy == 1) r1y = 1.0; + else if (dy == -1) r2y = 0.0; + set_state_val(PART:"mover", STATE_REL1, r1x, r1y); + set_state_val(PART:"mover", STATE_REL2, r2x, r2y); + } + } + } +} + +#if 0 //this is weirdly broken with proxy visibility somehow... +group { name: "e/comp/effects/auto/rotate"; + inherit: "e/comp/effects/auto/pane"; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + /* set state */ + new st; + + st = getarg(2); + + if (st == 1) { + set_state(PART:"mover", "custom", 0.0); + set_state(PART:"proxy", "hidden", 0.0); + } else { + set_state(PART:"mover", "default", 0.0); + set_state(PART:"proxy", "default", 0.0); + } + } +#if 0 + else if ((type == MSG_INT_SET) && (id == 1)) { + /* desk change direction */ + new Float:mx, Float:my; + mx = get_float(getarg(8) * 180); + my = get_float(getarg(9) * 180); + custom_state(PART:"proxy", "hidden", 0.0); + set_state_val(PART:"proxy", STATE_MAP_ROT_Y, mx); + set_state_val(PART:"proxy", STATE_MAP_ROT_X, my); + } +#endif + } + } + parts { + part { name: "proxy"; type: PROXY; mouse_events: 0; + insert_after: "e.swallow.content"; + description { state: "default"; + source: "e.swallow.content"; + map { + on: 1; + perspective_on: 1; + perspective: "e.swallow.content"; + smooth: 1; + rotation.y: 0; + rotation.x: 0; + } + } + description { state: "hidden" 0.0; + inherit: "default"; + map.rotation.y: -180; + map.rotation.x: -180; + proxy.source_visible: 0; + map.backface_cull: 1; + } + } + } + programs { + program { + name: "show2"; + signal: "e,action,go"; + source: "e"; + action: STATE_SET "hidden" 0.0; + transition: DECELERATE COMP_EFFECT_DURATION CURRENT; + target: "proxy"; + } + program { + name: "hide2"; + signal: "e,action,go"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE COMP_EFFECT_DURATION CURRENT; + target: "proxy"; + } + } +} +#endif diff --git a/legacy/elementary/data/themes/edc/conf.edc b/legacy/elementary/data/themes/edc/conf.edc new file mode 100644 index 0000000000..1d277aa118 --- /dev/null +++ b/legacy/elementary/data/themes/edc/conf.edc @@ -0,0 +1,142 @@ +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; + } + } + } +} + +group { name: "e/modules/conf/main"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "spanner_inset.png" COMP; + images.image: "spanner_hilight.png" COMP; + images.image: "spanner_glow.png" COMP; + min: 16 16; + max: 80 80; + 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: "spanner_hilight"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "spanner"; + rel2.offset: -1 0; + rel2.to: "spanner"; + image.normal: "spanner_hilight.png"; + } + } + part { name: "spanner"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "spanner_inset.png"; + } + } + part { name: "spanner_glow"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "spanner"; + rel2.to: "spanner"; + image.normal: "spanner_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "spanner_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,conf" ""; + } + program { + signal: "mouse,in"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "spanner_glow"; + } + program { + signal: "mouse,out"; source: "base"; + action: STATE_SET "default" 0.0; + target: "spanner_glow"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/connman.edc b/legacy/elementary/data/themes/edc/connman.edc new file mode 100644 index 0000000000..06dc513169 --- /dev/null +++ b/legacy/elementary/data/themes/edc/connman.edc @@ -0,0 +1,703 @@ +group { name: "e/modules/connman/main"; + images.image: "slot_horiz_top.png" COMP; + images.image: "slot_horiz_bottom.png" COMP; + images.image: "wifi_base.png" COMP; + images.image: "wifi_sig_1.png" COMP; + images.image: "wifi_sig_2.png" COMP; + images.image: "wifi_sig_3.png" COMP; + images.image: "eth.png" COMP; + images.image: "exlclam.png" COMP; + images.image: "hole_tiny.png" COMP; + images.image: "led_tiny_orange.png" COMP; + images.image: "led_tiny_green.png" COMP; + images.image: "bt_base.png" COMP; + images.image: "bt_sig_1.png" COMP; + images.image: "bt_sig_2.png" COMP; + images.image: "cell_base.png" COMP; + images.image: "cell_sig_1.png" COMP; + images.image: "cell_sig_2.png" COMP; + images.image: "cell_sig_3.png" COMP; + images.image: "cell_sig_4.png" COMP; + parts { + part { name: "slot_bottom"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "slot"; + rel2.relative: 1.0 0.5; + rel2.to: "slot"; + min: 0 3; + image.normal: "slot_horiz_bottom.png"; + fixed: 0 1; + } + } +/////////////////////// + part { name: "exclam_base"; mouse_events: 0; + clip_to: "clip_exclam"; + description { state: "default" 0.0; + aspect: (71/144) (71/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "exlclam.png"; + } + } +/////////////////////// + part { name: "eth_base"; mouse_events: 0; + clip_to: "clip_eth"; + description { state: "default" 0.0; + aspect: (60/144) (60/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "eth.png"; + } + } +/////////////////////// + part { name: "wifi_base"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "wifi_base.png"; + } + } + part { name: "wifi_1"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + rel1.to: "wifi_base"; + rel2.to: "wifi_base"; + image.normal: "wifi_sig_1.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "wifi_2"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + rel1.to: "wifi_base"; + rel2.to: "wifi_base"; + image.normal: "wifi_sig_2.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "wifi_3"; mouse_events: 0; + clip_to: "clip_wifi"; + description { state: "default" 0.0; + rel1.to: "wifi_base"; + rel2.to: "wifi_base"; + image.normal: "wifi_sig_3.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +/////////////////////// + part { name: "bt_base"; mouse_events: 0; + clip_to: "clip_bt"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "bt_base.png"; + } + } + part { name: "bt_1"; mouse_events: 0; + clip_to: "clip_bt"; + description { state: "default" 0.0; + rel1.to: "bt_base"; + rel2.to: "bt_base"; + image.normal: "bt_sig_1.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bt_2"; mouse_events: 0; + clip_to: "clip_bt"; + description { state: "default" 0.0; + rel1.to: "bt_base"; + rel2.to: "bt_base"; + image.normal: "bt_sig_2.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +/////////////////////// + part { name: "cell_base"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + align: 0.5 1.0; + rel2.relative: 1.0 0.5; + rel2.to_y: "slot"; + image.normal: "cell_base.png"; + } + } + part { name: "cell_1"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_1.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "cell_2"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_2.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "cell_3"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_3.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "cell_4"; mouse_events: 0; + clip_to: "clip_cell"; + description { state: "default" 0.0; + rel1.to: "cell_base"; + rel2.to: "cell_base"; + image.normal: "cell_sig_4.png"; + visible: 0; + } + description { state: "partly" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +/////////////////////// + part { name: "slot"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 -1; + rel1.relative: (21/160) 1.0; + rel2.offset: -1 -1; + rel2.relative: (140/160) 1.0; + align: 0.5 1.0; + min: 0 6; + image.normal: "slot_horiz_top.png"; + fixed: 0 1; + } + } + part { name: "hole"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.relative: 1.0 1.0; + rel2.offset: -4 -4; + align: 1.0 1.0; + min: 4 4; + max: 4 4; + image.normal: "hole_tiny.png"; + fixed: 1 1; + } + } + part { name: "clip_exclam"; type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_wifi"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 1; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_eth"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 1; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_bt"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 1; + } + description { state: "cell" 0.0; + visible: 0; + } + } + part { name: "clip_cell"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "wifi" 0.0; + visible: 0; + } + description { state: "eth" 0.0; + visible: 0; + } + description { state: "bt" 0.0; + visible: 0; + } + description { state: "cell" 0.0; + visible: 1; + } + } + part { name: "led"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "hole"; + rel2.to: "hole"; + min: 10 10; + max: 10 10; + image.normal: "led_tiny_orange.png"; + fixed: 1 1; + visible: 0; + } + description { state: "connected" 0.0; + inherit: "default" 0.0; + image.normal: "led_tiny_orange.png"; + visible: 1; + } + description { state: "online" 0.0; + inherit: "default" 0.0; + image.normal: "led_tiny_green.png"; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + +#define SCRIPT_MESSAGE() \ +script { \ +public message(Msg_Type:type, id, ...) { \ +if ((type == MSG_INT_SET) && (id == 1)) { \ +new state = getarg(2), signl = getarg(3); \ +if (signl <= 14) { \ +set_state(PART:"wifi_1", "default", 0.0); \ +set_state(PART:"wifi_2", "default", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 28) { \ +set_state(PART:"wifi_1", "partly", 0.0); \ +set_state(PART:"wifi_2", "default", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 42) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "default", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 57) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "partly", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 71) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "visible", 0.0); \ +set_state(PART:"wifi_3", "default", 0.0); \ +} \ +else if (signl <= 85) { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "visible", 0.0); \ +set_state(PART:"wifi_3", "partly", 0.0); \ +} \ +else { \ +set_state(PART:"wifi_1", "visible", 0.0); \ +set_state(PART:"wifi_2", "visible", 0.0); \ +set_state(PART:"wifi_3", "visible", 0.0); \ +} \ +if (signl <= 20) { \ +set_state(PART:"bt_1", "default", 0.0); \ +set_state(PART:"bt_2", "default", 0.0); \ +} \ +else if (signl <= 40) { \ +set_state(PART:"bt_1", "partly", 0.0); \ +set_state(PART:"bt_2", "default", 0.0); \ +} \ +else if (signl <= 60) { \ +set_state(PART:"bt_1", "visible", 0.0); \ +set_state(PART:"bt_2", "default", 0.0); \ +} \ +else if (signl <= 80) { \ +set_state(PART:"bt_1", "visible", 0.0); \ +set_state(PART:"bt_2", "partly", 0.0); \ +} \ +else { \ +set_state(PART:"bt_1", "visible", 0.0); \ +set_state(PART:"bt_2", "visible", 0.0); \ +} \ +if (signl <= 11) { \ +set_state(PART:"cell_1", "default", 0.0); \ +set_state(PART:"cell_2", "default", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 22) { \ +set_state(PART:"cell_1", "partly", 0.0); \ +set_state(PART:"cell_2", "default", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 33) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "default", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 44) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "partly", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 55) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "default", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 66) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "partly", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 77) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "visible", 0.0); \ +set_state(PART:"cell_4", "default", 0.0); \ +} \ +else if (signl <= 88) { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "visible", 0.0); \ +set_state(PART:"cell_4", "partly", 0.0); \ +} \ +else { \ +set_state(PART:"cell_1", "visible", 0.0); \ +set_state(PART:"cell_2", "visible", 0.0); \ +set_state(PART:"cell_3", "visible", 0.0); \ +set_state(PART:"cell_4", "visible", 0.0); \ +} \ +if ((state == 2)) { \ +set_state(PART:"led", "default", 0.0); \ +run_program(PROGRAM:"connecting"); \ +return; } \ +else if ((state == 3)) { return; } \ +else if ((state == 4)) { set_state(PART:"led", "connected", 0.0); } \ +else if ((state == 5)) { set_state(PART:"led", "online", 0.0); } \ +else { set_state(PART:"led", "default", 0.0); \ +} } } } + + SCRIPT_MESSAGE() + programs { + program { name: "connecting"; + action: STATE_SET "connected" 0.0; + target: "led"; + in: 0.3 0.0; + after: "connecting2"; + } + program { name: "connecting2"; + action: STATE_SET "default" 0.0; + target: "led"; + in: 0.3 0.0; + after: "connecting"; + } +// program { +// signal: "e,available"; source: "e"; +// } +// program { +// signal: "e,unavailable"; source: "e"; +// } + program { + signal: "e,changed,connected,no"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,wifi"; source: "e"; + action: STATE_SET "wifi" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,ethernet"; source: "e"; + action: STATE_SET "eth" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,bluetooth"; source: "e"; + action: STATE_SET "bt" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,cellular"; source: "e"; + action: STATE_SET "cell" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + program { + signal: "e,changed,technology,other"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/wifi"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "wifi" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/ethernet"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "eth" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/bluetooth"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "bt" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/icon/cellular"; + inherit: "e/modules/connman/main"; + SCRIPT_MESSAGE() + programs { + program { + signal: "load"; source: ""; + action: STATE_SET "cell" 0.0; + target: "clip_exclam"; + target: "clip_wifi"; + target: "clip_eth"; + target: "clip_bt"; + target: "clip_cell"; + } + } +} + +group { name: "e/modules/connman/end"; + images.image: "glow_lock_locked.png" COMP; + images.image: "glow_lock_unlocked.png" COMP; + images.image: "glow_lock_double.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "glow_lock_locked.png"; + max: 16 16; + aspect: 1.0 1.0; aspect_preference: BOTH; + visible: 0; + } + description { state: "none" 0.0; + inherit: "default" 0.0; + image.normal: "glow_lock_unlocked.png"; + visible: 1; + } + description { state: "wep" 0.0; + inherit: "default" 0.0; + image.normal: "glow_lock_locked.png"; + visible: 1; + } + description { state: "psk" 0.0; + inherit: "default" 0.0; + image.normal: "glow_lock_double.png"; + visible: 1; + } + } + } + programs { + program { + signal: "e,security,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "e,security,none"; source: "e"; + action: STATE_SET "none" 0.0; + target: "base"; + } + program { + signal: "e,security,wep"; source: "e"; + action: STATE_SET "wep" 0.0; + target: "base"; + } + program { + signal: "e,security,psk"; source: "e"; + action: STATE_SET "psk" 0.0; + target: "base"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/cpufreq.edc b/legacy/elementary/data/themes/edc/cpufreq.edc new file mode 100644 index 0000000000..a50b91b55a --- /dev/null +++ b/legacy/elementary/data/themes/edc/cpufreq.edc @@ -0,0 +1,353 @@ +group { name: "e/modules/cpufreq/main"; + images.image: "tacho_base.png" COMP; + images.image: "inset_round_hilight.png" COMP; + images.image: "inset_round_shadow.png" COMP; + images.image: "inset_round_shading.png" COMP; + set { name: "tacho_hand_big"; + image { image: "tacho_hand_big.png" COMP; size: 73 73 99999 99999; } + image { image: "tacho_hand_big2.png" COMP; size: 37 37 72 72; } + image { image: "tacho_hand_big3.png" COMP; size: 19 19 36 36; } + image { image: "tacho_hand_big4.png" COMP; size: 0 0 18 18; } + } + images.image: "tacho_hand_big_shadow.png" COMP; + set { name: "tacho_hand_small_min"; + image { image: "tacho_hand_small_min.png" COMP; size: 73 73 99999 99999; } + image { image: "tacho_hand_small_min2.png" COMP; size: 37 37 72 72; } + image { image: "tacho_hand_small_min3.png" COMP; size: 19 19 36 36; } + image { image: "tacho_hand_small_min4.png" COMP; size: 0 0 18 18; } + } + images.image: "tacho_hand_small_shadow.png" COMP; + set { name: "knob"; + image { image: "knob_sz_24.png" COMP; size: 31 31 32 32; } + image { image: "knob_sz_22.png" COMP; size: 29 29 30 30; } + image { image: "knob_sz_20.png" COMP; size: 27 27 28 28; } + image { image: "knob_sz_18.png" COMP; size: 25 25 26 26; } + image { image: "knob_sz_16.png" COMP; size: 23 23 24 24; } + image { image: "knob_sz_14.png" COMP; size: 21 21 22 22; } + image { image: "knob_sz_12.png" COMP; size: 19 19 20 20; } + image { image: "knob_sz_10.png" COMP; size: 17 17 18 18; } + image { image: "knob_sz_08.png" COMP; size: 15 15 16 16; } + image { image: "knob_sz_06.png" COMP; size: 13 13 14 14; } + image { image: "knob_sz_04.png" COMP; size: 0 0 12 12; } + } + min: 16 16; + max: 160 160; + 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(0.25, "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; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "faded" 0.0; + color: 255 255 255 128; + } + } + part { name: "base-sh"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 -1; + rel2.to: "base"; + rel2.offset: -1 -2; + image.normal: "inset_round_shadow.png"; + } + } + part { name: "base-hi"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 1; + rel2.to: "base"; + rel2.offset: -1 0; + image.normal: "inset_round_hilight.png"; + } + } + part { name: "base"; + description { state: "default" 0.0; + rel1.relative: (25/380) (25/380); + rel2.relative: (365/380) (365/380); + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "tacho_base.png"; + } + } + part { name: "readout"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + clip_to: "fade_clip"; + description { state: "default" 0.0; + rel1.to: "knob2"; + rel1.relative: 1.0 1.0; + rel1.offset: -2 -2; + rel2.relative: 0.75 0.75; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "module_label"; + text { font: FN; size: 6; + min: 1 1; + text_class: "module_small"; + } + } + } + part { name: "meter_min_sh"; mouse_events: 0; + clip_to: "fade_clip"; + description { state: "default" 0.0; + image.normal: "tacho_hand_small_shadow.png"; + rel1.to: "meter_sh"; + rel2.to: "meter_sh"; + map { + on: 1; + rotation.center: "meter_min_sh"; + } + } + } + part { name: "meter_min"; mouse_events: 0; + clip_to: "fade_clip"; + description { state: "default" 0.0; + image.normal: "tacho_hand_small_min"; + color: 51 153 255 255; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + rotation.center: "base"; + } + } + } + part { name: "meter_max_sh"; mouse_events: 0; + clip_to: "fade_clip"; + description { state: "default" 0.0; + image.normal: "tacho_hand_small_shadow.png"; + rel1.to: "meter_sh"; + rel2.to: "meter_sh"; + map { + on: 1; + rotation.center: "meter_max_sh"; + } + } + } + part { name: "meter_max"; mouse_events: 0; + clip_to: "fade_clip"; + description { state: "default" 0.0; + image.normal: "tacho_hand_small_min"; + color: 255 153 51 255; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + rotation.center: "base"; + } + } + } + part { name: "meter_sh"; mouse_events: 0; + clip_to: "fade_clip"; + description { state: "default" 0.0; + image.normal: "tacho_hand_big_shadow.png"; + rel1.to: "meter"; + rel1.relative: 0.0 (15/380); + rel1.offset: 0 1; + rel2.to: "meter"; + rel2.relative: 1.0 (395/380); + rel2.offset: -1 0; + map { + on: 1; + rotation.center: "meter_sh"; + } + } + } + part { name: "meter"; mouse_events: 0; + clip_to: "fade_clip"; + description { state: "default" 0.0000; + color: 255 0 0 255; + image.normal: "tacho_hand_big"; + rel1.to: "base"; + rel2.to: "base"; + map { + on: 1; + rotation.center: "base"; + } + } + } + part { name: "over"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "inset_round_shading.png"; + } + } + part { name: "knob"; type: SPACER; + description { state: "default" 0.0; + rel1.relative: (140/340) (140/340); + rel1.to: "base"; + rel2.relative: (205/340) (205/340); + rel2.to: "base"; + min: 4 4; + step: 2 2; + max: 24 24; + } + } + part { name: "knob2"; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.to: "knob"; + rel2.offset: 3 3; + rel2.to: "knob"; + min: 12 12; + max: 32 32; + image.normal: "knob"; + } + } + } + programs { + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "fade_clip"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "faded" 0.0; + target: "fade_clip"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/cslider.edc b/legacy/elementary/data/themes/edc/cslider.edc new file mode 100644 index 0000000000..ca2777f7ec --- /dev/null +++ b/legacy/elementary/data/themes/edc/cslider.edc @@ -0,0 +1,146 @@ +group { name: "e/widgets/cslider"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "col_sel_end_bottom.png" COMP; + images.image: "col_sel_end_top.png" COMP; + images.image: "col_sel_end_left.png" COMP; + images.image: "col_sel_end_right.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: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "e.dragable.cursor"; type: RECT; + clip_to: "clipper"; + dragable.confine: "e.swallow.content"; + dragable.x: 1 1 0; + dragable.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"; + rel1.relative: 0.5 0.0; + rel2.to: "e.swallow.content"; + rel2.relative: 0.5 0.5; + color: 255 255 255 150; + } + } + 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: "end1"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_top.png"; + FIXED_SIZE(11, 8) + align: 0.5 0.0; + rel1.to: "cursor"; + rel2.to: "cursor"; + } + description { state: "vertical" 0.0; + inherit: "default" 0.0; + image.normal: "col_sel_end_left.png"; + FIXED_SIZE(8, 11) + align: 0.0 0.5; + } + } + part { name: "end2"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_bottom.png"; + FIXED_SIZE(11, 8) + align: 0.5 1.0; + rel1.to: "cursor"; + rel2.to: "cursor"; + } + description { state: "vertical" 0.0; + inherit: "default" 0.0; + image.normal: "col_sel_end_right.png"; + FIXED_SIZE(8, 11) + align: 1.0 0.5; + } + } + part { name: "cursor"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to_x: "e.dragable.cursor"; + rel1.to_y: "e.swallow.content"; + rel2.to_x: "e.dragable.cursor"; + rel2.to_y: "e.swallow.content"; + color: 255 255 255 150; + } + description { state: "vertical" 0.0; + inherit: "default" 0.0; + rel1.to_x: "e.swallow.content"; + rel1.to_y: "e.dragable.cursor"; + rel2.to_x: "e.swallow.content"; + rel2.to_y: "e.dragable.cursor"; + } + } + 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: "e,state,direction,v"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "cursor"; + target: "end1"; + target: "end2"; + } + program { + signal: "mouse,clicked,1"; source: "inset"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "clipper"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clipper"; + } + } +} + diff --git a/legacy/elementary/data/themes/edc/desklock.edc b/legacy/elementary/data/themes/edc/desklock.edc new file mode 100644 index 0000000000..e84832085b --- /dev/null +++ b/legacy/elementary/data/themes/edc/desklock.edc @@ -0,0 +1,301 @@ +group { name: "e/desklock/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) + } + } + part { name: "e.swallow.login_box"; type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +group { name: "e/desklock/login_box"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "white_bar_vert_glow.png" COMP; + images.image: "logo_blue_small.png" COMP; + images.image: "logo_blue_small_glow.png" COMP; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + parts { + part { name: "logo"; + description { state: "default" 0.0; + image.normal: "logo_blue_small.png"; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + FIXED_SIZE(100, 127) + } + } + part { name: "logo_glow"; + description { state: "default" 0.0; + image.normal: "logo_blue_small_glow.png"; + rel1.to: "logo"; + rel2.to: "logo"; + color: 255 255 255 128; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + 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.text.title"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 3 3; + rel1.to_y: "logo"; + rel2.relative: 1.0 1.0; + rel2.offset: -4 3; + rel2.to_y: "logo"; + color: 255 255 255 255; + color3: 0 0 0 128; + align: 0.5 0.0; + text { font: FNBD; size: 10; + min: 0 1; + align: 0.5 0.5; + text_class: "desklock_title"; + } + fixed: 0 1; + } + } + part { name: "selection"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "e.text.password"; + rel2.to: "e.text.password"; + color: 51 153 255 255; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.password"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 3 10; + rel1.to_x: "inset"; + rel1.to_y: "e.text.title"; + rel2.relative: 0.0 1.0; + rel2.offset: 3 10; + rel2.to_x: "inset"; + rel2.to_y: "e.text.title"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "desklock_passwd"; + align: 0.0 0.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "desklock_passwd"; + } + fixed: 1 1; + } + } + part { name: "cursor"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "e.text.password"; + rel1.relative: 1.0 0.0; + rel1.offset: -4 -4; + rel2.to: "e.text.password"; + 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; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + 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; + rel1.relative: 0.5 0.0; + rel1.offset: -100 -4; + rel1.to_x: "logo"; + rel1.to_y: "e.text.password"; + rel2.relative: 0.5 1.0; + rel2.offset: 99 3; + rel2.to_x: "logo"; + rel2.to_y: "e.text.password"; + align: 0.5 0.5; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + rel1.relative: 0.5 1.0; + rel1.offset: 0 3; + rel1.to_y: "inset"; + rel2.relative: 0.5 1.0; + rel2.offset: -1 3; + rel2.to_y: "inset"; + align: 0.5 0.0; + fixed: 1 1; + } + } + part { name: "knob_spinner"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "knob"; + rel2.to: "knob"; + image.normal: "glow_round_corners.png"; + map.on: 1; + map.smooth: 1; + map.rotation.center: "knob"; + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + } + programs { + program { name: "logo_pulse"; + signal: "show"; source: ""; + in: 3.0 5.0; + action: STATE_SET "active" 0.0; + target: "logo_glow"; + transition: BOUNCE 0.8 0.5 6; + after: "logo_pulse2"; + } + program { name: "logo_pulse2"; + action: STATE_SET "default" 0.0; + target: "logo_glow"; + transition: SINUSOIDAL 2.4; + after: "logo_pulse"; + } + program { name: "cursor_show"; + signal: "show"; source: ""; + 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"; + } + program { name: "spin"; + signal: "e,state,checking"; 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,checking"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "e,state,invalid"; 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,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "selection"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "selection"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/deskpreview.edc b/legacy/elementary/data/themes/edc/deskpreview.edc new file mode 100644 index 0000000000..2d28e4bbeb --- /dev/null +++ b/legacy/elementary/data/themes/edc/deskpreview.edc @@ -0,0 +1,17 @@ +group { name: "e/widgets/deskpreview/desk"; + inherit: "e/widgets/preview"; + parts { + part { name: "e.swallow.content"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "e.event.menu"; type: RECT; + insert_after: "inset"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/dialog.edc b/legacy/elementary/data/themes/edc/dialog.edc new file mode 100644 index 0000000000..80f7cd719a --- /dev/null +++ b/legacy/elementary/data/themes/edc/dialog.edc @@ -0,0 +1,110 @@ +group { name: "e/widgets/dialog/main"; + images.image: "bevel_dark_out.png" COMP; + images.image: "separator_horiz.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color_class: "dialog_base"; + color: 64 64 64 255; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "separator"; mouse_events: 0; + description { state: "default" 0.0; + min: 16 2; + max: 99999 2; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel1.to_y: "e.swallow.content"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + rel2.to_y: "e.swallow.buttons"; + image.normal: "separator_horiz.png"; + fill.smooth: 0; + fixed: 0 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.relative: 0.0 0.0; + rel1.offset: 4 4; + rel2.relative: 0.0 0.0; + rel2.offset: 4 -8; + rel2.to_y: "e.swallow.buttons"; + fixed: 1 0; + visible: 0; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel1.to_x: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -8; + rel2.to_y: "e.swallow.buttons"; + } + description { state: "icon" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.swallow.icon"; + } + } + part { name: "e.swallow.buttons"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel1.offset: 4 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + fixed: 0 1; + } + } + } + programs { + program { + signal: "e,icon,enabled"; source: "e"; + action: STATE_SET "icon" 0.0; + target: "e.swallow.icon"; + target: "e.swallow.content"; + } + program { + signal: "e,icon,disabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + target: "e.swallow.content"; + } + } +} + +group { name: "e/widgets/dialog/text"; + styles { + style { name: "dialog_style"; + base: "font="FN" 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="FNBD" text_class=tb_light"; + } + } + parts { + part { name: "e.textblock.message"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + text { + style: "dialog_style"; + min: 1 1; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/edgebindings.edc b/legacy/elementary/data/themes/edc/edgebindings.edc new file mode 100644 index 0000000000..1a6b8c01d9 --- /dev/null +++ b/legacy/elementary/data/themes/edc/edgebindings.edc @@ -0,0 +1,233 @@ +group { name: "e/modules/conf_edgebindings/selection"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "dot_pattern.png" COMP; + images.image: "darken_rounded_square.png" COMP; + images.image: "downlight_glow.png" COMP; + images.image: "downlight_glow_left.png" COMP; + images.image: "downlight_glow_right.png" COMP; + images.image: "downlight_glow_up.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; + styles { + style { name: "edge_binding_style"; + base: "font="FN" 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="FNBD" text_class=tb_light"; + } + } + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel2.to: "e.swallow.background"; + color: 48 48 48 255; + } + } + part { name: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + part { name: "e.swallow.background"; + type: SWALLOW; + description { state: "default" 0.0; + min: 160 120; + rel1.offset: 4 4; + rel2.relative: 0.5 1.0; + rel2.offset: -2 -5; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -10 -6; + rel1.to: "e.text.selection"; + rel2.offset: 9 5; + rel2.to: "e.text.selection"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + fixed: 1 1; + } + } + part { name: "e.text.selection"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel1.to: "e.swallow.background"; + rel2.relative: 0.5 0.5; + rel2.to: "e.swallow.background"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "label_text"; + fixed: 1 1; + text { font: FN; size: 10; + text_class: "label"; + min: 1 1; + } + } + } + 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: "e.edge.left"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel1.offset: 0 10; + rel2.to: "e.swallow.background"; + rel2.offset: -1 -11; + image.normal: "downlight_glow_right.png"; + image.border: 3 0 0 0; + max: 24 99999; + align: 0.0 0.5; + } + } + part { name: "e.edge.right"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel1.offset: 0 10; + rel2.to: "e.swallow.background"; + rel2.offset: -1 -11; + image.normal: "downlight_glow_left.png"; + image.border: 0 3 0 0; + max: 24 99999; + align: 1.0 0.5; + } + } + part { name: "e.edge.top"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel1.offset: 10 0; + rel2.to: "e.swallow.background"; + rel2.offset: -11 -1; + image.normal: "downlight_glow.png"; + image.border: 0 0 3 0; + max: 99999 24; + align: 0.5 0.0; + } + } + part { name: "e.edge.bottom"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel1.offset: 10 0; + rel2.to: "e.swallow.background"; + rel2.offset: -11 -1; + image.normal: "downlight_glow_up.png"; + image.border: 0 0 0 3; + max: 99999 24; + align: 0.5 1.0; + } + } + + part { name: "e.edge.top_left"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel2.to: "e.swallow.background"; + max: 10 10; + image.normal: "mini_blue_glow_arrow_2.png"; + align: 0.0 0.0; + } + } + part { name: "e.edge.top_right"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel2.to: "e.swallow.background"; + max: 10 10; + image.normal: "mini_blue_glow_arrow_3.png"; + align: 1.0 0.0; + } + } + part { name: "e.edge.bottom_right"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel2.to: "e.swallow.background"; + max: 10 10; + image.normal: "mini_blue_glow_arrow_0.png"; + align: 1.0 1.0; + } + } + part { name: "e.edge.bottom_left"; + description { state: "default" 0.0; + rel1.to: "e.swallow.background"; + rel2.to: "e.swallow.background"; + max: 10 10; + image.normal: "mini_blue_glow_arrow_1.png"; + align: 0.0 1.0; + } + } + part { name: "inset"; + 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: "e.box"; type: BOX; + description { state: "default" 0.0; + rel1 { + relative: 1 1; + offset: 50 4; + to_x: "e.edge.bottom_right"; + to_y: "e.text.description"; + } + rel2 { + offset: -50 24; + to_y: "e.text.description"; + } + box { layout: "horizontal"; + padding: 0 0; + align: 0.5 0.5; + min: 1 1; + } + } + } + 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.box"; + } + rel2 { + 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: 80 4; + to_x: "e.edge.right"; + } + rel2 { + offset: -80 -45; + } + text { + style: "edge_binding_style"; + min: 1 1; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/access.edc b/legacy/elementary/data/themes/edc/elm/access.edc new file mode 100644 index 0000000000..3b0dcc0f03 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/access.edc @@ -0,0 +1,60 @@ +group { name: "elm/access/base/default"; + images.image: "access_glow.png" LOSSY 85; + parts { + part { name: "block1"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1.to: "base"; + rel1.offset: -100000 -100000; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: 100000 96; + } + } + part { name: "block2"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1.to: "base"; + rel1.relative: 0.0 1.0; + rel1.offset: -100000 -97; + rel2.to: "base"; + rel2.offset: 100000 100000; + } + } + part { name: "block3"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1.to: "block1"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to_x: "base"; + rel2.to_y: "block2"; + rel2.relative: 0.0 0.0; + rel2.offset: 96 -1; + } + } + part { name: "block4"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 200; + rel1.to_x: "base"; + rel1.to_y: "block1"; + rel1.relative: 1.0 1.0; + rel1.offset: -97 0; + rel2.to: "block2"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "access_glow.png"; + image.border: 112 112 112 112; + rel1.offset: -102 -102; + rel2.offset: 101 101; + fill.smooth: 0; + } + } + } +} + + diff --git a/legacy/elementary/data/themes/edc/elm/actionslider.edc b/legacy/elementary/data/themes/edc/elm/actionslider.edc new file mode 100644 index 0000000000..eb4f4bcb77 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/actionslider.edc @@ -0,0 +1,277 @@ +group { name: "elm/actionslider/base/default"; + images.image: "bevel_in.png" COMP; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "glow_small.png" COMP; + images.image: "inset_shadow.png" COMP; + parts { + part { name: "bg"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + min: 48 10; + color: DARK_GREY_BG_COLOR; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: DARK_GREY_BG_DISABLED_COLOR; + } + } + 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; + fill.smooth: 0; + } + } + part { name: "icon.dragable.area"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.text.left"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color: FN_COL_DEFAULT; + color_class: "button_text"; + text { font: FN; size: 10; + align: 0.05 0.5; + min: 1 1; + text_class: "button"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + color_class: "button_text_disabled"; + } + } + part { name: "elm.text.center"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color: FN_COL_DEFAULT; + color_class: "check_off_text"; + text { font: FN; size: 10; + align: 0.5 0.5; + min: 1 1; + text_class: "check_off_text"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + color_class: "button_text_disabled"; + } + } + part { name: "elm.text.right"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color: FN_COL_DEFAULT; + color_class: "check_off_text"; + text { font: FN; size: 10; + align: 0.95 0.5; + min: 1 1; + text_class: "check_off_text"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + color_class: "button_text_disabled"; + } + } + part { name: "elm.drag_button_base"; type: SWALLOW; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 40 10; + align: 0.5 0.5; + rel1.to: "icon.dragable.area"; + rel2 { + relative: 0.0 1.0; + to: "icon.dragable.area"; + } + } + dragable { + confine: "icon.dragable.area"; + x: 1 1 0; + y: 0 0 0; + } + } + part { name: "elm.drag_button"; type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 40 10; + color: 0 0 0 0; + rel1.to_x: "elm.drag_button_base"; + rel1.to_y: "icon.dragable.area"; + rel2.to_x: "elm.drag_button_base"; + rel2.to_y: "icon.dragable.area"; + } + dragable { + events: "elm.drag_button_base"; + } + } + part { name: "glow_button"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 -1; + rel1.to: "drag_button"; + rel2.offset: -1 -2; + rel2.to: "drag_button"; + image { + normal: "glow_small.png"; + border: 7 7 7 7; + middle: NONE; + } + fill.smooth: 0; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drag_button"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.drag_button"; + rel1.offset: -1 0; + rel2.to: "elm.drag_button"; + rel2.offset: 0 0; + image { + normal: "button_normal.png"; + border: 4 4 3 5; + middle: SOLID; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "elm.text.indicator"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.drag_button"; + offset: 5 2; + } + rel2 { + to: "elm.drag_button"; + offset: -5 -3; + } + color: FN_COL_DEFAULT; + color_class: "check_off_text"; + text { + font: FN; size: 10; + align: 0.5 0.5; + min: 0 1; + text_class: "check_off_text"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + color_class: "button_text_disabled"; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,up,1"; source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,up" "elm"; + after: "button_unclick_anim"; + } + program { name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "drag_button"; + target: "glow_button"; + } + program { + signal: "mouse,down,1*"; source: "elm.drag_button"; + action: SIGNAL_EMIT "elm.drag_button,mouse,down" "elm"; + after: "button_click_anim"; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "drag_button"; + target: "glow_button"; + } + program { + signal: "mouse,move"; source: "elm.drag_button_base"; + action: SIGNAL_EMIT "elm.drag_button,mouse,move" "elm"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "disabler"; + target: "elm.text.left"; + target: "elm.text.center"; + target: "elm.text.right"; + target: "elm.text.indicator"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "disabler"; + target: "elm.text.left"; + target: "elm.text.center"; + target: "elm.text.right"; + target: "elm.text.indicator"; + } + } +} + +group { name: "elm/actionslider/base/bar"; + inherit: "elm/actionslider/base/default"; + images.image: "horiz_glow_run_big.png" COMP; + parts { + part { name: "bar"; mouse_events: 0; + insert_before: "elm.drag_button_base"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: 1 4; + rel2 { + relative: 0.0 1.0; + offset: 3 -5; + to_x: "elm.drag_button_base"; + to_y: "bg"; + } + image { + normal: "horiz_glow_run_big.png"; + border: 0 4 0 0; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/bg.edc b/legacy/elementary/data/themes/edc/elm/bg.edc new file mode 100644 index 0000000000..58518f6441 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/bg.edc @@ -0,0 +1,31 @@ +group { name: "elm/bg/base/default"; + images.image: "bevel_dark_out.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color_class: "dialog_base"; + color: 64 64 64 255; + } + } + part { name: "elm.swallow.rectangle"; type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.background"; type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "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: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/border.edc b/legacy/elementary/data/themes/edc/elm/border.edc new file mode 100644 index 0000000000..627c9f3afc --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/border.edc @@ -0,0 +1,1666 @@ +group { name: "elm/ews/background/default"; + 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) + } + } + } +} + +group { name: "elm/ews/decoration/default"; + images.image: "win_shadow.png" COMP; + images.image: "win_glow.png" COMP; + 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: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.offset: -7 -3; + rel1.to: "top"; + rel2.offset: 6 11; + rel2.to: "bottom"; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.offset: -5 -5; + rel1.to: "top"; + rel2.offset: 4 4; + rel2.to: "bottom"; + 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: "top"; + description { state: "default" 0.0; + color_class: "border_top"; + image.normal: "vgrad_med_lighter.png"; + rel1.to_y: "title2"; + rel1.offset: -1 -2; + rel2.relative: 1.0 0.0; + 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: "elm.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 1.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: FNBD; 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 1.0; + color: 255 255 255 255; + color3: 0 0 0 18; + text { font: FNBD; size: 10; + text_source: "elm.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: "knob"; mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "knob_round_small_busy.png"; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 20 20; + rel1.to: "e.event.icon"; + rel2.to: "e.event.icon"; + fixed: 1 1; + } + } + + 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; + rel1.to_y: "top"; + rel2.relative: 0.0 0.0; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + program { + signal: "mouse,clicked,1"; source: "e.event.icon"; + action: SIGNAL_EMIT "elm,action,menu" "elm"; + } + part { name: "e.event.titlebar"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "top"; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.event.icon"; + rel2.relative: 0.0 0.0; + rel2.to_x: "e.event.minimize"; + color: 0 0 0 0; + } + } + program { + signal: "mouse,down,1"; source: "e.event.titlebar"; + action: SIGNAL_EMIT "elm,action,move,start" "elm"; + } + program { + signal: "mouse,up,1"; source: "e.event.titlebar"; + action: SIGNAL_EMIT "elm,action,move,stop" "elm"; + } + part { name: "e.event.close"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_y: "top"; + rel2.relative: 1.0 0.0; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + program { + signal: "mouse,clicked,1"; source: "e.event.close"; + action: SIGNAL_EMIT "elm,action,close" "elm"; + } + part { name: "e.event.maximize"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "top"; + rel1.relative: -0.25 0.0; + rel1.offset: -1 0; + rel1.to_x: "e.event.close"; + rel2.relative: -0.25 0.0; + rel2.to_x: "e.event.close"; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.event.maximize2"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.event.maximize"; + rel2.to: "e.event.maximize"; + color: 0 0 0 0; + visible: 0; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "mouse,clicked,1"; source: "e.event.maximize"; + action: SIGNAL_EMIT "elm,action,maximize" "elm"; + } + program { + signal: "mouse,clicked,1"; source: "e.event.maximize2"; + action: SIGNAL_EMIT "elm,action,restore" "elm"; + } + part { name: "e.event.minimize"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "top"; + rel1.relative: 0.0 0.0; + rel1.offset: -1 0; + rel1.to_x: "e.event.maximize"; + rel2.relative: 0.0 0.0; + rel2.to_x: "e.event.maximize"; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + color: 0 0 0 0; + } + } + program { + signal: "mouse,clicked,1"; source: "e.event.minimize"; + action: SIGNAL_EMIT "elm,action,iconify" "elm"; + } + 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; + rel2.relative: 1.0 1.0; + rel2.offset: -1 4; + 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) + } + } + part { name: "focus"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "bottom"; + color: 0 0 0 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "mouse,down,1"; source: "focus"; + action: SIGNAL_EMIT "elm,action,focus" "elm"; + } + program { + signal: "elm,state,focus,on"; source: "elm"; + action: STATE_SET "focused" 0.0; + transition: SINUSOIDAL 0.1; + target: "glow"; + target: "focus"; + after: "focus2"; + } + program { name: "focus2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.4; + target: "glow"; + } + program { + signal: "elm,state,focus,off"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.1; + target: "focus"; + target: "glow"; + } + program { + signal: "elm,state,focus,on"; source: "elm"; + action: STATE_SET "focused" 0.0; + target: "top"; + target: "elm.text.title"; + target: "title2"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "elm,state,focus,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "top"; + target: "elm.text.title"; + target: "title2"; + target: "clip1"; + target: "clip2"; + } + + program { + signal: "elm,state,maximized,on"; source: "elm"; + action: STATE_SET "max" 0.0; + target: "e.event.maximize"; + target: "e.event.maximize2"; + target: "bottom"; + target: "bevel2"; + target: "e.event.resize.bl"; + target: "e.event.resize.b"; + target: "e.event.resize.br"; + } + program { + signal: "elm,state,maximized,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "e.event.maximize"; + target: "e.event.maximize2"; + 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: "elm/ews/decoration/borderless"; + images.image: "win_shadow.png" COMP; + images.image: "win_glow.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.offset: -7 -3; + rel2.offset: 6 11; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.offset: -5 -5; + 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: "focus"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "mouse,down,1"; source: "focus"; + action: SIGNAL_EMIT "elm,action,focus" "elm"; + } + program { + signal: "elm,state,focus,on"; source: "elm"; + action: STATE_SET "focused" 0.0; + transition: SINUSOIDAL 0.1; + target: "glow"; + target: "focus"; + after: "focus2"; + } + program { name: "focus2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.4; + target: "glow"; + } + program { + signal: "elm,state,focus,off"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.1; + target: "focus"; + target: "glow"; + } + } +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// + +group { name: "elm/border/base/default"; + images.image: "win_shadow.png" COMP; + images.image: "win_glow.png" COMP; + + 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; + + // XXX: trhis is UNTESTED!!! need wl to test! + parts { + part { name: "focus_clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.frame_spacer"; type: SWALLOW; + clip_to: "focus_clip"; + description { state: "default" 0.0; + rel1.to: "frame"; + rel2.to: "frame"; + } + } + part { name: "frame"; type: SPACER; + description { state: "default" 0.0; + rel1.offset: 7 5; + rel2.offset: -8 -12; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "shadow"; mouse_events: 0; + clip_to: "focus_clip"; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.offset: -7 -3; + rel1.to: "frame"; + rel2.offset: 6 11; + rel2.to: "frame"; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "glow"; mouse_events: 0; + clip_to: "focus_clip"; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.offset: -5 -5; + rel1.to: "frame"; + rel2.offset: 4 4; + rel2.to: "frame"; + 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: "client_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "elm.swallow.client"; + rel2.to_y: "elm.swallow.client"; + } + } + part { name: "elm.swallow.client"; type: SWALLOW; + clip_to: "client_clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "top"; + rel2.relative: 1.0 0.0; + rel2.to: "bottom"; + } + description { state: "shaded" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + rel2.to: "bottom"; + } + description { state: "max" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + rel2.to: "bottom"; + } + } + part { name: "top"; + description { state: "default" 0.0; + color_class: "border_top"; + image.normal: "vgrad_med_lighter.png"; + rel1.to: "frame"; + rel2.to_y: "title2"; + rel2.to_x: "frame"; + 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: "elm.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: "elm.event.icon"; + rel1.to_y: "frame"; + rel2.relative: 0.0 0.0; + rel2.offset: -2 3; + rel2.to_x: "e.event.minimize"; + rel2.to_y: "frame"; + align: 0.5 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: FNBD; 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: "elm.event.icon"; + rel1.to_y: "frame"; + rel2.relative: 0.0 0.0; + rel2.offset: -1 2; + rel2.to_x: "e.event.minimize"; + rel2.to_y: "frame"; + align: 0.5 0.0; + color: 255 255 255 255; + color3: 0 0 0 18; + text { font: FNBD; size: 10; + text_source: "elm.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: "elm.event.icon"; + rel2.to: "elm.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: "elm.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: "elm.event.icon"; + rel2.relative: 1.0 1.0; + rel2.offset: 2 -1; + rel2.to: "elm.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: "elm.event.icon"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "top"; + rel2.relative: 0.0 1.0; + rel2.to: "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: "elm.event.icon"; + rel1.to_y: "top"; + 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; + rel1.to: "top"; + rel2.relative: 1.0 1.0; + rel2.to: "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.to_y: "top"; + 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.to_y: "top"; + 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; + fixed: 1 1; + rel1.to: "top"; + rel2.relative: 0.0 0.0; + rel2.to: "top"; + 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; + fixed: 1 1; + rel1.relative: 1.0 0.0; + rel1.to_y: "top"; + rel1.to_x: "e.event.resize.tl"; + rel2.relative: 0.0 0.0; + rel1.to_y: "top"; + 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; + fixed: 1 1; + rel1.relative: 1.0 0.0; + rel1.to: "top"; + rel2.relative: 1.0 0.0; + rel2.to: "top"; + 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; + rel1.to: "frame"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + rel2.to: "frame"; + 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; + fixed: 1 1; + rel1.relative: 0.0 1.0; + rel1.to: "bottom"; + rel2.relative: 0.0 1.0; + rel2.to: "bottom"; + 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; + fixed: 1 1; + rel1.relative: 1.0 1.0; + rel1.to_x: "e.event.resize.tl"; + rel1.to_y: "bottom"; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.event.resize.tr"; + rel1.to_y: "bottom"; + 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; + fixed: 1 1; + rel1.relative: 1.0 1.0; + rel1.to: "bottom"; + rel2.relative: 1.0 1.0; + rel2.to: "bottom"; + 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: "elm,action,focus"; source: "elm"; + 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: "elm,action,unfocus"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.1; + target: "glow"; + } + program { + signal: "elm,action,focus"; source: "elm"; + action: STATE_SET "focused" 0.0; + target: "top"; + target: "elm.text.title"; + target: "title2"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "elm,action,unfocus"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "top"; + target: "elm.text.title"; + target: "title2"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "elm,state,urgent"; source: "elm"; + 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: "elm,state,not_urgent"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "icon"; + } + program { name: "spin"; + signal: "elm,state,hung"; source: "elm"; + 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: "elm,state,hung"; source: "elm"; + action: STATE_SET "hung" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "elm,state,unhung"; source: "elm"; + 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: "elm,state,shaded"; source: "elm"; + action: STATE_SET "shaded" 0.0; + target: "elm.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: "elm,state,unshading"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.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: "elm,state,maximized"; source: "elm"; + action: STATE_SET "max" 0.0; + target: "elm.swallow.client"; + target: "frame"; + target: "focus_clip"; + target: "bottom"; + target: "bevel2"; + target: "e.event.resize.bl"; + target: "e.event.resize.b"; + target: "e.event.resize.br"; + } + program { + signal: "elm,state,unmaximized"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.client"; + target: "frame"; + target: "focus_clip"; + 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"; + } + + program { + signal: "mouse,down,1"; source: "e.event.titlebar"; + action: SIGNAL_EMIT "elm,action,move,start" "elm"; + } + program { + signal: "mouse,up,1"; source: "e.event.titlebar"; + action: SIGNAL_EMIT "elm,action,move,stop" "elm"; + } + program { + signal: "mouse,clicked,1"; source: "e.event.minimize"; + action: SIGNAL_EMIT "elm,action,minimize" "elm"; + } + program { + signal: "mouse,clicked,1"; source: "e.event.maximize"; + action: SIGNAL_EMIT "elm,action,maximize" "elm"; + } + program { + signal: "mouse,clicked,1"; source: "e.event.close"; + action: SIGNAL_EMIT "elm,action,close" "elm"; + } + program { + signal: "mouse,in"; source: "e.event.resize.t"; + action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.t"; + } + program { + signal: "mouse,out"; source: "e.event.resize.t"; + action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.t"; + } + program { name: "resize_t_down"; + signal: "mouse,down,1"; source: "e.event.resize.t"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.t"; + } + program { + signal: "mouse,in"; source: "e.event.resize.b"; + action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.b"; + } + program { + signal: "mouse,out"; source: "e.event.resize.b"; + action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.b"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.b"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.b"; + } + program { + signal: "mouse,in"; source: "e.event.resize.tl"; + action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.tl"; + } + program { + signal: "mouse,out"; source: "e.event.resize.tl"; + action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.tl"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.tl"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tl"; + } + program { + signal: "mouse,in"; source: "e.event.resize.tr"; + action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.tr"; + } + program { + signal: "mouse,out"; source: "e.event.resize.tr"; + action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.tr"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.tr"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tr"; + } + program { + signal: "mouse,in"; source: "e.event.resize.bl"; + action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.bl"; + } + program { + signal: "mouse,out"; source: "e.event.resize.bl"; + action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.bl"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.bl"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.bl"; + } + program { + signal: "mouse,in"; source: "e.event.resize.br"; + action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.br"; + } + program { + signal: "mouse,out"; source: "e.event.resize.br"; + action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.br"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize.br"; + action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.br"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/bubble.edc b/legacy/elementary/data/themes/edc/elm/bubble.edc new file mode 100644 index 0000000000..379b661006 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/bubble.edc @@ -0,0 +1,738 @@ +group { name: "elm/bubble/top_left/default"; + alias: "elm/bubble/base/default"; + images.image: "bub_base_tl.png" COMP; + images.image: "bub_base_tr.png" COMP; + images.image: "bub_over_top.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 2 2; + rel2 { + to_y: "elm.text"; + relative: 0.0 1.0; + offset: 2 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "bubble"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 2 2; + } + rel2 { + to_x: "elm.info"; + relative: 0.0 0.0; + offset: -3 2; + } + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "bubble_text"; + text { font: FNBD; size: 10; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + text_class: "bubble"; + } + } + } + part { name: "elm.info"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1.relative: 1.0 0.0; + rel1.offset: -3 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 2; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "bubble_info"; + text { font: FNBD; size: 10; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + text_class: "bubble_info"; + } + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 0; + } + image.normal: "bub_base_tl.png"; + image.border: 24 8 12 9; + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "bub_base_tr.png"; + image.border: 8 24 12 9; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 5 9; + rel2.to: "base"; + rel2.offset: -6 -7; + } + } + part { name: "over"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 20 6; + rel2.to: "base"; + rel2.offset: -6 6; + rel2.relative: 1.0 0.4; + image.normal: "bub_over_top.png"; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + rel1.offset: 5 6; + rel2.offset: -21 6; + } + } + part { name: "shine_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "over"; + rel1.offset: 0 -10; + rel2.to: "over"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "shine_clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "over"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "over"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "elm,state,icon,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "edje,state,rtl"; source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base"; + target: "over"; + } + program { + signal: "edje,state,ltr"; source: "edje"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "over"; + } + } +} + +group { name: "elm/bubble/top_right/default"; + images.image: "bub_base_tr.png" COMP; + images.image: "bub_base_tl.png" COMP; + images.image: "bub_over_top.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2 { + to_y: "elm.text"; + relative: 1.0 1.0; + offset: -3 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "bubble"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1.offset: 2 2; + rel2 { + to_x: "elm.info"; + relative: 0.0 0.0; + offset: -3 2; + } + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "bubble_text"; + text { font: FNBD; size: 10; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + text_class: "bubble"; + } + } + } + part { name: "elm.info"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1.relative: 1.0 0.0; + rel1.offset: -3 2; + rel2.to_x: "elm.swallow.icon"; + rel2.relative: 0.0 0.0; + rel2.offset: -3 2; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "bubble_info"; + text { font: FNBD; size: 10; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + text_class: "bubble_info"; + } + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: 0 0; + } + image.normal: "bub_base_tr.png"; + image.border: 8 24 12 9; + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "bub_base_tl.png"; + image.border: 24 8 12 9; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 5 9; + rel2.to: "base"; + rel2.offset: -6 -7; + } + } + part { name: "over"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 5 6; + rel2.to: "base"; + rel2.offset: -21 6; + rel2.relative: 1.0 0.4; + image.normal: "bub_over_top.png"; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + rel1.offset: 20 6; + rel2.offset: -6 6; + } + } + part { name: "shine_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "over"; + rel1.offset: 0 -10; + rel2.to: "over"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "shine_clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "over"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "over"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "elm,state,icon,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "edje,state,rtl"; source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base"; + target: "over"; + } + program { + signal: "edje,state,ltr"; source: "edje"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "over"; + } + } +} + +group { name: "elm/bubble/bottom_left/default"; + images.image: "bub_base_bl.png" COMP; + images.image: "bub_base_br.png" COMP; + images.image: "bub_over_bot.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 1.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1 { + to_y: "elm.text"; + offset: 2 0; + } + rel2 { + relative: 0.0 1.0; + offset: 2 -3; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "bubble"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 1.0; + offset: 2 -3; + } + rel2 { + to_x: "elm.info"; + relative: 0.0 1.0; + offset: -3 -3; + } + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "bubble_text"; + text { font: FNBD; size: 10; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + text_class: "bubble"; + } + } + } + part { name: "elm.info"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1.relative: 1.0 1.0; + rel1.offset: -3 -3; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "bubble_info"; + text { font: FNBD; size: 10; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + text_class: "bubble_info"; + } + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + } + image.normal: "bub_base_bl.png"; + image.border: 24 8 8 13; + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "bub_base_br.png"; + image.border: 8 24 8 13; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 5 4; + rel2.to: "base"; + rel2.offset: -6 -12; + } + } + part { name: "over"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 2 1; + rel2.to: "base"; + rel2.offset: -3 1; + rel2.relative: 1.0 0.4; + image.normal: "bub_over_bot.png"; + fill.smooth: 0; + } + } + part { name: "shine_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "over"; + rel1.offset: 0 -10; + rel2.to: "over"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "shine_clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "over"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "over"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "elm,state,icon,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "edje,state,rtl"; source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base"; + } + program { + signal: "edje,state,ltr"; source: "edje"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/bubble/bottom_right/default"; + images.image: "bub_base_br.png" COMP; + images.image: "bub_base_bl.png" COMP; + images.image: "bub_over_bot.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 1.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1 { + to_y: "elm.text"; + offset: -3 0; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "bubble"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 2 -3; + } + rel2 { + to_x: "elm.info"; + relative: 0.0 1.0; + offset: -3 -3; + } + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "bubble_text"; + text { font: FNBD; size: 10; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + text_class: "bubble"; + } + } + } + part { name: "elm.info"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1.relative: 1.0 1.0; + rel1.offset: -3 -3; + rel2.to_x: "elm.swallow.icon"; + rel2.relative: 0.0 1.0; + rel2.offset: -3 -3; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "bubble_info"; + text { font: FNBD; size: 10; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + text_class: "bubble_info"; + } + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + } + image.normal: "bub_base_br.png"; + image.border: 8 24 8 13; + image.middle: SOLID; + fill.smooth: 0; + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image.normal: "bub_base_bl.png"; + image.border: 24 8 8 13; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 5 4; + rel2.to: "base"; + rel2.offset: -6 -12; + } + } + part { name: "over"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 2 1; + rel2.to: "base"; + rel2.offset: -3 1; + rel2.relative: 1.0 0.4; + image.normal: "bub_over_bot.png"; + fill.smooth: 0; + } + } + part { name: "shine_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "over"; + rel1.offset: 0 -10; + rel2.to: "over"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "shine_clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "over"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "over"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "elm,state,icon,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "sizer.content"; + } + program { + signal: "edje,state,rtl"; source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base"; + } + program { + signal: "edje,state,ltr"; source: "edje"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/button.edc b/legacy/elementary/data/themes/edc/elm/button.edc new file mode 100644 index 0000000000..6ec4056d1f --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/button.edc @@ -0,0 +1,1285 @@ +group { name: "elm/button/base/default"; + alias: "elm/button/base/naviframe/back_btn/default"; + alias: "elm/button/base/naviframe/back_btn/pager"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; +#define ICON 1 +#define LABEL 2 +#define MASK 3 +#define DISABLE 4 + script { + public btmode; + public eval_mode(m) { + new m1 = m & MASK; + new d = m & DISABLE; + if (m1 == (ICON | LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (ICON)) { + if (!d) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "textonly", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "disabled_textonly", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } + } + } + 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: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_clip"; + description { state: "default" 0.0; + fixed: 1 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"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + aspect: 1.0 1.0; + visible: 1; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + align: 0.5 0.5; + rel2.relative: 1.0 1.0; + rel2.offset: -7 -8; + visible: 1; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; +// fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "button_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 5; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.content"; + 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: FN; size: 10; + align: 0.5 0.5; + min: 0 0; + text_class: "button"; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 5; + text.min: 1 1; + visible: 1; + } + description { state: "textonly" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 5; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_textonly" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + text.min: 1 1; + 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: "mouse,down,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,press" "elm"; + after: "button_click_anim"; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { name: "button_unclick"; + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,unpress" "elm"; + after: "button_unclick_anim"; + } + program { name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "buttonactivate"; + signal: "elm,anim,activate"; source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "base"; + after: "button_unpressed_anim"; + } + program { name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "button_text_visible"; + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_text_hidden"; + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_icon_visible"; + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_icon_hidden"; + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + script { + new m = get_int(btmode); + m &= ~ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_state_disabled"; + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(btmode); + m |= DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_state_enabled"; + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + } +#undef ICON +#undef LABEL +#undef MASK +#undef DISABLE +} + +group { name: "elm/button/base/anchor"; + images.image: "horizontal_separated_bar_small_glow.png" COMP; +#define ICON 1 +#define LABEL 2 +#define MASK 3 +#define DISABLE 4 + script { + public btmode; + public eval_mode(m) { + new m1 = m & MASK; + new d = m & DISABLE; + if (m1 == (ICON | LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"bar", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"bar", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (ICON)) { + if (!d) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"bar", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"bar", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "textonly", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"bar", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "disabled_textonly", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"bar", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"bar", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } + } + } + parts { + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: 0 0; + } + } + 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: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_clip"; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 0 4; + rel1.to: "base"; + rel2.relative: 0.0 1.0; + rel2.offset: 0 -5; + rel2.to: "base"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + aspect: 1.0 1.0; + visible: 1; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + align: 0.5 0.5; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -5; + visible: 1; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "button_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.content"; + rel1.to_y: "base"; + rel2.offset: -1 -1; + rel2.to: "base"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "button_text_anchor"; + text { font: FN; size: 10; + align: 0.5 0.5; + min: 0 0; + text_class: "button_anchor"; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 0; + text.min: 1 1; + visible: 1; + } + description { state: "textonly" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 0; + color: 51 153 255 128; + color2: 51 153 255 12; + color3: 51 153 255 8; + color_class: "button_text_anchor_disabled"; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_textonly" 0.0; + inherit: "default" 0.0; + color: 51 153 255 128; + color2: 51 153 255 12; + color3: 51 153 255 8; + color_class: "button_text_anchor_disabled"; + text.min: 1 1; + visible: 1; + } + } + part { name: "text2"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color: 255 255 255 255; + color2: 51 153 255 64; + color3: 51 153 255 32; + color_class: "button_text_anchor"; + text { font: FN; size: 10; + text_source: "elm.text"; + min: 1 1; + text_class: "button_anchor"; + } + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + rel1.relative: 0.0 1.0; + rel1.offset: -3 -6; + rel2.offset: 2 3; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "bar2"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + rel1.to: "bar"; + rel2.to: "bar"; + color: 255 255 255 0; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + 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: "mouse,down,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,press" "elm"; + after: "button_click_anim"; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "bar2"; + target: "text2"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,unpress" "elm"; + after: "button_unclick_anim"; + } + program { name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "bar2"; + target: "text2"; + } + program { + signal: "elm,anim,activate"; source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "bar2"; + target: "text2"; + after: "button_unpressed_anim"; + } + program { name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + target: "base"; + target: "bar2"; + target: "text2"; + } + program { + signal: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "button_text_visible"; + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_text_hidden"; + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_icon_visible"; + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_icon_hidden"; + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + script { + new m = get_int(btmode); + m &= ~ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_state_disabled"; + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(btmode); + m |= DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_state_enabled"; + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + } +#undef ICON +#undef LABEL +#undef MASK +#undef DISABLE +} + +group { name: "elm/button/base/colorselector/left/default"; + inherit: "elm/button/base/default"; + images.image: "sym_left_light_normal.png" COMP; + parts { + part { name: "ic"; mouse_events: 0; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + fixed: 1 1; + image.normal: "sym_left_light_normal.png"; + } + } + } +} + +group { name: "elm/button/base/colorselector/right/default"; + inherit: "elm/button/base/default"; + images.image: "sym_right_light_normal.png" COMP; + parts { + part { name: "ic"; mouse_events: 0; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + fixed: 1 1; + image.normal: "sym_right_light_normal.png"; + } + } + } +} + +group { name: "elm/button/base/media_player/prev/default"; + alias: "elm/button/base/media_player/rewind/default"; + alias: "elm/button/base/media_player/play/default"; + alias: "elm/button/base/media_player/pause/default"; + alias: "elm/button/base/media_player/stop/default"; + alias: "elm/button/base/media_player/forward/default"; + alias: "elm/button/base/media_player/next/default"; + alias: "elm/button/base/media_player/info/default"; + alias: "elm/button/base/media_player/eject/default"; + alias: "elm/button/base/media_player/volume/default"; + alias: "elm/button/base/media_player/mute/default"; + + alias: "elm/button/base/media_player/prev/flush"; + alias: "elm/button/base/media_player/rewind/flush"; + alias: "elm/button/base/media_player/play/flush"; + alias: "elm/button/base/media_player/pause/flush"; + alias: "elm/button/base/media_player/stop/flush"; + alias: "elm/button/base/media_player/forward/flush"; + alias: "elm/button/base/media_player/next/flush"; + alias: "elm/button/base/media_player/info/flush"; + alias: "elm/button/base/media_player/eject/flush"; + alias: "elm/button/base/media_player/volume/flush"; + alias: "elm/button/base/media_player/mute/flush"; + + images.image: "shadow_inset_bevels.png" COMP; + images.image: "shadow_angled_in_sides.png" COMP; + parts { + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "shadow1"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel2.offset: -1 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; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 1 0; + rel2.offset: -2 -1; + 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: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 3 1; + rel2.offset: -4 -2; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,press" "elm"; + after: "button_click_anim"; + } + program { name: "button_click_anim"; + action: STATE_SET "selected" 0.0; + target: "shadow1"; + target: "shadow2"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,unpress" "elm"; + after: "button_unclick_anim"; + } + program { name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "shadow1"; + target: "shadow2"; + } + program { + signal: "elm,anim,activate"; source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "shadow1"; + target: "shadow2"; + after: "button_unpressed_anim"; + } + program { name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + target: "shadow1"; + target: "shadow2"; + } + program { + signal: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +group { name: "elm/button/base/hoversel_vertical/default"; + inherit: "elm/button/base/default"; + alias: "elm/button/base/hoversel_vertical/entry"; + alias: "elm/button/base/hoversel_horizontal/default"; + alias: "elm/button/base/hoversel_horizontal/entry"; + + images.image: "vertical_separated_bar_glow.png" COMP; + + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + rel1.offset: 0 5; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.content"; + rel1.to_y: "base"; + rel2.to_y: "base"; + rel2.to_x: "select_line"; + rel2.offset: -2 -7; + rel2.relative: 0.0 1.0; + text.text_class: "hoversel"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 5; + text.min: 1 1; + visible: 1; + } + description { state: "textonly" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 5; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "hoversel_text_disabled"; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_textonly" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "hoversel_text_disabled"; + text.min: 1 1; + visible: 1; + } + } + part { name: "select_line"; mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + min: 15 10; + rel1.to: "base"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 -3; + rel2.to: "base"; + rel2.offset: 1 0; + image.normal: "vertical_separated_bar_glow.png"; + image.border: 7 7 7 7; + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -2; + rel2.offset: 0 -1; + } + } + } + programs { + program { name: "button_click_anim"; + target: "select_line"; + } + program { name: "button_unclick_anim"; + target: "select_line"; + } + program { name: "buttonactivate"; + target: "select_line"; + } + program { name: "button_unpressed_anim"; + target: "select_line"; + } + } +} + +group { name: "elm/button/base/hoversel_vertical_entry/default"; + alias: "elm/button/base/hoversel_vertical_entry/entry"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "shine.png" COMP; +#define ICON 1 +#define LABEL 2 +#define MASK 3 +#define DISABLE 4 + script { + public btmode; + public eval_mode(m) { + new m1 = m & MASK; + new d = m & DISABLE; + if (m1 == (ICON | LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (ICON)) { + if (!d) { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "textonly", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "disabled_textonly", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } + } + } + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "shadow_rounded_horiz.png"; + image.border: 0 0 9 9; + rel1.to: "base"; + rel1.offset: 0 -4; + rel2.to: "base"; + rel2.offset: -1 5; + fill.smooth: 0; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + rel1.offset: -6 0; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + 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: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_clip"; + description { state: "default" 0.0; + fixed: 1 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"; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + aspect: 1.0 1.0; + visible: 1; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + align: 0.5 0.5; + rel2.relative: 1.0 1.0; + rel2.offset: -7 -8; + visible: 1; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "button_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "click_clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "click_clip"; + description { state: "default" 0.0; + rel1.offset: 0 5; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.content"; + 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: FN; size: 10; + align: 0.0 0.5; + min: 0 0; + text_class: "button"; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 5; + text.min: 1 1; + visible: 1; + } + description { state: "textonly" 0.0; + inherit: "default" 0.0; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 5; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + text.min: 1 1; + visible: 1; + } + description { state: "disabled_textonly" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "button_text_disabled"; + text.min: 1 1; + visible: 1; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: 2 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "hoversel_item_active"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "hoversel_item"; + } + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bevel"; mouse_events: 0; + insert_after: "elm.text"; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "bevel_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "shine"; repeat_events: 1; + insert_before: "event"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "base"; + rel1.offset: 0 -2; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + image.normal: "shine.png"; + visible: 0; + FIXED_SIZE(69, 5) + } + description { state: "clicked" 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: "mouse,down,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,press" "elm"; + after: "button_click_anim"; + } + program { name: "button_click_anim"; + action: STATE_SET "clicked" 0.0; + target: "shadow"; + target: "base"; + target: "shine"; + target: "click_clip"; + target: "label3"; + } + program { name: "button_unclick"; + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,unpress" "elm"; + after: "button_unclick_anim"; + } + program { name: "button_unclick_anim"; + action: STATE_SET "default" 0.0; + target: "shadow"; + target: "base"; + target: "shine"; + target: "click_clip"; + target: "label3"; + } + program { name: "buttonactivate"; + signal: "elm,anim,activate"; source: "elm"; + action: STATE_SET "clicked" 0.0; + target: "shadow"; + target: "base"; + target: "shine"; + target: "click_clip"; + target: "label3"; + after: "button_unpressed_anim"; + } + program { name: "button_unpressed_anim"; + action: STATE_SET "default" 0.0; + in: 0.5 0.0; + target: "shadow"; + target: "base"; + target: "shine"; + target: "click_clip"; + target: "label3"; + } + program { + signal: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "button_text_visible"; + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_text_hidden"; + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_icon_visible"; + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_icon_hidden"; + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + script { + new m = get_int(btmode); + m &= ~ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_state_disabled"; + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(btmode); + m |= DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "button_state_enabled"; + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + } +#undef ICON +#undef LABEL +#undef MASK +#undef DISABLE +} + +group { name: "elm/button/base/hoversel_horizontal_entry/default"; + inherit: "elm/button/base/hoversel_vertical_entry/default"; + alias: "elm/button/base/hoversel_horizontal_entry/entry"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 0 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/calendar.edc b/legacy/elementary/data/themes/edc/elm/calendar.edc new file mode 100644 index 0000000000..ecced35b28 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/calendar.edc @@ -0,0 +1,534 @@ +#define CIT_STYLES\ + style { name: "calendar_date_style";\ + base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 align=center";\ + }\ + style { name: "calendar_date_holiday_style";\ + base: "font="FN" font_size=10 color=#808080 style=shadow,bottom shadow_color=#00000080 align=center";\ + }\ + style { name: "calendar_date_today_style";\ + base: "font="FN" font_size=10 color=#3399ff style=glow glow_color=#3399ff18 align=center";\ + }\ + +#define CAL_SPIN(_sufix, _signal_sufix, _text, _relative)\ + part { name: "left_bt"#_sufix; type: RECT;\ + scale: 1;\ + description { state: "default" 0.0;\ + fixed: 1 1;\ + rel1 { to: #_relative;\ + offset: 0 0;\ + }\ + rel2 { to: #_relative;\ + offset: 0 -1;\ + }\ + align: 0.0 0.5;\ + min: 15 15;\ + max: 15 15;\ + color: 0 0 0 0;\ + }\ + }\ + part { name: "left_bt"#_sufix"_over"; repeat_events: 1;\ + scale: 1;\ + description { state: "default" 0.0;\ + min: 15 15;\ + max: 15 15;\ + align: 0.5 0.5;\ + rel1.to: "left_bt"#_sufix;\ + rel2.to: "left_bt"#_sufix;\ + image.normal: "sym_left_light_normal.png";\ + }\ + description { state: "rtl" 0.0;\ + inherit: "default" 0.0;\ + image.normal: "sym_right_light_normal.png";\ + }\ + description { state: "clicked" 0.0;\ + inherit: "default" 0.0;\ + image.normal: "sym_left_glow_normal.png";\ + }\ + description { state: "clicked_rtl" 0.0;\ + inherit: "default" 0.0;\ + image.normal: "sym_right_glow_normal.png";\ + }\ + }\ + part { name: "right_bt"#_sufix; type: RECT;\ + scale: 1;\ + description { state: "default" 0.0;\ + fixed: 1 1;\ + rel1 { to: #_relative;\ + offset: -1 0;\ + }\ + rel2 { to: #_relative;\ + offset: -1 -1;\ + }\ + align: 1.0 0.5;\ + min: 15 15;\ + max: 15 15;\ + color: 0 0 0 0;\ + }\ + }\ + part { name: "right_bt"#_sufix"_over"; repeat_events: 1;\ + scale: 1;\ + description { state: "default" 0.0;\ + min: 15 15;\ + max: 15 15;\ + rel1.to: "right_bt"#_sufix;\ + rel2.to: "right_bt"#_sufix;\ + image.normal: "sym_right_light_normal.png";\ + }\ + description { state: "rtl" 0.0;\ + inherit: "default" 0.0;\ + image.normal: "sym_left_light_normal.png";\ + }\ + description { state: "clicked" 0.0;\ + inherit: "default" 0.0;\ + image.normal: "sym_right_glow_normal.png";\ + }\ + description { state: "clicked_rtl" 0.0;\ + inherit: "default" 0.0;\ + image.normal: "sym_left_glow_normal.png";\ + }\ + }\ + part { name: #_text; type: TEXT; mouse_events: 0;\ + effect: SHADOW BOTTOM; \ + scale: 1;\ + description { state: "default" 0.0;\ + fixed: 1 1;\ + rel1 { relative: 1.0 0.0;\ + to: "left_bt"#_sufix;\ + }\ + rel2 { relative: 0.0 1.0;\ + to: "right_bt"#_sufix;\ + }\ + color: FN_COL_DEFAULT;\ + text { font: FNBD; size: 10;\ + min: 0 1;\ + }\ + }\ + }\ + programs {\ + program {\ + signal: "mouse,down,1"; source: "left_bt"#_sufix;\ + action: SIGNAL_EMIT "elm,action,decrement,start"#_signal_sufix "elm";\ + }\ + program {\ + signal: "mouse,up,1"; source: "left_bt"#_sufix;\ + action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix "elm"; \ + }\ + program { name: "left_bt"#_sufix"_click";\ + signal: "mouse,down,1"; source: "left_bt"#_sufix;\ + script {\ + if (get_int(rtl) == 1)\ + set_state(PART:"left_bt"#_sufix"_over", "clicked_rtl", 0.0);\ + else\ + set_state(PART:"left_bt"#_sufix"_over", "clicked", 0.0);\ + }\ + }\ + program { name: "left_bt"#_sufix"_unclick";\ + signal: "mouse,up,1"; source: "left_bt"#_sufix;\ + script {\ + if (get_int(rtl) == 1)\ + set_state(PART:"left_bt"#_sufix"_over", "rtl", 0.0);\ + else\ + set_state(PART:"left_bt"#_sufix"_over", "default", 0.0);\ + }\ + }\ + program {\ + signal: "mouse,down,1"; source: "right_bt"#_sufix;\ + action: SIGNAL_EMIT "elm,action,increment,start"#_signal_sufix "elm";\ + }\ + program {\ + signal: "mouse,up,1"; source: "right_bt"#_sufix;\ + action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix "elm"; \ + }\ + program { name: "right_bt"#_sufix"_click";\ + signal: "mouse,down,1"; source: "right_bt"#_sufix;\ + script {\ + if (get_int(rtl) == 1)\ + set_state(PART:"right_bt"#_sufix"_over", "clicked_rtl", 0.0);\ + else\ + set_state(PART:"right_bt"#_sufix"_over", "clicked", 0.0);\ + }\ + }\ + program { name: "right_bt"#_sufix"_unclick";\ + signal: "mouse,up,1"; source: "right_bt"#_sufix;\ + script {\ + if (get_int(rtl) == 1)\ + set_state(PART:"right_bt"#_sufix"_over", "rtl", 0.0);\ + else\ + set_state(PART:"right_bt"#_sufix"_over", "default", 0.0);\ + }\ + }\ + program { name: "rtl"#_sufix;\ + signal: "edje,state,rtl"; source: "edje";\ + script {\ + set_int(rtl, 1);\ + set_state(PART:"left_bt"#_sufix"_over", "rtl", 0.0);\ + set_state(PART:"right_bt"#_sufix"_over", "rtl", 0.0);\ + }\ + }\ + program { name: "ltr"#_sufix;\ + signal: "edje,state,ltr"; source: "edje";\ + script {\ + set_int(rtl, 0);\ + set_state(PART:"left_bt"#_sufix"_over", "default", 0.0);\ + set_state(PART:"right_bt"#_sufix"_over", "default", 0.0);\ + }\ + }\ + } + +#define CH(_pos) \ + part { name: "ch_"#_pos".base"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: (_pos % 7 / 7) 0.0; \ + to: "header"; \ + } \ + rel2 { \ + relative: (_pos % 7 / 7 + 1 / 7) 1.0; \ + to: "header"; \ + } \ + } \ + } \ + part { name: "ch_"#_pos".text"; type: TEXT; mouse_events: 0; \ + effect: SHADOW BOTTOM; \ + scale: 1; \ + clip_to: "ch_"#_pos".clipper"; \ + description { state: "default" 0.0; \ + rel1.to: "ch_"#_pos".base"; \ + rel2.to: "ch_"#_pos".base"; \ + color: 21 21 21 255;\ + color3: 255 255 255 25;\ + text { font: FN; size: 8; \ + min: 1 1; \ + } \ + } \ + } \ + part { name: "ch_"#_pos".clipper"; type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: "ch_"#_pos".base"; \ + rel2.to: "ch_"#_pos".base"; \ + } \ + } + +#define CIT(_pos) \ + part { name: "cit_"#_pos".rect"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1 { \ + relative: (_pos % 7 / 7) \ + (_pos / 7 / 6 - _pos % 7 / 7 / 6); \ + to: "base"; \ + } \ + rel2 { \ + relative: (_pos % 7 / 7 + 1 / 7) \ + (_pos / 7 / 6 + 1 / 6 - _pos % 7 / 7 / 6); \ + to: "base"; \ + } \ + } \ + } \ + part { name: "cit_"#_pos".event"; type: RECT; repeat_events: 1; \ + description { state: "default" 0.0; \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "cit_"#_pos".pat"; mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "cit_"#_pos".selected"; \ + rel1.offset: 1 1; \ + rel2.to: "cit_"#_pos".selected"; \ + rel2.offset: -2 -2; \ + image.normal: "diagonal_stripes.png"; \ + color: 255 255 255 25; \ + TILED_PATTERN(240, 240) \ + visible: 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "cit_"#_pos".selected"; mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + image.normal: "outline_glow.png"; \ + image.border: 4 4 4 4; \ + visible: 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "cit_"#_pos".selected2"; mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + image.normal: "outline_glow.png"; \ + image.border: 4 4 4 4; \ + visible: 0; \ + } \ + description { state: "hilighted" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 128; \ + visible: 1; \ + } \ + } \ + part { name: "cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + text.style: "calendar_date_style"; \ + text.min: 1 1; \ + } \ + description { state: "holiday" 0.0; \ + inherit: "default" 0.0; \ + text.style: "calendar_date_holiday_style"; \ + } \ + description { state: "today" 0.0; \ + inherit: "default" 0.0; \ + text.style: "calendar_date_today_style"; \ + } \ + } \ + part { name: "cit_"#_pos".check"; mouse_events: 0; \ + scale: 1; \ + description { state: "default" 0.0; \ + fixed: 1 1; \ + rel1 { \ + to: "cit_"#_pos".rect"; \ + relative: 0.6 0.5; \ + } \ + rel2 { \ + to: "cit_"#_pos".rect"; \ + relative: 0.6 0.5; \ + } \ + min: 16 16; \ + max: 16 16; \ + aspect: 1 1; \ + align: 0.0 1.0;\ + image.normal: "icon_border_remember.png"; \ + visible: 0; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "cit_"#_pos".access"; type: RECT; repeat_events: 1; \ + description { state: "default" 0.0; \ + rel1.to: "cit_"#_pos".event"; \ + rel2.to: "cit_"#_pos".event"; \ + color: 0 0 0 0; \ + } \ + } \ + programs { \ + program { \ + name: "cit_"#_pos".go_active"; \ + signal: "cit_"#_pos",selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "cit_"#_pos".pat"; \ + target: "cit_"#_pos".selected"; \ + } \ + program { \ + name: "cit_"#_pos".go_passive"; \ + signal: "cit_"#_pos",unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".pat"; \ + target: "cit_"#_pos".selected"; \ + } \ + program { \ + name: "cit_"#_pos".is_today"; \ + signal: "cit_"#_pos",today"; \ + source: "elm"; \ + action: STATE_SET "today" 0.0; \ + target: "cit_"#_pos".text"; \ + } \ + program { \ + name: "cit_"#_pos".not_today"; \ + signal: "cit_"#_pos",not_today"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".text"; \ + } \ + program { \ + source: "cit_"#_pos".clicked"; \ + signal: "mouse,down,1"; \ + source: "cit_"#_pos".event"; \ + action: STATE_SET "hilighted" 0.0; \ + target: "cit_"#_pos".selected2"; \ + } \ + program { \ + source: "cit_"#_pos".clicked"; \ + signal: "mouse,up,1"; \ + source: "cit_"#_pos".event"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".selected2"; \ + } \ + program { \ + source: "cit_"#_pos".clicked"; \ + signal: "mouse,clicked,1"; \ + source: "cit_"#_pos".event"; \ + action: SIGNAL_EMIT "elm,action,selected" #_pos; \ + } \ + program { \ + name: "cit_"#_pos".clear"; \ + signal: "cit_"#_pos",clear"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".check"; \ + after: "cit_"#_pos".holiday_clear"; \ + } \ + program { \ + name: "cit_"#_pos".holiday_clear"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"cit_"#_pos".text", st, 30, vl); \ + if (!strcmp(st, "holiday")) \ + set_state(PART:"cit_"#_pos".text", "default", 0.0); \ + } \ + } \ + program { \ + name: "cit_"#_pos".checked"; \ + signal: "cit_"#_pos",checked"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "cit_"#_pos".check"; \ + } \ + program { \ + name: "cit_"#_pos".holiday"; \ + signal: "cit_"#_pos",holiday"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"cit_"#_pos".text", st, 30, vl); \ + if (strcmp(st, "today")) \ + set_state(PART:"cit_"#_pos".text", "holiday", 0.0); \ + } \ + } \ + } + +group { name: "elm/calendar/base/default"; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "icon_border_remember.png" COMP; + images.image: "outline_glow.png" COMP; + images.image: "diagonal_stripes.png" COMP; + script { + public rtl; + } + styles { + CIT_STYLES + } + parts { + part { name: "bg"; type: SPACER; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "spinner-base1"; type: SPACER; + description { state: "default" 0.0; + min: 24 16; + max: 999999 16; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.relative: 1.0 (1/8); + align: 0.5 0.0; + } + } + part { name: "table-base"; type: SPACER; + description { state: "default" 0.0; + min: 70 60; + rel1.to_x: "bg"; + rel1.to_y: "spinner-base1"; + rel1.offset: 3 0; + rel1.relative: 0.0 1.0; + rel2.to: "bg"; + rel2.offset: -4 -4; + } + } + part { name: "header"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "table-base"; + rel2.to: "table-base"; + rel2.relative: 1.0 (1/7); + align: 0.5 0.0; + min: 0 16; + } + } + part { name: "header_separator"; mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "header"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -2; + rel2.to: "header"; + image.normal: "separator_horiz.png"; + fill.smooth: 0; + } + } + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + rel1.to_x: "table-base"; + rel1.to_y: "header"; + rel1.relative: 0.0 1.0; + rel1.offset: 3 0; + rel2.to: "table-base"; + rel2.offset: -3 0; + } + } + + CAL_SPIN(,,month_text, spinner-base1) + CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6) + CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6) + CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13) + CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20) + CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27) + CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34) + CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41) + } +} + +group { name: "elm/calendar/base/double_spinners"; + inherit: "elm/calendar/base/default"; + parts { + part { name: "spinner-base1"; type: SPACER; + description { state: "default" 0.0; + min: 24 24; + max: 999999 24; + rel1.to: "bg"; + rel1.offset: 6 6; + rel2.to: "bg"; + rel2.relative: 0.5 1.0; + rel2.offset: -7 -7; + align: 0.0 0.0; + } + } + part { name: "spinner-base2"; type: SPACER; + description { state: "default" 0.0; + min: 24 24; + max: 999999 24; + rel1.to_x: "spinner-base1"; + rel1.to_y: "bg"; + rel1.relative: 1.0 0; + rel1.offset: 6 6; + rel2.to: "bg"; + rel2.offset: -7 -7; + align: 0.0 0.0; + } + } + CAL_SPIN(,,month_text, spinner-base1) + CAL_SPIN(_year, year, year_text, spinner-base2) + } +} + +#undef CAL_SPIN +#undef CIT +#undef CH diff --git a/legacy/elementary/data/themes/edc/elm/check.edc b/legacy/elementary/data/themes/edc/elm/check.edc new file mode 100644 index 0000000000..404b05b268 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/check.edc @@ -0,0 +1,891 @@ +group { name: "elm/check/base/default"; + images.image: "inset_shadow_tiny.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "sym_check_alum.png" COMP; +#define ICON 1 +#define LABEL 2 +#define MASK 3 +#define DISABLE 4 + script { + public btmode; + public eval_mode(m) { + new m1 = m & MASK; + new d = m & DISABLE; + if (m1 == (ICON | LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"shadow", "default", 0.0); + set_state(PART:"base", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"shadow", "disabled", 0.0); + set_state(PART:"base", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (ICON)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"shadow", "default", 0.0); + set_state(PART:"base", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"shadow", "disabled", 0.0); + set_state(PART:"base", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"shadow", "default", 0.0); + set_state(PART:"base", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"shadow", "disabled", 0.0); + set_state(PART:"base", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } + } + } + 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"; + image.border: 4 4 4 4; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "inset"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + align: 0.0 0.5; + min: 13 13; + max: 13 13; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "indicator"; mouse_events: 0; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 1; + 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: "clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + max: 0 0; + rel1.to_x: "inset"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.to_x: "inset"; + rel2.offset: 1 -2; + rel2.relative: 1.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + aspect: 1.0 1.0; + min: 16 16; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "check_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.to_x: "elm.swallow.content"; + 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: FN; size: 10; + min: 0 0; + align: 0.0 0.5; + text_class: "check"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + visible: 1; + text.min: 1 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,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,check,toggle" "elm"; + } + program { + signal: "elm,state,check,on"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "elm,state,check,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + program { + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(btmode); + m |= DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + } +#undef ICON +#undef LABEL +#undef MASK +#undef DISABLE +} + +group { name: "elm/check/base/toggle"; + images.image: "inset_shadow_tiny.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "glow_small.png" COMP; + +#define ICON 1 +#define LABEL 2 +#define MASK 3 +#define DISABLE 4 + script { + public is_rtl; + public is_drag; + public was_drag; + + public btmode; + public eval_mode(m) { + new m1 = m & MASK; + new d = m & DISABLE; + if (m1 == (ICON | LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"shadow", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + set_state(PART:"event2", "default", 0.0); + set_state(PART:"elm.ontext", "default", 0.0); + set_state(PART:"elm.offtext", "default", 0.0); + set_state(PART:"onrect", "default", 0.0); + set_state(PART:"offrect", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"shadow", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + set_state(PART:"event2", "disabled", 0.0); + set_state(PART:"elm.ontext", "disabled", 0.0); + set_state(PART:"elm.offtext", "disabled", 0.0); + set_state(PART:"onrect", "disabled", 0.0); + set_state(PART:"offrect", "disabled", 0.0); + } + } else if (m1 == (ICON)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"shadow", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + set_state(PART:"event2", "default", 0.0); + set_state(PART:"elm.ontext", "default", 0.0); + set_state(PART:"elm.offtext", "default", 0.0); + set_state(PART:"onrect", "default", 0.0); + set_state(PART:"offrect", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"shadow", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + set_state(PART:"event2", "disabled", 0.0); + set_state(PART:"elm.ontext", "disabled", 0.0); + set_state(PART:"elm.offtext", "disabled", 0.0); + set_state(PART:"onrect", "disabled", 0.0); + set_state(PART:"offrect", "disabled", 0.0); + } + } else if (m1 == (LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"shadow", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + set_state(PART:"event2", "default", 0.0); + set_state(PART:"elm.ontext", "default", 0.0); + set_state(PART:"elm.offtext", "default", 0.0); + set_state(PART:"onrect", "default", 0.0); + set_state(PART:"offrect", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"shadow", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + set_state(PART:"event2", "disabled", 0.0); + set_state(PART:"elm.ontext", "disabled", 0.0); + set_state(PART:"elm.offtext", "disabled", 0.0); + set_state(PART:"onrect", "disabled", 0.0); + set_state(PART:"offrect", "disabled", 0.0); + } + } + } + } + parts { + part { name: "tog"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + align: 1.0 0.5; + min: 88 15; + max: 88 15; + } + } + part { name: "onrect"; type: RECT; mouse_events: 0; + scale: 1; + clip_to: "tog_clip"; + description { state: "default" 0.0; + rel1.to: "button"; + rel1.relative: -5.0 0.0; + rel2.to: "button"; + rel2.relative: 0.5 1.0; + color: 24 24 24 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 64 64 64 255; + } + } + part { name: "offrect"; type: RECT; mouse_events: 0; + scale: 1; + clip_to: "tog_clip"; + description { state: "default" 0.0; + rel1.to: "button"; + rel1.relative: 0.5 0.0; + rel2.to: "button"; + rel2.relative: 6.0 1.0; + color: 24 24 24 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 64 64 64 255; + } + } + part { name: "elm.offtext"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "tog_clip"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "button"; + rel1.relative: 1.0 0.0; + rel2.to: "offrect"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "check_off_text"; + text { font: FN; size: 10; + min: 0 1; + align: 0.5 0.5; + text_class: "check_off_text"; + text: "OFF"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "elm.ontext"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + clip_to: "tog_clip"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "onrect"; + rel1.offset: 2 -1; + rel2.to: "button"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -2; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "check_on_text"; + text { font: FN; size: 10; + min: 0 1; + align: 0.5 0.5; + text_class: "check_on_text"; + text: "ON"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 51 153 255 64; + color2: 51 153 255 16; + color3: 51 153 255 8; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow_tiny.png"; + image.border: 4 4 4 4; + rel1.to: "tog"; + rel2.to: "tog"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "inset"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "tog"; + rel1.offset: -1 -1; + rel2.to: "tog"; + rel2.offset: 0 0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "tog_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "tog"; + rel2.to: "tog"; + } + } + part { name: "button"; type: RECT; + scale: 1; + clip_to: "tog_clip"; + dragable { + x: 1 1 0; + y: 0 0 0; + confine: "tog"; + } + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "tog"; + rel2.to: "tog"; + min: 15 15; + max: 15 99999; + color: 255 128 0 128; + } + } + part { name: "shadow_but"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "base_but"; + rel2.offset: 2 4; + rel2.to: "base_but"; + 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_but"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "base_but"; + rel2.offset: 2 2; + rel2.to: "base_but"; + 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: "base_but"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "button"; + rel2.to: "button"; + image.normal: "vgrad_med_lighter.png"; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "bevel_but"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base_but"; + rel2.to: "base_but"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "button_events"; type: RECT; + dragable.events: "button"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + 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: "elm.swallow.content"; type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + max: 0 0; + rel1.offset: 1 1; + rel2.offset: 1 -2; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + min: 16 16; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "check_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 2 2; + rel2.to_x: "tog"; + rel2.relative: 0.0 1.0; + rel2.offset: -5 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "check_text"; + text { font: FN; size: 10; + min: 0 0; + align: 0.0 0.5; + text_class: "check"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + visible: 1; + text.min: 1 1; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to_x: "elm.swallow.content"; + rel2.to_x: "elm.text"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "event2"; type: RECT; + ignore_flags: ON_HOLD; + 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,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,check,toggle" "elm"; + } + program { + signal: "elm,state,check,on"; source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 100.0; + } else { + drag = 0.0; + } + set_drag(PART:"button", drag, 0.0); + } + } + program { + signal: "elm,state,check,off"; source: "elm"; + script { + new Float:drag; + if (get_int(is_rtl) == 0) { + drag = 0.0; + } else { + drag = 100.0; + } + set_drag(PART:"button", drag, 0.0); + } + } + program { + signal: "mouse,clicked,1"; source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + if (!get_int(was_drag)) { + if (dx > 0.5) { + set_drag(PART:"button", 0.0, 0.0); + } else { + set_drag(PART:"button", 1.0, 0.0); + } + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + emit("elm,action,check,off", ""); + } else { + emit("elm,action,check,on", ""); + } + } + } + } + program { + signal: "drag"; source: "button"; + script { + set_int(is_drag, 1); + } + } + program { + signal: "mouse,down,1"; source: "button"; + script { + set_int(was_drag, 0); + set_int(is_drag, 0); + } + } + program { name: "drag_end"; + signal: "mouse,up,1"; source: "button"; + script { + new Float:dx, Float:dy; + get_drag(PART:"button", dx, dy); + if (get_int(is_drag)) { + if (dx > 0.5) { + set_drag(PART:"button", 1.0, 0.0); + } else { + set_drag(PART:"button", 0.0, 0.0); + } + if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || + (get_int(is_rtl) == 0) && (dx > 0.5)) { + emit("elm,action,check,on", ""); + } else { + emit("elm,action,check,off", ""); + } + set_int(was_drag, 1); + set_int(is_drag, 0); + } + } + } + program { + signal: "mouse,down,1"; source: "button"; + action: STATE_SET "clicked" 0.0; + target: "shadow_but"; + target: "glow_but"; + } + program { + signal: "mouse,up,1"; source: "button"; + action: STATE_SET "default" 0.0; + target: "shadow_but"; + target: "glow_but"; + } + program { + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(btmode); + m |= DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "edje,state,rtl"; source: "edje"; + script { + set_int(is_rtl, 1); + } + } + program { + signal: "edje,state,ltr"; source: "edje"; + script { + set_int(is_rtl, 0); + } + } + } +#undef ICON +#undef LABEL +#undef MASK +#undef DISABLE +} diff --git a/legacy/elementary/data/themes/edc/elm/clock.edc b/legacy/elementary/data/themes/edc/elm/clock.edc new file mode 100644 index 0000000000..60d8c38667 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/clock.edc @@ -0,0 +1,397 @@ +group { name: "elm/clock/flipdigit/default"; + images.image: "digit_na.png" COMP; + images.image: "digit_0.png" COMP; + images.image: "digit_1.png" COMP; + images.image: "digit_2.png" COMP; + images.image: "digit_3.png" COMP; + images.image: "digit_4.png" COMP; + images.image: "digit_5.png" COMP; + images.image: "digit_6.png" COMP; + images.image: "digit_7.png" COMP; + images.image: "digit_8.png" COMP; + images.image: "digit_9.png" COMP; + images.image: "icon_arrow_up.png" COMP; + images.image: "icon_arrow_down.png" COMP; + script { + public v0_cur, v0_lock, v0_next; + + public animator1(val, Float:pos) { + new v; + set_int(v0_lock, 0); + v = get_int(v0_next); + if (v >= 0) { + set_int(v0_next, -1); + message(MSG_INT, 1, v); + } + } + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT) && (id == 1)) { + new value, buf[11]; + + value = getarg(2); + if (get_int(v0_lock) == 1) { + set_int(v0_next, value); + return; + } + set_int(v0_cur, value); + set_int(v0_lock, 1); + snprintf(buf, 10, "%i", get_int(v0_cur)); + set_state(PART:"digit", buf, 0.0); + anim(1.0, "animator1", 1); + } + } + } + parts { + part { name: "digit_bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "digit"; + rel2.to: "digit"; + image.normal: "digit_na.png"; + color: 255 255 255 128; + } + } + part { name: "b"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.5; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "t"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "digit"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to_y: "atop"; + rel1.relative: 0.0 1.0; + rel2.to_y: "abot"; + rel2.relative: 1.0 0.0; + aspect: (52/72) (52/72); aspect_preference: BOTH; + image.normal: "digit_0.png"; + } +#define DIGIT_DESC(_DIGIT) \ + description { state: _DIGIT 0.0; \ + inherit: "default" 0.0; \ + image.normal: "digit_"_DIGIT".png"; \ + } + DIGIT_DESC("0") + DIGIT_DESC("1") + DIGIT_DESC("2") + DIGIT_DESC("3") + DIGIT_DESC("4") + DIGIT_DESC("5") + DIGIT_DESC("6") + DIGIT_DESC("7") + DIGIT_DESC("8") + DIGIT_DESC("9") + } +#undef DIGIT_DESC + part { name: "atop"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.2; + align: 0.5 0.0; + aspect: 1 1; aspect_preference: BOTH; + image.normal: "icon_arrow_up.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "abot"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.8; + rel2.relative: 1.0 1.0; + align: 0.5 0.0; + aspect: 1 1; aspect_preference: BOTH; + image.normal: "icon_arrow_down.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.t"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "t"; + rel2.to: "t"; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "access.b"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "b"; + rel2.to: "b"; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "load"; + signal: "load"; + source: ""; + script { + set_int(v0_cur, 0); + set_int(v0_lock, 0); + set_int(v0_next, -1); + } + } + program { name: "edit_on"; + signal: "elm,state,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "atop"; + target: "abot"; + target: "t"; + target: "b"; + } + program { name: "edit_off"; + signal: "elm,state,edit,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "atop"; + target: "abot"; + target: "t"; + target: "b"; + } + program { name: "up"; + signal: "mouse,down,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,start" "elm"; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" "elm"; + } + program { name: "down"; + signal: "mouse,down,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,start" "elm"; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" "elm"; + } + program { name: "access_edit_on"; + signal: "elm,state,access,edit,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "access.t"; + target: "access.b"; + } + program { name: "access_edit_off"; + signal: "elm,state,access,edit,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access.t"; + target: "access.b"; + } + program { name: "access,up"; + signal: "mouse,down,1"; + source: "access.t"; + action: SIGNAL_EMIT "elm,action,up,start" "elm"; + } + program { name: "access,up,stop"; + signal: "mouse,up,1"; + source: "access.t"; + action: SIGNAL_EMIT "elm,action,up,stop" "elm"; + } + program { name: "access,down"; + signal: "mouse,down,1"; + source: "access.b"; + action: SIGNAL_EMIT "elm,action,down,start" "elm"; + } + program { name: "access,down,stop"; + signal: "mouse,up,1"; + source: "access.b"; + action: SIGNAL_EMIT "elm,action,down,stop" "elm"; + } + } +} + + +group { name: "elm/clock/flipampm/default"; + inherit: "elm/clock/flipdigit/default"; + images.image: "digit_nm.png" COMP; + images.image: "digit_am.png" COMP; + images.image: "digit_pm.png" COMP; + parts { + part { name: "digit_bg"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "digit"; + rel2.to: "digit"; + image.normal: "digit_nm.png"; + color: 255 255 255 128; + } + } + part { name: "digit"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + aspect: (48/31) (48/31); aspect_preference: BOTH; + image.normal: "digit_am.png"; + } +#define DIGIT_DESC(_DIGIT, _AMPM) \ + description { state: _DIGIT 0.0; \ + inherit: "default" 0.0; \ + image.normal: "digit_"_AMPM".png"; \ + } + DIGIT_DESC("0", "am") + DIGIT_DESC("1", "pm") + } +#undef DIGIT_DESC + } +} + +#define SWALLOW_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y) \ + part { name: _NAME; \ + type: SWALLOW; \ + description { state: "default" 0.0; \ + rel1.relative: _R1X _R1Y; \ + rel2.relative: _R2X _R2Y; \ + } \ + } + +#define HOLE_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y, _AX, _AY, _OX, _OY, _W, _H) \ + part { name: _NAME; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.relative: _R1X _R1Y; \ + rel1.offset: _OX _OY; \ + rel2.relative: _R2X _R2Y; \ + rel2.offset: _OX _OY; \ + align: _AX _AY; \ + min: _W _H; \ + max: _W _H; \ + fixed: 1 1; \ + image.normal: "hole_tiny.png"; \ + } \ + } + +group { name: "elm/clock/base-all/default"; + images.image: "hole_tiny.png" COMP; + parts { + SWALLOW_PART("d0", 0.0, 0.0, 0.125, 1.0) + SWALLOW_PART("d1", 0.125, 0.0, 0.25, 1.0) + HOLE_PART("c0t", 0.25, 0.5, 0.3125, 0.5, 0.5, 1.0, 0, -2, 4, 4) + HOLE_PART("c0b", 0.25, 0.5, 0.3125, 0.5, 0.5, 0.0, 0, 1, 4, 4) + SWALLOW_PART("d2", 0.3125, 0.0, 0.4375, 1.0) + SWALLOW_PART("d3", 0.4375, 0.0, 0.5625, 1.0) + HOLE_PART("c1t", 0.5625, 0.5, 0.625, 0.5, 0.5, 1.0, 0, -2, 4, 4) + HOLE_PART("c1b", 0.5625, 0.5, 0.625, 0.5, 0.5, 0.0, 0, 1, 4, 4) + SWALLOW_PART("d4", 0.625, 0.0, 0.75, 1.0) + SWALLOW_PART("d5", 0.75, 0.0, 0.875, 1.0) + SWALLOW_PART("ampm", 0.875, 0.0, 1.0, 1.0) + } +} + +group { name: "elm/clock/base-seconds/default"; + parts { + SWALLOW_PART("d0", 0.0, 0.0, 0.142857143, 1.0) + SWALLOW_PART("d1", 0.142857143, 0.0, 0.285714286, 1.0) + HOLE_PART("c0t", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 1.0, 0, -2, 4, 4) + HOLE_PART("c0b", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 0.0, 0, 1, 4, 4) + SWALLOW_PART("d2", 0.357142857, 0.0, 0.5, 1.0) + SWALLOW_PART("d3", 0.5, 0.0, 0.642857143, 1.0) + HOLE_PART("c1t", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 1.0, 0, -2, 4, 4) + HOLE_PART("c1b", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 0.0, 0, 1, 4, 4) + SWALLOW_PART("d4", 0.714285714, 0.0, 0.857142857, 1.0) + SWALLOW_PART("d5", 0.857142857, 0.0, 1.0, 1.0) + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base-am_pm/default"; + parts { + SWALLOW_PART("d0", 0.0, 0.0, 0.181818182, 1.0) + SWALLOW_PART("d1", 0.181818182, 0.0, 0.363636364, 1.0) + HOLE_PART("c0t", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 1.0, 0, -2, 4, 4) + HOLE_PART("c0b", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 0.0, 0, 1, 4, 4) + SWALLOW_PART("d2", 0.454545455, 0.0, 0.636363636, 1.0) + SWALLOW_PART("d3", 0.636363636, 0.0, 0.818181818, 1.0) + SWALLOW_PART("ampm", 0.818181818, 0.0, 1.0, 1.0) + } +} + +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/clock/base/default"; + parts { + part { name: "base"; + type: RECT; + scale : 1; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + SWALLOW_PART("d0", 0.0, 0.0, 0.222222222, 1.0) + SWALLOW_PART("d1", 0.222222222, 0.0, 0.444444444, 1.0) + HOLE_PART("c0t", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 1.0, 0, -2, 4, 4) + HOLE_PART("c0b", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 0.0, 0, 1, 4, 4) + SWALLOW_PART("d2", 0.555555556, 0.0, 0.777777778, 1.0) + SWALLOW_PART("d3", 0.777777778, 0.0, 1.0, 1.0) + } + programs { + program { name: "access_on"; + signal: "elm,state,access,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "access_off"; + signal: "elm,state,access,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} +#undef SWALLOW_PART +#undef HOLE_PART diff --git a/legacy/elementary/data/themes/edc/elm/colorsel.edc b/legacy/elementary/data/themes/edc/elm/colorsel.edc new file mode 100644 index 0000000000..e8721bae2c --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/colorsel.edc @@ -0,0 +1,629 @@ +group { name: "elm/colorselector/palette/default"; + data.item: "horizontal_pad" 0; + data.item: "vertical_pad" 0; + images.image: "bevel_dark_in.png" COMP; + parts { + part { name: "elm.picker"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "sep1"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_y: "elm.picker"; + rel1.offset: 4 4; + rel1.relative: 0.0 1.0; + rel2.to_y: "elm.picker"; + rel2.offset: -5 5; + min: 2 2; + max: 99999 2; + image.normal: "bevel_dark_in.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + rel1.offset: 4 -2; + rel2.offset: -5 -1; + visible: 0; + } + } + part { name: "elm.palette"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to_y: "sep1"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 4; + rel2.to_y: "sep2"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -5; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "sep2"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_y: "elm.selector"; + rel1.offset: 4 -6; + rel2.to_y: "elm.selector"; + rel2.offset: -5 -5; + rel2.relative: 1.0 0.0; + min: 2 2; + max: 99999 2; + image.normal: "bevel_dark_in.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + rel1.offset: 4 0; + rel2.offset: -5 1; + visible: 0; + } + } + part { name: "elm.selector"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + } + } + } + programs { + program { + source: "elm"; signal: "elm,state,palette"; + action: STATE_SET "off" 0.0; + target: "sep1"; + target: "sep2"; + } + program { + source: "elm"; signal: "elm,state,palette"; + action: STATE_SET "default" 0.0; + target: "elm.palette"; + } + + program { + source: "elm"; signal: "elm,state,components"; + action: STATE_SET "off" 0.0; + target: "sep1"; + target: "sep2"; + target: "elm.palette"; + } + + program { + source: "elm"; signal: "elm,state,both"; + action: STATE_SET "off" 0.0; + target: "sep1"; + } + program { + source: "elm"; signal: "elm,state,both"; + action: STATE_SET "default" 0.0; + target: "elm.palette"; + target: "sep2"; + } + + program { + source: "elm"; signal: "elm,state,picker"; + action: STATE_SET "off" 0.0; + target: "sep1"; + target: "sep2"; + target: "elm.palette"; + } + + program { + source: "elm"; signal: "elm,state,all"; + action: STATE_SET "default" 0.0; + target: "sep1"; + target: "sep2"; + target: "elm.palette"; + } + } +} + +group { name: "elm/colorselector/picker/default"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "bg"; type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 20 20; + rel1.to: "elm.picker"; + rel2.to: "elm.picker"; + color: 48 48 48 255; + } + } + part { name: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.picker"; + rel2.to: "elm.picker"; + } + } + part { name: "elm.picker"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + 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; + } + } + } +} + +group { name: "elm/colorselector/bg/default"; + parts { + part { name: "elm.colorbar_0"; type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "elm.colorbar_1"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to_y: "elm.colorbar_0"; + rel1.relative: 0.0 1.0; + rel2.to_y: "elm.colorbar_0"; + rel2.relative: 1.0 1.0; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "elm.colorbar_2"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to_y: "elm.colorbar_1"; + rel1.relative: 0.0 1.0; + rel2.to_y: "elm.colorbar_1"; + rel2.relative: 1.0 1.0; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "elm.colorbar_3"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to_y: "elm.colorbar_2"; + rel1.relative: 0.0 1.0; + align: 0.5 0.0; + } + } + } +} + +group { name: "elm/colorselector/base/default"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "ring_shadow.png" COMP; + images.image: "ring_white_blue_glow.png" COMP; + images.image: "col_sel_end_bottom.png" COMP; + images.image: "col_sel_end_top.png" COMP; + parts { + part { name: "elm.bar_bg"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + min: 32 15; + rel1.offset: 0 10; + rel1.to_x: "elm.arrow_bg"; + rel2.offset: -1 -11; + rel2.to_x: "elm.arrow_bg"; + } + } + part { name: "elm.bar"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.bar_bg"; + rel2.to: "elm.bar_bg"; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "shadow"; + rel2.to: "shadow"; + } + } + 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: "elm.bar_bg"; + rel2.to: "elm.bar_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: "shadow"; + rel1.offset: -1 -1; + rel2.to: "shadow"; + rel2.offset: 0 0; + fill.smooth: 0; + } + } + part { name: "elm.arrow_bg"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + offset: 3 0; + to_x: "elm.l_button"; + } + rel2 { + relative: 0.0 1.0; + offset: -4 0; + to_x: "elm.r_button"; + } + } + } + part { name: "elm.arrow"; type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + min: 1 1; + rel1.to_x: "elm.arrow_bg"; + rel2.to_x: "elm.arrow_bg"; + visible: 0; + } + dragable { + confine: "elm.arrow_bg"; + x: 1 1 0; + y: 0 0 0; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.arrow_icon"; + rel2.to_x: "elm.arrow_icon"; + rel2.to_y: "elm.arrow_bg"; + color: 0 0 0 0; + } + dragable.events: "elm.arrow"; + } + part { name: "arrow_under"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "ring_shadow.png"; + rel1.to: "elm.arrow_icon"; + rel2.to: "elm.arrow_icon"; + } + } + part { name: "elm.arrow_icon"; type: SWALLOW; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 16 16; + max: 16 16; + align: 0.5 (28/32); + rel1.to_x: "elm.arrow"; + rel1.to_y: "shadow"; + rel2.relative: 1.0 0.0; + rel2.to_x: "elm.arrow"; + rel2.to_y: "shadow"; + } + } + part { name: "end1"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_top.png"; + FIXED_SIZE(11, 8) + align: 0.5 0.0; + rel1.to_x: "cursor"; + rel2.to_x: "cursor"; + rel1.to_y: "shadow"; + rel2.to_y: "shadow"; + } + } + part { name: "end2"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_bottom.png"; + FIXED_SIZE(11, 8) + align: 0.5 1.0; + rel1.to_x: "cursor"; + rel2.to_x: "cursor"; + rel1.to_y: "shadow"; + rel2.to_y: "shadow"; + } + } + part { name: "arrow_over"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "ring_white_blue_glow.png"; + rel1.to: "elm.arrow_icon"; + rel2.to: "elm.arrow_icon"; + } + } + part { name: "cursor"; type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + min: 1 1; + rel1.to_x: "elm.arrow_icon"; + rel1.to_y: "shadow"; + rel1.relative: 0.5 0.0; + rel2.to_x: "elm.arrow_icon"; + rel2.to_y: "shadow"; + rel2.relative: 0.5 1.0; + rel2.offset: 0 -1; + color: 255 255 255 255; + } + dragable.events: "elm.arrow"; + } + part { name: "elm.arrow_bg_access"; type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.arrow_bg"; + rel2.to: "elm.arrow_bg"; + color: 0 0 0 0; + } + } + part { name: "elm.l_button"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 17 17; + rel1.relative: 0.0 0.0; + rel1.to_y: "elm.bar_bg"; + rel2.relative: 0.0 1.0; + rel2.to_y: "elm.bar_bg"; + align: 0.0 0.5; + } + } + part { name: "elm.r_button"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 17 17; + rel1.relative: 1.0 0.0; + rel1.to_y: "elm.bar_bg"; + rel2.relative: 1.0 1.0; + rel2.to_y: "elm.bar_bg"; + align: 1.0 0.5; + } + } + } +} + +group { name: "elm/colorselector/arrow/default"; + images.image: "ring_white_middle.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "ring_white_middle.png"; + } + } + } +} + +group{ name: "elm/colorselector/image/colorbar_0/default"; + images { + image: "color_picker_color.png" COMP; + } + parts { + part { name: "colorbar_0_image"; + type: IMAGE; + description { state: "default" 0.0; + rel2.offset: -1 -1; + image.normal: "color_picker_color.png"; + } + } + } +} + +group { name: "elm/colorselector/image/colorbar_1/default"; + images.image: "color_picker_opacity.png" COMP; + parts { + part { name: "colorbar_1_image"; + description { state: "default" 0.0; + image.normal: "color_picker_opacity.png"; + } + } + } +} + +group { name: "elm/colorselector/image/colorbar_2/default"; + images.image: "color_picker_brightness.png" COMP; + parts { + part { name: "colorbar_2_image"; + description { state: "default" 0.0; + image.normal: "color_picker_brightness.png"; + } + } + } +} + +group { name: "elm/colorselector/image/colorbar_3/default"; + images.image: "color_picker_alpha.png" COMP; + parts { + part { name: "colorbar_3_image"; + description { state: "default" 0.0; + image.normal: "color_picker_alpha.png"; + } + } + } +} + +group { name: "elm/colorselector/bg_image/colorbar_3/default"; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + color: 48 48 48 255; + } + } + part { name: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + } +} + +group { name: "elm/colorselector/item/default"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "dot_pattern.png" COMP; + images.image: "bg_glow_in.png" COMP; + parts { + part { name: "bg"; type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 20 20; + rel1.to: "color_obj"; + rel2.to: "color_obj"; + color: 48 48 48 255; + } + } + part { name: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "color_obj"; + rel2.to: "color_obj"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "color_obj"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + 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: "dim"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "bg_glow_in.png"; + image.border: 7 7 7 7; + image.middle: 0; + fill.smooth: 0; + color: 255 255 255 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + 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 { + source: "elm"; signal: "elm,state,selected"; + action: STATE_SET "focused" 0.0; + transition: DECELERATE 0.1; + target: "glow"; + target: "dim"; + } + program { + source: "elm"; signal: "elm,state,unselected"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "glow"; + target: "dim"; + } + program { + signal: "elm,anim,activate"; source: "elm"; + action: STATE_SET "focused" 0.0; + transition: DECELERATE 0.1; + target: "glow"; + target: "dim"; + after: "active2"; + } + program { name: "active2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.8; + target: "glow"; + target: "dim"; + } + } +} + +group { name: "elm/colorselector/item/color/default"; + parts { + part { name: "color_rect"; type: RECT; + description{ state: "default" 0.0; + } + } + } +} diff --git a/legacy/elementary/data/themes/widgets/conformant.edc b/legacy/elementary/data/themes/edc/elm/conform.edc similarity index 100% rename from legacy/elementary/data/themes/widgets/conformant.edc rename to legacy/elementary/data/themes/edc/elm/conform.edc diff --git a/legacy/elementary/data/themes/edc/elm/ctxpopup.edc b/legacy/elementary/data/themes/edc/elm/ctxpopup.edc new file mode 100644 index 0000000000..d244398a9d --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/ctxpopup.edc @@ -0,0 +1,263 @@ +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/ctxpopup/bg/noblock"; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/ctxpopup/bg/default"; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 192; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { + signal: "elm,state,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.2; + target: "base"; + } + program { + signal: "elm,state,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.3; + target: "base"; + } + } +} + +group { name: "elm/ctxpopup/base/default"; + images.image: "tooltip-base.png" COMP; + parts { + part { name: "base"; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "tooltip-base.png"; + image.border: 7 7 6 8; + image.middle: SOLID; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1 { to:"base"; offset: 8 6; } + rel2 { to:"base"; offset: -7 -8; } + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + rel1.offset: -20 -20; + rel2.offset: 19 19; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + + // 9x13 + part { name: "arrow_area_left"; type: SPACER; + description { state: "default" 0.0; + min: 9 13; + fixed: 1 0; + align: 1.0 0.5; + rel1.to: "base"; + rel1.offset: 2 5; + rel2.to: "base"; + rel2.offset: 2 -6; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.arrow_left"; type: SWALLOW; mouse_events: 0; + clip_to: "clip"; + dragable.x: 1 1 0; + dragable.y: 1 1 0; + dragable.confine: "arrow_area_left"; + description { state: "default" 0.0; + min: 9 13; + fixed: 1 1; + } + } + + part { name: "arrow_area_right"; type: SPACER; + description { state: "default" 0.0; + min: 9 13; + fixed: 1 0; + align: 0.0 0.5; + rel1.to: "base"; + rel1.offset: -3 5; + rel1.relative: 1.0 0.0; + rel2.to: "base"; + rel2.offset: -3 -6; + } + } + part { name: "elm.swallow.arrow_right"; type: SWALLOW; mouse_events: 0; + clip_to: "clip"; + dragable.x: 1 1 0; + dragable.y: 1 1 0; + dragable.confine: "arrow_area_right"; + description { state: "default" 0.0; + min: 9 13; + fixed: 1 1; + } + } + + // 11x9 + part { name: "arrow_area_up"; type: SPACER; + description { state: "default" 0.0; + min: 11 9; + fixed: 1 1; + align: 0.5 1; + rel1.to: "base"; + rel1.offset: 5 3; + rel2.to: "base"; + rel2.offset: -6 3; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.arrow_up"; type: SWALLOW; mouse_events: 0; + clip_to: "clip"; + dragable.x: 1 1 0; + dragable.y: 1 1 0; + dragable.confine: "arrow_area_up"; + description { state: "default" 0.0; + min: 11 9; + fixed: 1 1; + } + } + + part { name: "arrow_area_down"; type: SPACER; + description { state: "default" 0.0; + min: 11 9; + fixed: 1 1; + align: 0.5 0.0; + rel1.to: "base"; + rel1.offset: 5 -4; + rel1.relative: 0.0 1.0; + rel2.to: "base"; + rel2.offset: -6 -4; + } + } + part { name: "elm.swallow.arrow_down"; type: SWALLOW; mouse_events: 0; + clip_to: "clip"; + dragable.x: 1 1 0; + dragable.y: 1 1 0; + dragable.confine: "arrow_area_down"; + description { state: "default" 0.0; + min: 11 9; + fixed: 1 1; + } + } + } + programs { + program { + signal: "elm,state,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.2; + target: "clip"; + target: "event"; + } + program { + signal: "elm,state,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.3; + target: "clip"; + target: "event"; + after: "hide2"; + } + program { name: "hide2"; + action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; + } + + } +} + +group { name: "elm/ctxpopup/arrow/default"; + images.image: "tooltip-edge-left-tip.png" COMP; + images.image: "tooltip-edge-right-tip.png" COMP; + images.image: "tooltip-edge-bottom-tip.png" COMP; + images.image: "tooltip-edge-top-tip.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + min: 9 9; + fixed: 1 1; + image.normal: "tooltip-edge-left-tip.png"; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + min: 9 13; + align: 0.0 0.5; + image.normal: "tooltip-edge-left-tip.png"; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + min: 9 13; + align: 1.0 0.5; + image.normal: "tooltip-edge-right-tip.png"; + } + description { state: "top" 0.0; + inherit: "default" 0.0; + min: 11 9; + align: 0.5 0.0; + image.normal: "tooltip-edge-top-tip.png"; + } + description { state: "bottom" 0.0; + inherit: "default" 0.0; + min: 11 9; + align: 0.5 1.0; + image.normal: "tooltip-edge-bottom-tip.png"; + } + } + } + programs { + program { + signal: "elm,state,left"; source: "elm"; + action: STATE_SET "left" 0.0; + target: "base"; + } + program { + signal: "elm,state,right"; source: "elm"; + action: STATE_SET "right" 0.0; + target: "base"; + } + program { + signal: "elm,state,top"; source: "elm"; + action: STATE_SET "top" 0.0; + target: "base"; + } + program { + signal: "elm,state,bottom"; source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "base"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/datetime.edc b/legacy/elementary/data/themes/edc/elm/datetime.edc new file mode 100644 index 0000000000..d405cc91cd --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/datetime.edc @@ -0,0 +1,192 @@ +#define DATETIME_FIELD(_pos) \ + part { \ + name: "field"#_pos; type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: 0 0; \ + align: 0.0 0.5; \ + fixed: 1 0; \ + rel1.relative: 1.0 0.0; \ + rel1.to: "separator"#_pos; \ + rel2.relative: 1.0 1.0; \ + rel2.to: "separator"#_pos; \ + } \ + description { state: "enable" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + min: 8 10; \ + } \ + } \ + programs{ \ + program { name: "field_"#_pos"enabled"; \ + signal: "field"#_pos",enable"; source: "elm"; \ + action: STATE_SET "enable" 0.0; \ + target: "field"#_pos; \ + } \ + program { name: "field_"#_pos"disabled"; \ + signal: "field"#_pos",disable"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "field"#_pos; \ + } \ + } +#define DATETIME_SEPARATOR(_pos, _after) \ + part { \ + name: "separator"#_pos; type: TEXT; \ + scale: 1; \ + effect: SHADOW BOTTOM; \ + clip_to: "disclip"; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: 0 0; \ + align: 0.0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1.0 0.0; \ + to: "field"#_after; \ + } \ + rel2 { \ + relative: 1.0 1.0; \ + to: "field"#_after; \ + } \ + color: 255 255 255 255; \ + color3: 0 0 0 128; \ + color_class: "datetime_text"; \ + text { \ + font: "Sans"; size: 10; \ + min: 1 0; \ + align: 0.5 0.5; \ + text_class: "datetime_text"; \ + } \ + } \ + description { state: "enable" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + min: 8 10; \ + } \ + } \ + part { \ + name: "separator"#_pos"d"; type: TEXT; \ + scale: 1; \ + effect: SHADOW BOTTOM; \ + clip_to: "disclip2"; \ + description { state: "default" 0.0; \ + visible: 0; \ + rel1.to: "separator"#_pos; \ + rel2.to: "separator"#_pos; \ + color: 21 21 21 255; \ + color3: 255 255 255 25; \ + color_class: "datetime_text"; \ + text { \ + text_source: "separator"#_pos; \ + font: "Sans"; size: 10; \ + text_class: "datetime_text"; \ + } \ + } \ + description { state: "enable" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + programs { \ + program { \ + signal: "field"#_after",enable"; source: "elm"; \ + action: STATE_SET "enable" 0.0; \ + target: "separator"#_pos; \ + target: "separator"#_pos"d"; \ + } \ + program { \ + signal: "field"#_after",disable"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "separator"#_pos; \ + target: "separator"#_pos"d"; \ + } \ + } +group { name: "elm/datetime/base/default"; + parts { + part { name: "disclip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "separator0"; + rel2.to: "separator7"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disclip2"; type: RECT; + description { state: "default" 0.0; + rel1.to: "separator0"; + rel2.to: "separator7"; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "separator0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 8 10; + align: 0.0 0.5; + fixed: 1 0; + rel2.relative: 0.0 1.0; + } + } + DATETIME_FIELD(0) + DATETIME_SEPARATOR(1,0) + DATETIME_FIELD(1) + DATETIME_SEPARATOR(2,1) + DATETIME_FIELD(2) + DATETIME_SEPARATOR(3,2) + DATETIME_FIELD(3) + DATETIME_SEPARATOR(4,3) + DATETIME_FIELD(4) + DATETIME_SEPARATOR(5,4) + DATETIME_FIELD(5) + DATETIME_SEPARATOR(6,5) + part { name: "separator7"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "separator6"; + rel1.relative: 1.0 0.0; + min: 8 10; + } + } + part { name: "discover"; type: RECT; + description { state: "default" 0.0; + rel1.to: "separator0"; + rel2.to: "separator7"; + visible: 0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.access"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + target: "disclip2"; + target: "discover"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + target: "disclip2"; + target: "discover"; + } + } +} +#undef DATETIME_SEPARATOR +#undef DATETIME_FIELD diff --git a/legacy/elementary/data/themes/edc/elm/dayselector.edc b/legacy/elementary/data/themes/edc/elm/dayselector.edc new file mode 100644 index 0000000000..6bf5fc11ac --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/dayselector.edc @@ -0,0 +1,487 @@ +#define DAYSELECOR_DAY_POS_LEFT 1 +#define DAYSELECOR_DAY_POS_RIGHT 2 +#define DAYSELECOR_DAY_POS_MIDDLE 3 +#define DAYSELECOR_DAY_TYPE_WEEKDAY 1 +#define DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT 2 +#define DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 3 +#define DAYSELECOR_DAY_STATE_DEFAULT 1 +#define DAYSELECOR_DAY_STATE_PRESSED 2 +#define DAYSELECOR_DAY_STATE_SELECTED 3 + +#define DAYSELECTOR_DAY(_pos, _after)\ + part {\ + name: "day"#_pos;\ + type: SWALLOW;\ + scale: 1;\ + clip_to: "clipper";\ + description { state: "default" 0.0;\ + visible: 0;\ + min: 0 0;\ + align: 0.0 0.5;\ + fixed: 1 0;\ + rel1 {\ + relative: 1.0 0.0;\ + to: "day"#_after;\ + offset: 0 0;\ + }\ + rel2 {\ + relative: 1.0 1.0;\ + to: "day"#_after;\ + }\ + }\ + description { state: "visible" 0.0;\ + inherit: "default" 0.0;\ + visible: 1;\ + min: 48 32;\ + }\ + }\ + programs{\ + program {\ + name: "day"#_pos"visible";\ + signal: "day"#_pos",visible";\ + source: "elm";\ + action: STATE_SET "visible" 0.0;\ + target: "day"#_pos;\ + }\ + program {\ + name: "day"#_pos"notvisible";\ + signal: "day"#_pos",default";\ + source: "elm";\ + action: STATE_SET "default" 0.0;\ + target: "day"#_pos;\ + }\ + } + +group { name: "elm/dayselector/base/default"; + parts { + part { + name: "day0"; + type: SWALLOW; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + fixed: 1 0; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + min: 48 32; + } + } + DAYSELECTOR_DAY(1, 0) + DAYSELECTOR_DAY(2, 1) + DAYSELECTOR_DAY(3, 2) + DAYSELECTOR_DAY(4, 3) + DAYSELECTOR_DAY(5, 4) + DAYSELECTOR_DAY(6, 5) + part { + name: "clipper"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "day0"; + rel2.to: "day6"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + color: 185 185 185 185; + } + } + part { + name: "disabler"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "disble_dayselector"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "disabler"; + target: "clipper"; + } + program { + name: "enable_dayselector"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + target: "clipper"; + } + program { + name: "day0_visible"; + signal: "day0,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "day0"; + } + program { + name: "day0_default"; + signal: "day0,default"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "day0"; + } + } +} + +group { name: "elm/check/base/dayselector/default"; + images { + image: "day_middle_normal.png" COMP; + image: "day_left_normal.png" COMP; + image: "day_right_normal.png" COMP; + image: "day_middle_press.png" COMP; + image: "day_middle_selected.png" COMP; + image: "day_left_press.png" COMP; + image: "day_left_selected.png" COMP; + image: "day_right_press.png" COMP; + image: "day_right_selected.png" COMP; + } + script { + public check_pos; // Left, Right, Middle. + public check_type; // Weekday, Weekend. + public check_state = DAYSELECOR_DAY_STATE_DEFAULT; // Default, Pressed, Selected. + + public check_bg_show() { + if(get_int(check_pos) == DAYSELECOR_DAY_POS_LEFT) { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) + set_state(PART:"bg", "default_left", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) + set_state(PART:"bg", "pressed_left", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) + set_state(PART:"bg", "selected_left", 0.0); + } + else if(get_int(check_pos) == DAYSELECOR_DAY_POS_RIGHT) { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) + set_state(PART:"bg", "default_right", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) + set_state(PART:"bg", "pressed_right", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) + set_state(PART:"bg", "selected_right", 0.0); + } + else if(get_int(check_pos) == DAYSELECOR_DAY_POS_MIDDLE) { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) + set_state(PART:"bg", "default_middle", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) + set_state(PART:"bg", "pressed_middle", 0.0); + else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) + set_state(PART:"bg", "selected_middle", 0.0); + } + } + public check_text_show() { + if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) { + set_state(PART:"elm.text", "selected", 0.0); + set_state(PART:"text2", "selected", 0.0); + } else { + if(get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKDAY) { + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"text2", "default", 0.0); + } else if (get_int(check_type) == + DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT) { + set_state(PART:"elm.text", "weekend_default", 0.0); + set_state(PART:"text2", "weekend_default", 0.0); + } + else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1) { + set_state(PART:"elm.text", "weekend_style1", 0.0); + set_state(PART:"text2", "weekend_style1", 0.0); + } + } + } + public check_text_pressed() { + set_state(PART:"elm.text", "pressed", 0.0); + set_state(PART:"text2", "default", 0.0); + } + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + image { + normal: "day_middle_normal.png"; + border: 1 1 3 4; + } + } + /* default */ + description { state: "default_left" 0.0; + inherit: "default" 0.0; + image { + normal: "day_left_normal.png"; + border: 4 1 3 4; + } + } + description { state: "default_right" 0.0; + inherit: "default" 0.0; + image { + normal: "day_right_normal.png"; + border: 1 4 3 5; + } + } + description { state: "default_middle" 0.0; + inherit: "default" 0.0; + image { + normal: "day_middle_normal.png"; + border: 1 1 3 4; + } + } + /* pressed */ + description { state: "pressed_left" 0.0; + inherit: "default" 0.0; + image { + normal: "day_left_press.png"; + border: 5 1 4 5; + } + } + description { state: "pressed_right" 0.0; + inherit: "default" 0.0; + image { + normal: "day_right_press.png"; + border: 1 5 4 5; + } + } + description { state: "pressed_middle" 0.0; + inherit: "default" 0.0; + image { + normal: "day_middle_press.png"; + border: 2 1 4 7; + } + } + /* selected */ + description { state: "selected_left" 0.0; + inherit: "default" 0.0; + image { + normal: "day_left_selected.png"; + border: 5 1 4 5; + } + } + description { state: "selected_right" 0.0; + inherit: "default" 0.0; + image { + normal: "day_right_selected.png"; + border: 1 5 4 5; + } + } + description { state: "selected_middle" 0.0; + inherit: "default" 0.0; + image { + normal: "day_middle_selected.png"; + border: 2 1 4 7; + } + } + } + part { + name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 5 0; + fixed: 1 0; + align: 0.0 0.5; + rel2.relative: 0.0 1.0; + } + } + part { + name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 5 0; + fixed: 1 0; + align: 1.0 0.5; + rel1.relative: 1.0 0.0; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1 { + to: "left_padding"; + relative: 1.0 0.0; + } + rel2 { + to: "right_padding"; + relative: 0.0 1.0; + } + text { + font: FN; + size: 10; + min: 1 1; + text_class: "button"; + } + color: FN_COL_DEFAULT; + } + description { state: "weekend_default" 0.0; + inherit: "default" 0.0; + color: 175 175 175 255; + color3: 0 0 0 128; + visible: 1; + } + description { state: "weekend_style1" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color3: 255 255 255 0; + visible: 1; + } + } + part { + name: "text2"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: GLOW; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel1.offset: 0 -1; + rel2.to: "elm.text"; + rel2.offset: -1 -2; + text { + font: FN; + size: 10; + min: 1 1; + text_source: "elm.text"; + text_class: "button"; + } + color: FN_COL_HIGHLIGHT; + visible: 0; + } + description { state: "weekend_default" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "weekend_style1" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color2: 255 255 255 24; + color3: 255 255 255 18; + visible: 1; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "check,pressed"; + signal: "mouse,down,1"; source: "events"; + script { + set_int(check_state, DAYSELECOR_DAY_STATE_PRESSED); + check_bg_show(); + check_text_pressed(); + } + } + program { name: "check,toggle"; + signal: "mouse,up,1"; source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" "elm"; + } + program { name: "check,on"; + signal: "elm,state,check,on"; source: "elm"; + script { + set_int(check_state, DAYSELECOR_DAY_STATE_SELECTED); + check_bg_show(); + check_text_show(); + } + } + program { name: "check,off"; + signal: "elm,state,check,off"; source: "elm"; + script { + set_int(check_state, DAYSELECOR_DAY_STATE_DEFAULT); + check_bg_show(); + check_text_show(); + } + } + program { name: "check,left"; + signal: "elm,pos,check,left"; source: "elm"; + script { + set_int(check_pos, DAYSELECOR_DAY_POS_LEFT); + check_bg_show(); + } + } + program { name: "check,right"; + signal: "elm,pos,check,right"; source: "elm"; + script { + set_int(check_pos, DAYSELECOR_DAY_POS_RIGHT); + check_bg_show(); + } + } + program { name: "check,middle"; + signal: "elm,pos,check,middle"; source: "elm"; + script { + set_int(check_pos, DAYSELECOR_DAY_POS_MIDDLE); + check_bg_show(); + } + } + program { name: "check,weekday"; + signal: "elm,type,weekday,default"; source: "elm"; + script { + set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKDAY); + check_text_show(); + } + } + program { name: "check,weekend,default"; + signal: "elm,type,weekend,default"; source: "elm"; + script { + set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT); + check_text_show(); + } + } + program { name: "check,weekend,style1"; + signal: "elm,type,weekend,style1"; source: "elm"; + script { + set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1); + check_text_show(); + } + } + } +} + +#undef DAYSELECOR_DAY_POS_LEFT +#undef DAYSELECOR_DAY_POS_RIGHT +#undef DAYSELECOR_DAY_POS_MIDDLE +#undef DAYSELECOR_DAY_TYPE_WEEKDAY +#undef DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT +#undef DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 +#undef DAYSELECOR_DAY_STATE_DEFAULT +#undef DAYSELECOR_DAY_STATE_PRESSED +#undef DAYSELECOR_DAY_STATE_SELECTED +#undef DAYSELECTOR_DAY diff --git a/legacy/elementary/data/themes/edc/elm/diskselector.edc b/legacy/elementary/data/themes/edc/elm/diskselector.edc new file mode 100644 index 0000000000..72bfbd79e2 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/diskselector.edc @@ -0,0 +1,388 @@ +group { name: "elm/diskselector/base/default"; + images { + image: "bar_shine.png" COMP; + } + + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + color: 25 25 25 255; + } + } + part { name: "shine_center"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "bar_shine.png"; + color: 255 255 255 127; + } + } + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } +} + +group { name: "elm/diskselector/item/default"; + + data { + item: "len_threshold" "14"; + item: "display_item_num" "3"; + item: "min_height" "-1"; + item: "min_width" "-1"; + } + + parts { + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1 { + relative: 0 0; + offset: 1 1; + } + rel2 { + relative: 0 1; + offset: 1 -2; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + min: 10 10; + aspect: 1.0 1.0; + } + description { state: "default_small" 0.0; + inherit: "default" 0.0; + rel1.relative: 0 0.2; + rel2.relative: 0 0.8; + min: 10 10; + aspect: 1.0 1.0; + } + description { state: "left_side" 0.0; + inherit: "default" 0.0; + rel1.relative: 0 0.2; + rel2.relative: 0 0.8; + color: 255 255 255 160; + min: 10 10; + aspect: 1.0 1.0; + } + description { state: "right_side" 0.0; + inherit: "left_side" 0.0; + rel1.relative: 0.4 0.2; + rel2.relative: 0.4 0.8; + color: 255 255 255 160; + min: 10 10; + aspect: 1.0 1.0; + } + description { state: "icon_only" 0.0; + inherit: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0 0; + rel2.relative: 1 1; + min: 10 10; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1 0.0; + rel1.to_x: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + visible: 0; + text { + font: "Sans,Edje-Vera"; + size: 10; + align: 0.5 0.5; + min: 0 1; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_small" 0.0; + inherit: "default" 0.0; + visible: 1; + text.size: 10; + } + description { state: "left_side" 0.0; + inherit: "default" 0.0; + color: 127 127 127 255; + text.size: 8; + visible: 1; + text.align: 0.2 0.5; + } + description { state: "right_side" 0.0; + inherit: "default" 0.0; + color: 127 127 127 255; + visible: 1; + text.size: 8; + text.align: 0.8 0.5; + } + description { state: "text_only" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0 0; + rel2.relative: 1 1; + } + description { state: "text_only_left_side" 0.0; + inherit: "left_side" 0.0; + rel1.relative: 0 0; + rel2.relative: 1 1; + } + description { state: "text_only_right_side" 0.0; + inherit: "right_side" 0.0; + visible: 1; + rel1.relative: 0 0; + rel2.relative: 1 1; + } + } + part { name: "over1"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + + programs { + script { + public item_style; // 0:icon and text, 1:text only, 2:con only + } + program { name: "center_text"; + signal: "elm,state,center"; source: "elm"; + script { + if (get_int(item_style) == 1) + set_state(PART:"elm.text", "text_only", 0.0); + else if (get_int(item_style) == 2) + set_state(PART:"elm.swallow.icon", "icon_only", 0.0); + else + { + set_state(PART:"elm.text", "show", 0.0); + set_state(PART:"elm.swallow.icon", "show", 0.0); + } + } + } + program { name: "center_small_text"; + signal: "elm,state,center_small"; source: "elm"; + action: STATE_SET "default_small" 0.0; + target: "elm.text"; + target: "elm.swallow.icon"; + } + program { name: "l_side_text"; + signal: "elm,state,left_side"; source: "elm"; + script { + if (get_int(item_style) == 1) + set_state(PART:"elm.text", "text_only_left_side", 0.0); + else if (get_int(item_style) == 2) + set_state(PART:"elm.swallow.icon", "left_side", 0.0); + else + { + set_state(PART:"elm.text", "left_side", 0.0); + set_state(PART:"elm.swallow.icon", "left_side", 0.0); + } + } + } + program { name: "r_side_text"; + signal: "elm,state,right_side"; source: "elm"; + script { + if (get_int(item_style) == 1) + set_state(PART:"elm.text", "text_only_right_side", 0.0); + else if (get_int(item_style) == 2) + set_state(PART:"elm.swallow.icon", "right_side", 0.0); + else + { + set_state(PART:"elm.text", "right_side", 0.0); + set_state(PART:"elm.swallow.icon", "right_side", 0.0); + } + } + } + program { name: "icon_only"; + signal: "elm,state,icon,only"; source: "elm"; + script { + set_state(PART:"elm.swallow.icon", "icon_only", 0.0); + set_int(item_style, 2); + } + } + program { name: "text_only"; + signal: "elm,state,text,only"; source: "elm"; + script { + set_state(PART:"elm.text", "text_only", 0.0); + set_int(item_style, 1); + } + } + program { name: "text_icon"; + signal: "elm,state,text,icon"; source: "elm"; + script { + set_int(item_style, 0); + } + } + program { name: "field_click"; + signal: "mouse,clicked,1"; source: "over1"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +// diskselector item : datetime style +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/diskselector/item/datetime/default"; + data { + item: "len_threshold" "10"; + item: "min_height" "-1"; + item: "min_width" "-1"; + } + parts { + part { name: "elm.text"; type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 10 10; + align: 0.0 0.0; + color: 172 172 172 255; + visible: 1; + text { + font: "Sans,Edje-Vera"; + size: 10; + min: 1 1; + } + } + description { state: "center_sel" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "left_side" 0.0; + inherit: "default" 0.0; + color: 152 152 152 255; + text.align: 0.2 0.5; + } + description { state: "left_side_sel" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + text.align: 0.2 0.5; + } + description { state: "right_side" 0.0; + inherit: "default" 0.0; + color: 152 152 152 255; + text.align: 0.8 0.5; + } + description { state: "right_side_sel" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + text.align: 0.8 0.5; + } + } + part { name: "over1"; + type: RECT; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + script { + public field_pos; // center = 0,left = 1, right =2. + public field_selected; //field is selected(1) or not(0). + + public update_state() { + new pos, is_sel; + pos = get_int(field_pos) + is_sel = get_int(field_selected); + if (is_sel == 1) + { + if (pos == 0) + set_state(PART:"elm.text", "center_sel", 0.0); + else if (pos == 1) + set_state(PART:"elm.text", "left_side_sel", 0.0); + else if (pos == 2) + set_state(PART:"elm.text", "right_side_sel", 0.0); + } + else if (is_sel == 0) + { + if (pos == 0) + set_state(PART:"elm.text", "default", 0.0); + else if (pos == 1) + set_state(PART:"elm.text", "left_side", 0.0); + else if (pos == 2) + set_state(PART:"elm.text", "right_side", 0.0); + } + } + } + program { name: "selected_text"; + signal: "elm,state,selected"; source: "elm"; + script { + set_int(field_selected, 1); + update_state(); + } + } + program { name: "default_text"; + signal: "elm,state,default"; source: "elm"; + script { + set_int(field_selected, 0); + update_state(); + } + } + program { name: "center_text"; + signal: "elm,state,center"; source: "elm"; + script { + set_int(field_pos, 0); + update_state(); + } + } + program { name: "center_small_text"; + signal: "elm,state,center_small"; source: "elm"; + script { + set_int(field_pos, 0); + update_state(); + } + } + program { name: "l_side_text"; + signal: "elm,state,left_side"; source: "elm"; + script { + set_int(field_pos, 1); + update_state(); + } + } + program { name: "r_side_text"; + signal: "elm,state,right_side"; source: "elm"; + script { + set_int(field_pos, 2); + update_state(); + } + } + program { name: "field_click"; + signal: "mouse,clicked,1"; source: "over1"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/entry.edc b/legacy/elementary/data/themes/edc/elm/entry.edc new file mode 100644 index 0000000000..239287dcae --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/entry.edc @@ -0,0 +1,1208 @@ +group { name: "elm/scroller/entry/default"; + inherit: "elm/scroller/base/default"; + image: "bg_glow_in.png" COMP; + parts { + part { name: "bg"; + description { state: "default" 0.0; + color: DARK_GREY_BG_COLOR; + } + } + part { name: "elm.swallow.content"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.end"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.offset: 1 1; + rel2.offset: 1 -2; + rel2.relative: 0.0 1.0; + visible: 0; + align: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.0 0.0; + } + } + program { + signal: "elm,action,show,icon"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { + signal: "elm,action,hide,icon"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + part { name: "elm.swallow.end"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.offset: -2 1; + rel1.relative: 1.0 0.0; + rel2.offset: -2 -2; + visible: 0; + align: 0.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 0.0; + } + } + program { + signal: "elm,action,show,end"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { + signal: "elm,action,hide,end"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + part { name: "glow"; + insert_after: "shadow"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "bg_glow_in.png"; + image.border: 7 7 7 7; + image.middle: 0; + fill.smooth: 0; + color: 255 255 255 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "focused2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { + signal: "elm,action,focus_highlight,show"; source: "elm"; + action: STATE_SET "focused" 0.0; + target: "glow"; + after: "focus_in2"; + } + program { name: "focus_in2"; + action: STATE_SET "focused2" 0.0; + transition: DECELERATE 0.5; + target: "glow"; + } + program { + signal: "elm,action,focus_highlight,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "glow"; + } + } +} + +group { name: "elm/scroller/entry_single/default"; + images.image: "bevel_in.png" COMP; + images.image: "inset_shadow.png" COMP; + image: "bg_glow_in.png" COMP; + + data.item: "focus_highlight" "on"; + + parts { + part { name: "sb_vbar_base"; type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel2.relative: 1.0 0.0; + visible: 0; + } + } + part { name: "elm.dragable.vbar"; type: RECT; + dragable.x: 0 0 0; + dragable.y: 1 1 0; + dragable.confine: "sb_vbar_base"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel1.to: "sb_vbar_base"; + rel2.relative: 0.5 0.5; + rel2.to: "sb_vbar_base"; + visible: 0; + } + } + part { name: "sb_hbar_base"; type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 1.0 0.0; + visible: 0; + } + } + part { name: "elm.dragable.hbar"; type: RECT; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "sb_hbar_base"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel1.to: "sb_hbar_base"; + rel2.relative: 0.5 0.5; + rel2.to: "sb_hbar_base"; + visible: 0; + } + } + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.background"; + rel2.to: "elm.swallow.background"; + color: DARK_GREY_BG_COLOR; + color_class: "scrollframe_base"; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.background"; + rel2.to: "elm.swallow.background"; + } + } + part { name: "elm.swallow.background"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel2.to: "elm.swallow.end"; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.offset: 1 1; + rel2.offset: 1 -2; + rel2.relative: 0.0 1.0; + visible: 0; + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.0 0.5; + } + } + program { + signal: "elm,action,show,icon"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { + signal: "elm,action,hide,icon"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + part { name: "elm.swallow.end"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.offset: -2 1; + rel1.relative: 1.0 0.0; + rel2.offset: -2 -2; + visible: 0; + align: 0.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 1.0 0.5; + } + } + program { + signal: "elm,action,show,end"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { + signal: "elm,action,hide,end"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + 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: "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: "elm.swallow.overlay"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "glow"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "bg_glow_in.png"; + image.border: 7 7 7 7; + image.middle: 0; + fill.smooth: 0; + color: 255 255 255 0; + } + description { state: "focused" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "focused2" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + program { + signal: "elm,action,focus_highlight,show"; source: "elm"; + action: STATE_SET "focused" 0.0; + target: "glow"; + after: "focus_in2"; + } + program { name: "focus_in2"; + action: STATE_SET "focused2" 0.0; + transition: DECELERATE 0.5; + target: "glow"; + } + program { + signal: "elm,action,focus_highlight,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "glow"; + } + } +} + +group { name: "elm/entry/cursor/default"; + 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: "elm,action,focus"; source: "elm"; + action: ACTION_STOP; + target: "cursor_show"; + target: "cursor_hide"; + target: "cursor_show_timer"; + target: "cursor_hide_timer"; + after: "cursor_show"; + } + program { + signal: "elm,action,unfocus"; source: "elm"; + 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: "elm/entry/selection/default"; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 51 153 255 255; + } + } + } +} + +group { name: "elm/entry/anchor/default"; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + parts { + part { name: "bar"; + description { state: "default" 0.0; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + rel1.relative: 0.0 1.0; + rel1.offset: -3 -5; + rel2.offset: 2 4; + } + } + } +} + +group { name: "elm/entry/base/default"; + sounds { + sample { name: "key-tap1" LOSSY 64; + source: "kbd-tap.wav"; + } + sample { name: "key-tap2" LOSSY 64; + source: "kbd-tap2.wav"; + } + sample { name: "key-tap3" LOSSY 64; + source: "kbd-tap3.wav"; + } + sample { name: "key-tap4" LOSSY 64; + source: "kbd-tap4.wav"; + } + sample { name: "key-tap5" LOSSY 64; + source: "kbd-tap5.wav"; + } + } + + styles { + style { name: "entry_style"; + base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=word text_class=entry color_class=entry left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff"; + tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff"; + } + style { name: "entry_disabled_style"; + base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=word text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff88"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888"; + } + style { name: "entry_guide_style"; + base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=word text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } +// data.item: "context_menu_orientation" "horizontal"; + parts { + part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { style: "entry_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; + entry_mode: EDITABLE; + select_mode: DEFAULT; +// XXX: set BLOCK_HANDLE ONLY if in mobile mode... +// select_mode: BLOCK_HANDLE; + +// select_mode: EXPLICIT; + cursor_mode: BEFORE; + multiline: 1; + source: "elm/entry/selection/default"; // selection under +// source2: "X"; // selection over +// source3: "X"; // cursor under + source4: "elm/entry/cursor/default"; // cursorover +// source5: "elm/entry/anchor/default"; // anchor under + source6: "elm/entry/anchor/default"; // anchor over + source7: "elm/entry/handler/start/default"; + source8: "elm/entry/handler/end/default"; + description { state: "default" 0.0; + /* we gotta use 0 0 here, because of scrolled entries */ + fixed: 0 0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + text { style: "entry_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style"; + min: 0 1; + } + } + } + } + programs { + program { + signal: "load"; source: ""; + action: FOCUS_SET; + target: "elm.text"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + signal: "elm,guide,disabled"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.guide"; + } + program { + signal: "elm,guide,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.guide"; + } + program { name: "key-down"; + signal: "entry,keydown"; source: "elm.text"; + script { + new buf[32]; + snprintf(buf, 31, "key-down%i", (rand() % 5) + 1); + run_program(get_program_id(buf)); + } + } + program { name: "key-down1"; + action: PLAY_SAMPLE "key-tap1" 1.0; + } + program { name: "key-down2"; + action: PLAY_SAMPLE "key-tap2" 1.0; + } + program { name: "key-down3"; + action: PLAY_SAMPLE "key-tap3" 1.0; + } + program { name: "key-down4"; + action: PLAY_SAMPLE "key-tap4" 1.0; + } + program { name: "key-down5"; + action: PLAY_SAMPLE "key-tap5" 1.0; + } + } +} + +group { name: "elm/entry/base-mixedwrap/default"; + inherit: "elm/entry/base/default"; + styles { + style { name: "entry_style_mixedwrap"; + base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=mixed text_class=entry color_class=entry left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff"; + tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff"; + } + style { name: "entry_disabled_style_mixedwrap"; + base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=mixed text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff88"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888"; + } + style { name: "entry_guide_style_mixedwrap"; + base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=mixed text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { style: "entry_guide_style_mixedwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + fixed: 1 0; + text { style: "entry_style_mixedwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style_mixedwrap"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base-charwrap/default"; + inherit: "elm/entry/base/default"; + styles { + style { name: "entry_style_charwrap"; + base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=char text_class=entry color_class=entry left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff"; + tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff"; + } + style { name: "entry_disabled_style_charwrap"; + base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=char text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff88"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888"; + } + style { name: "entry_guide_style_charwrap"; + base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=char text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { style: "entry_guide_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + fixed: 1 0; + text { style: "entry_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style_charwrap"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base-nowrap/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { style: "entry_guide_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + text { style: "entry_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/entry/base-single/default"; + inherit: "elm/entry/base/default"; + styles { + style { name: "entry_single_style"; + base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=none text_class=entry color_class=entry left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff"; + tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff"; + } + style { name: "entry_single_disabled_style"; + base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=none text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; + tag: "em" "+ font_style=Oblique"; + tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88"; + tag: "hilight" "+ font_weight=Bold"; + tag: "preedit" "+ underline=on underline_color=#3399ff88"; + tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888"; + } + style { name: "entry_single_guide_style"; + base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=none text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; + tag: "em" "+ font_style=Oblique"; + tag: "hilight" "+ font_weight=Bold"; + } + } + parts { + part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { style: "entry_single_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + multiline: 0; + description { state: "default" 0.0; + text { style: "entry_single_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_single_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-single-noedit/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source6: "elm/entry/anchor/default"; // anchor over + description { state: "default" 0.0; + text { style: "entry_single_style"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_single_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-noedit/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source6: "elm/entry/anchor/default"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + text { style: "entry_style"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-noedit-mixedwrap/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source6: "elm/entry/anchor/default"; // anchor over + description { state: "default" 0.0; + fixed: 1 0; + text { style: "entry_style_mixedwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style_mixedwrap"; + } + } + } + } +} + +group { name: "elm/entry/base-noedit-charwrap/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source6: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + fixed: 1 0; + text { style: "entry_style_charwrap"; + min: 0 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style_charwrap"; + } + } + } + } +} + +group { name: "elm/entry/base-nowrap-noedit/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.text"; + entry_mode: PLAIN; + source: "elm/entry/selection/default"; // selection under + source4: ""; // cursorover + source6: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { style: "entry_style"; + min: 1 1; + align: 0.0 0.0; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/base-password/default"; + inherit: "elm/entry/base/default"; + parts { + part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { style: "entry_single_guide_style"; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text"; + entry_mode: PASSWORD; + multiline: 0; + source: "elm/entry/selection/default"; // selection under + source4: "elm/entry/cursor/default"; // cursorover + source6: "elm/entry/anchor/default"; // anchor under + description { state: "default" 0.0; + text { style: "entry_single_style"; + repch: "*"; + min: 1 1; + max: 0 0; + align: 0.0 0.5; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text { style: "entry_single_disabled_style"; + } + } + } + } +} + +group { name: "elm/entry/magnifier/default"; + images.image: "frame_rounded.png" COMP; + parts { + part { name: "bg"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel1.to: "over"; + rel2.offset: -11 -11; + rel2.to: "over"; + color: 48 48 48 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel1.to: "over"; + rel2.offset: -11 -11; + rel2.to: "over"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "over"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 128 64; + image.normal: "frame_rounded.png"; + image.border: 14 14 14 14; + image.middle: 0; + fill.smooth: 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { name: "magnifier_show"; + signal: "elm,action,show,magnifier"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "bg"; + target: "over"; + } + program { name: "magnifier_hide"; + signal: "elm,action,hide,magnifier"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.content"; + target: "bg"; + target: "over"; + } + } +} + +group { name: "elm/entry/handler/start/default"; + images.image: "handle_pick_up_left.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 21 27; // 42 54 + image.normal: "handle_pick_up_left.png"; + align: (29/42) (11/54); + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "base"; + rel2.to: "base"; + min: 32 32; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "edje,handler,show"; source: "edje"; + action: STATE_SET "visible" 0.0; + target: "base"; + target: "event"; + } + program { + signal: "edje,handler,hide"; source: "edje"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "event"; + } + } +} + +group { name: "elm/entry/handler/end/default"; + images.image: "handle_pick_up_right.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 21 27; // 42 54 + image.normal: "handle_pick_up_right.png"; + align: (12/42) (11/54); + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "base"; + rel2.to: "base"; + min: 32 32; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "edje,handler,show"; source: "edje"; + action: STATE_SET "visible" 0.0; + target: "base"; + target: "event"; + } + program { + signal: "edje,handler,hide"; source: "edje"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "event"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// +// emoticon images from: +// Tanya - Latvia +// http://lazycrazy.deviantart.com/ +// http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621 +group { name: "elm/entry/emoticon/angry/default"; images.image: + "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-angry.png"; } } } } +group { name: "elm/entry/emoticon/angry-shout/default"; images.image: + "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-angry-shout.png"; } } } } +group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image: + "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-crazy-laugh.png"; } } } } +group { name: "elm/entry/emoticon/evil-laugh/default"; images.image: + "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-evil-laugh.png"; } } } } +group { name: "elm/entry/emoticon/evil/default"; images.image: + "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-evil.png"; } } } } +group { name: "elm/entry/emoticon/goggle-smile/default"; images.image: + "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-goggle-smile.png"; } } } } +group { name: "elm/entry/emoticon/grumpy/default"; images.image: + "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-grumpy.png"; } } } } +group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image: + "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-grumpy-smile.png"; } } } } +group { name: "elm/entry/emoticon/guilty/default"; images.image: + "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-guilty.png"; } } } } +group { name: "elm/entry/emoticon/guilty-smile/default"; images.image: + "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-guilty-smile.png"; } } } } +group { name: "elm/entry/emoticon/haha/default"; images.image: + "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-haha.png"; } } } } +group { name: "elm/entry/emoticon/half-smile/default"; images.image: + "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-half-smile.png"; } } } } +group { name: "elm/entry/emoticon/happy-panting/default"; images.image: + "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-happy-panting.png"; } } } } +group { name: "elm/entry/emoticon/happy/default"; images.image: + "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-happy.png"; } } } } +group { name: "elm/entry/emoticon/indifferent/default"; images.image: + "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-indifferent.png"; } } } } +group { name: "elm/entry/emoticon/kiss/default"; images.image: + "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-kiss.png"; } } } } +group { name: "elm/entry/emoticon/knowing-grin/default"; images.image: + "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-knowing-grin.png"; } } } } +group { name: "elm/entry/emoticon/laugh/default"; images.image: + "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-laugh.png"; } } } } +group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image: + "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-little-bit-sorry.png"; } } } } +group { name: "elm/entry/emoticon/love-lots/default"; images.image: + "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-love-lots.png"; } } } } +group { name: "elm/entry/emoticon/love/default"; images.image: + "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-love.png"; } } } } +group { name: "elm/entry/emoticon/minimal-smile/default"; images.image: + "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-minimal-smile.png"; } } } } +group { name: "elm/entry/emoticon/not-happy/default"; images.image: + "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-not-happy.png"; } } } } +group { name: "elm/entry/emoticon/not-impressed/default"; images.image: + "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-not-impressed.png"; } } } } +group { name: "elm/entry/emoticon/omg/default"; images.image: + "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-omg.png"; } } } } +group { name: "elm/entry/emoticon/opensmile/default"; images.image: + "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-opensmile.png"; } } } } +group { name: "elm/entry/emoticon/smile/default"; images.image: + "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-smile.png"; } } } } +group { name: "elm/entry/emoticon/sorry/default"; images.image: + "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-sorry.png"; } } } } +group { name: "elm/entry/emoticon/squint-laugh/default"; images.image: + "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-squint-laugh.png"; } } } } +group { name: "elm/entry/emoticon/surprised/default"; images.image: + "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-surprised.png"; } } } } +group { name: "elm/entry/emoticon/suspicious/default"; images.image: + "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-suspicious.png"; } } } } +group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image: + "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-tongue-dangling.png"; } } } } +group { name: "elm/entry/emoticon/tongue-poke/default"; images.image: + "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-tongue-poke.png"; } } } } +group { name: "elm/entry/emoticon/uh/default"; images.image: + "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-uh.png"; } } } } +group { name: "elm/entry/emoticon/unhappy/default"; images.image: + "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-unhappy.png"; } } } } +group { name: "elm/entry/emoticon/very-sorry/default"; images.image: + "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-very-sorry.png"; } } } } +group { name: "elm/entry/emoticon/what/default"; images.image: + "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-what.png"; } } } } +group { name: "elm/entry/emoticon/wink/default"; images.image: + "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-wink.png"; } } } } +group { name: "elm/entry/emoticon/worried/default"; images.image: + "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-worried.png"; } } } } +group { name: "elm/entry/emoticon/wtf/default"; images.image: + "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: + "emo-wtf.png"; } } } } +//------------------------------------------------------------ diff --git a/legacy/elementary/data/themes/edc/elm/fileselector.edc b/legacy/elementary/data/themes/edc/elm/fileselector.edc new file mode 100644 index 0000000000..471aca7509 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/fileselector.edc @@ -0,0 +1,204 @@ +group { name: "elm/entry/path/separator/default"; + images.image: "sym_right_glow_normal.png" COMP; + parts { + part { name: "icon"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + FIXED_SIZE(15, 15) + aspect: 1.0 1.0; + } + } + } +} + +group { name: "elm/fileselector/base/default"; + data.item: "path_separator" ""; + parts { + part { name: "elm.swallow.up"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + min: 5 5; + rel1.offset: 3 3; + rel2.relative: 0.0 0.0; + rel2.offset: 3 3; + } + } + part { name: "elm.swallow.home"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.0; + min: 5 5; + rel1 { + to: "elm.swallow.up"; + relative: 1.0 0.0; + offset: 3 0; + } + rel2 { + to: "elm.swallow.up"; + relative: 1.0 1.0; + offset: 3 -1; + } + } + } + part { name: "elm.spinner.clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.spinner"; + rel2.to: "elm.swallow.spinner"; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.spinner"; type: SWALLOW; + clip_to: "elm.spinner.clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.0; + min: 5 5; + rel1.relative: 1.0 0.0; + rel1.offset: -4 3; + rel2.relative: 1.0 0.0; + rel2.offset: -4 3; + } + } + part { name: "elm.swallow.files"; type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + min: 10 10; + rel1 { + to_y: "elm.swallow.home"; + relative: 0.0 1.0; + offset: 3 3; + } + rel2 { + to_y: "elm.swallow.path"; + relative: 1.0 0.0; + offset: -4 -4; + } + } + } + part { name: "elm.swallow.path"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + to_y: "elm.swallow.filename"; + relative: 0.0 0.0; + offset: 3 -4; + } + rel2 { + to_y: "elm.swallow.filename"; + relative: 1.0 0.0; + offset: -4 -4; + } + } + } + part { name: "elm.swallow.filename"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 1.0; + rel1 { + to_y: "elm.swallow.filters"; + relative: 0.0 0.0; + offset: 3 -4; + } + rel2 { + to_y: "elm.swallow.filters"; + relative: 1.0 0.0; + offset: -4 -4; + } + } + } + part { name: "elm.swallow.filters"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + to_y: "elm.swallow.ok"; + relative: 1.0 0.0; + offset: -4 -4; + } + rel2 { + to_y: "elm.swallow.ok"; + relative: 1.0 0.0; + offset: -4 -4; + } + } + } + part { name: "elm.swallow.cancel"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + to: "elm.swallow.ok"; + relative: 0.0 0.0; + offset: -4 0; + } + rel2 { + to: "elm.swallow.ok"; + relative: 0.0 1.0; + offset: -4 -1; + } + } + } + part { name: "elm.swallow.ok"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + rel1.offset: -4 -4; + rel2.relative: 1.0 1.0; + rel2.offset: -4 -4; + } + } + } + programs { + program { + signal: "elm,action,spinner,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.2; + target: "elm.spinner.clip"; + } + program { + signal: "elm,action,spinner,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5 CURRENT; + target: "elm.spinner.clip"; + } +// program { +// signal: "elm,state,save,on"; source: "elm"; +// } +// program { +// signal: "elm,state,save,off"; source: "elm"; +// } + } +} + +group { name: "elm/fileselector_entry/base/default"; + parts { + part { name: "elm.swallow.entry"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + min: 50 10; + rel2 { to_x: "elm.swallow.button"; + relative: 0.0 1.0; + offset: -1 -1; + } + } + } + part { name: "elm.swallow.button"; type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + min: 10 10; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -21 0; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/flipselector.edc b/legacy/elementary/data/themes/edc/elm/flipselector.edc new file mode 100644 index 0000000000..9087f678cd --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/flipselector.edc @@ -0,0 +1,558 @@ +#define FLIP_PICKER_MAX_LEN (50) +#define FLIP_PICKER_MAX_LEN_STR "50" + +group { name: "elm/flipselector/base/default"; + images.image: "flip_shad.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_down_light_normal.png" COMP; + images.image: "sym_up_dark_normal.png" COMP; + images.image: "sym_down_dark_normal.png" COMP; + images.image: "shine.png" COMP; + images.image: "win_shadow.png" COMP; + images.image: "bevel_out.png" COMP; + + data.item: "max_len" FLIP_PICKER_MAX_LEN_STR; + + //FIXME: quick successive clicks on, say, up, lead to nastiness + script { + public cur, prev, next, lock; + +  flip_up(str[]) { + new tmp[FLIP_PICKER_MAX_LEN]; + if (get_int(lock) == 1) { + replace_str(next, 0, str); + return; + } + fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); + + set_text(PART:"bottom_text_prev", tmp); + set_state(PART:"elm.top", "shrink", 0.0); + set_text(PART:"elm.top", tmp); + set_state(PART:"elm.top", "default", 0.0); + set_text(PART:"elm.top", tmp); + + replace_str(prev, 0, tmp); + + set_state(PART:"elm.bottom", "default", 0.0); + set_text(PART:"elm.bottom", str); + set_state(PART:"elm.bottom", "shrink", 0.0); + set_text(PART:"elm.bottom", str); + set_text(PART:"top_text_prev", str); + + replace_str(cur, 0, str); + + set_state(PART:"bottom_cur", "shrink", 0.0); + set_state(PART:"top_cur", "default", 0.0); + + set_int(lock, 1); + set_state(PART:"bottom_shadow", "default", 0.0); + anim(0.2, "animator_top_down", 1); + } +  flip_dn(str[]) { + new tmp[FLIP_PICKER_MAX_LEN]; + if (get_int(lock) == 1) { + replace_str(next, 0, str); + return; + } + + fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); + + set_text(PART:"top_text_prev", tmp); + set_state(PART:"elm.bottom", "shrink", 0.0); + set_text(PART:"elm.bottom", tmp); + set_state(PART:"elm.bottom", "default", 0.0); + set_text(PART:"elm.bottom", tmp); + + replace_str(prev, 0, tmp); + + set_state(PART:"elm.top", "default", 0.0); + set_text(PART:"elm.top", str); + set_state(PART:"elm.top", "shrink", 0.0); + set_text(PART:"elm.top", str); + set_text(PART:"bottom_text_prev", str); + + replace_str(cur, 0, str); + + set_state(PART:"bottom_cur", "default", 0.0); + set_state(PART:"top_cur", "shrink", 0.0); + + set_int(lock, 1); + set_state(PART:"bottom_shadow", "full", 0.0); + anim(0.2, "animator_bottom_up", 1); + } + public animator_bottom_down(val, Float:pos) { + new tmp[FLIP_PICKER_MAX_LEN]; + + set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"bottom_cur", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "full", 0.0); + set_state(PART:"bottom_shine_cur", "visible", 0.0); + + if (pos >= 1.0) { + set_state(PART:"bottom_shadow", "default", 0.0); + set_state(PART:"bottom_shine_cur", "default", 0.0); + set_int(lock, 0); + fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); + if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { + replace_str(next, 0, ""); + flip_up(tmp); + } + } + } + public animator_top_down(val, Float:pos) { + set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"top_cur", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"bottom_shadow", pos, "default", 0.0, "half", + 0.0); + if (pos >= 1.0) + { + set_state(PART:"top_shine_cur", "default", 0.0); + anim(0.2, "animator_bottom_down", val); + } + } + public animator_bottom_up(val, Float:pos) { + set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"bottom_cur", pos, "default", 0.0, "shrink", 0.0); + set_tween_state(PART:"bottom_shadow", pos, "full", 0.0, "half", 0.0); + + if (pos >= 1.0) anim(0.2, "animator_top_up", val); + } + public animator_top_up(val, Float:pos) { + new tmp[FLIP_PICKER_MAX_LEN]; + + set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"top_cur", pos, "shrink", 0.0, "default", 0.0); + set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "default", + 0.0); + set_state(PART:"top_shine_cur", "visible", 0.0); + + if (pos >= 1.0) { + set_state(PART:"bottom_shadow", "default", 0.0); + set_int(lock, 0); + + fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); + if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { + replace_str(next, 0, ""); + flip_dn(tmp); + } + } + } + public message(Msg_Type:type, id, ...) { + /* flip down */ + if ((type == MSG_STRING) && (id == 1)) { + new value[FLIP_PICKER_MAX_LEN]; + snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); + flip_up(value); + /* flip up */ + } else if ((type == MSG_STRING) && (id == 2)) { + new value[FLIP_PICKER_MAX_LEN]; + snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); + flip_dn(value); + } + } + } + parts { + part { name: "base_shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "base"; + rel1.offset: -7 -3; + rel2.to: "base"; + rel2.offset: 6 11; + fill.smooth: 0; + } + } + part { name: "base"; type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 6 6; + rel2.offset: -7 -7; + } + } + part { name: "bottom"; type: RECT; + description { state: "default" 0.0; + rel1 { to: "base"; relative: 0.0 0.5; } + rel2.to: "base"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "top"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2 { to: "base"; relative: 1.0 0.5; } + color: 0 0 0 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bottom_prev"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + color: 72 72 72 255; + } + } + part { name: "bottom_text_prev"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + clip_to: "bottom_clipper"; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "base"; + rel1.to_y: "arrow_top"; + rel1.relative: 0.0 0.7; + rel1.offset: 2 0; + rel2.to: "base"; + rel2.to_y: "arrow_bottom"; + rel2.relative: 1.0 0.3; + rel2.offset: -3 -1; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + } + color: FN_COL_DEFAULT; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + } + } + part { name: "bottom_shadow"; mouse_events: 0; + clip_to: "bottom_clipper"; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel2 { to: "bottom"; relative: 1.0 0.0; } + image.normal: "flip_shad.png"; + fill.smooth: 0; + } + description { state: "half" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + } + description { state: "full" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 2.0; + } + } + part { name: "bottom_cur"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + color: 72 72 72 255; + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "bottom_shine_cur"; mouse_events: 0; + description { state: "default" 0.0; + rel1 { to: "bottom_cur"; relative: 0 1; } + rel2.to: "bottom_cur"; + image.normal: "shine.png"; + min: 0 1; + fixed: 0 1; + align: 0.5 1; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.bottom"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + clip_to: "bottom_clipper"; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "base"; + rel1.to_y: "arrow_top"; + rel1.relative: 0.0 0.7; + rel1.offset: 2 0; + rel2.to: "base"; + rel2.to_y: "arrow_bottom"; + rel2.relative: 1.0 0.3; + rel2.offset: -3 -1; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + } + color: FN_COL_DEFAULT; + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + color: 128 128 128 255; + visible: 0; + rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */ + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + } + } + part { name: "top_prev"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "top"; + color: 56 56 56 255; + } + } + part { name: "top_text_prev"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + clip_to: "top_clipper"; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "base"; + rel1.to_y: "arrow_top"; + rel1.relative: 0.0 0.7; + rel1.offset: 2 0; + rel2.to: "base"; + rel2.to_y: "arrow_bottom"; + rel2.relative: 1.0 0.3; + rel2.offset: -3 -1; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + source: "elm.top"; + } + color: 192 192 192 255; + color3: 0 0 0 128; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 16 16 16 255; + color3: 255 255 255 25; + } + } + part { name: "top_shine_prev"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "top_prev"; + rel2 { to: "top_prev"; relative: 1 0; } + image.normal: "shine.png"; + min: 0 1; + fixed: 0 1; + align: 0.5 0; + } + } + part { name: "top_cur"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "top"; + color: 56 56 56 255; + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + color: 40 40 40 255; + } + } + part { name: "elm.top"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + clip_to: "top_clipper"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 2 2; + rel2.to: "base"; + rel2.offset: -3 -3; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + } + color: 192 192 192 255; + color3: 0 0 0 128; + } + description { state: "shrink" 0.0; + inherit: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.5; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 16 16 16 255; + color3: 255 255 255 25; + } + } + part { name: "top_shine_cur"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "top_cur"; + rel2 { to: "top_cur"; relative: 1 0; } + image.normal: "shine.png"; + min: 0 1; + fixed: 0 1; + align: 0.5 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + 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: "arrow_top"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + align: 0.5 0.0; + rel1.to: "top"; + rel2.to: "top"; + image.normal: "sym_up_light_normal.png"; + color: 192 192 192 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "sym_up_dark_normal.png"; + } + } + part { name: "arrow_bottom"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 15 15; + max: 15 15; + align: 0.5 1.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + image.normal: "sym_down_light_normal.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "sym_down_dark_normal.png"; + } + } + part { name: "top_clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "top"; + rel2.to: "top"; + } + } + part { name: "bottom_clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + } + } + part { name: "event_blocker"; 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: "load"; source: ""; + script { + append_str(cur, ""); + append_str(prev, ""); + append_str(next, ""); + set_int(lock, 0); + } + } + program { + signal: "elm,state,button,hidden"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "arrow_top"; + target: "arrow_bottom"; + target: "top"; + target: "bottom"; + } + program { + signal: "elm,state,button,visible"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow_top"; + target: "arrow_bottom"; + target: "top"; + target: "bottom"; + } + program { name: "up"; + signal: "mouse,down,1"; source: "top"; + action: SIGNAL_EMIT "elm,action,up,start" "elm"; + } + program { name: "up,stop"; + signal: "mouse,up,1"; source: "top"; + action: SIGNAL_EMIT "elm,action,up,stop" "elm"; + } + program { name: "down"; + signal: "mouse,down,1"; source: "bottom"; + action: SIGNAL_EMIT "elm,action,down,start" "elm"; + } + program { name: "down,stop"; + signal: "mouse,up,1"; source: "bottom"; + action: SIGNAL_EMIT "elm,action,down,stop" "elm"; + } + program { name: "disable"; + signal: "elm,state,disabled"; source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"event_blocker", "disabled", 0.0); + set_state(PART:"elm.bottom", "disabled", 0.0); + set_state(PART:"elm.top", "disabled", 0.0); + set_state(PART:"bottom_text_prev", "disabled", 0.0); + set_state(PART:"top_text_prev", "disabled", 0.0); + + get_state(PART:"arrow_bottom", st, 30, vl); + if (strcmp(st, "hidden")) + set_state(PART:"arrow_bottom", "disabled", 0.0); + + get_state(PART:"arrow_top", st, 30, vl); + if (strcmp(st, "hidden")) + set_state(PART:"arrow_top", "disabled", 0.0); + + get_state(PART:"top_cur", st, 30, vl); + if (strcmp(st, "shrink")) + set_state(PART:"top_shine_cur", "visible", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; source: "elm"; + script { + new st[31]; + new Float:vl; + set_state(PART:"event_blocker", "default", 0.0); + set_state(PART:"elm.bottom", "default", 0.0); + set_state(PART:"elm.top", "default", 0.0); + set_state(PART:"bottom_text_prev", "default", 0.0); + set_state(PART:"top_text_prev", "default", 0.0); + + get_state(PART:"arrow_bottom", st, 30, vl); + if (strcmp(st, "hidden")) + set_state(PART:"arrow_bottom", "default", 0.0); + + get_state(PART:"arrow_top", st, 30, vl); + if (strcmp(st, "hidden")) + set_state(PART:"arrow_top", "default", 0.0); + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/focus.edc b/legacy/elementary/data/themes/edc/elm/focus.edc new file mode 100644 index 0000000000..4e9563bfe9 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/focus.edc @@ -0,0 +1,152 @@ +group { name: "elm/focus_highlight/top/default"; + images.image: "box_glow.png" COMP; + images.image: "box_outline.png" COMP; + data.item: "animate" "on"; + script { + public s_x, s_y, s_w, s_h; /* source */ + public difx, dify, difw, difh; + + public animator1(val, Float:pos) { + new x, y, w, h, dx, dy, dw, dh, Float:p; + p = 1.0 - ((1.0 - pos) * (1.0 - pos) * (1.0 - pos)); + dx = round(float_mul(float(get_int(difx)), p)); + x = get_int(s_x) + dx; + dy = round(float_mul(float(get_int(dify)), p)); + y = get_int(s_y) + dy; + dw = round(float_mul(float(get_int(difw)), p)); + w = get_int(s_w) + dw; + dh = round(float_mul(float(get_int(difh)), p)); + h = get_int(s_h) + dh; + update_offset(x, y, w, h); + } + + public update_offset(x, y, w, h) { + set_state_val(PART:"base", STATE_REL1_OFFSET, x, y); + set_state_val(PART:"base", STATE_REL2_OFFSET, x + w, y + h); + } + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 1)) { + new x1, y1, w1, h1, x2, y2, w2, h2; + + x1 = getarg(2); + y1 = getarg(3); + w1 = getarg(4); + h1 = getarg(5); + x2 = getarg(6); + y2 = getarg(7); + w2 = getarg(8); + h2 = getarg(9); + + set_int(s_x, x1); + set_int(s_y, y1); + set_int(s_w, w1); + set_int(s_h, h1); + set_int(difx, x2 - x1); + set_int(dify, y2 - y1); + set_int(difw, w2 - w1); + set_int(difh, h2 - h1); + + custom_state(PART:"base", "default", 0.0); + set_state_val(PART:"base", STATE_REL1, 0.0, 0.0); + set_state_val(PART:"base", STATE_REL2, 0.0, 0.0); + update_offset(x1, y1, w1, h1); + set_state(PART:"base", "custom", 0.0); + + anim(0.2, "animator1", 1); + } + } + } + parts { + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "glow"; + rel2.to: "glow"; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "glow"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "box_glow.png"; + image.border: 12 12 12 12; + image.middle: 0; + fill.smooth: 0; + rel1.to: "base"; + rel1.offset: -7 -7; + rel2.to: "base"; + rel2.offset: 5 5; + } + } + part { name: "sel"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "box_outline.png"; + image.border: 12 12 12 12; + image.middle: 0; + fill.smooth: 0; + rel1.to: "glow"; + rel2.to: "glow"; + color: 255 255 255 0; + } + description { state: "hi" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + program { + signal: "elm,action,focus,show"; source: "elm"; + action: ACTION_STOP; + target: "pulse"; + target: "pulse2"; + after: "go2"; + } + program { name: "go2"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.2; + target: "clip"; + after: "pulse"; + after: "go3"; + } + program { name: "go3"; + action: SIGNAL_EMIT "elm,action,focus,show,end" "elm"; + } + program { + signal: "elm,action,focus,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.4; + target: "clip"; + after: "stop2"; + } + program { name: "stop2"; + action: SIGNAL_EMIT "elm,action,focus,hide,end" "elm"; + after: "stop3"; + } + program { name: "stop3"; + action: ACTION_STOP; + target: "pulse"; + target: "pulse2"; + } + program { name: "pulse"; + action: STATE_SET "hi" 0.0; + transition: SINUSOIDAL 0.2; + in: 3.0 0.0; + target: "sel"; + after: "pulse2"; + } + program { name: "pulse2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.4; + target: "sel"; + after: "pulse"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/frame.edc b/legacy/elementary/data/themes/edc/elm/frame.edc new file mode 100644 index 0000000000..42e495a0c1 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/frame.edc @@ -0,0 +1,286 @@ +group { name: "elm/frame/base/default"; + 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: "elm.text"; + 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: "elm.text"; + rel2.offset: 4 -1; + rel2.relative: 0.0 1.0; + rel2.to_y: "elm.text"; + 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: "elm.text"; + rel1.relative: 1.0 0.0; + rel2.offset: -5 -1; + rel2.relative: 1.0 1.0; + rel2.to_y: "elm.text"; + align: 1.0 0.5; + FIXED_SIZE(3, 11) + } + } + part { name: "elm.text"; 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: FNBD; size: 10; + text_class: "frame"; + align: 0.0 0.0; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 0; + rel1.to_y: "elm.text"; + rel2.offset: -6 -6; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 0; + rel1.to_y: "elm.text"; + rel2.offset: -6 -6; + } + description { state: "collapsed" 0.0; + inherit: "default" 0.0; + minmul: 1.0 0.0; + } + } + 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; + } + } + part { name: "event"; type: RECT; ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + } + } + programs { + program { name: "collapse"; + action: STATE_SET "collapsed" 0.0; + target: "elm.swallow.content"; + transition: ACCELERATE 0.3; + after: "signal"; + } + program { name: "expand"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + transition: DECELERATE 0.3; + after: "signal"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { + signal: "elm,action,toggle"; source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) + run_program(PROGRAM:"collapse"); + else + run_program(PROGRAM:"expand"); + } + } + program { + signal: "elm,action,switch"; source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"elm.swallow.content", "collapsed", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + } + } + program { name: "signal"; + action: SIGNAL_EMIT "elm,anim,done" "elm"; + } + } +} + +group { name: "elm/frame/base/pad_small"; + parts { + part { name: "b0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 3 3; max: 3 3; + align: 0.0 0.0; + } + } + part { name: "b1"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 3 3; max: 3 3; + align: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "b0"; + rel1.relative: 1.0 1.0; + rel2.to: "b1"; + rel2.relative: 0.0 0.0; + } + } + } +} + +group { name: "elm/frame/base/pad_medium"; + inherit: "elm/frame/base/pad_small"; + parts { + part { name: "b0"; + description { state: "default" 0.0; + min: 6 6; max: 6 6; + } + } + part { name: "b1"; + description { state: "default" 0.0; + min: 6 6; max: 6 6; + } + } + } +} + +group { name: "elm/frame/base/pad_large"; + inherit: "elm/frame/base/pad_small"; + parts { + part { name: "b0"; + description { state: "default" 0.0; + min: 12 12; max: 12 12; + } + } + part { name: "b1"; + description { state: "default" 0.0; + min: 12 12; max: 12 12; + } + } + } +} + +group { name: "elm/frame/base/pad_huge"; + inherit: "elm/frame/base/pad_small"; + parts { + part { name: "b0"; + description { state: "default" 0.0; + min: 24 24; max: 24 24; + } + } + part { name: "b1"; + description { state: "default" 0.0; + min: 24 24; max: 24 24; + } + } + } +} + +group { name: "elm/frame/base/outdent_top"; + images.image: "separator_horiz.png" COMP; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "separator_horiz.png"; + rel1.offset: 0 2; + rel2.offset: -1 3; + rel2.relative: 1.0 0.0; + min: 0 2; + fill.smooth: 0; + } + } + } +} + +group { name: "elm/frame/base/outdent_bottom"; + images.image: "separator_horiz.png" COMP; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "separator_horiz.png"; + rel1.offset: 0 -4; + rel1.relative: 0.0 1.0; + rel2.offset: -1 -3; + min: 0 2; + fill.smooth: 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/gengrid.edc b/legacy/elementary/data/themes/edc/elm/gengrid.edc new file mode 100644 index 0000000000..4ffce944fa --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/gengrid.edc @@ -0,0 +1,984 @@ +group { name: "elm/gengrid/item/group_index/default"; + inherit: "elm/genlist/item/group_index/default"; +} + +group { name: "elm/gengrid/item/default/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; +#define IMGP() \ + images.image: "bevel_dark_out.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; + IMGP() + parts { +//--------------------------------------------------------------------------- +#define BASEP() \ + part { name: "event"; type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "base"; type: RECT; mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 64 64 64 255; \ + color_class: "list_item_base"; \ + } \ + description { state: "odd" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + program { \ + signal: "elm,state,odd"; source: "elm"; \ + action: STATE_SET "odd" 1.0; \ + target: "base"; \ + } \ + program { \ + signal: "elm,state,even"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "base"; \ + } \ + part { name: "bevel"; mouse_events: 0; \ + description { state: "default" 0.0; \ + image.normal: "bevel_dark_out.png"; \ + image.border: 2 2 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; \ + visible: 0; \ + TILED_HORIZ(120) \ + } \ + 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_out.png"; \ + image.border: 2 2 2 2; \ + image.middle: 0; \ + fill.smooth: 0; \ + visible: 0; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + program { \ + signal: "elm,state,selected"; source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "sel_shadow"; \ + target: "sel_base"; \ + target: "sel_bevel"; \ + } \ + program { \ + signal: "elm,state,unselected"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "sel_shadow"; \ + target: "sel_base"; \ + target: "sel_bevel"; \ + } \ + program { \ + signal: "elm,state,disabled"; source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "event"; \ + } \ + program { \ + signal: "elm,state,enabled"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "event"; \ + } +#define TOPP() \ + 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"; \ + visible: 0; \ + FIXED_SIZE(69, 5) \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "event_block"; 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; \ + } \ + } \ + program { \ + signal: "elm,state,selected"; source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "sel_shine"; \ + } \ + program { \ + signal: "elm,state,unselected"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "sel_shine"; \ + } \ + program { \ + signal: "elm,state,disabled"; source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "event_block"; \ + } \ + program { \ + signal: "elm,state,enabled"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "event_block"; \ + } +//--------------------------------------------------------------------------- + BASEP() + + //##// + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "grid_item"; + align: 0.5 1.0; + text { font: FN; size: 10; + min: 0 1; + align: 0.5 1.0; + text_class: "grid_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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "grid_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_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 -2; + rel1.to: "elm.text"; + rel2.offset: 1 0; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "grid_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "icon_area"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "icon_area"; + } + //##// + part { name: "icon_area"; type: RECT; + description { state: "default" 0.0; + fixed: 1 0; + rel1.offset: 2 2; + rel2.to_y: "elm.swallow.pad"; + rel2.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + clip_to: "icon_area"; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -3 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 2; + } + } + //##// + + TOPP() + } +} + +group { name: "elm/gengrid/item/default_style/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + styles.style { name: "gengrid_style"; + base: "font="FN" font_size=10 align=left color=#fff style=shadow,bottom shadow_color=#00000080 text_class=list_item ellipsis=1.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + styles.style { name: "gengrid_style_selected"; + base: "font="FN" font_size=10 align=left color=#3399ffff style=glow glow_color=#3399ff18 glow2_color=#3399ff12 text_class=list_item_selected ellipsis=1.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + styles.style { name: "gengrid_style_disabled"; + base: "font="FN" font_size=10 align=left color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=list_item ellipsis=1.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + color_class: "grid_item"; + align: 0.5 1.0; + text { + min: 0 1; + align: 0.5 1.0; + text_class: "grid_item"; + style: "gengrid_style"; + } + } + 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: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color_class: "grid_item_disabled"; + text { + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_item"; + style: "gengrid_style_disabled"; + } + 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: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color_class: "grid_item_selected"; + text { + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_item"; + style: "gengrid_style_selected"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "icon_area"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "icon_area"; + } + //##// + part { name: "icon_area"; type: RECT; + description { state: "default" 0.0; + fixed: 1 0; + rel1.offset: 2 2; + rel2.to_y: "elm.swallow.pad"; + rel2.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + clip_to: "icon_area"; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -3 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 2; + } + } + //##// + + TOPP() + } +} + +group { name: "elm/gengrid/item/up/default"; + inherit: "elm/gengrid/item/default/default"; + images.image: "icon_arrow_up.png" COMP; + parts { + part { name: "icon_area"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "up"; + insert_after: "elm.swallow.pad"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + image.normal: "icon_arrow_up.png"; + } + } + } +} + +group { name: "elm/gengrid/item/album-preview/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4"; + data.item: "states" "have_files"; + + IMGP() + images.image: "icon_folder.png" COMP; + + parts { + BASEP() + + //##// + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "grid_item"; + align: 0.5 1.0; + text { font: FN; size: 10; + min: 0 1; + align: 0.5 1.0; + text_class: "grid_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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "grid_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_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 -2; + rel1.to: "elm.text"; + rel2.offset: 1 0; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "grid_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "icon_area"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "icon_area"; + } + //##// + part { name: "icon_area"; type: RECT; + description { state: "default" 0.0; + fixed: 1 0; + rel1.offset: 2 2; + rel2.to_y: "elm.swallow.pad"; + rel2.relative: 1.0 0.0; + rel2.offset: -3 -3; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + program { + signal: "elm,state,have_files,active"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "icon_area"; + } + part { name: "icon_area2"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "icon_area"; + rel1.relative: 0.3 0.3; + rel2.to: "icon_area"; + rel2.relative: 0.7 0.7; + } + } + part { name: "folder"; + insert_after: "elm.swallow.pad"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + image.normal: "icon_folder.png"; + } + } + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.icon.1"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area2"; + rel1.relative: 0.0 0.0; + rel2.to: "icon_area2"; + rel2.relative: 0.5 0.5; + } + } + part { name: "elm.swallow.icon.2"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area2"; + rel1.relative: 0.5 0.0; + rel2.to: "icon_area2"; + rel2.relative: 1.0 0.5; + } + } + part { name: "elm.swallow.icon.3"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area2"; + rel1.relative: 0.0 0.5; + rel2.to: "icon_area2"; + rel2.relative: 0.5 1.0; + } + } + part { name: "elm.swallow.icon.4"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area2"; + rel1.relative: 0.5 0.5; + rel2.to: "icon_area2"; + rel2.relative: 1.0 1.0; + } + } + //##// + + TOPP() + } +} + +group { name: "elm/gengrid/item/thumb/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + + images.image: "win_shadow.png" COMP; + images.image: "win_glow.png" COMP; + parts { + + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "base"; + rel1.offset: -7 -3; + rel2.to: "base"; + rel2.offset: 6 11; + fill.smooth: 0; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.offset: -5 -5; + rel1.to: "base"; + rel2.offset: 4 4; + rel2.to: "base"; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel1.to: "icon_area"; + rel2.offset: 3 3; + rel2.to: "icon_area"; + color: 255 255 255 255; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + color: 48 48 48 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 64 64 64 255; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "base"; + target: "icon_area"; + target: "glow"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "icon_area"; + target: "glow"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "base"; + target: "icon_area"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "icon_area"; + } + + //##// + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "grid_item"; + align: 0.5 1.0; + text { font: FN; size: 10; + min: 0 1; + align: 0.5 1.0; + text_class: "grid_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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "grid_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_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 -2; + rel1.to: "elm.text"; + rel2.offset: 1 0; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "grid_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 1.0; + text_class: "grid_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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + //##// + part { name: "icon_area"; type: RECT; + description { state: "default" 0.0; + fixed: 1 0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.offset: 12 12; + rel2.to_y: "elm.swallow.pad"; + rel2.relative: 1.0 0.0; + rel2.offset: -13 -13; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 1.0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "icon_area"; + description { state: "default" 0.0; + rel1.to: "icon_area"; + rel2.to: "icon_area"; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + clip_to: "icon_area"; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -3 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 2; + } + } + } +} +#undef IMGP +#undef BASEP +#undef TOPP diff --git a/legacy/elementary/data/themes/edc/elm/genlist.edc b/legacy/elementary/data/themes/edc/elm/genlist.edc new file mode 100644 index 0000000000..30bd10d220 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/genlist.edc @@ -0,0 +1,5699 @@ +#define ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } +#define COMPRESS(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + } \ + } +#define COMPRESS_ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } + +#define TREEPAD 19 + +group { name: "elm/genlist/item/group_index/default"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" TREEPAD; + + images.image: "shadow_square_tiny.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + + parts { + part { name: "shadow_vbar"; mouse_events: 0; + 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; + } + } + part { name: "base_vbar"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + fill.smooth: 0; + min: 5 13; + TILED_HORIZ(120) + } + } + part { name: "bevel_vbar"; mouse_events: 0; + 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: "elm.text"; 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: "elm.swallow.icon"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "elm.swallow.end"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_group_item"; + text { font: FNBD; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_group_item"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_group_item_disabled"; + } + } + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.pad"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + rel1.relative: 0.0 1.0; + rel1.offset: -3 -6; + rel2.offset: 2 3; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "bar"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "bar"; + } + } +} +group { name: "elm/genlist/item_compress/group_index/default"; + inherit: "elm/genlist/item/group_index/default"; + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + } +} + +group { name: "elm/genlist/item/default/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; +#define IMGP() \ + 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; + IMGP() + parts { +//--------------------------------------------------------------------------- +#define BASEP() \ + part { name: "event"; type: RECT; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "base"; type: RECT; mouse_events: 0; \ + description { state: "default" 0.0; \ + color: 64 64 64 255; \ + color_class: "list_item_base"; \ + } \ + description { state: "odd" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + program { \ + signal: "elm,state,odd"; source: "elm"; \ + action: STATE_SET "odd" 1.0; \ + target: "base"; \ + } \ + program { \ + signal: "elm,state,even"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "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; \ + visible: 0; \ + TILED_HORIZ(120) \ + } \ + 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; \ + } \ + } \ + program { \ + signal: "elm,state,selected"; source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "sel_shadow"; \ + target: "sel_base"; \ + target: "sel_bevel"; \ + } \ + program { \ + signal: "elm,state,unselected"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "sel_shadow"; \ + target: "sel_base"; \ + target: "sel_bevel"; \ + } \ + program { \ + signal: "elm,state,disabled"; source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "event"; \ + } \ + program { \ + signal: "elm,state,enabled"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "event"; \ + } +#define TOPP() \ + 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"; \ + visible: 0; \ + FIXED_SIZE(69, 5) \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "event_block"; 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; \ + } \ + } \ + program { \ + signal: "elm,state,selected"; source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + target: "sel_shine"; \ + } \ + program { \ + signal: "elm,state,unselected"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "sel_shine"; \ + } \ + program { \ + signal: "elm,state,disabled"; source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "event_block"; \ + } \ + program { \ + signal: "elm,state,enabled"; source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "event_block"; \ + } +//--------------------------------------------------------------------------- + BASEP() + + //##// + part { name: "elm.text"; 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: "elm.swallow.icon"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "elm.swallow.end"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.pad"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/default/default", "elm/genlist/item/default/default") +COMPRESS("elm/genlist/item_compress/default/default", "elm/genlist/item/default/default") +COMPRESS_ODD("elm/genlist/item_compress_odd/default/default", "elm/genlist/item/default/default") + +group { name: "elm/genlist/item/default_style/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + styles.style { name: "genlist_style"; + base: "font="FN" font_size=10 align=left valign=0.5 color=#fff style=shadow,bottom shadow_color=#00000080 text_class=list_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + styles.style { name: "genlist_style_selected"; + base: "font="FN" font_size=10 align=left valign=0.5 color=#3399ffff style=glow glow_color=#3399ff18 glow2_color=#3399ff12 text_class=list_item_selected"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + styles.style { name: "genlist_style_disabled"; + base: "font="FN" font_size=10 align=left valign=0.5 color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=list_item"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } + + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 7; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.icon"; + rel2.offset: -3 -4; + rel2.relative: 0.0 1.0; + rel2.to_x: "elm.swallow.end"; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_item"; + style: "genlist_style"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_item"; + style: "genlist_style_disabled"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel1.to: "elm.text"; + rel2.offset: -1 -1; + rel2.to: "elm.text"; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_item"; + style: "genlist_style_selected"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.pad"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/default_style/default", "elm/genlist/item/default_style/default") +COMPRESS("elm/genlist/item_compress/default_style/default", "elm/genlist/item/default_style/default") +COMPRESS_ODD("elm/genlist/item_compress_odd/default_style/default", "elm/genlist/item/default_style/default") + +group { name: "elm/genlist/item/one_icon/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; 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: "elm.swallow.icon"; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 0 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.pad"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.swallow.icon"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/one_icon/default", "elm/genlist/item/one_icon/default") +COMPRESS("elm/genlist/item_compress/one_icon/default", "elm/genlist/item/one_icon/default") +COMPRESS_ODD("elm/genlist/item_compress_odd/one_icon/default", "elm/genlist/item/one_icon/default") + +group { name: "elm/genlist/item/end_icon/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; 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: "elm.swallow.pad"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "elm.swallow.icon"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.swallow.icon"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/end_icon/default", "elm/genlist/item/end_icon/default") +COMPRESS("elm/genlist/item_compress/end_icon/default", "elm/genlist/item/end_icon/default") +COMPRESS_ODD("elm/genlist/item_compress_odd/end_icon/default", "elm/genlist/item/end_icon/default") + +group { name: "elm/genlist/item/no_icon/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; 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: "elm.swallow.pad"; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/no_icon/default", "elm/genlist/item/no_icon/default") +COMPRESS("elm/genlist/item_compress/no_icon/default", "elm/genlist/item/no_icon/default") +COMPRESS_ODD("elm/genlist/item_compress_odd/no_icon/default", "elm/genlist/item/no_icon/default") + +group { name: "elm/genlist/item/full/default"; + data.item: "selectraise" "on"; + data.item: "contents" "elm.swallow.content"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.swallow.content"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 19 19; + rel1.offset: -1 2; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.pad"; + rel2.offset: -3 -3; + } + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/full/default", "elm/genlist/item/full/default") +group { name: "elm/genlist/item_compress/full/default"; + inherit: "elm/genlist/item/full/default"; +} +group { name: "elm/genlist/item_compress_odd/full/default"; + inherit: "elm/genlist/item_odd/full/default"; +} + +///////////////////////////////////////////////////////////////////////////// +//-- tree +//-- tree_odd +//-- tree_compress +//-- tree_compress_odd +group { name: "elm/genlist/tree/default/default"; + inherit: "elm/genlist/item/default/default"; + // XXX: these need to be... done specially. +// alias: "elm/genlist/tree/tree_effect/default"; +// alias: "elm/genlist/item/tree_effect/default"; +// alias: "elm/genlist/tree/effect_parts/default"; +// alias: "elm/genlist/item/effect_parts/default"; +#define TREEIMGS() \ + images.image: "sym_left_light_normal.png" COMP; \ + images.image: "sym_left_glow_normal.png" COMP; \ + images.image: "sym_left_dark_normal.png" COMP; \ + images.image: "sym_right_light_normal.png" COMP; \ + images.image: "sym_right_glow_normal.png" COMP; \ + images.image: "sym_right_dark_normal.png" COMP; \ + images.image: "sym_down_light_normal.png" COMP; \ + images.image: "sym_down_glow_normal.png" COMP; \ + images.image: "sym_down_dark_normal.png" COMP; + TREEIMGS() + parts { + part { name: "elm.swallow.icon"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + } +#define ARROW() \ + part { name: "arrow_img_l"; mouse_events: 0; insert_after: "sel_bevel"; \ + clip_to: "arrow_clip_l"; \ + scale: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + fixed: 1 1; \ + min: 15 15; \ + max: 15 15; \ + rel1.to: "arrow"; \ + rel2.to: "arrow"; \ + image.normal: "sym_right_light_normal.png"; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_right_glow_normal.png"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_right_dark_normal.png"; \ + } \ + description { state: "default" 1.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_down_light_normal.png"; \ + } \ + description { state: "selected" 1.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_down_glow_normal.png"; \ + } \ + description { state: "disabled" 1.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_down_dark_normal.png"; \ + } \ + } \ + part { name: "arrow_img_r"; mouse_events: 0; \ + clip_to: "arrow_clip_r"; \ + scale: 1; \ + ignore_flags: ON_HOLD; \ + description { state: "default" 0.0; \ + fixed: 1 1; \ + min: 15 15; \ + max: 15 15; \ + rel1.to: "arrow"; \ + rel2.to: "arrow"; \ + image.normal: "sym_left_light_normal.png"; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_left_glow_normal.png"; \ + } \ + description { state: "disabled" 0.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_left_dark_normal.png"; \ + } \ + description { state: "default" 1.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_down_light_normal.png"; \ + } \ + description { state: "selected" 1.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_down_glow_normal.png"; \ + } \ + description { state: "disabled" 1.0; \ + inherit: "default" 0.0; \ + image.normal: "sym_down_dark_normal.png"; \ + } \ + } \ + part { name: "arrow"; type: RECT; insert_before: "sel_shine"; \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + min: 15 15; \ + aspect: 1.0 1.0; \ + align: 0.0 0.5; \ + rel1.to_x: "elm.swallow.pad"; \ + rel1.relative: 1.0 0.0; \ + rel1.offset: -2 2; \ + rel2.to_x: "elm.swallow.pad"; \ + rel2.relative: 1.0 1.0; \ + rel2.offset: -2 -3; \ + color: 0 0 0 0; \ + } \ + } \ + part { name: "arrow_clip_l"; type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: "arrow_img_l"; \ + rel2.to: "arrow_img_l"; \ + visible: 1; \ + } \ + description { state: "rtl" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "arrow_clip_r"; type: RECT; \ + description { state: "default" 0.0; \ + rel1.to: "arrow_img_r"; \ + rel2.to: "arrow_img_r"; \ + visible: 0; \ + } \ + description { state: "rtl" 0.0; \ + visible: 1; \ + } \ + } \ + program { \ + signal: "mouse,up,1"; source: "arrow"; \ + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \ + } \ + program { name: "arr1"; \ + signal: "elm,state,expanded"; source: "elm"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"arrow_img_l", st, 30, vl); \ + set_state(PART:"arrow_img_l", st, 1.0); \ + set_state(PART:"arrow_img_r", st, 1.0); \ + } \ + } \ + program { name: "arr2"; \ + signal: "elm,state,contracted"; source: "elm"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"arrow_img_l", st, 30, vl); \ + set_state(PART:"arrow_img_l", st, 0.0); \ + set_state(PART:"arrow_img_r", st, 0.0); \ + } \ + } \ + program { name: "arr3"; \ + signal: "elm,state,selected"; source: "elm"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"arrow_img_l", st, 30, vl); \ + set_state(PART:"arrow_img_l", "selected", vl); \ + set_state(PART:"arrow_img_r", "selected", vl); \ + } \ + } \ + program { name: "arr4"; \ + signal: "elm,state,unselected"; source: "elm"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"arrow_img_l", st, 30, vl); \ + set_state(PART:"arrow_img_l", "default", vl); \ + set_state(PART:"arrow_img_r", "default", vl); \ + } \ + } \ + program { name: "arr5"; \ + signal: "elm,state,enabled"; source: "elm"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"arrow_img_l", st, 30, vl); \ + set_state(PART:"arrow_img_l", "default", vl); \ + set_state(PART:"arrow_img_r", "default", vl); \ + } \ + } \ + program { name: "arr6"; \ + signal: "elm,state,disabled"; source: "elm"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"arrow_img_l", st, 30, vl); \ + set_state(PART:"arrow_img_l", "disabled", vl); \ + set_state(PART:"arrow_img_r", "disabled", vl); \ + } \ + } \ + program { \ + signal: "edje,state,rtl"; source: "edje"; \ + action: STATE_SET "rtl" 0.0; \ + target: "arrow_clip_l"; \ + target: "arrow_clip_r"; \ + } \ + program { \ + signal: "edje,state,ltr"; source: "edje"; \ + action: STATE_SET "default" 0.0; \ + target: "arrow_clip_l"; \ + target: "arrow_clip_r"; \ + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/default/default", "elm/genlist/tree/default/default") +COMPRESS("elm/genlist/tree_compress/default/default", "elm/genlist/tree/default/default") +COMPRESS_ODD("elm/genlist/tree_compress_odd/default/default", "elm/genlist/tree/default/default") + +group { name: "elm/genlist/tree/default_style/default"; + inherit: "elm/genlist/item/default_style/default"; + TREEIMGS() + parts { + part { name: "elm.swallow.icon"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/default_style/default", "elm/genlist/tree/default_style/default") +COMPRESS("elm/genlist/tree_compress/default_style/default", "elm/genlist/tree/default_style/default") +COMPRESS_ODD("elm/genlist/tree_compress_odd/default_style/default", "elm/genlist/tree/default_style/default") + +group { name: "elm/genlist/tree/one_icon/default"; + inherit: "elm/genlist/item/one_icon/default"; + TREEIMGS() + parts { + part { name: "elm.swallow.icon"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/one_icon/default", "elm/genlist/tree/one_icon/default") +COMPRESS("elm/genlist/tree_compress/one_icon/default", "elm/genlist/tree/one_icon/default") +COMPRESS_ODD("elm/genlist/tree_compress_odd/one_icon/default", "elm/genlist/tree/one_icon/default") + +group { name: "elm/genlist/tree/end_icon/default"; + inherit: "elm/genlist/item/end_icon/default"; + TREEIMGS() + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "selected" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "disabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/end_icon/default", "elm/genlist/tree/end_icon/default") +COMPRESS("elm/genlist/tree_compress/end_icon/default", "elm/genlist/tree/end_icon/default") +COMPRESS_ODD("elm/genlist/tree_compress_odd/end_icon/default", "elm/genlist/tree/end_icon/default") + +group { name: "elm/genlist/tree/no_icon/default"; + inherit: "elm/genlist/item/no_icon/default"; + TREEIMGS() + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "selected" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "disabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/no_icon/default", "elm/genlist/tree/no_icon/default") +COMPRESS("elm/genlist/tree_compress/no_icon/default", "elm/genlist/tree/no_icon/default") +COMPRESS_ODD("elm/genlist/tree_compress_odd/no_icon/default", "elm/genlist/tree/no_icon/default") + +group { name: "elm/genlist/tree/full/default"; + inherit: "elm/genlist/item/full/default"; + TREEIMGS() + parts { + part { name: "elm.swallow.content"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "selected" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "disabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/full/default", "elm/genlist/tree/full/default") +group { name: "elm/genlist/tree_compress/full/default"; + inherit: "elm/genlist/tree/full/default"; +} +group { name: "elm/genlist/tree_compress_odd/full/default"; + inherit: "elm/genlist/tree_odd/full/default"; +} + +#define GENLIST_PART_MAP_START(param_x, param_y, param_z) \ + description { state: "map_transition" 0.0; \ + inherit: "default" 0.0; \ + color: 50 50 50 255; \ + map { \ + perspective: "point"; \ + on: 1; \ + smooth: 1; \ + perspective_on: 1; \ + backface_cull: 1; \ + rotation { \ + center: "point"; \ + x: param_x; \ + y: param_y; \ + z: param_z; \ + } \ + } \ + } \ + description { state: "hide" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } + +#define GENLIST_PART_MAP_FINISH(param_x, param_y, param_z) \ + description { state: "map_rotate" 0.0; \ + inherit: "default" 0.0; \ + map { \ + perspective: "point"; \ + on: 1; \ + smooth: 1; \ + perspective_on: 1; \ + backface_cull: 1; \ + rotation { \ + center: "point"; \ + x: param_x; \ + y: param_y; \ + z: param_z; \ + } \ + } \ + } + +group { name: "elm/genlist/tree/tree_effect/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + broadcast_signal: 1; + parts { + alias: "elm.swallow.pad" "group:elm.swallow.pad"; + alias: "elm.swallow.icon" "group:elm.swallow.icon"; + alias: "elm.swallow.end" "group:elm.swallow.end"; + alias: "elm.text" "group:elm.text"; + part { name: "point"; type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "group"; type: GROUP; + source: "elm/genlist/tree/default/default"; + description { state: "default" 0.0; + } + GENLIST_PART_MAP_START(-90.0, 0, 0) + GENLIST_PART_MAP_FINISH(0, 0, 0) + } + } + programs { + program { + signal: "elm,action,flip_item"; source: "elm"; + action: STATE_SET "map_transition" 0.0; + target: "group"; + after: "rot2"; + } + program { name: "rot2"; + action: STATE_SET "map_rotate" 0.0; + transition: LINEAR 0.2; + target: "group"; + after: "rot3"; + } + program { name: "rot3"; + action: STATE_SET "default" 0.0; + target: "group"; + } + + program { + signal: "elm,state,contract_flip"; source: "elm"; + action: STATE_SET "map_rotate" 0.0; + target: "group"; + after: "rotb2"; + } + program { name: "rotb2"; + action: STATE_SET "map_transition" 0.0; + transition: LINEAR 0.5; + target: "group"; + after: "rotb3"; + } + program { name: "rotb3"; + action: STATE_SET "hide" 0.0; + target: "group"; + } + + program { + signal: "elm,state,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "group"; + } + program { + signal: "elm,state,hide"; source: "elm"; + action: STATE_SET "hide" 0.0; + target: "group"; + } + program { + signal: "mouse,up,1"; + source: "group:arrow"; + action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; + } + } +} + +group { name: "elm/genlist/item/tree_effect/default"; + inherit: "elm/genlist/tree/tree_effect/default"; + parts { + part { name: "group"; type: GROUP; + source: "elm/genlist/item/default/default"; + } + } +} + +group { name: "elm/genlist/item/icon_top_text_bottom/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 3; + rel1.relative: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel1.to_y: "elm.swallow.icon"; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + } + //##// + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + align: 0.5 0.0; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_item"; + text: "M"; + } + visible: 0; + } + } + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + aspect: 1.0 1.0; + rel1.to: "sizer.content"; + rel2.to: "sizer.content"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.swallow.icon"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/icon_top_text_bottom/default", "elm/genlist/item/icon_top_text_bottom/default") +COMPRESS("elm/genlist/item_compress/icon_top_text_bottom/default", "elm/genlist/item/icon_top_text_bottom/default") +COMPRESS_ODD("elm/genlist/item_compress_odd/icon_top_text_bottom/default", "elm/genlist/item/icon_top_text_bottom/default") + +group { name: "elm/genlist/tree/icon_top_text_bottom/default"; + inherit: "elm/genlist/item/icon_top_text_bottom/default"; + TREEIMGS() + parts { + part { name: "sizer.content"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/icon_top_text_bottom/default", "elm/genlist/tree/icon_top_text_bottom/default") +COMPRESS("elm/genlist/tree_compress/icon_top_text_bottom/default", "elm/genlist/tree/icon_top_text_bottom/default") +COMPRESS_ODD("elm/genlist/tree_compress_odd/icon_top_text_bottom/default", "elm/genlist/tree/icon_top_text_bottom/default") + +#define COMPRESS_SUB(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.text.sub"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label4"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label5"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + } \ + } +#define COMPRESS_SUB_ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.text.sub"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label4"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label5"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } +group { name: "elm/genlist/item/double_label/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.sub"; + data.item: "contents" "elm.swallow.icon elm.swallow.end"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; 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: "elm.swallow.icon"; + rel2.offset: -3 -3; + rel2.relative: 0.0 0.0; + rel2.to_x: "elm.swallow.end"; + rel2.to_y: "elm.text.sub"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + align: 0.0 0.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.sub"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1.offset: 2 -3; + rel1.relative: 1.0 1.0; + rel1.to_x: "elm.swallow.icon"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "elm.swallow.end"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item_sub"; + align: 0.0 1.0; + text { font: FN; size: 8; + min: 1 1; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label4"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text.sub"; + rel2.to: "elm.text.sub"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_sub_disabled"; + text { font: FN; size: 8; + text_source: "elm.text.sub"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label5"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -4; + rel1.to: "elm.text.sub"; + rel2.offset: -1 0; + rel2.to: "elm.text.sub"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_sub_selected"; + text { font: FN; size: 8; + text_source: "elm.text.sub"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.sub"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.sub"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.sub"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.sub"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.sub"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.sub"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.pad"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + rel1.offset: -3 2; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "elm.swallow.end"; + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/double_label/default", "elm/genlist/item/double_label/default") +COMPRESS_SUB("elm/genlist/item_compress/double_label/default", "elm/genlist/item/double_label/default") +COMPRESS_SUB_ODD("elm/genlist/item_compress_odd/double_label/default", "elm/genlist/item/double_label/default") + +group { name: "elm/genlist/tree/double_label/default"; + inherit: "elm/genlist/item/double_label/default"; + TREEIMGS() + parts { + part { name: "elm.swallow.icon"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + rel2.to_x: "arrow"; + rel2.offset: 1 -3; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/double_label/default", "elm/genlist/tree/double_label/default") +COMPRESS_SUB("elm/genlist/tree_compress/double_label/default", "elm/genlist/tree/double_label/default") +COMPRESS_SUB_ODD("elm/genlist/tree_compress_odd/double_label/default", "elm/genlist/tree/double_label/default") + +#define COMPRESS_T1T2(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.title.1"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label4"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label5"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.title.2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label6"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label7"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + } \ + } +#define COMPRESS_T1T2_ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.title.1"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label4"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label5"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.title.2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label6"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label7"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } +group { name: "elm/genlist/item/message/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.title.1 elm.title.2"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; 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: "elm.swallow.pad"; + rel2.offset: -3 2; + rel2.relative: 1.0 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + align: 0.0 0.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + fixed: 0 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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; + fixed: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + //##// + part { name: "elm.title.1"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 3; + rel1.relative: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel1.to_y: "elm.text"; + rel2.offset: -3 -3; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.title.2"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label4"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.title.1"; + rel2.to: "elm.title.1"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.title.1"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label5"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.title.1"; + rel2.offset: -1 1; + rel2.to: "elm.title.1"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.title.1"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + //##// + part { name: "elm.title.2"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 -3; + rel1.relative: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + align: 0.0 1.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 1.0; + text_class: "list_item"; + } + fixed: 0 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label6"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.title.2"; + rel2.to: "elm.title.2"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.title.2"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label7"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.title.2"; + rel2.offset: -1 2; + rel2.to: "elm.title.2"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.title.2"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "label4"; + target: "label5"; + target: "label6"; + target: "label7"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "label4"; + target: "label5"; + target: "label6"; + target: "label7"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "label4"; + target: "label5"; + target: "label6"; + target: "label7"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "label4"; + target: "label5"; + target: "label6"; + target: "label7"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "label4"; + target: "label5"; + target: "label6"; + target: "label7"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.flip"; + target: "elm.title.1"; + target: "elm.title.2"; + target: "label4"; + target: "label5"; + target: "label6"; + target: "label7"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/message/default", "elm/genlist/item/message/default") +COMPRESS_T1T2("elm/genlist/item_compress/message/default", "elm/genlist/item/message/default") +COMPRESS_T1T2_ODD("elm/genlist/item_compress_odd/message/default", "elm/genlist/item/message/default") + +group { name: "elm/genlist/item/media/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.album-artist"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text.title"; 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: "elm.swallow.pad"; + rel2.offset: -3 -3; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.text.album-artist"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + align: 0.0 0.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text.title"; + rel2.to: "elm.text.title"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text.title"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text.title"; + rel2.offset: -1 1; + rel2.to: "elm.text.title"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text.title"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text.title"; + rel2.to_y: "elm.text.title"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.album-artist"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1.offset: 2 -3; + rel1.relative: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel2.offset: -3 -3; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item_sub"; + align: 0.0 1.0; + text { font: FN; size: 8; + min: 1 1; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label4"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text.album-artist"; + rel2.to: "elm.text.album-artist"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_sub_disabled"; + text { font: FN; size: 8; + text_source: "elm.text.album-artist"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label5"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -4; + rel1.to: "elm.text.album-artist"; + rel2.offset: -1 0; + rel2.to: "elm.text.album-artist"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_sub_selected"; + text { font: FN; size: 8; + text_source: "elm.text.album-artist"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text.title"; + target: "label2"; + target: "label3"; + target: "elm.text.album-artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + target: "label2"; + target: "label3"; + target: "elm.text.album-artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text.title"; + target: "label2"; + target: "label3"; + target: "elm.text.album-artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + target: "label2"; + target: "label3"; + target: "elm.text.album-artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text.title"; + target: "label2"; + target: "label3"; + target: "elm.text.album-artist"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + target: "label2"; + target: "label3"; + target: "elm.text.album-artist"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + //##// + + TOPP() + } +} +#define COMPRESS_MEDIA(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text.title"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.text.album-artist"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label4"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label5"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + } \ + } +#define COMPRESS_MEDIA_ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text.title"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "elm.text.album-artist"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label4"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label5"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } +ODD("elm/genlist/item_odd/media/default", "elm/genlist/item/media/default") +COMPRESS_MEDIA("elm/genlist/item_compress/media/default", "elm/genlist/item/media/default") +COMPRESS_MEDIA_ODD("elm/genlist/item_compress_odd/media/default", "elm/genlist/item/media/default") + +group { name: "elm/genlist/item/media-album/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.title elm.text.trackno elm.text.length"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text.trackno"; 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: "elm.swallow.pad"; + rel2.offset: 2 -3; + rel2.relative: 1.0 0.0; + rel2.to_x: "elm.swallow.pad"; + rel2.to_y: "elm.text.length"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + align: 0.0 0.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + fixed: 1 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text.trackno"; + rel2.to: "elm.text.trackno"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text.trackno"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text.trackno"; + rel2.offset: -1 1; + rel2.to: "elm.text.trackno"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text.trackno"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text.trackno"; + rel2.to_y: "elm.text.trackno"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "dot"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "elm.text.trackno"; + rel1.relative: 1.0 0.0; + rel1.offset: 2 0; + rel2.to: "elm.text.trackno"; + rel2.offset: 2 -1; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text: ":"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.text.title"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "dot"; + rel1.to_y: "elm.text.trackno"; + rel2.offset: -3 -1; + rel2.relative: 1.0 1.0; + rel2.to_y: "elm.text.trackno"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + align: 0.0 0.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label6"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text.title"; + rel2.to: "elm.text.title"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text.title"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label7"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text.title"; + rel2.offset: -1 1; + rel2.to: "elm.text.title"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text.title"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { name: "elm.text.length"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1.offset: 2 -3; + rel1.relative: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel2.offset: -3 -3; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item_sub"; + align: 0.0 1.0; + text { font: FN; size: 8; + min: 1 1; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label4"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text.length"; + rel2.to: "elm.text.length"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_sub_disabled"; + text { font: FN; size: 8; + text_source: "elm.text.length"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label5"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -4; + rel1.to: "elm.text.length"; + rel2.offset: -1 0; + rel2.to: "elm.text.length"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_sub_selected"; + text { font: FN; size: 8; + text_source: "elm.text.length"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text.trackno"; + target: "label2"; + target: "label3"; + target: "elm.text.title"; + target: "label6"; + target: "label7"; + target: "elm.text.length"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.trackno"; + target: "label2"; + target: "label3"; + target: "elm.text.title"; + target: "label6"; + target: "label7"; + target: "elm.text.length"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text.trackno"; + target: "label2"; + target: "label3"; + target: "elm.text.title"; + target: "label6"; + target: "label7"; + target: "elm.text.length"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.trackno"; + target: "label2"; + target: "label3"; + target: "elm.text.title"; + target: "label6"; + target: "label7"; + target: "elm.text.length"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text.trackno"; + target: "label2"; + target: "label3"; + target: "elm.text.title"; + target: "label6"; + target: "label7"; + target: "elm.text.length"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.trackno"; + target: "label2"; + target: "label3"; + target: "elm.text.title"; + target: "label6"; + target: "label7"; + target: "elm.text.length"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/media-album/default", "elm/genlist/item/media-album/default") +group { name: "elm/genlist/item_compress/media-album/default"; + inherit: "elm/genlist/item/media-album/default"; + parts { + part { name: "elm.text.title"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label2"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label3"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "elm.text.length"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label4"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label5"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + } +} +group { name: "elm/genlist/item_compress_odd/media-album/default"; + inherit: "elm/genlist/item_odd/media-album/default"; + parts { + part { name: "elm.text.title"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label2"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label3"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "elm.text.length"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label4"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label5"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + } +} + +group { name: "elm/genlist/item/media-preview/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text elm.text.artist"; + data.item: "contents" "elm.swallow.preview"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text"; 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: "elm.swallow.preview"; + rel2.offset: -3 -3; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.text.artist"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + align: 0.0 0.0; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.0; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text"; + rel2.to_y: "elm.text"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.text.artist"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1.offset: 2 -3; + rel1.relative: 1.0 1.0; + rel1.to_x: "elm.swallow.preview"; + rel2.offset: -3 -3; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item_sub"; + align: 0.0 1.0; + text { font: FN; size: 8; + min: 1 1; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label4"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.text.artist"; + rel2.to: "elm.text.artist"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_sub_disabled"; + text { font: FN; size: 8; + text_source: "elm.text.artist"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label5"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -4; + rel1.to: "elm.text.artist"; + rel2.offset: -1 0; + rel2.to: "elm.text.artist"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_sub_selected"; + text { font: FN; size: 8; + text_source: "elm.text.artist"; + align: 0.0 1.0; + text_class: "list_item_sub"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.artist"; + target: "label4"; + target: "label5"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.artist"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + target: "elm.text.artist"; + target: "label4"; + target: "label5"; + target: "elm.text.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.preview"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1.to_x: "elm.swallow.pad"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.pad"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.swallow.preview"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.preview"; + } + //##// + + TOPP() + } +} +ODD("elm/genlist/item_odd/media-preview/default", "elm/genlist/item/media-preview/default") +group { name: "elm/genlist/item_compress/media-preview/default"; + inherit: "elm/genlist/item/media-preview/default"; + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label2"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label3"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "elm.text.artist"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label4"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label5"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + } +} +group { name: "elm/genlist/item_odd_compress/media-preview/default"; + inherit: "elm/genlist/item_odd/media-preview/default"; + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label2"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label3"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "elm.text.artist"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label4"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + part { name: "label5"; + description { state: "default" 0.0; + text.min: 0 1; + } + description { state: "selected" 0.0; + text.min: 0 1; + } + description { state: "disabled" 0.0; + text.min: 0 1; + } + description { state: "flip_enabled" 0.0; + text.min: 0 1; + } + } + } +} + +#define COMPRESS_MODE(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text.mode"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + } \ + } +#define COMPRESS_MODE_ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text.mode"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "flip_enabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } +group { name: "elm/genlist/item/mode/default"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text.mode"; + data.item: "mode_part" "elm.swallow.original"; + data.item: "treesize" TREEPAD; + data.item: "flips" "elm.text.mode.flip"; + IMGP() + parts { + BASEP() + + //##// + part { name: "elm.text.mode"; 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: "elm.swallow.pad"; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "flip_enabled" 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: "elm.text.mode"; + rel2.to: "elm.text.mode"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text.mode"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "elm.text.mode"; + rel2.offset: -1 1; + rel2.to: "elm.text.mode"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text.mode"; + align: 0.0 0.5; + text_class: "list_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; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.mode.flip"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + rel1.to_y: "elm.text.mode"; + rel2.to_y: "elm.text.mode"; + } + description { state: "flip_enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text.mode"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.mode"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text.mode"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.mode"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,flip,enabled"; source: "elm"; + action: STATE_SET "flip_enabled" 0.0; + target: "elm.text.mode"; + target: "label2"; + target: "label3"; + target: "elm.text.mode.flip"; + } + program { + signal: "elm,state,flip,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.mode"; + target: "label2"; + target: "label3"; + target: "elm.text.mode.flip"; + } + //##// + part { name: "elm.swallow.pad"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + //##// + part { name: "event_block_layer"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "repeat_events" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "pers"; type: SPACER; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.original"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + description { state: "rotate" 0.0; + inherit: "default" 0.0; + map { + perspective: "pers"; + on: 1; + smooth: 1; + perspective_on: 1; + backface_cull: 1; + rotation { + center: "pers"; + } + } + } + description { state: "rotate2" 0.0; + inherit: "rotate" 0.0; + map.rotation.x: 90.0; + } + } + program { + signal: "elm,state,slide,active"; source: "elm"; + action: STATE_SET "slide" 0.0; + target: "elm.swallow.original"; + transition: ACCELERATE 0.5 CURRENT; + after: "unblock_event"; + } + program { name: "unblock_event"; + action: STATE_SET "repeat_events" 0.0; + target: "event_block_layer"; + } + program { + signal: "elm,state,slide,passive"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "slide_left2"; + } + program { name: "slide_left2"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.original"; + transition: DECELERATE 0.5 CURRENT; + after: "slide_left_finished"; + } + program { name: "slide_left_finished"; + action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; + } + program { + signal: "elm,state,rotate,active"; source: "elm"; + action: STATE_SET "rotate" 0.0; + target: "elm.swallow.original"; + after: "rotate_on2"; + } + program { name: "rotate_on2"; + action: STATE_SET "rotate2" 0.0; + target: "elm.swallow.original"; + transition: LINEAR 0.5; + after: "unblock_event"; + } + program { + signal: "elm,state,rotate,passive"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block_layer"; + after: "rotate_off2"; + } + program { name: "rotate_off2"; + action: STATE_SET "rotate" 0.0; + transition: LINEAR 0.5; + target: "elm.swallow.original"; + after: "rotate_off3"; + } + program { name: "rotate_off3"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.original"; + after: "rotate_off_finished"; + } + program { name: "rotate_off_finished"; + action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm"; + } + + TOPP() + } +} +ODD("elm/genlist/item_odd/mode/default", "elm/genlist/item/mode/default") +COMPRESS_MODE("elm/genlist/item_compress/mode/default", "elm/genlist/item/mode/default") +COMPRESS_MODE_ODD("elm/genlist/item_compress_odd/mode/default", "elm/genlist/item/mode/default") + +group { name: "elm/genlist/tree/mode/default"; + inherit: "elm/genlist/item/mode/default"; + TREEIMGS() + parts { + part { name: "elm.text.mode"; + description { state: "default" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + description { state: "flip_enabled" 0.0; + rel1.to_x: "arrow"; + rel1.offset: 1 2; + } + } + ARROW() + } +} +ODD("elm/genlist/tree_odd/mode/default", "elm/genlist/tree/mode/default") +COMPRESS_MODE("elm/genlist/tree_compress/mode/default", "elm/genlist/tree/mode/default") +COMPRESS_MODE_ODD("elm/genlist/tree_compress_odd/mode/default", "elm/genlist/tree/mode/default") + + + + + + + + + + + + + + + + + + + + +#define COMPRESS_EDIT(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + } +#define COMPRESS_EDIT_ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } +group { name: "elm/genlist/item/edit/default"; + data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2"; + data.item: "selectraise" "on"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shadow_horiz.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + color_class: "list_item_base"; + } + description { state: "odd" 0.0; + color: 56 56 56 255; + color_class: "list_item_base_odd"; + } + } + program { + signal: "elm,state,odd"; source: "elm"; + action: STATE_SET "odd" 1.0; + target: "base"; + } + program { + signal: "elm,state,even"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + + part { name: "sel_shadow1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_horiz.png"; + image.border: 0 0 9 9; + rel1.offset: 0 -4; + rel2.offset: -1 5; + rel2.to_x: "elm.swallow.decorate.content"; + rel2.relative: 0.0 1.0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_shadow2"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_horiz.png"; + image.border: 0 0 9 9; + rel1.to_x: "elm.swallow.decorate.content"; + rel1.relative: 1.0 0.0; + 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; + visible: 0; + TILED_HORIZ(120) + } + 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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shadow1"; + target: "sel_shadow2"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shadow1"; + target: "sel_shadow2"; + } + + part { name: "elm.edit.icon.1"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + rel2.relative: 0.0 1.0; + rel1.offset: -1 2; + rel2.offset: -1 -3; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.offset: 2 -3; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.edit.icon.2"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + rel1.relative: 1.0 0.0; + rel1.offset: 1 2; + rel2.offset: 1 -3; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + rel1.offset: -3 2; + rel2.offset: -3 -3; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { name: "elm.swallow.decorate.content"; type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + rel1.to_x: "elm.edit.icon.1"; + rel1.relative: 1.0 0.0; + rel1.offset: 3 0; + rel2.to_x: "elm.edit.icon.2"; + rel2.relative: 0.0 1.0; + rel2.offset: -2 -1; + } + } + program { + signal: "elm,state,decorate,enabled,effect"; source: "elm"; + action: STATE_SET "on" 0.0; + target: "elm.swallow.decorate.content"; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + transition: DECELERATE 0.5; + } + program { + signal: "elm,state,decorate,disabled,effect"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.decorate.content"; + target: "elm.edit.icon.1"; + target: "elm.edit.icon.2"; + transition: ACCELERATE 0.5; + } + program { + signal: "elm,state,decorate,enabled"; source: "elm"; + action: STATE_SET "on" 0.0; + target: "elm.swallow.decorate.content"; + } + program { + signal: "elm,state,decorate,disabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.decorate.content"; + } + } +} +ODD("elm/genlist/item_odd/edit/default", "elm/genlist/item/edit/default") +COMPRESS_EDIT("elm/genlist/item_compress/edit/default", "elm/genlist/item/edit/default") +COMPRESS_EDIT_ODD("elm/genlist/item_compress_odd/edit/default", "elm/genlist/item/edit/default") + +group { name: "elm/genlist/tree/edit/default"; + inherit: "elm/genlist/item/edit/default"; +} +ODD("elm/genlist/tree_odd/edit/default", "elm/genlist/tree/edit/default") +COMPRESS_EDIT("elm/genlist/tree_compress/edit/default", "elm/genlist/tree/edit/default") +COMPRESS_EDIT_ODD("elm/genlist/tree_compress_odd/edit/default", "elm/genlist/tree/edit/default") + +#undef ODD +#undef COMPRESS +#undef COMPRESS_ODD +#undef BASEP +#undef TOPP +#undef TREEPAD +#undef IMGP +#undef TREEIMGS +#undef ARROW +#undef GENLIST_PART_MAP_START +#undef GENLIST_PART_MAP_FINISH +#undef COMPRESS_SUB +#undef COMPRESS_SUB_ODD +#undef COMPRESS_T1T2 +#undef COMPRESS_T1T2_ODD +#undef COMPRESS_MEDIA +#undef COMPRESS_MEDIA_ODD +#undef COMPRESS_MODE +#undef COMPRESS_MODE_ODD +#undef COMPRESS_EDIT +#undef COMPRESS_EDIT_ODD diff --git a/legacy/elementary/data/themes/edc/elm/hover.edc b/legacy/elementary/data/themes/edc/elm/hover.edc new file mode 100644 index 0000000000..b8f706ca25 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/hover.edc @@ -0,0 +1,1264 @@ +/* TODO: replicate diagonal swallow slots to the other hover styles */ +group { name: "elm/hover/base/default"; + parts { + part { name: "elm.swallow.offset"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "base"; type: RECT; mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 64; + } + } + part { name: "box"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.swallow.size"; + rel1.offset: -2 -2; + rel2.to: "elm.swallow.size"; + rel2.offset: 1 1; + } + } + part { name: "elm.swallow.slot.left"; type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: -1 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.top-left"; type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 0.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.top"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 -1; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.top-right"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.right"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.slot.bottom-right"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.bottom"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + } + part { name: "elm.swallow.slot.bottom-left"; type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 0; + } + } + part { name: "elm.swallow.slot.middle"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" "elm"; + } + } +} + +group { name: "elm/hover/base/popout"; + images.image: "button_normal.png" COMP; + parts { + part { name: "elm.swallow.offset"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "base"; type: RECT; mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + } + } + part { name: "leftclip"; type: RECT; + description { state: "default" 0.0; + rel2.to_x: "pop"; + rel2.relative: 0.0 1.0; + rel2.offset: 1 -1; + } + } + part { name: "left"; + clip_to: "leftclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.left"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.left"; + rel2.offset: 4 4; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.left"; type: SWALLOW; + clip_to: "leftclip"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: -1 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -7 0; + rel2.offset: -7 -1; + align: 1.0 0.5; + } + } + part { name: "rightclip"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "pop"; + rel1.relative: 1.0 0.0; + rel1.offset: -2 0; + } + } + part { name: "right"; + clip_to: "rightclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.right"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.right"; + rel2.offset: 4 4; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.right"; type: SWALLOW; + clip_to: "rightclip"; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 6 0; + rel2.offset: 6 -1; + align: 0.0 0.5; + } + } + part { name: "topclip"; type: RECT; + description { state: "default" 0.0; + rel2.to_y: "pop"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 1; + } + } + part { name: "top"; + clip_to: "topclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.top"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.top"; + rel2.offset: 4 4; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.top"; type: SWALLOW; + clip_to: "topclip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 -1; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -7; + rel2.offset: -1 -7; + align: 0.5 1.0; + } + } + part { name: "bottomclip"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "pop"; + rel1.relative: 0.0 1.0; + rel1.offset: -1 -2; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.bottom"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.slot.bottom"; + rel2.offset: 4 4; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.slot.bottom"; type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 6; + rel2.offset: -1 6; + align: 0.5 0.0; + } + } + part { name: "pop"; mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.offset: -6 -6; + rel2.to: "elm.swallow.slot.middle"; + rel2.offset: 5 5; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + } + } + part { name: "elm.swallow.slot.middle"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" "elm"; + } + program { name: "show"; + signal: "elm,action,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "leftshow"; + signal: "elm,action,slot,left,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "left"; + target: "elm.swallow.slot.left"; + } + program { name: "lefthide"; + signal: "elm,action,slot,left,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "left"; + target: "elm.swallow.slot.left"; + } + program { name: "rightshow"; + signal: "elm,action,slot,right,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "right"; + target: "elm.swallow.slot.right"; + } + program { name: "righthide"; + signal: "elm,action,slot,right,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "right"; + target: "elm.swallow.slot.right"; + } + program { name: "topshow"; + signal: "elm,action,slot,top,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "top"; + target: "elm.swallow.slot.top"; + } + program { name: "tophide"; + signal: "elm,action,slot,top,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "top"; + target: "elm.swallow.slot.top"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + } +} + +//In the hover used by the menu only the bottom part is used. +group { name: "elm/hover/base/menu"; + images { + image: "vgrad_med_lighter.png" COMP; + image: "bevel_out.png" COMP; + image: "shine.png" COMP; + image: "win_shadow.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "base"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.slot.left"; type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.right"; type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "elm.swallow.slot.top"; type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bottomclip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "shadow"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "bottom"; + rel1.offset: -7 -3; + rel2.to: "bottom"; + rel2.offset: 6 11; + fill.smooth: 0; + } + } + part { name: "top"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel1.to: "bottom"; + rel2.to_x: "bottom"; + rel2.to_y: "shine"; + rel2.offset: -1 0; + min: 0 23; + align: 0.0 0.0; + fill.smooth: 0; + TILED_HORIZ(120) + fixed: 0 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bg"; type: RECT; mouse_events: 0; + clip_to: "bottomclip"; + description { state: "default" 0.0; + rel1.to_x: "bottom"; + rel1.to_y: "top"; + rel1.relative: 0.0 1.0; + rel2.to: "bottom"; + color: 64 64 64 255; + } + } + + part { name: "bottom"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.bottom"; + rel1.offset: 0 -5; + rel2.to: "elm.swallow.slot.bottom"; + rel2.offset: -1 4; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.slot.bottom"; type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel2.to: "bottom"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "shine"; mouse_events: 1; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel1.offset: 0 -2; + rel2.to: "bottom"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + image.normal: "shine.png"; + FIXED_SIZE(69, 5) + } + } + part { name: "elm.swallow.slot.middle"; type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" "elm"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "bottomclip"; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottomclip"; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + } +} + +//In the hover used by the submenu only the bottom part is used +//and no part should interact except the bottom area +group { name: "elm/hover/base/submenu"; + inherit: "elm/hover/base/menu"; + images { + image: "vgrad_med.png" COMP; + } + parts { + part { name: "elm.swallow.offset"; + repeat_events: 1; + } + //here we don't catch events like the hover does + part { name: "base"; type: RECT; repeat_events: 1; + description { state: "visible" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + } +} + +group { name: "elm/hover/base/main_menu"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_dark_out.png" COMP; + parts { + part { name: "elm.swallow.offset"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + } + } + part { name: "elm.swallow.size"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + rel1.offset: 0 0; + fixed: 1 1; + } + } + part { name: "bottomclip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -1 -2; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel1.to_y: "bottom"; + rel2.to_y: "bottom"; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "bottom"; type: RECT; + clip_to: "bottomclip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.slot.bottom"; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.bottom"; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.slot.bottom"; type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "elm.swallow.size"; + rel1.relative: 0.0 1.0; + rel2.to: "elm.swallow.size"; + fixed: 1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + } + programs { + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.slot.bottom"; + } + } +} + +group { name: "elm/hover/base/main_menu_submenu"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "win_shadow.png" COMP; + parts { + part { name: "elm.swallow.offset"; type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + } + } + part { name: "base"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "bottomclip"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "pop"; + rel1.relative: 0.0 1.0; + rel1.offset: -1 -2; + } + } + part { name: "shadow"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "bottom"; + rel1.offset: -7 -3; + rel2.to: "bottom"; + rel2.offset: 6 11; + fill.smooth: 0; + } + } + part { name: "top"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel1.to: "bottom"; + rel2.to_x: "bottom"; + rel2.to_y: "shine"; + rel2.offset: -1 0; + min: 0 23; + align: 0.0 0.0; + fill.smooth: 0; + TILED_HORIZ(120) + fixed: 0 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bg"; type: RECT; mouse_events: 0; + clip_to: "bottomclip"; + description { state: "default" 0.0; + rel1.to_x: "bottom"; + rel1.to_y: "top"; + rel1.relative: 0.0 1.0; + rel2.to: "bottom"; + color: 64 64 64 255; + } + } + part { name: "bottom"; + clip_to: "bottomclip"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.bottom"; + rel1.offset: 0 -6; + rel2.to: "elm.swallow.slot.bottom"; + rel2.offset: -1 4; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "elm.swallow.slot.bottom"; type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 6; + rel2.offset: -1 6; + align: 0.5 0.0; + } + } + part { name: "pop"; type: RECT; mouse_events: 1; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel2.offset: -1 0; + visible: 0; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "bottomclip"; + description { state: "default" 0.0; + rel1.to: "bottom"; + rel1.offset: 0 -2; + rel2.to: "bottom"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + image.normal: "shine.png"; + FIXED_SIZE(69, 5) + } + } + part { name: "elm.swallow.slot.middle"; type: SWALLOW; + repeat_events:1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" "elm"; + } + program { name: "show"; + signal: "elm,action,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.3; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "bottom"; + target: "elm.swallow.slot.bottom"; + } + } +} + +group { name: "elm/hover/base/hoversel_vertical/default"; + alias: "elm/hover/base/hoversel_vertical/entry"; + images.image: "button_normal.png" COMP; + images.image: "vertical_separated_bar_glow.png" COMP; + parts { + part { name: "elm.swallow.offset"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "button_image"; mouse_events: 1; + description { state: "default" 0.0; + rel1.to_x: "limit0"; + rel1.to_y: "elm.swallow.slot.top"; + rel1.offset: -10 -6; + rel2.to_x: "limit1"; + rel2.to_y: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: 9 5; + image { + normal: "button_normal.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "bottom" 0.0; + rel1.to_x: "limit0"; + rel1.to_y: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: -10 -4; + rel2.to_x: "limit1"; + rel2.to_y: "elm.swallow.slot.bottom"; + rel2.offset: 9 5; + image { + normal: "button_normal.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + } + part { name: "limit0"; type: SPACER; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.slot.top"; + rel1.offset: 1 0; + rel2.to_x: "elm.swallow.slot.middle"; + rel2.offset: 0 0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: 1 1; + max: 1 99999; + } + description { state: "bottom" 0.0; + inherit: "default" 0.0; + rel1.to_x: "elm.swallow.slot.bottom"; + } + } + part { name: "limit1"; type: SPACER; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.slot.middle"; + rel1.offset: -1 0; + rel1.relative: 1.0 0.0; + rel2.to_x: "elm.swallow.slot.top"; + rel2.offset: -2 0; + align: 1.0 0.5; + min: 1 1; + max: 1 99999; + } + description { state: "bottom" 0.0; + inherit: "default" 0.0; + rel2.to_x: "elm.swallow.slot.bottom"; + } + } + part { name: "select_line"; mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + align: 1.0 0.5; + min: 15 10; + rel1.to: "button_image"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 -3; + rel2.to: "button_image"; + rel2.offset: 1 0; + image.normal: "vertical_separated_bar_glow.png"; + image.border: 7 7 7 7; + fill.smooth : 0; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "topclip"; type: RECT; + description { state: "default" 0.0; + rel2.to_y: "button_image"; + rel2.offset: -1 -6; + } + } + part { name: "elm.swallow.slot.top"; type: SWALLOW; + clip_to: "topclip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 -1; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + } + part { name: "bottomclip"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "button_image"; + rel1.offset: 0 3; + } + } + part { name: "elm.swallow.slot.bottom"; type: SWALLOW; + clip_to: "bottomclip"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 2; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 2; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + } + } + part { name: "elm.swallow.slot.middle"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" "elm"; + } + program { name: "show"; + signal: "elm,action,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + + program { name: "topshow"; + signal: "elm,action,slot,top,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.top"; + } + program { name: "topshow3"; + signal: "elm,action,slot,top,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "limit0"; + target: "limit1"; + } + program { name: "tophide"; + signal: "elm,action,slot,top,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.top"; + } + + program { name: "bottomshow"; + signal: "elm,action,slot,bottom,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.bottom"; + } + program { name: "bottomshow3"; + signal: "elm,action,slot,bottom,show"; source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "button_image"; + target: "limit0"; + target: "limit1"; + } + program { name: "bottomhide"; + signal: "elm,action,slot,bottom,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.bottom"; + } + } +} + +group { name: "elm/hover/base/hoversel_horizontal/default"; + alias: "elm/hover/base/hoversel_horizontal/entry"; + images.image: "button_normal.png" COMP; + parts { + part { name: "elm.swallow.offset"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.size"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to: "elm.swallow.offset"; + rel1.relative: 1.0 1.0; + rel2.to: "elm.swallow.offset"; + rel2.relative: 1.0 1.0; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "button_image"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.slot.left"; + rel1.to_y: "elm.swallow.slot.middle"; + rel1.offset: -6 0; + rel2.to_x: "elm.swallow.slot.middle"; + rel2.to_y: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: 4 1; + image { + normal: "button_normal.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + description { state: "right" 0.0; + rel1.to_x: "elm.swallow.slot.middle"; + rel1.to_y: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: -5 0; + rel2.to_x: "elm.swallow.slot.right"; + rel2.to_y: "elm.swallow.slot.middle"; + rel2.offset: 5 1; + image { + normal: "button_normal.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + } + + part { name: "leftclip"; type: RECT; + description { state: "default" 0.0; + rel2.to_x: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.slot.left"; type: SWALLOW; + clip_to: "leftclip"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 0.0 0.0; + rel1.offset: -1 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -7 0; + rel2.offset: -7 -1; + align: 1.0 0.5; + } + } + part { name: "rightclip"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.slot.right"; type: SWALLOW; + clip_to: "rightclip"; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "elm.swallow.slot.middle"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.slot.middle"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 6 0; + rel2.offset: -6 -1; + align: 0.0 0.5; + } + } + part { name: "elm.swallow.slot.middle"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.swallow.size"; + rel2.to: "elm.swallow.size"; + } + } + } + programs { + program { name: "end"; + signal: "mouse,up,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,dismiss" "elm"; + } + program { name: "show"; + signal: "elm,action,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "base"; + } + + program { name: "leftshow"; + signal: "elm,action,slot,left,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.left"; + } + program { name: "leftshow3"; + signal: "elm,action,slot,left,show"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + } + program { name: "lefthide"; + signal: "elm,action,slot,left,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.left"; + } + + program { name: "rightshow"; + signal: "elm,action,slot,right,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.right"; + } + program { name: "rightshow3"; + signal: "elm,action,slot,right,show"; source: "elm"; + action: STATE_SET "right" 0.0; + transition: DECELERATE 0.5; + target: "button_image"; + } + program { name: "righthide"; + signal: "elm,action,slot,right,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.slot.right"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/icon.edc b/legacy/elementary/data/themes/edc/elm/icon.edc new file mode 100644 index 0000000000..755119054f --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/icon.edc @@ -0,0 +1,89 @@ +#define IC(Name, Alias, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + alias: "elm/icon/"##Alias##"/default"; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } +IC("home", "toolbar/home", "icon_home.png", 16, 0); +IC("close", "toolbar/close", "icon_close.png", 16, 0); +IC("apps", "toolbar/apps", "icon_apps.png", 16, 0); +IC("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 16, 0); +IC("arrow_down", "toolbar/arrow_down", "icon_arrow_down.png", 16, 0); +IC("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 16, 0); +IC("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 16, 0); +IC("chat", "toolbar/chat", "icon_chat.png", 16, 0); +IC("clock", "toolbar/clock", "icon_clock.png", 16, 0); +IC("delete", "toolbar/delete", "icon_delete.png", 16, 0); +IC("edit", "toolbar/edit", "icon_edit.png", 16, 0); +IC("refresh", "toolbar/refresh", "icon_refresh.png", 16, 0); +IC("folder", "toolbar/folder", "icon_folder.png", 16, 0); +IC("file", "toolbar/file", "icon_file.png", 16, 0); +IC("no_photo", "photo/no_photo", "icon_head.png", 16, 0); +#undef IC + +#define IC(Name, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } + +IC("toolbar/more_menu", "icon_arrow_down.png", 16, 0); + +IC("arrow_up_left", "icon_arrow_up_left.png", 16, 0); +IC("arrow_up_right", "icon_arrow_up_right.png", 16, 0); +IC("arrow_down_left", "icon_arrow_down_left.png", 16, 0); +IC("arrow_down_right", "icon_arrow_down_right.png", 16, 0); + +IC("menu/home", "icon_home.png", 16, 0); +IC("menu/close", "icon_close.png", 16, 0); +IC("menu/apps", "icon_apps.png", 16, 0); +IC("menu/arrow_up", "icon_arrow_up.png", 16, 0); +IC("menu/arrow_down", "icon_arrow_down.png", 16, 0); +IC("menu/arrow_left", "icon_arrow_left.png", 16, 0); +IC("menu/arrow_right", "icon_arrow_right.png", 16, 0); +IC("menu/chat", "icon_chat.png", 16, 0); +IC("menu/clock", "icon_clock.png", 16, 0); +IC("menu/delete", "icon_delete.png", 16, 0); +IC("menu/edit", "icon_edit.png", 16, 0); +IC("menu/refresh", "icon_refresh.png", 16, 0); +IC("menu/folder", "icon_folder.png", 16, 0); +IC("menu/file", "icon_file.png", 16, 0); + +IC("media_player/forward", "icon_forward.png", 16, 0); +IC("media_player/info", "icon_info.png", 16, 0); +IC("media_player/next", "icon_next.png", 16, 0); +IC("media_player/pause", "icon_pause.png", 16, 0); +IC("media_player/play", "icon_play.png", 16, 0); +IC("media_player/prev", "icon_prev.png", 16, 0); +IC("media_player/rewind", "icon_rewind.png", 16, 0); +IC("media_player/stop", "icon_stop.png", 16, 0); +IC("media_player/eject", "icon_eject.png", 16, 0); +IC("media_player/volume", "icon_volume.png", 16, 0); +IC("media_player/mute", "icon_mute.png", 16, 0); +#undef IC + +#define IC(Name, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default/default"; min: Min Min; max: Max Max; \ + alias: "elm/icon/"##Name##"/default/flush"; \ + images.image: File COMP; parts { \ + part { name: "hi"; \ + description { \ + rel1.to: "base"; rel1.offset: 0 1; rel2.to: "base"; rel2.offset: -1 0; \ + image.normal: File; color: 255 255 255 25;} } \ + part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; color: 21 21 21 255;} } \ + } } +IC("media_player/forward", "icon_forward_mono.png", 16, 0); +IC("media_player/info", "icon_info_mono.png", 16, 0); +IC("media_player/next", "icon_next_mono.png", 16, 0); +IC("media_player/pause", "icon_pause_mono.png", 16, 0); +IC("media_player/play", "icon_play_mono.png", 16, 0); +IC("media_player/prev", "icon_prev_mono.png", 16, 0); +IC("media_player/rewind", "icon_rewind_mono.png", 16, 0); +IC("media_player/stop", "icon_stop_mono.png", 16, 0); +IC("media_player/eject", "icon_eject_mono.png", 16, 0); +IC("media_player/volume", "icon_volume_mono.png", 16, 0); +IC("media_player/mute", "icon_mute_mono.png", 16, 0); +#undef IC + diff --git a/legacy/elementary/data/themes/edc/elm/index.edc b/legacy/elementary/data/themes/edc/elm/index.edc new file mode 100644 index 0000000000..c6522b693f --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/index.edc @@ -0,0 +1,680 @@ +group { name: "elm/index/base/vertical/default"; + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; type: RECT; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.5; + offset: -1 5; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -6; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + scale: 1; + clip_to: "clip2"; + effect: GLOW; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.event.0"; + to_y: "elm.dragable.pointer"; + relative: 0.0 0.5; + offset: -16 0; + } + rel2 { + to_x: "elm.swallow.event.0"; + to_y: "elm.dragable.pointer"; + relative: 0.0 0.5; + offset: -16 -1; + } + color: FN_COL_HIGHLIGHT; + text { + font: FN; + size: 20; + min: 1 1; + align: 1.0 0.5; + } + } + } + part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0; + clip_to: "clip"; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 8 8; + max: 8 8; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.event.0"; type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + part { name: "access"; type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to:"elm.swallow.event.0"; + rel2.to:"elm.swallow.event.0"; + color: 0 0 0 0; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "active2"; + signal: "elm,indicator,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + program { name: "inactive2"; + signal: "elm,indicator,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + } +} + +group { name: "elm/index/item/vertical/default"; + data.item: "stacking" "below"; + images { + image: "darken_rounded_square_half.png" COMP; + } + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "darken_rounded_square_half.png"; + border: 7 0 6 8; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: -16 0; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: FN_COL_DEFAULT; + text { + font: FN; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text2"; type: TEXT; mouse_events: 0; + scale: 1; + effect: GLOW; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: FN_COL_HIGHLIGHT; + text { + font: FN; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_source: "elm.text"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "active_base"; + } + program { name: "active_base"; + action: STATE_SET "active" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + program { name: "inactive"; + signal: "elm,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "inactive_base"; + } + program { name: "inactive_base"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + } +} + +group { name: "elm/index/item_odd/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "darken_rounded_square_half.png"; + border: 7 0 6 8; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: -16 0; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: FN_COL_DEFAULT; + text { + font: FN; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text2"; type: TEXT; mouse_events: 0; + scale: 1; + effect: GLOW; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: FN_COL_HIGHLIGHT; + text { + font: FN; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_source: "elm.text"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "active_base"; + } + program { name: "active_base"; + action: STATE_SET "active" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + program { name: "inactive"; + signal: "elm,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "inactive_base"; + } + program { name: "inactive_base"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + } +} + +group { name: "elm/index/base/horizontal/default"; + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; type: RECT; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + rel1 { + relative: 0.5 1; + offset: 0 0; + } + rel2 { + relative: 0.5 1; + offset: -1 -1; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + scale: 1; + clip_to: "clip2"; + effect: GLOW; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 1 1; + rel1 { + to_x: "elm.dragable.pointer"; + to_y: "elm.swallow.event.0"; + relative: 0.5 0; + offset: 0 -16; + } + rel2 { + to_x: "elm.dragable.pointer"; + to_y: "elm.swallow.event.0"; + relative: 0.5 0; + offset: -1 -16; + } + color: FN_COL_HIGHLIGHT; + text { + font: FN; + size: 20; + min: 1 1; + align: 0.5 1; + } + } + } + part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0; + clip_to: "clip"; + dragable { + x: 1 1 0; + y: 1 1 0; + } + description { state: "default" 0.0; + fixed: 1 1; + min: 8 8; + max: 8 8; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.event.0"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "active2"; + signal: "elm,indicator,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + program { name: "inactive2"; + signal: "elm,indicator,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + } +} + +group { name: "elm/index/item/horizontal/default"; + data.item: "stacking" "below"; + images { + image: "darken_rounded_square_half_h.png" COMP; + } + parts { + part { name: "base"; mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "darken_rounded_square_half_h.png"; + border: 6 8 7 0; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -16; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.25 0.0; + } + rel2 { + to: "base"; + relative: 0.75 1.0; + } + color: FN_COL_DEFAULT; + text { + font: FN; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text2"; type: TEXT; mouse_events: 0; + scale: 1; + effect: GLOW; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.25 0.0; + } + rel2 { + to: "base"; + relative: 0.75 1.0; + } + color: FN_COL_HIGHLIGHT; + text { + font: FN; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_source: "elm.text"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + } + programs { + program { name: "active"; + signal: "elm,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "active_base"; + } + program { name: "active_base"; + action: STATE_SET "active" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + program { name: "inactive"; + signal: "elm,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "inactive_base"; + } + program { name: "inactive_base"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + } +} + +group { name: "elm/index/item_odd/horizontal/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "darken_rounded_square_half_h.png"; + border: 6 8 7 0; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -16; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.25 0.0; + } + rel2 { + to: "base"; + relative: 0.75 1.0; + } + color: FN_COL_DEFAULT; + text { + font: FN; + size: 10; + min: 1 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text2"; type: TEXT; mouse_events: 0; + scale: 1; + effect: GLOW; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.25 0.0; + } + rel2 { + to: "base"; + relative: 0.75 1.0; + } + color: FN_COL_HIGHLIGHT; + text { + font: FN; + size: 10; + min: 0 0; + align: 0.5 0.5; + text_source: "elm.text"; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + } + programs { + program { name: "active"; + signal: "elm,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "active_base"; + } + program { name: "active_base"; + action: STATE_SET "active" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + program { name: "inactive"; + signal: "elm,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.text2"; + after: "inactive_base"; + } + program { name: "inactive_base"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/inwin.edc b/legacy/elementary/data/themes/edc/elm/inwin.edc new file mode 100644 index 0000000000..ddf65c3bbd --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/inwin.edc @@ -0,0 +1,79 @@ +group { name: "elm/win/inwin/default"; + images { + image: "button_normal.png" COMP; + } + parts { + part { name: "base"; type: RECT; mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 150 150 150 64; + } + } + part { name: "pop"; mouse_events: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel1.offset: -5 -5; + rel2.to: "elm.swallow.content"; + rel2.offset: 4 4; + image { + normal: "button_normal.png"; + border: 4 4 3 5; + middle: SOLID; + } + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.1 0.1; + rel2.relative: 0.9 0.9; + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "base"; + } + } +} + +group { name: "elm/win/inwin/minimal"; + inherit: "elm/win/inwin/default"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + } + } +} + +group { name: "elm/win/inwin/minimal_vertical"; + inherit: "elm/win/inwin/default"; + parts { + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.1 0.5; + rel2.relative: 0.9 0.5; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/label.edc b/legacy/elementary/data/themes/edc/elm/label.edc new file mode 100644 index 0000000000..6e4546e31e --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/label.edc @@ -0,0 +1,389 @@ +group { name: "elm/label/base/default"; + styles { + style { name: "label_style"; + base: "font="FN" font_size=10 text_class=tb_plain align=center color=#ffffffff style=shadow,bottom shadow_color=#00000080"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD" text_class=tb_light"; + tag: "b" "+ font="FNBD" text_class=tb_light"; + } + } + parts { + part { name: "label.text.clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; type: TEXTBLOCK; + clip_to: "label.text.clip"; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + text { + style: "label_style"; + min: 0 1; + } + } + } + } +} + +group { name: "elm/label/base/marker"; + styles { + style { name: "label_style2"; + base: "font="FNBD" font_size=10 text_class=tb_plain align=center color=#ffffffff style=shadow,bottom shadow_color=#00000080"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light"; + tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light"; + } + } + parts { + part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { style: "label_style2"; + min: 1 1; + } + } + } + } +} + +group { name: "elm/label/base/slide_long"; + script { + public g_duration, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 0)) { + new Float:duration; + duration = getfarg(2); + set_float(g_duration, duration); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + parts { + part { name: "label.text.clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "label_style"; + min: 0 1; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 1.0 0.0; + text { + style: "label_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { + style: "label_style"; + min: 1 1; + } + } + } + } + programs { + program { name: "start_slide"; + signal: "elm,state,slide,start"; source: "elm"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + signal: "elm,state,slide,stop"; source: "elm"; + script { + stop_slide(); + } + } + } +} + + +group { name: "elm/label/base/slide_short"; + script { + public g_duration, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 0)) { + new Float:duration; + duration = getfarg(2); + set_float(g_duration, duration); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin() { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_state(PART:"elm.text", "slide_begin", 0.0); + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + parts { + part { name: "label.text.clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { style: "label_style"; + min: 0 1; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { style: "label_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { style: "label_style"; + min: 1 1; + } + } + } + } + programs { + program { name: "start_slide"; + signal: "elm,state,slide,start"; source: "elm"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + signal: "elm,state,slide,stop"; source: "elm"; + script { + stop_slide(); + } + } + } +} + +group { name: "elm/label/base/slide_bounce"; + script { + public g_duration, g_stopslide, g_timer_id, g_anim_id; + + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 0)) { + new Float:duration; + duration = getfarg(2); + set_float(g_duration, duration); + } + } + public slide_to_end_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_begin", 1); + set_int(g_timer_id, id); + } + } + public slide_to_end() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_end_anim", 1); + set_int(g_anim_id, id); + } + public slide_to_begin_anim(val, Float:pos) { + new stopflag; + new id; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); + if (pos >= 1.0) { + id = timer(0.5, "slide_to_end", 1); + set_int(g_timer_id, id); + } + } + public slide_to_begin() { + new stopflag; + new id; + new Float:duration; + stopflag = get_int(g_stopslide); + if (stopflag == 1) return; + duration = get_float(g_duration); + id = anim(duration, "slide_to_begin_anim", 1); + set_int(g_anim_id, id); + } + public start_slide() { + set_int(g_stopslide, 0); + set_state(PART:"elm.text", "slide_begin", 0.0); + slide_to_end(); + } + public stop_slide() { + new id; + set_int(g_stopslide, 1); + id = get_int(g_anim_id); + cancel_anim(id); + id = get_int(g_timer_id); + cancel_timer(id); + set_state(PART:"elm.text", "default", 0.0); + } + } + parts { + part { name: "label.text.clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; + clip_to: "label.text.clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + align: 0.0 0.0; + text { style: "label_style"; + min: 0 1; + } + } + description { state: "slide_end" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + text { style: "label_style"; + min: 1 1; + } + } + description { state: "slide_begin" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.0; + text { style: "label_style"; + min: 1 1; + } + } + } + } + programs { + program { name: "start_slide"; + signal: "elm,state,slide,start"; source: "elm"; + script { + start_slide(); + } + } + program { name: "stop_slide"; + signal: "elm,state,slide,stop"; source: "elm"; + script { + stop_slide(); + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/layout.edc b/legacy/elementary/data/themes/edc/elm/layout.edc new file mode 100644 index 0000000000..902d82bcca --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/layout.edc @@ -0,0 +1,535 @@ +/* application with a main content area with a back button and title area */ +group { name: "elm/layout/application/content-back"; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_y: "title_clipper"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + part { name: "title_clipper"; type: RECT; + description { state: "default" 0.0; + visible: 1; + rel1.to_y: "back"; + rel2.to_y: "back"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + } + } + part { name: "back_clipper"; type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "back"; type: EXTERNAL; + source: "elm/button"; + clip_to: "back_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + offset: 0 1; + } + rel2 { + relative: 0.0 0.0; + offset: 50 32; + } + params.string: "label" "Back"; + } + } + programs { + program { + signal: "clicked"; source: "back"; + action: SIGNAL_EMIT "elm,action,back" "elm"; + } + program { + signal: "elm,back,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,title,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -2 1; + } + rel2 { + relative: 1.0 0.0; + offset: -1 32; + } + } + } + part { name: "elm.text.title"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1 { + to_x: "back"; + relative: 1.0 0.0; + offset: 2 1; + } + rel2 { + to_y: "back"; + to_x: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -3 -1; + } + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + } + } + } + } +} + +/* application with a main content area with a back and next buttons and title area */ +group { name: "elm/layout/application/content-back-next"; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_y: "title_clipper"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + part { name: "title_clipper"; type: RECT; + description { state: "default" 0.0; + visible: 1; + rel1.to_y: "back"; + rel2.to_y: "back"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 0.0; + } + } + part { name: "back"; type: EXTERNAL; + source: "elm/button"; + clip_to: "back_clipper"; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 0.0; + offset: 0 1; + } + rel2 { + relative: 0.0 0.0; + offset: 50 32; + } + params.string: "label" "Back"; + } + } + part { name: "back_clipper"; type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + part { name: "next"; type: EXTERNAL; + source: "elm/button"; + clip_to: "next_clipper"; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -2 1; + } + rel2 { + relative: 1.0 0.0; + offset: -1 32; + } + params.string: "label" "Next"; + } + } + part { name: "next_clipper"; type: RECT; + clip_to: "title_clipper"; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + visible: 0; + } + } + programs { + program { + signal: "clicked"; source: "back"; + action: SIGNAL_EMIT "elm,action,back" "elm"; + } + program { + signal: "elm,title,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.1; + target: "title_clipper"; + } + program { + signal: "elm,title,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "title_clipper"; + } + program { + signal: "elm,back,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "back_clipper"; + } + program { + signal: "elm,back,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "back_clipper"; + } + program { + signal: "clicked"; source: "next"; + action: SIGNAL_EMIT "elm,action,next" "elm"; + } + program { + signal: "elm,next,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "next_clipper"; + } + program { + signal: "elm,next,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "next_clipper"; + } + } + part { name: "elm.text.title"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "title_clipper"; + description { state: "default" 0.0; + rel1 { + to_x: "back"; + relative: 1.0 0.0; + offset: 2 1; + } + rel2 { + to_y: "back"; + to_x: "next"; + relative: 0.0 1.0; + offset: -3 -1; + } + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + } + } + } + } +} + +/* application with toolbar and main content area */ +group { name: "elm/layout/application/toolbar-content"; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 1; + } + } + } + part { name: "elm.external.toolbar"; type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel2 { + relative: 1.0 0.0; + offset: -1 0; + } + } + } + } +} + +/* application with toolbar and main content area with a back button and title area */ +group { name: "elm/layout/application/toolbar-content-back"; + inherit: "elm/layout/application/content-back"; + parts { + part { name: "elm.external.toolbar"; type: EXTERNAL; + insert_after: "elm.swallow.content"; + source: "elm/toolbar"; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel2 { + relative: 1.0 0.0; + offset: -1 0; + } + } + } + part { name: "back"; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.end"; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + } + rel2 { + to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.text.title"; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + } + } + } + } +} + +/* application with toolbar and main content area with a back and next buttons and title area */ +group { name: "elm/layout/application/toolbar-content-back-next"; + inherit: "elm/layout/application/content-back-next"; + parts { + part { name: "elm.external.toolbar"; type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel2 { + relative: 1.0 0.0; + offset: -1 0; + } + } + } + part { name: "back"; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + } + } + } + part { name: "next"; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + } + rel2 { + to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.text.title"; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 1.0 1.0; + } + } + } + } +} + +/* application with toolbar and main content area as a vertical box */ +group { name: "elm/layout/application/toolbar-vbox"; + parts { + part { name: "elm.box.content"; type: BOX; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 0; + } + box.layout: "vertical"; + } + } + part { name: "elm.external.toolbar"; type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel2 { + relative: 1.0 0.0; + offset: -1 0; + } + } + } + } +} + +/* application with toolbar and main content area as a table */ +group { name: "elm/layout/application/toolbar-table"; + parts { + part { name: "elm.table.content"; type: TABLE; + description { state: "default" 0.0; + rel1 { + to_y: "elm.external.toolbar"; + relative: 0.0 1.0; + offset: -1 0; + } + } + } + part { name: "elm.external.toolbar"; type: EXTERNAL; + source: "elm/toolbar"; + description { state: "default" 0.0; + align: 0.5 0.0; + fixed: 0 1; + rel2 { + relative: 1.0 0.0; + offset: -1 0; + } + } + } + } +} + +/* a simple title layout, with a label and two icons */ +group { name: "elm/layout/application/titlebar"; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + offset: -1 0; + } + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 0.0 0.0; + min: 24 24; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 0.0 0.0; + offset: 2 2; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + align: 1.0 0.0; + min: 24 24; + rel1 { + relative: 1.0 0.0; + offset: -3 2; + } + rel2 { + relative: 1.0 0.0; + offset: -3 2; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + programs { + program { + signal: "elm,state,icon,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { + signal: "elm,state,end,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { + signal: "elm,state,end,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + } + part { name: "elm.text"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + } + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + } + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/elm/list.edc b/legacy/elementary/data/themes/edc/elm/list.edc new file mode 100644 index 0000000000..3467cc4895 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/list.edc @@ -0,0 +1,707 @@ +#define ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } +#define COMPRESS(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + } \ + } +#define COMPRESS_ODD(_NAME, _SRC) \ + group { name: _NAME; \ + inherit: _SRC; \ + parts { \ + part { name: "elm.text"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label2"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "label3"; \ + description { state: "default" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "selected" 0.0; \ + text.min: 0 1; \ + } \ + description { state: "disabled" 0.0; \ + text.min: 0 1; \ + } \ + } \ + part { name: "base"; \ + description { state: "default" 0.0; \ + color: 56 56 56 255; \ + color_class: "list_item_base_odd"; \ + } \ + } \ + } \ + } + +group { name: "elm/list/item/default"; + 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: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + color_class: "list_item_base"; + } + description { state: "odd" 0.0; + color: 56 56 56 255; + color_class: "list_item_base_odd"; + } + } + program { + signal: "elm,state,odd"; source: "elm"; + action: STATE_SET "odd" 1.0; + target: "base"; + } + program { + signal: "elm,state,even"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "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; + visible: 0; + TILED_HORIZ(120) + } + 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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "event"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "event"; + } + + //##// + part { name: "elm.text"; 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: "elm.swallow.icon"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "elm.swallow.end"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "list_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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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: "elm.text"; + rel2.offset: 1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "list_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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + //##// + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 0.0 0.5; + aspect: 1.0 1.0; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + align: 1.0 0.5; + aspect: 1.0 1.0; + 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"; + visible: 0; + FIXED_SIZE(69, 5) + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event_block"; 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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "sel_shine"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "sel_shine"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "event_block"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block"; + } + } +} +ODD("elm/list/item_odd/default", "elm/list/item/default") +COMPRESS("elm/list/item_compress/default", "elm/list/item/default") +COMPRESS_ODD("elm/list/item_compress_odd/default", "elm/list/item/default") + +// XXX: DO: +// elm/list/h_item/default +// elm/list/h_item_odd/default +// elm/list/h_item_compress/default +// elm/list/h_item_compress_odd/default + + + + + + + + + + + + + + +group { name: "elm/list/h_item/default"; + data.item: "selectraise" "on"; + images.image: "bevel_curved_vert_out.png" COMP; + images.image: "shadow_rounded_vert.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + color_class: "list_item_base"; + } + description { state: "odd" 0.0; + color: 56 56 56 255; + color_class: "list_item_base_odd"; + } + } + program { + signal: "elm,state,odd"; source: "elm"; + action: STATE_SET "odd" 1.0; + target: "base"; + } + program { + signal: "elm,state,even"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_curved_vert_out.png"; + image.border: 2 2 0 0; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "sel_shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_rounded_vert.png"; + image.border: 9 9 0 0; + rel1.offset: -6 0; + rel2.offset: 5 -1; + 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; + visible: 0; + TILED_HORIZ(120) + } + 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_out.png"; + image.border: 2 2 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "event"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "event"; + } + + //##// + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.relative: 0.0 1.0; + rel1.to_y: "elm.swallow.icon"; + rel2.offset: -3 -3; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.swallow.end"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "list_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "list_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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "list_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 0.5; + text_class: "list_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: "elm.text"; + rel2.offset: 1 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "list_item_selected"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 0.5; + text_class: "list_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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + //##// + part { name: "elm.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + aspect: 1.0 1.0; + align: 0.5 0.0; + rel1.offset: 2 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 2; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 0 1; + aspect: 1.0 1.0; + align: 0.5 1.0; + rel1.offset: 2 -3; + rel1.relative: 0.0 1.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"; + visible: 0; + FIXED_SIZE(69, 5) + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event_block"; 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; + } + } + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "sel_shine"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "sel_shine"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "event_block"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "event_block"; + } + } +} +ODD("elm/list/h_item_odd/default", "elm/list/h_item/default") +COMPRESS("elm/list/h_item_compress/default", "elm/list/h_item/default") +COMPRESS_ODD("elm/list/h_item_compress_odd/default", "elm/list/h_item/default") + +#undef ODD +#undef COMPRESS +#undef COMPRESS_ODD diff --git a/legacy/elementary/data/themes/edc/elm/map.edc b/legacy/elementary/data/themes/edc/elm/map.edc new file mode 100644 index 0000000000..90b3fe415a --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/map.edc @@ -0,0 +1,208 @@ +group { name: "elm/map/base/default"; + inherit: "elm/photocam/base/default"; +} + +group { name: "elm/map/marker/radio/default"; + data.item: "size_w" 35; + data.item: "size_h" 35; + data.item: "size_max_w" 35; + data.item: "size_max_h" 35; + images.image: "map_marker.png" COMP; + parts { + part { name: "mark"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.relative: 0.5 0.5; + rel1.offset: 0 3; + rel2.relative: 0.5 0.5; + rel2.offset: 0 3; + align: 0.5 1.0; + min: 65 35; + max: 65 35; + image.normal: "map_marker.png"; + } + } + part { name: "elm.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "mark"; + rel1.relative: (25/65) (5/35); + rel2.to: "mark"; + rel2.relative: (40/65) (20/35); + rel2.offset: 0 0; + } + } + part { name: "elm.text"; type: TEXT; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.icon"; + rel2.to: "elm.icon"; + color_class: "map_radio"; + color: 21 21 21 255; + color3: 255 255 255 192; + text { font: FNBD; size: 10; + text_class: "map_radio"; + min: 1 1; + } + } + } + } +} + +group { name: "elm/map/marker/empty/default"; + data.item: "size_w" 16; + data.item: "size_h" 16; + data.item: "size_max_w" 24; + data.item: "size_max_h" 24; + parts { + part { name: "knob"; type: SPACER; + description { state: "default" 0.0; + min: 16 16; + max: 24 24; + } + } + part { name: "elm.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "knob"; + rel2.to: "knob"; + } + } + part { name: "elm.text"; type: TEXT; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1.to: "knob"; + rel2.to: "knob"; + color_class: "map_empty"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + text_class: "map_empty"; + min: 1 1; + } + } + } + } +} + +group { name: "elm/map/circle/base/default"; + images.image: "map_circle.png" COMP; + parts { + part { name: "base"; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + image.normal: "map_circle.png"; + } + } + } +} + +group { name: "elm/map/scale/base/default"; + data.item: "size_w" 100; + data.item: "size_h" 22; + images.image: "map_scale.png" COMP; + parts { + part { name: "scale"; + description { state: "default" 0.0; + min: 16 16; + image.border: 6 6 5 5; + image.normal: "map_scale.png"; + } + } + part { name: "elm.text"; type: TEXT; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1.offset: 6 5; + rel2.offset: -7 -5; + color_class: "map_scale"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + text_class: "map_scale"; + min: 1 1; + align: 0.0 0.0; + } + } + } + } +} + +group { name: "elm/map/marker_bubble/default"; + data.item: "size_w" 320; + data.item: "size_h" 160; + images.image: "bub_base_b0.png" COMP; + images.image: "bub_base_b1.png" COMP; + images.image: "bub_base_b2.png" COMP; + images.image: "bub_over_bot.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "base0"; + description { state: "default" 0.0; + image.normal: "bub_base_b0.png"; + image.border: 12 0 8 13; + image.middle: SOLID; + fill.smooth: 0; + rel2.relative: 0.0 1.0; + rel2.to: "base1"; + } + } + part { name: "base1"; + description { state: "default" 0.0; + image.normal: "bub_base_b1.png"; + image.border: 0 0 8 13; + image.middle: SOLID; + fill.smooth: 0; + max: 17 99999; + min: 17 22; + } + } + part { name: "base2"; + description { state: "default" 0.0; + image.normal: "bub_base_b2.png"; + image.border: 0 12 8 13; + image.middle: SOLID; + fill.smooth: 0; + rel1.relative: 1.0 0.0; + rel1.to: "base1"; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "base0"; + rel1.offset: 5 4; + rel2.to: "base2"; + rel2.offset: -6 -12; + } + } + part { name: "over"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base0"; + rel1.offset: 2 1; + rel2.to: "base2"; + rel2.offset: -3 1; + rel2.relative: 1.0 0.4; + image.normal: "bub_over_bot.png"; + fill.smooth: 0; + } + } + part { name: "shine_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "over"; + rel1.offset: 0 -10; + rel2.to: "over"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "shine_clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "over"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "over"; + FIXED_SIZE(69, 5) + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/elm/menu.edc b/legacy/elementary/data/themes/edc/elm/menu.edc new file mode 100644 index 0000000000..369c5ab7c4 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/menu.edc @@ -0,0 +1,690 @@ +group { name: "elm/menu/item/default"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "shine.png" COMP; + script { + public menu_text_visible; //0:hide (default), 1:visible + public menu_disable; //0:enable, 1:disable + } + 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; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + 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; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + // XXX: need to handle no icon mode + part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; + clip_to: "disabler"; + scale: 1; + description { state: "default" 0.0; + min: 16 16; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 3 3; + rel2.offset: 3 -5; + rel2.relative: 0.0 1.0; + } + } + // XXX: check/radio goes next (right of) content, no radio/check handle + // XXX: need to handle no text? + // XXX: need arrowspace on/off based on submenus in menu + part { name: "arrowspace"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 15 15; + max: 15 15; + rel1.offset: -2 0; + rel1.relative: 1.0 0.0; + rel2.offset: -2 -1; + align: 1.0 0.5; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 5 -1; + rel2.to_x: "arrowspace"; + rel2.offset: -6 -1; + rel2.relative: 0.0 1.0; + color: FN_COL_DEFAULT; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "menu_item"; + } + } + description { state: "active" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "menu_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "active" 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: "elm.text"; + rel2.offset: 2 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "menu_item_active"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + 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; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "shine"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 -2; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + image.normal: "shine.png"; + visible: 0; + FIXED_SIZE(69, 5) + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disabler"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + } + } + programs { + program { + signal: "mouse,in"; source: "event"; + action: SIGNAL_EMIT "elm,action,activate" "elm"; + after: "selected"; + } + program { + signal: "mouse,out"; source: "event"; +// action: SIGNAL_EMIT "elm,action,inactivate" "elm"; + after: "unselected"; + } + program { signal: "mouse,down,1"; source: "event"; + after: "selected"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; source: "elm"; + script { + set_int(menu_text_visible, 1); +// set_state(PART:"elm.text", "active", 0.0); +// set_state(PART:"elm.text2", "active", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; source: "elm"; + script { + set_int(menu_text_visible, 0); +// set_state(PART:"elm.text", "default", 0.0); +// set_state(PART:"elm.text2", "default", 0.0); + } + } + program { name: "selected"; + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "active" 0.0; + target: "shadow"; + target: "base"; + target: "bevel"; + target: "shine"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { name: "unselected"; + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "shadow"; + target: "base"; + target: "bevel"; + target: "shine"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "shadow"; + target: "base"; + target: "bevel"; + target: "shine"; + target: "event"; + target: "disabler"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "shadow"; + target: "base"; + target: "bevel"; + target: "shine"; + target: "event"; + target: "disabler"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + } +} + +group { name: "elm/menu/item_with_submenu/default"; + inherit: "elm/menu/item/default"; +// alias: "elm/menu/main_menu_submenu/default"; + images { + image: "sym_right_light_normal.png" COMP; + image: "sym_right_glow_normal.png" COMP; + image: "vertical_separated_bar_glow.png" COMP; + } + parts { + part { name: "arrow"; + insert_after: "item_image_disabled"; + description { state: "default" 0.0; + rel1.to: "arrowspace"; + rel2.to: "arrowspace"; + image.normal: "sym_right_light_normal.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "select_line"; + repeat_events: 1; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 1.0 0.0; + rel1.offset: -10 -5; + rel2.offset: 4 4; + image { + normal: "vertical_separated_bar_glow.png"; + border: 7 7 7 7; + } + fill.smooth : 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "selected"; + target: "arrow"; + target: "select_line"; + } + program { name: "unselected"; + target: "arrow"; + target: "select_line"; + } + program { + signal: "mouse,in"; source: "event"; + action: SIGNAL_EMIT "elm,action,open" "elm"; + } +// program { +// signal: "mouse,up,1"; source: "event"; +// action: SIGNAL_EMIT "elm,action,open" "elm"; +// } + } +} + +group { name: "elm/menu/separator/default"; + images { + image: "separator_horiz.png" COMP; + } + parts { + part { name: "separator"; + description { state: "default" 0.0; + min: 2 2; + rel1.offset: 0 2; + rel2.offset: -1 -3; + image.normal: "separator_horiz.png"; + fill.smooth: 0; + } + } + } +} + +group { name: "elm/menu/main_menu_submenu/default"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "shine.png" COMP; + script { + public menu_text_visible; //0:hide (default), 1:visible + public menu_disable; //0:enable, 1:disable + } + 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; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + 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; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + // XXX: need to handle no icon mode + part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; + clip_to: "disabler"; + scale: 1; + description { state: "default" 0.0; + min: 16 16; + fixed: 1 0; + align: 0.0 0.5; + rel1.offset: 3 3; + rel2.offset: 3 -5; + rel2.relative: 0.0 1.0; + } + } + // XXX: check/radio goes next (right of) content, no radio/check handle + // XXX: need to handle no text? + // XXX: need arrowspace on/off based on submenus in menu + part { name: "arrowspace"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 15 15; + max: 15 15; + rel1.offset: -2 0; + rel1.relative: 1.0 0.0; + rel2.offset: -2 -1; + align: 1.0 0.5; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: 5 -1; + rel2.to_x: "arrowspace"; + rel2.offset: -6 -1; + rel2.relative: 0.0 1.0; + color: FN_COL_DEFAULT; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "menu_item"; + } + } + description { state: "active" 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: "elm.text"; + rel2.to: "elm.text"; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "menu_item_disabled"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "active" 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: "elm.text"; + rel2.offset: 2 1; + rel2.to: "elm.text"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "menu_item_active"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.0 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "bevel0"; mouse_events: 0; + clip_to: "bevelc"; + description { state: "default" 0.0; + rel1.to: "bevel"; + rel1.offset: -1 -1; + rel2.to: "bevel"; + rel2.offset: 0 0; + image.normal: "bevel_in.png"; + image.border: 2 2 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bevelc"; type: RECT; + description { state: "default" 0.0; + rel1.to: "bevel"; + rel1.offset: -1 0; + rel2.to: "bevel"; + rel2.offset: 0 -1; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 2 2 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "shine"; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 -2; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + image.normal: "shine.png"; + visible: 0; + FIXED_SIZE(69, 5) + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "disabler"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + } + } + programs { + program { + signal: "mouse,in"; source: "event"; + action: SIGNAL_EMIT "elm,action,activate" "elm"; + after: "selected"; + } + program { + signal: "mouse,out"; source: "event"; +// action: SIGNAL_EMIT "elm,action,inactivate" "elm"; + after: "unselected"; + } + program { signal: "mouse,down,1"; source: "event"; + after: "selected"; + } + program { + signal: "mouse,down,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; source: "elm"; + script { + set_int(menu_text_visible, 1); +// set_state(PART:"elm.text", "active", 0.0); +// set_state(PART:"elm.text2", "active", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; source: "elm"; + script { + set_int(menu_text_visible, 0); +// set_state(PART:"elm.text", "default", 0.0); +// set_state(PART:"elm.text2", "default", 0.0); + } + } + program { name: "selected"; + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "active" 0.0; + target: "shadow"; + target: "base"; + target: "bevel0"; + target: "bevel"; + target: "shine"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { name: "unselected"; + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "shadow"; + target: "base"; + target: "bevel0"; + target: "bevel"; + target: "shine"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "shadow"; + target: "base"; + target: "bevel0"; + target: "bevel"; + target: "shine"; + target: "event"; + target: "disabler"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "shadow"; + target: "base"; + target: "bevel0"; + target: "bevel"; + target: "shine"; + target: "event"; + target: "disabler"; + target: "elm.text"; + target: "label2"; + target: "label3"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/multibuttonentry.edc b/legacy/elementary/data/themes/edc/elm/multibuttonentry.edc new file mode 100644 index 0000000000..bbe03f5cd1 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/multibuttonentry.edc @@ -0,0 +1,262 @@ +group { name: "elm/multibuttonentry/base/default"; + data.item: "closed_height" 0; + parts { + part { name: "box.swallow"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.0; + } + } + } +} + +group { name: "elm/multibuttonentry/label/default"; + parts { + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "multibuttonentry_label"; + text { font: FNBD; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "multibuttonentry_label"; + } + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + description { state: "no_text" 0.0; + inherit: "default" 0.0; + text.min: 0 1; + rel1.offset: 0 0; + rel2.offset: -1 -1; + visible: 0; + } + } + } + programs { + program { + signal: "elm,mbe,set_text"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + signal: "elm,mbe,clear_text"; source: "elm"; + action: STATE_SET "no_text" 0.0; + target: "elm.text"; + } + } +} + +group { name: "elm/multibuttonentry/guidetext/default"; + parts { + part { name: "elm.text"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: FNBD; size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + } + } +} + +group { name: "elm/multibuttonentry/btn/default"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "sym_close_dark_normal.png" COMP; + images.image: "sym_close_dark_selected.png" COMP; + images.image: "win_glow.png" COMP; + data.item: "button_max_size" 130; + styles { + style { name: "multibuttonentry_textblock_style"; + base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=multibuttonentry_item ellipsis=1.0"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font="FNBD; + tag: "b" "+ font="FNBD; + tag: "tab" "\t"; + } + } + 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: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.offset: -2 -3; + rel1.to: "base"; + rel2.offset: 1 0; + rel2.to: "base"; + 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: "close"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_close_dark_normal.png"; + rel1.to: "del"; + rel2.to: "del"; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_close_dark_selected.png"; + } + } + part { name: "del"; type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: 4 4; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.relative: 1.0 0.0; + rel1.to: "base"; + rel1.offset: -6 5; + rel2.offset: -6 -7; + rel2.to: "base"; + color: 0 0 0 0; + } + } + part { name: "elm.btn.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color_class: "multibuttonentry_label"; + text { style: "multibuttonentry_textblock_style"; + min: 1 1; + text_class: "multibuttonentry_label"; + } + visible: 0; + rel1.offset: 5 5; + rel1.to: "base"; + rel2.to_x: "del"; + rel2.to_y: "base"; + rel2.relative: 0.0 1.0; + rel2.offset: -3 -7; + } + } + part { name: "text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + color_class: "multibuttonentry_label"; + text { style: "multibuttonentry_textblock_style"; + text_source: "elm.btn.text"; + min: 0 1; + align: 0.0 0.5; + text_class: "multibuttonentry_label"; + } + align: 0.0 0.5; + rel1.offset: 5 5; + rel1.to: "base"; + rel2.to_x: "del"; + rel2.to_y: "base"; + rel2.relative: 0.0 1.0; + rel2.offset: -3 -7; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; source: "base"; + action: SIGNAL_EMIT "clicked" "elm"; + } + program { + signal: "elm,state,default"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "glow"; + } + program { + signal: "elm,state,focused"; source: "elm"; + action: STATE_SET "focused" 0.0; + target: "glow"; + } + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1"; source: "del"; + action: SIGNAL_EMIT "elm,deleted" "elm"; + } + program { + signal: "mouse,down,1"; source: "del"; + action: STATE_SET "clicked" 0.0; + target: "close"; + } + program { + signal: "mouse,up,1"; source: "del"; + action: STATE_SET "default" 0.0; + target: "close"; + } + } +} + +group { name: "elm/multibuttonentry/closedbutton/default"; + styles { + style { name: "textblock_style_multibuttonentry_default"; + base: "font="FNBD" font_size=10 text_class=multibuttonentry_closed style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12 wrap=char"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font="FNBD; + tag: "b" "+ font="FNBD; + tag: "tab" "\t"; + } + } + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.to: "bg"; + rel2.offset: -3 -3; + rel2.to: "bg"; + text { style: "textblock_style_multibuttonentry_default"; + min: 1 1; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/naviframe.edc b/legacy/elementary/data/themes/edc/elm/naviframe.edc new file mode 100644 index 0000000000..abb7a62b72 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/naviframe.edc @@ -0,0 +1,635 @@ +group { name: "elm/naviframe/item/basic/default"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_vert.png" COMP; + parts { + // this set of limits and bottoms is evil - but it's a nasty construct + // allowing EITHER the title and subtitle texts OR the prev/next button + // swallows to control the lower bounds of the naviframe title, depending + // on which is taller +#define BOTTOMMAX() \ + part { name: "limit0"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1.to_y: "title3"; \ + rel1.relative: 0.0 1.0; \ + rel2.to_y: "elm.swallow.next_btn"; \ + rel2.offset: -1 0; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + limit: HEIGHT; \ + } \ + } \ + part { name: "limit1"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1.to_y: "elm.swallow.next_btn"; \ + rel1.relative: 0.0 1.0; \ + rel2.to_y: "title3"; \ + rel2.offset: -1 0; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + limit: HEIGHT; \ + } \ + } \ + part { name: "bottom0"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1.to_y: "limit1"; \ + rel1.relative: 0.0 1.0; \ + rel2.to_y: "limit0"; \ + rel2.offset: -1 0; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + limit: HEIGHT; \ + } \ + description { state: "other" 0.0; \ + inherit: "default" 0.0; \ + rel1.to_y: "limit0"; \ + rel2.to_y: "limit1"; \ + } \ + } \ + program { name: "pbot0"; \ + signal: "limit,height,zero"; source: "bottom0"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"bottom0", st, 30, vl); \ + if (st[0] == 'd') set_state(PART:"bottom0", "other", 1.0); \ + else set_state(PART:"bottom0", "default", 1.0); \ + } \ + } \ + part { name: "limit2"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1.to_y: "title3"; \ + rel1.relative: 0.0 1.0; \ + rel2.to_y: "elm.swallow.prev_btn"; \ + rel2.offset: -1 0; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + limit: HEIGHT; \ + } \ + } \ + part { name: "limit3"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1.to_y: "elm.swallow.prev_btn"; \ + rel1.relative: 0.0 1.0; \ + rel2.to_y: "title3"; \ + rel2.offset: -1 0; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + limit: HEIGHT; \ + } \ + } \ + part { name: "bottom1"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1.to_y: "limit3"; \ + rel1.relative: 0.0 1.0; \ + rel2.to_y: "limit2"; \ + rel2.offset: -1 0; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + limit: HEIGHT; \ + } \ + description { state: "other" 0.0; \ + inherit: "default" 0.0; \ + rel1.to_y: "limit2"; \ + rel2.to_y: "limit3"; \ + } \ + } \ + program { name: "pbot1"; \ + signal: "limit,height,zero"; source: "bottom1"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"bottom1", st, 30, vl); \ + if (st[0] == 'd') set_state(PART:"bottom1", "other", 1.0); \ + else set_state(PART:"bottom1", "default", 1.0); \ + } \ + } \ + part { name: "bottom"; type: SPACER; \ + description { state: "default" 0.0; \ + rel1.to_y: "bottom1"; \ + rel1.offset: 0 -1; \ + rel1.relative: 0.0 1.0; \ + rel2.to_y: "bottom0"; \ + align: 0.5 1.0; \ + fixed: 0 1; \ + limit: HEIGHT; \ + } \ + description { state: "other" 0.0; \ + inherit: "default" 0.0; \ + rel1.to_y: "bottom0"; \ + rel2.to_y: "bottom1"; \ + } \ + } \ + program { name: "pbot"; \ + signal: "limit,height,zero"; source: "bottom"; \ + script { \ + new st[31], Float:vl; \ + get_state(PART:"bottom", st, 30, vl); \ + if (st[0] == 'd') set_state(PART:"bottom", "other", 1.0); \ + else set_state(PART:"bottom", "default", 1.0); \ + } \ + } + BOTTOMMAX() + + part { name: "title1"; type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.offset: 0 2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + align: 0.5 0.0; + color: 255 255 255 255; + color3: 0 0 0 18; + text { font: FN; size: 8; + text: "X"; + text_class: "title_bar_sub"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + visible: 0; + } + } + part { name: "title2"; type: TEXT; + scale: 1; + effect: SOFT_SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "border_title_active"; + rel1.to_y: "title1"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -1; + rel2.to_y: "title1"; + rel2.offset: -1 -1; + align: 0.5 0.0; + color: 255 255 255 255; + color3: 0 0 0 18; + text { font: FNBD; size: 10; + text: "X"; + text_class: "title_bar"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + visible: 0; + } + } + part { name: "title3"; type: TEXT; + scale: 1; + description { state: "default" 0.0; + rel1.to_y: "title2"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -3; + rel2.to_y: "title2"; + rel2.offset: -1 -3; + align: 0.5 0.0; + color: 255 255 255 255; + color3: 0 0 0 18; + text { font: FN; size: 8; + text: "X"; + text_class: "title_bar_sub"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + visible: 0; + } + } + + + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + } + description { state: "prev" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "next" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "top"; + rel1.relative: 0.0 1.0; + rel2.to: "base"; + } + description { state: "title-hidden" 0.0; + inherit: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 0.0; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_vert.png"; + rel1.to: "top"; + rel1.relative: 0.0 1.0; + rel2.to: "top"; + rel2.offset: -1 0; + fill.smooth: 0; + min: 0 20; + align: 0.5 0.0; + fixed: 1 1; + } + description { state: "title-hidden" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + } + part { name: "tophide0"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to_x: "base"; + rel2.to_y: "bottom"; + } + } + part { name: "tophide1"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "tophide0"; + rel1.relative: 0.0 -1.0; + rel2.to: "tophide0"; + } + } + part { name: "top"; + clip_to: "clip"; + description { state: "default" 0.0; + color_class: "border_top"; + image.normal: "vgrad_med_dark.png"; + rel1.to: "base"; + rel2.to_x: "base"; + rel2.to_y: "bottom"; + fill.smooth: 0; + TILED_HORIZ(120) + } + description { state: "title-hidden" 0.0; + inherit: "default" 0.0; + rel1.to: "tophide1"; + rel2.to: "base"; + rel2.relative: 1.0 0.0; + } + } + part { name: "access.title"; type: RECT; repeat_events: 1; + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "top"; + rel2.to: "top"; + } + } + part { name: "bevel"; mouse_events: 0; + clip_to: "clip"; + 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: "elm.text.title"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SOFT_SHADOW BOTTOM; + clip_to: "elements_clip"; + description { state: "default" 0.0; + color_class: "border_title_active_sub"; + rel1.to_x: "base"; + rel1.to_y: "top"; + rel1.relative: 0.0 0.5; + rel2.offset: 0 -1; + rel2.to_x: "base"; + rel2.to_y: "top"; + rel2.relative: 1.0 0.5; + align: 0.5 0.5; + color: 255 255 255 255; + color3: 0 0 0 18; + text { font: FNBD; size: 10; + text_class: "title_bar"; + align: 0.5 0.5; + min: 0 1; + } + fixed: 0 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.text.subtitle"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + clip_to: "elements_clip"; + description { state: "default" 0.0; + rel1.to_x: "base"; + rel1.to_y: "elm.text.title"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -3; + rel2.to_x: "base"; + rel2.to_y: "elm.text.title"; + rel2.offset: -1 -3; + align: 0.5 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FN; size: 8; + text_class: "title_bar_sub"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "buttons_clip"; type: RECT; + clip_to: "elements_clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "title-hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.next_btn"; type: SWALLOW; + scale: 1; + clip_to: "buttons_clip"; + description { state: "default" 0.0; + rel1.to_x: "base"; +// rel1.to_y: "top"; + rel1.relative: 1.0 0.0; + rel1.offset: -3 2; + rel2.to_x: "base"; + rel2.to_y: "title3"; + rel2.offset: -3 -1; + align: 1.0 0.5; + min: 26 26; + max: 1 1; + fixed: 1 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; type: SWALLOW; + scale: 1; + clip_to: "buttons_clip"; + description { state: "default" 0.0; + rel1.to_x: "base"; +// rel1.to_y: "top"; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -1; + rel2.to_x: "base"; + rel2.to_y: "title3"; + align: 0.0 0.5; + min: 26 26; + max: 1 1; + fixed: 1 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "elements_clip"; + description { state: "default" 0.0; + rel1.to_x: "elm.swallow.prev_btn"; + rel1.to_y: "top"; + rel1.relative: 1.0 0.0; + rel1.offset: 2 2; + rel2.to_x: "elm.swallow.prev_btn"; + rel2.to_y: "top"; + rel2.offset: 2 -3; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.to_x: "top"; + rel1.relative: 0.0 0.0; + rel2.to_x: "top"; + rel2.offset: -3 -3; + align: 0.5 0.5; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "elements_clip"; + 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) + } + } + part { name: "elements_clip"; type: RECT; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + description { state: "next" 0.0; + inherit: "hidden" 0.0; + } + description { state: "prev" 0.0; + inherit: "hidden" 0.0; + } + } + } + programs { + program { + signal: "elm,state,title,show"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "top"; + target: "shadow"; + target: "elm.swallow.content"; + after: "titleshow2"; + } + program { name: "titleshow2"; + action: STATE_SET "default" 0.0; + target: "buttons_clip"; + } + program { + signal: "elm,state,title,hide"; source: "elm"; + action: STATE_SET "title-hidden" 0.0; + target: "buttons_clip"; + after: "titlehide2"; + } + program { name: "titlehide2"; + action: STATE_SET "title-hidden" 0.0; + transition: ACCELERATE 0.5; + target: "top"; + target: "shadow"; + target: "elm.swallow.content"; + } + program { + signal: "elm,state,prev_btn,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.prev_btn"; + } + program { + signal: "elm,state,prev_btn,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.prev_btn"; + } + program { + signal: "elm,state,next_btn,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.next_btn"; + } + program { + signal: "elm,state,next_btn,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.next_btn"; + } + program { + signal: "mouse,clicked,1"; source: "top"; + action: SIGNAL_EMIT "elm,action,title,clicked" "elm"; + } + program { + signal: "elm,state,title_label,show"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + target: "elm.text.title"; + target: "elm.text.subtitle"; + } + program { + signal: "elm,state,title_label,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.icon"; + target: "elm.text.title"; + target: "elm.text.subtitle"; + } + program { + signal: "elm,state,visible"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "elements_clip"; + } + + /* current page is being pushed: [previous]<----[current] */ + program { + signal: "elm,state,cur,pushed"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "elements_clip"; + after: "pushed2"; + } + program { name: "pushed2"; + action: STATE_SET "prev" 0.0; + transition: ACCELERATE 0.5; + target: "base"; + target: "elements_clip"; + after: "pushed3"; + } + program { name: "pushed3"; + action: SIGNAL_EMIT "elm,action,pushed,finished" "elm"; + } + + /* current page is being popped: [current]---->[next] */ + program { + signal: "elm,state,cur,popped"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "elements_clip"; + after: "popped2"; + } + program { name: "popped2"; + action: STATE_SET "next" 0.0; + transition: ACCELERATE 0.5; + target: "base"; + target: "elements_clip"; + after: "popped3"; + } + program { name: "popped3"; + action: SIGNAL_EMIT "elm,action,popped,finished" "elm"; + } + + /* new page is being pushed: [current]<----[next] */ + program { + signal: "elm,state,new,pushed"; source: "elm"; + action: STATE_SET "next" 0.0; + target: "base"; + target: "elements_clip"; + after: "pushedb2"; + } + program { name: "pushedb2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "base"; + target: "elements_clip"; + after: "pushedb3"; + } + program { name: "pushedb3"; + action: SIGNAL_EMIT "elm,action,show,finished" "elm"; + } + + /* previous page is being pushed: [previous]---->[current] */ + program { + signal: "elm,state,prev,popped"; source: "elm"; + action: STATE_SET "prev" 0.0; + target: "base"; + target: "elements_clip"; + after: "poppedb2"; + } + program { name: "poppedb2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "base"; + target: "elements_clip"; + after: "poppedb3"; + } + program { name: "poppedb3"; + action: SIGNAL_EMIT "elm,action,show,finished" "elm"; + } + } +} + +group { name: "elm/naviframe/item/overlap/default"; + inherit: "elm/naviframe/item/basic/default"; + alias: "elm/naviframe/item/overlap/pager"; + parts { + // this is a hack around an edje_cc inherit bug - group doesnt seem + // to inherit properly with limits etc. + BOTTOMMAX() + + part { name: "elm.swallow.content"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 0.0 0.0; + } + } + part { name: "top"; + description { state: "default" 0.0; + color: 255 255 255 224; + } + description { state: "title-hidden" 0.0; + color: 255 255 255 224; + } + } + } +} +#undef BOTTOMMAX diff --git a/legacy/elementary/data/themes/edc/elm/notify.edc b/legacy/elementary/data/themes/edc/elm/notify.edc new file mode 100644 index 0000000000..14f9ec151d --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/notify.edc @@ -0,0 +1,188 @@ +group { name: "elm/notify/block_events/default"; + parts { + part { name: "block_events"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 64; + } + } + program { + signal: "mouse,clicked,1"; source: "block_events"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +group { name: "elm/notify/top/default"; + images.image: "darken_rounded_square.png" COMP; + parts { + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "base"; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 12 12; + rel2.to: "base"; + rel2.offset: -13 -13; + } + } + } + programs { + program { + signal: "show"; source: ""; + action: STATE_SET "visible" 0.0; + target: "clip"; + target: "base"; + transition: DECELERATE 0.5; + } + program { + signal: "hide"; source: ""; + action: STATE_SET "default" 0.0; + target: "clip"; + target: "base"; + } + program { + signal: "elm,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip"; + target: "base"; + transition: DECELERATE 0.5; + } + } +} + +group { name: "elm/notify/bottom/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + } + } +} + +group { name: "elm/notify/left/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + } + } +} + +group { name: "elm/notify/right/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + } + } +} + +group { name: "elm/notify/top_left/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + } + } +} + +group { name: "elm/notify/top_right/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + } + } +} + +group { name: "elm/notify/bottom_left/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + } + } +} + +group { name: "elm/notify/bottom_right/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + } + } +} + +group { name: "elm/notify/center/default"; + inherit: "elm/notify/top/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -10 -10; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/elm/panel.edc b/legacy/elementary/data/themes/edc/elm/panel.edc new file mode 100644 index 0000000000..7dab212da5 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/panel.edc @@ -0,0 +1,355 @@ +group { name: "elm/panel/left/default"; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "holes_tiny_glow_vert.png" COMP; + images.image: "holes_tiny_glow_horiz.png" COMP; + images.image: "win_glow.png" COMP; + images.image: "icon_arrow_right.png" COMP; + images.image: "icon_arrow_left.png" COMP; + images.image: "icon_arrow_up.png" COMP; + images.image: "icon_arrow_down.png" COMP; + data.item: "focus_highlight" "on"; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "base"; + rel2.offset: 2 4; + rel2.to: "base"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_glow.png"; + image.border: 9 9 9 9; + image.middle: 0; + rel1.offset: -5 -5; + rel1.to: "base"; + rel2.offset: 4 4; + rel2.to: "base"; + 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: "all"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "all"; + rel2.to_x: "elm.swallow.event"; + rel2.relative: 0.0 1.0; + rel2.offset: -4 -1; + color: 64 64 64 255; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel1.to: "base"; + rel2.offset: -5 -5; + rel2.to: "base"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + part { name: "elm.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + min: 20 20; + max: 20 20; + align: 1.0 0.5; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + color: 0 0 0 0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "btn"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.event"; + rel2.to: "elm.swallow.event"; + color: 0 0 0 0; + } + } + part { name: "dots"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "icn"; + rel2.to: "icn"; + align: 0.0 0.5; + image.normal: "holes_tiny_glow_vert.png"; + FIXED_SIZE(11, 17) + } + } + part { name: "icn"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 20 20; + max: 20 20; + rel1.to: "btn"; + rel2.to: "btn"; + image.normal: "icon_arrow_left.png"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + image.normal: "icon_arrow_right.png"; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; source: "btn"; + action: SIGNAL_EMIT "elm,action,panel,toggle" "elm"; + } + program { + signal: "elm,action,show"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "elm.swallow.event"; + target: "base"; + target: "icn"; + } + program { + signal: "elm,action,hide"; source: "elm"; + action: STATE_SET "hidden" 0.0; + transition: ACCELERATE 0.3; + target: "elm.swallow.event"; + target: "icn"; + } + program { name: "hide1"; + signal: "elm,action,hide"; source: "elm"; + script { + new x, y, w, h; + + custom_state(PART:"base", "default", 0.0); + set_state_val(PART:"base", STATE_REL1, -1.0, 0.0); + get_geometry(PART:"elm.swallow.event", x, y, w, h); + set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0); + } + after: "hide2"; + } + program { name: "hide2"; + action: STATE_SET "custom" 0.0; + transition: ACCELERATE 0.3; + target: "base"; + } + program { + signal: "elm,action,focus_highlight,show"; source: "elm"; + action: STATE_SET "focused" 0.0; + transition: ACCELERATE 0.2; + target: "glow"; + } + program { + signal: "elm,action,focus_highlight,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "glow"; + } + } +} + +group { name: "elm/panel/right/default"; + inherit: "elm/panel/left/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.event"; + rel1.offset: 3 0; + rel2.relative: 1.0 1.0; + rel2.to_x: "all"; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.event"; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "hidden" 0.0; + align: 1.0 0.5; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "dots"; + description { state: "default" 0.0; + align: 1.0 0.5; + } + } + part { name: "icn"; + description { state: "default" 0.0; + image.normal: "icon_arrow_right.png"; + } + description { state: "hidden" 0.0; + image.normal: "icon_arrow_left.png"; + } + } + } + programs { + program { name: "hide1"; + script { + new x, y, w, h; + + custom_state(PART:"base", "default", 0.0); + set_state_val(PART:"base", STATE_REL1, 1.0, 0.0); + set_state_val(PART:"base", STATE_REL2, 2.0, 1.0); + get_geometry(PART:"elm.swallow.event", x, y, w, h); + set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0); + } + } + } +} + +group { name: "elm/panel/top/default"; + inherit: "elm/panel/left/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to_x: "all"; + rel1.to_y: "all"; + rel1.offset: 0 0; + rel2.relative: 1.0 0.0; + rel2.to_x: "all"; + rel2.to_y: "elm.swallow.event"; + rel2.offset: -1 -4; + } + } + part { name: "elm.swallow.event"; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + } + description { state: "hidden" 0.0; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "dots"; + description { state: "default" 0.0; + align: 0.5 0.0; + image.normal: "holes_tiny_glow_horiz.png"; + FIXED_SIZE(17, 11) + } + } + part { name: "icn"; + description { state: "default" 0.0; + image.normal: "icon_arrow_up.png"; + } + description { state: "hidden" 0.0; + image.normal: "icon_arrow_down.png"; + } + } + } + programs { + program { name: "hide1"; + script { + new x, y, w, h; + + custom_state(PART:"base", "default", 0.0); + set_state_val(PART:"base", STATE_REL1, 0.0, -1.0); + set_state_val(PART:"base", STATE_REL2, 1.0, 0.0); + get_geometry(PART:"elm.swallow.event", x, y, w, h); + set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h); + } + } + } +} + +group { name: "elm/panel/bottom/default"; + inherit: "elm/panel/left/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to_x: "all"; + rel1.to_y: "elm.swallow.event"; + rel1.offset: 0 3; + rel2.relative: 1.0 1.0; + rel2.to_x: "all"; + rel2.to_y: "all"; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.event"; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + } + description { state: "hidden" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "dots"; + description { state: "default" 0.0; + align: 0.5 0.0; + image.normal: "holes_tiny_glow_horiz.png"; + FIXED_SIZE(17, 11) + } + } + part { name: "icn"; + description { state: "default" 0.0; + image.normal: "icon_arrow_down.png"; + } + description { state: "hidden" 0.0; + image.normal: "icon_arrow_up.png"; + } + } + } + programs { + program { name: "hide1"; + script { + new x, y, w, h; + + custom_state(PART:"base", "default", 0.0); + set_state_val(PART:"base", STATE_REL1, 0.0, 1.0); + set_state_val(PART:"base", STATE_REL2, 1.0, 2.0); + get_geometry(PART:"elm.swallow.event", x, y, w, h); + set_state_val(PART:"base", STATE_REL2_OFFSET, 0, -h); + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/panes.edc b/legacy/elementary/data/themes/edc/elm/panes.edc new file mode 100644 index 0000000000..5910769421 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/panes.edc @@ -0,0 +1,515 @@ +#define PANEMIN 10 +#define PANEMIN2 16 +#define PANEWID 32 + +group { name: "elm/panes/vertical/default"; + images.image: "holes_vert.png" COMP; + parts { + part { name: "whole"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "whole_left"; type: RECT; + description { state: "default" 0.0; + rel2.to_x: "elm.bar"; + rel2.relative: 1.0 1.0; + rel2.offset: -4 -1; + } + } + part { name: "whole_right"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "elm.bar"; + rel1.relative: 0.0 0.0; + rel1.offset: 3 0; + } + } + part { name: "elm.swallow.left"; type: SWALLOW; + clip_to: "whole_left"; + description { state: "default" 0.0; + rel2.to_x: "elm.bar"; + rel2.relative: 1.0 1.0; + rel2.offset: -4 -1; + } + } + part { name: "elm.swallow.right"; type: SWALLOW; + clip_to: "whole_right"; + description { state: "default" 0.0; + rel1.to_x: "elm.bar"; + rel1.relative: 0.0 0.0; + rel1.offset: 3 0; + } + } + part { name: "elm.bar"; type: SPACER; + dragable { confine: "whole"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + max: 0 99999; + min: 0 14; + fixed: 1 1; + rel1.relative: 0.0 0.5; + rel2.relative: 1.0 0.5; + } + } + part { name: "dots"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_vert.png"; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + FIXED_SIZE(4, 14) + } + } + part { name: "elm.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + min: PANEMIN PANEMIN2; + fixed: 1 1; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + } + part { name: "bar"; type: RECT; + dragable.events: "elm.bar"; + description { state: "default" 0.0; + min: PANEMIN PANEWID; + max: 99999 99999; + fixed: 1 1; + rel1.to_x: "elm.swallow.event"; + rel2.to_x: "elm.swallow.event"; + color: 0 0 0 0; + } + } + } +} + +group { name: "elm/panes/horizontal/default"; + images.image: "holes_horiz.png" COMP; + parts { + part { name: "whole"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "whole_left"; type: RECT; + description { state: "default" 0.0; + rel2.to_y: "elm.bar"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -4; + } + } + part { name: "whole_right"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "elm.bar"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 3; + } + } + part { name: "elm.swallow.left"; type: SWALLOW; + clip_to: "whole_left"; + description { state: "default" 0.0; + rel2.to_y: "elm.bar"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -4; + } + } + part { name: "elm.swallow.right"; type: SWALLOW; + clip_to: "whole_right"; + description { state: "default" 0.0; + rel1.to_y: "elm.bar"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 3; + } + } + part { name: "elm.bar"; type: SPACER; + dragable { confine: "whole"; + x: 0 0 0; + y: 1 1 1; + } + description { state: "default" 0.0; + max: 99999 0; + min: 14 0; + fixed: 1 1; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + } + part { name: "dots"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_horiz.png"; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + FIXED_SIZE(14, 4) + } + } + part { name: "elm.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + min: PANEMIN2 PANEMIN; + fixed: 1 1; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + } + part { name: "bar"; type: RECT; + dragable.events: "elm.bar"; + description { state: "default" 0.0; + min: PANEWID PANEMIN; + max: 99999 99999; + fixed: 1 1; + rel1.to_y: "elm.swallow.event"; + rel2.to_y: "elm.swallow.event"; + color: 0 0 0 0; + } + } + } +} + +//////////////////////////////////////////////////////////////////////////// + +group { name: "elm/panes/vertical/flush"; + images.image: "downlight_glow_left.png" COMP; + images.image: "downlight_glow_right.png" COMP; + parts { + part { name: "whole"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "whole_left"; type: RECT; + description { state: "default" 0.0; + rel2.to_x: "elm.bar"; + rel2.relative: 1.0 1.0; + } + } + part { name: "whole_right"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "elm.bar"; + rel1.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.left"; type: SWALLOW; + clip_to: "whole_left"; + description { state: "default" 0.0; + rel2.to_x: "elm.bar"; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.right"; type: SWALLOW; + clip_to: "whole_right"; + description { state: "default" 0.0; + rel1.to_x: "elm.bar"; + rel1.relative: 0.0 0.0; + } + } + part { name: "elm.bar"; type: SPACER; + dragable { confine: "whole"; + x: 1 1 1; + y: 0 0 0; + } + description { state: "default" 0.0; + max: 0 99999; + min: 0 14; + fixed: 1 1; + rel1.relative: 0.0 0.5; + rel2.relative: 1.0 0.5; + } + } + part { name: "elm.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + min: PANEMIN PANEMIN2; + fixed: 1 1; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + } + part { name: "bar"; type: RECT; + dragable.events: "elm.bar"; + description { state: "default" 0.0; + min: PANEMIN PANEWID; + max: 99999 99999; + fixed: 1 1; + rel1.to_x: "elm.swallow.event"; + rel1.relative: 0.0 0.25; + rel2.to_x: "elm.swallow.event"; + rel2.relative: 1.0 0.75; + color: 0 0 0 0; + } + } + part { name: "glow1a"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow_left.png"; + image.border: 0 3 0 0; + max: 32 99999; + rel2.to_x: "elm.bar"; + color: 255 255 255 0; + align: 1.0 0.5; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "glow1b"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow_right.png"; + max: 4 99999; + rel1.to_x: "elm.bar"; + color: 255 255 255 0; + align: 0.0 0.5; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "glow2a"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow_left.png"; + max: 4 99999; + rel2.to_x: "elm.bar"; + color: 255 255 255 0; + align: 1.0 0.5; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "glow2b"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow_right.png"; + image.border: 3 0 0 0; + max: 32 99999; + rel1.to_x: "elm.bar"; + color: 255 255 255 0; + align: 0.0 0.5; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "bar1"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bar"; + rel2.to: "bar"; + rel2.relative: 0.5 1.0; + color: 0 0 0 0; + } + } + part { name: "bar2"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bar"; + rel1.relative: 0.5 0.0; + rel2.to: "bar"; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,in"; source: "bar1"; + action: STATE_SET "active" 0.0; + transition: BOUNCE 0.4 0.5 4; + target: "glow1a"; + target: "glow1b"; + } + program { + signal: "mouse,out"; source: "bar1"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "glow1a"; + target: "glow1b"; + } + program { + signal: "mouse,in"; source: "bar2"; + action: STATE_SET "active" 0.0; + transition: BOUNCE 0.4 0.5 4; + target: "glow2a"; + target: "glow2b"; + } + program { + signal: "mouse,out"; source: "bar2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "glow2a"; + target: "glow2b"; + } + } +} + +group { name: "elm/panes/horizontal/flush"; + images.image: "downlight_glow.png" COMP; + images.image: "downlight_glow_up.png" COMP; + parts { + part { name: "whole"; type: SPACER; + description { state: "default" 0.0; + } + } + part { name: "whole_left"; type: RECT; + description { state: "default" 0.0; + rel2.to_y: "elm.bar"; + rel2.relative: 1.0 1.0; + } + } + part { name: "whole_right"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "elm.bar"; + rel1.relative: 0.0 0.0; + } + } + part { name: "elm.swallow.left"; type: SWALLOW; + clip_to: "whole_left"; + description { state: "default" 0.0; + rel2.to_y: "elm.bar"; + rel2.relative: 1.0 1.0; + } + } + part { name: "elm.swallow.right"; type: SWALLOW; + clip_to: "whole_right"; + description { state: "default" 0.0; + rel1.to_y: "elm.bar"; + rel1.relative: 0.0 0.0; + } + } + part { name: "elm.bar"; type: SPACER; + dragable { confine: "whole"; + x: 0 0 0; + y: 1 1 1; + } + description { state: "default" 0.0; + max: 99999 0; + min: 14 0; + fixed: 1 1; + rel1.relative: 0.5 0.0; + rel2.relative: 0.5 1.0; + } + } + part { name: "elm.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + min: PANEMIN2 PANEMIN; + fixed: 1 1; + rel1.to: "elm.bar"; + rel2.to: "elm.bar"; + } + } + part { name: "bar"; type: RECT; + dragable.events: "elm.bar"; + description { state: "default" 0.0; + min: PANEWID PANEMIN; + max: 99999 99999; + fixed: 1 1; + rel1.to_y: "elm.swallow.event"; + rel1.relative: 0.25 0.0; + rel2.to_y: "elm.swallow.event"; + rel2.relative: 0.75 1.0; + color: 0 0 0 0; + } + } + part { name: "glow1a"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow_up.png"; + image.border: 0 0 0 3; + max: 99999 32; + rel2.to_y: "elm.bar"; + color: 255 255 255 0; + align: 0.5 1.0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "glow1b"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow.png"; + max: 99999 4; + rel1.to_y: "elm.bar"; + color: 255 255 255 0; + align: 0.5 0.0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "glow2a"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow_up.png"; + max: 99999 4; + rel2.to_y: "elm.bar"; + color: 255 255 255 0; + align: 0.5 1.0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "glow2b"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "downlight_glow.png"; + image.border: 0 0 3 0; + max: 99999 32; + rel1.to_y: "elm.bar"; + color: 255 255 255 0; + align: 0.5 0.0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "bar1"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bar"; + rel2.to: "bar"; + rel2.relative: 1.0 0.5; + color: 0 0 0 0; + } + } + part { name: "bar2"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "bar"; + rel1.relative: 0.0 0.5; + rel2.to: "bar"; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,in"; source: "bar1"; + action: STATE_SET "active" 0.0; + transition: BOUNCE 0.4 0.5 4; + target: "glow1a"; + target: "glow1b"; + } + program { + signal: "mouse,out"; source: "bar1"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "glow1a"; + target: "glow1b"; + } + program { + signal: "mouse,in"; source: "bar2"; + action: STATE_SET "active" 0.0; + transition: BOUNCE 0.4 0.5 4; + target: "glow2a"; + target: "glow2b"; + } + program { + signal: "mouse,out"; source: "bar2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "glow2a"; + target: "glow2b"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/photo.edc b/legacy/elementary/data/themes/edc/elm/photo.edc new file mode 100644 index 0000000000..55dcfb704c --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/photo.edc @@ -0,0 +1,91 @@ +group { name: "elm/photo/base/default"; + images.image: "win_shadow.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "win_shadow.png"; + image.border: 14 14 14 14; + image.middle: 0; + rel1.to: "base"; + rel1.offset: -7 -3; + rel2.to: "base"; + rel2.offset: 6 11; + fill.smooth: 0; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 7 7; + rel2.offset: -8 -8; + color: 255 255 255 255; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 4 4; + rel2.to: "base"; + rel2.offset: -5 -5; + } + } + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + color: DARK_GREY_BG_COLOR; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + } + } + } +} + +group { name: "elm/photo/base/shadow"; + inherit: "elm/photo/base/default"; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + new w, h; + w = getarg(2); h = getarg(3); + if ((w > 0) && (h > 0)) { + custom_state(PART:"size", "default", 0.0); + set_state_val(PART:"size", STATE_MIN, w, h); + set_state_val(PART:"size", STATE_REL1, 0.5, 0.5); + set_state_val(PART:"size", STATE_REL2, 0.5, 0.5); + set_state_val(PART:"size", STATE_REL1_OFFSET, 0, 0); + set_state_val(PART:"size", STATE_REL2_OFFSET, -1, -1); + set_state(PART:"size", "custom", 0.0); + } else { + set_state(PART:"size", "default", 0.0); + } + } + } + } + parts { + part { name: "size"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 7 7; + rel2.offset: -8 -8; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.to: "size"; + rel1.offset: 0 0; + rel2.to: "size"; + rel2.offset: -1 -1; + } + } + part { name: "clip"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/photocam.edc b/legacy/elementary/data/themes/edc/elm/photocam.edc new file mode 100644 index 0000000000..ccc2dc8ff9 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/photocam.edc @@ -0,0 +1,100 @@ +group { name: "elm/photocam/base/default"; + inherit: "elm/scroller/base/default"; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + parts { + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + scale: 1; + description { state: "default" 0.0; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + align: 0.0 0.0; + rel1.offset: 3 3; + rel2.offset: 3 3; + 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; + } + } + } + programs { + program { name: "spin"; + signal: "elm,state,busy,start"; source: "elm"; + action: ACTION_STOP; + target: "spin"; + target: "spin0"; + target: "spin1"; + target: "spin2"; + target: "spin3"; + target: "spin4"; + after: "spin0"; + } + program { name: "spin0"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + after: "spin1"; + } + program { name: "spin1"; + 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: "spin1"; + } + + program { + signal: "elm,state,busy,start"; source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + + program { + signal: "elm,state,busy,stop"; source: "elm"; + 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"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/player.edc b/legacy/elementary/data/themes/edc/elm/player.edc new file mode 100644 index 0000000000..0a2b19151f --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/player.edc @@ -0,0 +1,639 @@ +#define BSZ 20 +group { name: "elm/player/base/default"; + images.image: "inset_shadow.png" COMP; + images.image: "shine.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "vgrad_shadow_bi.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + script { + public in_control; + public in_volume; + public inside; + + public eval_in() { + new v1 = get_int(in_control); + new v2 = get_int(in_volume); + new isin = get_int(inside); + + if (isin) { + if ((!v1) && (!v2)) { + emit("conhide", ""); + set_int(inside, 0); + } + } else { + if ((v1) || (v2)) { + emit("conshow", ""); + set_int(inside, 1); + } + } + } + } + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 0 0 0 255; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + // video (elm_video) content here + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + + part { name: "barshad"; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "vgrad_shadow_bi.png"; + rel1.to: "bar"; + rel1.relative: 0.0 -0.5; + rel2.to: "bar"; + rel2.relative: 1.0 0.5; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + visible: 1; + } + } + part { name: "volpop_shadow"; mouse_events: 0; + clip_to: "volclip"; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "volpop"; + rel2.offset: 3 4; + rel2.to: "volpop"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + + part { name: "bar"; + clip_to: "clipper"; + description { state: "default" 0.0; + color_class: "player_bar"; + image.normal: "vgrad_med_lighter.png"; + rel1.to_y: "elm.swallow.media_player.prev"; + rel1.offset: 1 -1; + rel2.to_y: "elm.swallow.media_player.positionslider"; + rel2.offset: -2 -1; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "barbevclip"; type: RECT; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "bar"; + rel2.to: "bar"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 0; + color: 255 255 255 255; + } + } + part { name: "barbev"; + clip_to: "barbevclip"; + description { state: "default" 0.0; + rel1.to: "bar"; + rel2.to: "bar"; + image.normal: "bevel_out.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "bar"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "bar"; + FIXED_SIZE(69, 5) + } + } + + part { name: "volclip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + 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: "volpop"; + clip_to: "volclip"; + description { state: "default" 0.0; + color_class: "player_volume"; + image.normal: "vgrad_med_lighter.png"; + rel1.to: "elm.swallow.media_player.volumeslider"; + rel1.offset: -1 -1; + rel2.to: "elm.swallow.media_player.volumeslider"; + rel2.offset: 0 0; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "volpopclip"; type: RECT; + clip_to: "volclip"; + description { state: "default" 0.0; + rel1.to: "volpop"; + rel1.offset: 0 -5; + rel2.to: "volpop"; + color: 255 255 255 255; + } + } + part { name: "volpopbev"; + clip_to: "volpopclip"; + description { state: "default" 0.0; + rel1.to: "volpop"; + rel2.to: "volpop"; + image.normal: "bevel_out.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + } + } + part { name: "volshine"; mouse_events: 0; + clip_to: "volpopclip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "volpop"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "volpop"; + FIXED_SIZE(69, 5) + } + } + + part { name: "elm.swallow.media_player.prev"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 1 7; + rel2.relative: 0.0 1.0; + rel2.offset: 1 7; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: 1 -2; + rel2.offset: 1 -2; + align: 0.0 1.0; + } + } + part { name: "elm.swallow.media_player.rewind"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.prev"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.prev"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.play"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.rewind"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.rewind"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.media_player.pause"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + rel1.to: "elm.swallow.media_player.play"; + rel2.to: "elm.swallow.media_player.play"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.media_player.forward"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.play"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.play"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.next"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.forward"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.forward"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.stop"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.next"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.next"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.eject"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.stop"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.stop"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.volume"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.eject"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.eject"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.media_player.mute"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + rel1.to: "elm.swallow.media_player.volume"; + rel2.to: "elm.swallow.media_player.volume"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.media_player.info"; type: SWALLOW; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: BSZ BSZ; + align: 0.0 1.0; + rel1.to: "elm.swallow.media_player.volume"; + rel1.relative: 1.0 0.0; + rel1.offset: 0 0; + rel2.to: "elm.swallow.media_player.volume"; + rel2.relative: 1.0 1.0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.positionslider"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 0 1; + rel1.relative: 1.0 0.0; + rel1.to: "elm.swallow.media_player.info"; + rel2.to_y: "elm.swallow.media_player.info"; + rel2.offset: -2 -1; + } + } + part { name: "elm.swallow.media_player.volumeslider"; type: SWALLOW; + clip_to: "volclip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_x: "elm.swallow.media_player.volume"; + rel1.offset: 0 1; + rel2.to: "elm.swallow.media_player.volume"; + rel2.offset: -1 -3; + rel2.relative: 1.0 0.0; + align: 0.5 1.0; + max: 99999 100; + } + } + + 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: "controls"; type: RECT; repeat_events: 1; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + min: BSZ BSZ; + align: 0.5 1.0; + rel1.relative: 0.0 0.8; + color: 0 0 0 0; + } + } + + part { name: "volumetop"; type: SPACER; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_y: "elm.swallow.media_player.volumeslider"; + rel1.relative: 0.0 0.0; + rel2.to_y: "controls"; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + } + } + part { name: "volume"; type: RECT; repeat_events: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to_y: "volumetop"; + rel1.to_x: "elm.swallow.media_player.volume"; + rel1.relative: -1.0 0.0; + rel1.offset: 0 -20; + rel2.to: "elm.swallow.media_player.volume"; + rel2.relative: 2.0 1.0; + align: 0.5 1.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "ci"; + signal: "mouse,in"; source: "controls"; + script { + set_int(in_control, 1); + eval_in(); + } + } + program { name: "co"; + signal: "mouse,out"; source: "controls"; + script { + set_int(in_control, 0); + eval_in(); + } + } + program { name: "vi"; + signal: "mouse,in"; source: "volume"; + script { + set_int(in_volume, 1); + eval_in(); + } + } + program { name: "vo"; + signal: "mouse,out"; source: "volume"; + script { + set_int(in_volume, 0); + eval_in(); + } + } + program { + signal: "conshow"; source: ""; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.2; + target: "elm.swallow.media_player.prev"; + target: "barshad"; + target: "volume"; + } + program { + signal: "conhide"; source: ""; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.swallow.media_player.prev"; + target: "barshad"; + target: "volume"; + } + program { + signal: "mouse,in"; source: "volume"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.5; + target: "volclip"; + } + program { + signal: "mouse,out"; source: "volume"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "volclip"; + } + + program { + signal: "load"; source: ""; + after: "pause/0"; + } + program { + signal: "elm,player,play"; source: "elm"; + after: "play/0"; + } + program { + signal: "elm,player,pause"; source: "elm"; + after: "pause/0"; + } + program { name: "play/0"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.media_player.play"; + after: "play/1"; + } + program { name: "play/1"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.media_player.pause"; + } + program { name: "pause/0"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.media_player.pause"; + after: "pause/1"; + } + program { name: "pause/1"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.media_player.play"; + } + + program { + signal: "load"; source: ""; + after: "unmute/0"; + } + program { + signal: "elm,player,mute"; source: "elm"; + after: "mute/0"; + } + program { + signal: "elm,player,unmute"; source: "elm"; + after: "unmute/0"; + } + program { name: "mute/0"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.media_player.volume"; + after: "mute/1"; + } + program { name: "mute/1"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.media_player.mute"; + } + program { name: "unmute/0"; + action: STATE_SET "hidden" 0.0; + target: "elm.swallow.media_player.mute"; + after: "unmute/1"; + } + program { name: "unmute/1"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.media_player.volume"; + } + + } +} + +group { name: "elm/player/base/flush"; + inherit: "elm/player/base/default"; + parts { + part { name: "bg"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "elm.swallow.content"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "bar"; + description { state: "default" 0.0; + rel1.offset: 0 -1; + rel2.offset: -1 -1; + } + } + part { name: "barbevclip"; type: RECT; + description { state: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -1; + } + } + part { name: "barbev"; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.prev"; + description { state: "default" 0.0; + rel1.offset: 0 7; + rel2.offset: 0 7; + } + description { state: "visible" 0.0; + rel1.offset: 0 -1; + rel2.offset: 0 -1; + } + } + part { name: "elm.swallow.media_player.positionslider"; + description { state: "default" 0.0; + rel2.offset: -1 -1; + } + } + + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/pointer.edc b/legacy/elementary/data/themes/edc/elm/pointer.edc new file mode 100644 index 0000000000..e8252e6798 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/pointer.edc @@ -0,0 +1,50 @@ +group { name: "elm/pointer/base/default"; + images { + image: "pointer.png" COMP; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + min: 32 32; + /* force a specific aspect ratio so + * when it gets scaled it wont squash + * or stretch */ + aspect_preference: BOTH; + /* both axes control aspect - thus it + * will be WITHIN the bounds the axes + * of thre part describe */ + image { + normal: "pointer.png"; + } + } + } + part { + name: "elm.swallow.hotspot"; + /* this is a "fake" swallow part + * that is used by e to determine + * the pointer hotspot - or where + * the actual mouse events get + * reported from on the cursor */ + type: SWALLOW; + description { + state: "default" 0.0; + visible: 0; + rel1 { + /* the hotspot will scale with the cursor here */ + to: "base"; + relative: 0.1875 0.1875; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 0.1875 0.1875; + offset: 0 0; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/popup.edc b/legacy/elementary/data/themes/edc/elm/popup.edc new file mode 100644 index 0000000000..b5685492c3 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/popup.edc @@ -0,0 +1,455 @@ +group { name: "elm/notify/block_events/popup/default"; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 128; + } + } + program { + signal: "mouse,clicked,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} + +group { name: "elm/notify/block_events/popup/transparent"; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "clicked" 0.0; + color: 0 0 0 192; + } + } + program { + signal: "mouse,down,1"; source: "base"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + after: "click1"; + } + program { name: "click1"; + action: STATE_SET "clicked" 0.0; + target: "base"; + transition: SINUSOIDAL 0.2; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + transition: DECELERATE 0.5; + } + } +} + +group { name: "elm/notify/top/popup/default"; + inherit: "elm/notify/top/default"; +#define OVERRIDE_BASE() \ + images.image: "rounded_square.png" COMP; \ + parts { \ + part { name: "base"; \ + description { state: "default" 0.0; \ + image.normal: "rounded_square.png"; \ + } \ + description { state: "visible" 0.0; \ + image.normal: "rounded_square.png"; \ + } \ + } \ + } + OVERRIDE_BASE() +} + +group { name: "elm/notify/bottom/popup/default"; + inherit: "elm/notify/bottom/default"; + OVERRIDE_BASE() +} + +group { name: "elm/notify/left/popup/default"; + inherit: "elm/notify/left/default"; + OVERRIDE_BASE() +} + +group { name: "elm/notify/right/popup/default"; + inherit: "elm/notify/right/default"; + OVERRIDE_BASE() +} + +group { name: "elm/notify/top_left/popup/default"; + inherit: "elm/notify/top_left/default"; + OVERRIDE_BASE() +} + +group { name: "elm/notify/top_right/popup/default"; + inherit: "elm/notify/top_right/default"; + OVERRIDE_BASE() +} + +group { name: "elm/notify/bottom_left/popup/default"; + inherit: "elm/notify/bottom_left/default"; + OVERRIDE_BASE() +} + +group { name: "elm/notify/bottom_right/popup/default"; + inherit: "elm/notify/bottom_right/default"; + OVERRIDE_BASE() +} + +group { name: "elm/notify/center/popup/default"; + inherit: "elm/notify/center/default"; + OVERRIDE_BASE() +} +#undef OVERRIDE_BASE + +group { name: "elm/notify/top/popup/transparent"; + inherit: "elm/notify/top/default"; +} + +group { name: "elm/notify/bottom/popup/transparent"; + inherit: "elm/notify/bottom/default"; +} + +group { name: "elm/notify/left/popup/transparent"; + inherit: "elm/notify/left/default"; +} + +group { name: "elm/notify/right/popup/transparent"; + inherit: "elm/notify/right/default"; +} + +group { name: "elm/notify/top_left/popup/transparent"; + inherit: "elm/notify/top_left/default"; +} + +group { name: "elm/notify/top_right/popup/transparent"; + inherit: "elm/notify/top_right/default"; +} + +group { name: "elm/notify/bottom_left/popup/transparent"; + inherit: "elm/notify/bottom_left/default"; +} + +group { name: "elm/notify/bottom_right/popup/transparent"; + inherit: "elm/notify/bottom_right/default"; +} + +group { name: "elm/notify/center/popup/transparent"; + inherit: "elm/notify/center/default"; +} + +group { name: "elm/label/base/popup/default"; + alias: "elm/label/base/popup/transparent"; + styles { + style { name: "popup_desc_style"; + base: "font="FN" font_size=10 text_class=label align=center color=#fff style=shadow,bottom shadow_color=#00000080 wrap=mixed"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD" text_class=label_light"; + tag: "b" "+ font="FNBD" text_class=label_light"; + tag: "whitecolor" "+ color=#fff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + text { + style: "popup_desc_style"; + min: 0 1; + max: 0 1; + } + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + } +} + +group { name: "elm/button/base/popup/default"; + inherit: "elm/button/base/default"; +} + +group { name: "elm/button/base/popup/transparent"; + inherit: "elm/button/base/anchor"; +} + +group { name: "elm/popup/base/default"; + alias: " elm/popup/base/transparent"; + styles { + style { name: "popup_title_style"; + base: "font="FNBD" font_size=10 text_class=label align=center color=#fff style=shadow,bottom shadow_color=#00000080 wrap=mixed"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD" text_class=label_light"; + tag: "b" "+ font="FNBD" text_class=label_light"; + tag: "whitecolor" "+ color=#fff"; + tag: "tab" "\t"; + } + } + parts { + part { name: "base"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 240 0; + } + } + part { name: "elm.bg.title"; type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.text.title"; + rel2.to: "elm.text.title"; + visible: 0; + } + } + part { name: "elm.text.title"; type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + text { + style: "popup_title_style"; + min: 1 1; + } + visible: 0; + rel1.offset: 2 2; + rel2.offset: -3 2; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.title.icon"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_y: "elm.text.title"; + rel2.to_y: "elm.text.title"; + rel2.relative: 0.0 1.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + description { state: "show_title_area" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "elm.bg.title"; + } + description { state: "show_action_area" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.swallow.action_area"; + } + description { state: "show_action_title_area" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "elm.bg.title"; + rel2.relative: 1.0 0.0; + rel2.to_y: "elm.swallow.action_area"; + } + } + part { name: "elm.swallow.action_area"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + visible: 0; + rel1.relative: 0.0 1.0; + rel1.offset: 2 -3; + rel1.to: "base"; + rel2.offset: -3 -3; + rel2.to: "base"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { name: "access.title"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.bg.title"; + rel2.to: "elm.bg.title"; + color: 0 0 0 0; + } + } + part { name: "access.body"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "elm,state,title,icon,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.title.icon"; + } + program { + signal: "elm,state,title,icon,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.title.icon"; + } + program { + signal: "elm,state,title,text,visible"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text.title"; + } + program { + signal: "elm,state,title,text,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.title"; + } + program { + signal: "elm,state,title_area,visible"; source: "elm"; + script { + new st[31], Float:vl; + get_state(PART:"elm.swallow.action_area", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "show_title_area", 0.0); + set_state(PART:"elm.text.title", "visible", 0.0); + } + } + program { + signal: "elm,state,title_area,hidden"; source: "elm"; + script { + new st[31], Float:vl; + get_state(PART:"elm.swallow.action_area", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_action_area", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"elm.text.title", "default", 0.0); + } + } + program { + signal: "elm,state,action_area,visible"; source: "elm"; + script { + new st[31], Float:vl; + get_state(PART:"elm.text.title", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "show_action_area", 0.0); + set_state(PART:"elm.swallow.action_area", "visible", 0.0); + } + } + program { + signal: "elm,state,action_area,hidden"; source: "elm"; + script { + new st[31], Float:vl; + get_state(PART:"elm.text.title", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "show_title_area", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"elm.swallow.action_area", "default", 0.0); + } + } + } +} + +group { name: "elm/popup/content/popup/default"; + alias: "elm/popup/content/popup/transparent"; + parts { + part { name:"elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +group { name: "elm/popup/buttons1/popup/default"; + alias: "elm/popup/buttons1/popup/transparent"; + data.item: "action_area_height" "80"; + parts { + part { name:"elm.swallow.content.button1"; type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +group { name: "elm/popup/buttons2/popup/default"; + alias: "elm/popup/buttons2/popup/transparent"; + data.item: "action_area_height" "80"; + parts{ + part{ name:"elm.swallow.content.button1"; type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 0.5 1.0; + } + } + part{ name:"elm.swallow.content.button2"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.5 0.0; + } + } + } +} + +group { name: "elm/popup/buttons3/popup/default"; + alias: "elm/popup/buttons3/popup/transparent"; + data.item: "action_area_height" "80"; + parts{ + part{ name:"elm.swallow.content.button1"; type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: (1/3) 1.0; + } + } + part{ name:"elm.swallow.content.button2"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to: "elm.swallow.content.button1"; + rel2.relative: 0.0 1.0; + rel2.to: "elm.swallow.content.button3"; + } + } + part{ name:"elm.swallow.content.button3"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: (2/3) 0.0; + } + } + } +} + +group { name: "elm/popup/item/popup/default"; + inherit: "elm/list/item/default"; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; + insert_after: "elm.swallow.icon"; + description { state: "default" 0.0; + fixed: 0 1; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "event"; + action: SIGNAL_EMIT "elm,state,selected" "elm"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,state,unselected" "elm"; + } + program { + signal: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/progress.edc b/legacy/elementary/data/themes/edc/elm/progress.edc new file mode 100644 index 0000000000..d8be3d3120 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/progress.edc @@ -0,0 +1,1400 @@ +group { name: "elm/progressbar/horizontal/default"; + images.image: "inset_bar_horiz_base.png" COMP; + images.image: "inset_bar_horiz_light.png" COMP; + images.image: "inset_bar_horiz_inside_base.png" COMP; + images.image: "inset_bar_horiz_inside_light.png" COMP; + images.image: "inset_bar_horiz_glow_base.png" COMP; + images.image: "inset_bar_horiz_glow_light.png" COMP; + images.image: "inset_bar_horiz_glow_inv_base.png" COMP; + images.image: "inset_bar_horiz_glow_inv_light.png" COMP; + images.image: "inset_bar_horiz_glow_mid_base.png" COMP; + images.image: "inset_bar_horiz_glow_mid_light.png" COMP; +#define ICON 1 +#define LABEL 2 +#define DISABLE 4 + script { + public slmode; + public eval_mode(m) { + new ic = m & ICON; + new l = m & LABEL; + new d = m & DISABLE; + if (l) { + if (!d) { + set_state(PART:"elm.text", "visible", 0.0); + } else { + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } else { + set_state(PART:"elm.text", "default", 0.0); + } + if (ic) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + } + if (!d) { + set_state(PART:"dis_clip", "default", 0.0); + } else { + set_state(PART:"dis_clip", "disabled", 0.0); + } + } + } + parts { + part { name: "dis_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "pulse_clip"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -2.0 -2.0; + rel2.relative: 3.0 3.0; + visible: 0; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "fract_clip"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -2.0 -2.0; + rel2.relative: 3.0 3.0; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "dis_clip"; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1.offset: 0 2; + rel2.offset: -1 -3; + rel2.relative: 0.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 2 2; + rel2.offset: 2 -3; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "progressbar_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.content"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.content"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "progressbar_text"; + text { font: FN; size: 10; + text_class: "progressbar"; + min: 0 0; + align: 0.0 0.5; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + rel1.offset: 2 2; + rel2.offset: 2 -3; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + color_class: "progressbar_text_disabled"; + color: 21 21 21 255; + color3: 255 255 255 15; + } + } + part { name: "bg-hi"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: 0 1; + rel2.to: "bg"; + rel2.offset: -1 0; + image.normal: "inset_bar_horiz_light.png"; + image.border: 32 32 0 0; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: 16 16; + max: -1 16; + rel1.to_x: "elm.text"; + rel1.relative: 1.0 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + image.normal: "inset_bar_horiz_base.png"; + image.border: 32 32 0 0; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "ins0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + min: 5 16; + align: 0.0 0.5; + } + } + part { name: "ins1"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + min: 5 16; + align: 1.0 0.5; + } + } + part { name: "inside-hi"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "inside"; + rel1.offset: 0 1; + rel2.to: "inside"; + rel2.offset: -1 0; + image.normal: "inset_bar_horiz_inside_light.png"; + image.border: 8 8 0 0; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "inside"; + scale: 1; + description { state: "default" 0.0; + min: 4 4; + rel1.to: "ins0"; + rel1.relative: 1.0 (6/16); + rel2.to: "ins1"; + rel2.relative: 0.0 (10/16); + image.normal: "inset_bar_horiz_inside_base.png"; + image.border: 8 8 0 0; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "elm.swallow.bar"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "inside"; + rel2.to: "inside"; + } + } + part { name: "elm.cur.progressbar"; mouse_events: 0; type: SPACER; + scale: 1; + dragable.confine: "inside"; + dragable.x: 1 1 1; + dragable.y: 0 0 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 8 4; + max: 8 4; + rel1.to: "inside"; + rel2.to: "inside"; + } + } + part { name: "barend"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: 14 16; + rel1.to_x: "elm.cur.progressbar"; + rel1.relative: 1.0 0.0; + rel2.to_x: "elm.cur.progressbar"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + } + } + part { name: "bar"; + clip_to: "fract_clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "ins0"; + rel1.to_y: "bg"; + rel1.relative: (12/16) -0.25; + rel2.to_x: "barend"; + rel2.to_y: "bg"; + rel2.relative: 1.0 1.25; + image.normal: "inset_bar_horiz_glow_base.png"; + image.border: 0 72 0 0; + image.border_scale_by: 0.25; image.border_scale: 1; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.to_x: "barend"; + rel1.relative: 0.0 -0.25; + rel2.to_x: "ins1"; + rel2.relative: (4/16) 1.25; + image.normal: "inset_bar_horiz_glow_inv_base.png"; + image.border: 72 0 0 0; + } + } + part { name: "insidep0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: 20 16; + rel1.to_x: "inside"; + rel1.relative: 0.0 0.0; + rel2.to_x: "inside"; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + } + } + part { name: "insidep1"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: 20 16; + rel1.to_x: "inside"; + rel1.relative: 1.0 0.0; + rel2.to_x: "inside"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + } + part { name: "pulse"; + clip_to: "pulse_clip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 64 24; + max: 64 24; + rel1.to_x: "insidep0"; + rel1.to_y: "bar"; + rel1.relative: 0.0 0.0; + rel2.to_x: "insidep1"; + rel2.to_y: "bar"; + rel2.relative: 1.0 1.0; + image.normal: "inset_bar_horiz_glow_mid_base.png"; + align: 0.0 0.5; + } + description { state: "end" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + } + } + part { name: "elm.text.status"; type: TEXT; mouse_events: 0; + scale: 1; + effect: GLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "inside"; + rel2.to: "inside"; + color_class: "progress_status"; + align: 1.0 0.5; + text { font: FN; size: 10; + min: 0 1; + text_class: "progress_status"; + align: 1.0 0.5; + } + color: 255 255 255 255; + color2: 51 153 255 64; + color3: 51 153 255 32; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "pulse2"; + clip_to: "pulse_clip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 36 14; + max: 36 14; + rel1.to: "pulse"; + rel2.to: "pulse"; + image.normal: "inset_bar_horiz_glow_mid_light.png"; + color: 255 255 255 0; + } + description { state: "glow" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "light"; + clip_to: "fract_clip"; + scale: 1; + description { state: "default" 0.0; + max: 36 11; + rel1.to_x: "bar"; + rel1.to_y: "bar"; + rel1.relative: 0.0 (26/96); + rel2.to_x: "barend"; + rel2.to_y: "bar"; + rel2.relative: 0.2 ((26+44)/96); + align: 1.0 0.0; + image.normal: "inset_bar_horiz_glow_light.png"; + image.border: 0 20 0 0; + image.border_scale_by: 0.25; image.border_scale: 1; + color: 255 255 255 0; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.to_x: "barend"; + rel1.to_y: "bar"; + rel1.relative: 0.8 (26/96); + rel2.to_x: "bar"; + rel2.to_y: "bar"; + rel2.relative: 1.0 ((26+44)/96); + align: 0.0 0.0; + image.normal: "inset_bar_horiz_glow_inv_light.png"; + image.border: 20 0 0 0; + } + } + } + programs { + program { name: "inverted-on"; + signal: "elm,state,inverted,on"; source: "elm"; + action: STATE_SET "inv" 0.0; + target: "bar"; + target: "barend"; + target: "light"; + } + program { name: "inverted-off"; + signal: "elm,state,inverted,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + target: "barend"; + target: "light"; + } + program { name: "drag-set"; + signal: "drag,set"; source: "elm.cur.progressbar"; + script { + new a, Float:dx, Float:dy, Float:vl, st[20]; + + get_drag(PART:"elm.cur.progressbar", dx, dy); + get_state(PART:"bar", st, 19, vl); + if (!strcmp(st, "inv")) { + a = round(((1.0 - dx) * 255) / 0.2); + custom_state(PART:"light", "inv", 0.0); + } else { + a = round((dx * 255) / 0.2); + custom_state(PART:"light", "default", 0.0); + } + if (a > 255) { a = 255; } + set_state_val(PART:"light", STATE_COLOR, 255, 255, 255, a); + set_state(PART:"light", "custom", 0.0); + } + } + program { name: "pulse-mode0"; + signal: "elm,state,pulse"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.text.status"; + after: "pulse-mode1"; + } + program { name: "pulse-mode1"; + signal: "elm,state,pulse,start"; source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "fract_clip"; + } + program { name: "pulse-start"; + signal: "elm,state,pulse,start"; source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "pulse_clip"; + target: "fract_clip"; + after: "pulse0"; + after: "pulse0.1"; + } + program { name: "pulse0.1"; + action: STATE_SET "glow" 0.0; + transition: ACCELERATE 0.4; + target: "pulse2"; + after: "pulse0.2"; + } + program { name: "pulse0.2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.4; + target: "pulse2"; + } + program { name: "pulse0"; + action: STATE_SET "end" 0.0; + transition: SINUSOIDAL 0.8; + target: "pulse"; + after: "pulse1"; + after: "pulse0.1"; + } + program { name: "pulse1"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.8; + target: "pulse"; + after: "pulse0"; + after: "pulse0.1"; + } + program { name: "fraction"; + signal: "elm,state,fraction"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + after: "pulse-stop"; + } + program { name: "elmpulse-stop"; + signal: "elm,state,pulse,stop"; source: "elm"; + action: ACTION_STOP; + target: "pulse0"; + target: "pulse1"; + after: "pulse-stop"; + } + program { name: "pulse-stop"; + action: STATE_SET "default" 0.0; + target: "pulse_clip"; + } + program { name: "units-visible"; + signal: "elm,state,units,visible"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + } + program { name: "units-hidden"; + signal: "elm,state,units,hidden"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.text.status"; + } + program { name: "text-visible"; + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "text-hidden"; + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "icon-visible"; + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "icon-hidden"; + signal: "elm,state,icon,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "state-disabled"; + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(slmode); + m |= DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "state-enabled"; + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + } +#undef ICON +#undef LABEL +#undef UNITS +#undef DISABLE +} + +group { name: "elm/progressbar/vertical/default"; + images.image: "inset_bar_vert_base.png" COMP; + images.image: "inset_bar_vert_light.png" COMP; + images.image: "inset_bar_vert_inside_base.png" COMP; + images.image: "inset_bar_vert_inside_light.png" COMP; + images.image: "inset_bar_vert_glow_base.png" COMP; + images.image: "inset_bar_vert_glow_light.png" COMP; + images.image: "inset_bar_vert_glow_inv_base.png" COMP; + images.image: "inset_bar_vert_glow_inv_light.png" COMP; + images.image: "inset_bar_vert_glow_mid_base.png" COMP; + images.image: "inset_bar_vert_glow_mid_light.png" COMP; +#define ICON 1 +#define LABEL 2 +#define DISABLE 4 + script { + public slmode; + public eval_mode(m) { + new ic = m & ICON; + new l = m & LABEL; + new d = m & DISABLE; + if (l) { + if (!d) { + set_state(PART:"elm.text", "visible", 0.0); + } else { + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } else { + set_state(PART:"elm.text", "default", 0.0); + } + if (ic) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + } + if (!d) { + set_state(PART:"dis_clip", "default", 0.0); + } else { + set_state(PART:"dis_clip", "disabled", 0.0); + } + } + } + parts { + part { name: "dis_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "pulse_clip"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -2.0 -2.0; + rel2.relative: 3.0 3.0; + visible: 0; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "fract_clip"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -2.0 -2.0; + rel2.relative: 3.0 3.0; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "dis_clip"; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + rel1.offset: 2 0; + rel2.offset: -3 -1; + rel2.relative: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; aspect_preference: HORIZONTAL; + rel1.offset: 2 2; + rel2.offset: -3 2; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "progressbar_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.0; + rel1.to_y: "elm.swallow.content"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 -1; + rel2.to_y: "elm.swallow.content"; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -1; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "progressbar_text"; + text { font: FN; size: 10; + text_class: "progressbar"; + min: 0 0; + align: 0.5 0.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 0 1; + visible: 1; + rel1.offset: 2 2; + rel2.offset: -3 2; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + color_class: "progressbar_text_disabled"; + color: 21 21 21 255; + color3: 255 255 255 15; + } + } + part { name: "bg-hi"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: 0 1; + rel2.to: "bg"; + rel2.offset: -1 0; + image.normal: "inset_bar_vert_light.png"; + image.border: 0 0 32 32; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "bg"; + scale: 1; + description { state: "default" 0.0; + min: 16 16; + max: 16 -1; + rel1.to_y: "elm.text"; + rel1.relative: 0.0 1.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + image.normal: "inset_bar_vert_base.png"; + image.border: 0 0 32 32; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "ins0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1.to: "bg"; + rel2.to: "bg"; + rel2.relative: 1.0 0.0; + min: 16 5; + align: 0.5 0.0; + } + } + part { name: "ins1"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1.to: "bg"; + rel1.relative: 0.0 1.0; + rel2.to: "bg"; + min: 16 5; + align: 0.5 1.0; + } + } + part { name: "inside-hi"; + scale: 1; + description { state: "default" 0.0; + rel1.to: "inside"; + rel1.offset: 0 1; + rel2.to: "inside"; + rel2.offset: -1 0; + image.normal: "inset_bar_vert_inside_light.png"; + image.border: 0 0 8 8; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "inside"; + scale: 1; + description { state: "default" 0.0; + min: 4 4; + rel1.to: "ins0"; + rel1.relative: (6/16) 1.0; + rel2.to: "ins1"; + rel2.relative: (10/16) 0.0; + image.normal: "inset_bar_vert_inside_base.png"; + image.border: 0 0 8 8; + image.border_scale_by: 0.25; image.border_scale: 1; + } + } + part { name: "elm.swallow.bar"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "inside"; + rel2.to: "inside"; + } + } + part { name: "elm.cur.progressbar"; mouse_events: 0; type: SPACER; + scale: 1; + dragable.confine: "inside"; + dragable.x: 0 0 0; + dragable.y: 1 1 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 4 8; + max: 4 8; + rel1.to: "inside"; + rel2.to: "inside"; + } + } + part { name: "barend"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: 16 14; + rel1.to_y: "elm.cur.progressbar"; + rel1.relative: 0.0 1.0; + rel2.to_y: "elm.cur.progressbar"; + rel2.relative: 1.0 1.0; + align: 0.5 0.0; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 1.0; + } + } + part { name: "bar"; + clip_to: "fract_clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to_y: "ins0"; + rel1.to_x: "bg"; + rel1.relative: -0.25 (12/16); + rel2.to_y: "barend"; + rel2.to_x: "bg"; + rel2.relative: 1.25 1.0; + image.normal: "inset_bar_vert_glow_base.png"; + image.border: 0 0 0 72; + image.border_scale_by: 0.25; image.border_scale: 1; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.to_y: "barend"; + rel1.relative: -0.25 0.0; + rel2.to_y: "ins1"; + rel2.relative: 1.25 (4/16); + image.normal: "inset_bar_vert_glow_inv_base.png"; + image.border: 0 0 72 0; + } + } + part { name: "insidep0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: 16 20; + rel1.to_y: "inside"; + rel1.relative: 0.0 0.0; + rel2.to_y: "inside"; + rel2.relative: 1.0 0.0; + align: 0.5 1.0; + } + } + part { name: "insidep1"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: 16 20; + rel1.to_y: "inside"; + rel1.relative: 0.0 1.0; + rel2.to_y: "inside"; + rel2.relative: 1.0 1.0; + align: 0.5 0.0; + } + } + part { name: "pulse"; + clip_to: "pulse_clip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 24 64; + max: 24 64; + rel1.to_y: "insidep0"; + rel1.to_x: "bar"; + rel1.relative: 0.0 0.0; + rel2.to_y: "insidep1"; + rel2.to_x: "bar"; + rel2.relative: 1.0 1.0; + image.normal: "inset_bar_vert_glow_mid_base.png"; + align: 0.5 0.0; + } + description { state: "end" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + } + part { name: "statbox"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "inside"; + rel2.to: "inside"; + aspect: 1.0 1.0; aspect_preference: NONE; + } + } + part { name: "elm.text.status"; type: TEXT; mouse_events: 0; + scale: 1; + effect: GLOW; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "statbox"; + rel2.to: "statbox"; + color_class: "progress_status"; + align: 1.0 0.5; + text { font: FN; size: 10; + min: 0 1; + text_class: "progress_status"; + align: 1.0 0.5; + } + color: 255 255 255 255; + color2: 51 153 255 64; + color3: 51 153 255 32; + visible: 1; + map.on: 1; + map.smooth: 0; + map.rotation.center: "statbox"; + map.rotation.z: 90; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "pulse2"; + clip_to: "pulse_clip"; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 14 36; + max: 14 36; + rel1.to: "pulse"; + rel2.to: "pulse"; + image.normal: "inset_bar_vert_glow_mid_light.png"; + color: 255 255 255 0; + } + description { state: "glow" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "light"; + clip_to: "fract_clip"; + scale: 1; + description { state: "default" 0.0; + max: 11 36; + rel1.to_y: "bar"; + rel1.to_x: "bar"; + rel1.relative: (26/96) 0.0; + rel2.to_y: "barend"; + rel2.to_x: "bar"; + rel2.relative: ((26+44)/96) 0.2; + align: 0.0 1.0; + image.normal: "inset_bar_vert_glow_light.png"; + image.border: 0 0 0 20; + image.border_scale_by: 0.25; image.border_scale: 1; + color: 255 255 255 0; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.to_y: "barend"; + rel1.to_x: "bar"; + rel1.relative: (26/96) 0.8; + rel2.to_y: "bar"; + rel2.to_x: "bar"; + rel2.relative: ((26+44)/96) 1.0; + align: 0.0 0.0; + image.normal: "inset_bar_vert_glow_inv_light.png"; + image.border: 0 0 20 0; + } + } + } + programs { + program { name: "inverted-on"; + signal: "elm,state,inverted,on"; source: "elm"; + action: STATE_SET "inv" 0.0; + target: "bar"; + target: "barend"; + target: "light"; + } + program { name: "inverted-off"; + signal: "elm,state,inverted,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + target: "barend"; + target: "light"; + } + program { name: "drag-set"; + signal: "drag,set"; source: "elm.cur.progressbar"; + script { + new a, Float:dx, Float:dy, Float:vl, st[20]; + + get_drag(PART:"elm.cur.progressbar", dx, dy); + get_state(PART:"bar", st, 19, vl); + if (!strcmp(st, "inv")) { + a = round(((1.0 - dy) * 255) / 0.2); + custom_state(PART:"light", "inv", 0.0); + } else { + a = round((dy * 255) / 0.2); + custom_state(PART:"light", "default", 0.0); + } + if (a > 255) { a = 255; } + set_state_val(PART:"light", STATE_COLOR, 255, 255, 255, a); + set_state(PART:"light", "custom", 0.0); + } + } + program { name: "pulse-mode0"; + signal: "elm,state,pulse"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.text.status"; + after: "pulse-mode1"; + } + program { name: "pulse-mode1"; + signal: "elm,state,pulse,start"; source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "fract_clip"; + } + program { name: "pulse-start"; + signal: "elm,state,pulse,start"; source: "elm"; + action: STATE_SET "pulse" 0.0; + target: "pulse_clip"; + target: "fract_clip"; + after: "pulse0"; + after: "pulse0.1"; + } + program { name: "pulse0.1"; + action: STATE_SET "glow" 0.0; + transition: ACCELERATE 0.4; + target: "pulse2"; + after: "pulse0.2"; + } + program { name: "pulse0.2"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.4; + target: "pulse2"; + } + program { name: "pulse0"; + action: STATE_SET "end" 0.0; + transition: SINUSOIDAL 0.8; + target: "pulse"; + after: "pulse1"; + after: "pulse0.1"; + } + program { name: "pulse1"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.8; + target: "pulse"; + after: "pulse0"; + after: "pulse0.1"; + } + program { name: "fraction"; + signal: "elm,state,fraction"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + after: "pulse-stop"; + } + program { name: "elmpulsestop"; + signal: "elm,state,pulse,stop"; source: "elm"; + action: ACTION_STOP; + target: "pulse0"; + target: "pulse1"; + after: "pulse-stop"; + } + program { name: "pulse-stop"; + action: STATE_SET "default" 0.0; + target: "pulse_clip"; + } + program { name: "unit-visible"; + signal: "elm,state,units,visible"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text.status"; + } + program { name: "unit-hidden"; + signal: "elm,state,units,hidden"; source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "elm.text.status"; + } + program { name: "text-visible"; + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "text-hidden"; + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "icon-visible"; + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "icon-hidden"; + signal: "elm,state,icon,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "elmdisabled"; + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(slmode); + m |= DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "elmenabled"; + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + } +#undef ICON +#undef LABEL +#undef UNITS +#undef DISABLE +} + +group { name: "elm/progressbar/horizontal/wheel"; + alias: "elm/progressbar/vertical/wheel"; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + parts { + part { name: "elm.swallow.bar" ; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + min: 0 0; + max: 0 0; + visible: 0; + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "knob"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + } + } + 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; + } + } + } + programs { + program { name: "spin"; + signal: "elm,state,pulse,start"; source: "elm"; + 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: "elm,state,pulse,start"; source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "elm,state,pulse,stop"; source: "elm"; + 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"; + } + } +} + +group { name: "elm/progressbar/horizontal/double"; + inherit: "elm/progressbar/horizontal/default"; + images { + image: "inset_bar_horiz_glow_base_double.png" COMP; + image: "inset_bar_horiz_glow_inv_base_double.png" COMP; + } + parts { + part { name: "elm.cur.progressbar1"; mouse_events: 0; type: SPACER; + insert_after: "inside"; + scale: 1; + dragable.confine: "inside"; + dragable.x: 1 1 1; + dragable.y: 0 0 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 8 4; + max: 8 4; + rel1.to: "inside"; + rel2.to: "inside"; + } + } + part { name: "barend1"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 0; + min: 14 16; + rel1.to_x: "elm.cur.progressbar1"; + rel1.relative: 1.0 0.0; + rel2.to_x: "elm.cur.progressbar1"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + } + } + part { name: "bar1"; + insert_after: "barend"; + clip_to: "fract_clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "ins0"; + rel1.to_y: "bg"; + rel1.relative: (12/16) -0.25; + rel2.to_x: "barend1"; + rel2.to_y: "bg"; + rel2.relative: 1.0 1.25; + image.normal: "inset_bar_horiz_glow_base_double.png"; + image.border: 0 72 0 0; + image.border_scale_by: 0.25; image.border_scale: 1; + color: 51 153 255 128; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.to_x: "barend"; + rel1.relative: 0.0 -0.25; + rel2.to_x: "ins1"; + rel2.relative: (4/16) 1.25; + image.normal: "inset_bar_horiz_glow_inv_base_double.png"; + image.border: 72 0 0 0; + } + } + } + programs { + program { name: "inverted-on"; + signal: "elm,state,inverted,on"; source: "elm"; + action: STATE_SET "inv" 0.0; + target: "bar"; + target: "bar1"; + target: "barend"; + target: "barend1"; + target: "light"; + } + program + { name: "inverted-off"; + signal: "elm,state,inverted,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + target: "bar1"; + target: "barend"; + target: "barend1"; + target: "light"; + } + } +} + +group { name: "elm/progressbar/vertical/double"; + inherit: "elm/progressbar/vertical/default"; + images { + image: "inset_bar_vert_glow_base_double.png" COMP; + image: "inset_bar_vert_glow_inv_base_double.png" COMP; + } + parts { + part { name: "elm.cur.progressbar1"; mouse_events: 0; type: SPACER; + insert_after: "inside"; + scale: 1; + dragable.confine: "inside"; + dragable.x: 0 0 0; + dragable.y: 1 1 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 4 8; + max: 4 8; + rel1.to: "inside"; + rel2.to: "inside"; + } + } + part { name: "barend1"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + min: 16 14; + rel1.to_y: "elm.cur.progressbar1"; + rel1.relative: 0.0 1.0; + rel2.to_y: "elm.cur.progressbar1"; + rel2.relative: 1.0 1.0; + align: 0.5 0.0; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + align: 0.5 1.0; + } + } + part { name: "bar1"; + insert_after: "barend"; + clip_to: "fract_clip"; + scale: 1; + description { state: "default" 0.0; + rel1.to_y: "ins0"; + rel1.to_x: "bg"; + rel1.relative: -0.25 (12/16); + rel2.to_y: "barend1"; + rel2.to_x: "bg"; + rel2.relative: 1.25 1.0; + image.normal: "inset_bar_vert_glow_base_double.png"; + image.border: 0 0 0 72; + image.border_scale_by: 0.25; image.border_scale: 1; + color: 51 153 255 128; + } + description { state: "inv" 0.0; + inherit: "default" 0.0; + rel1.to_y: "barend1"; + rel1.relative: -0.25 0.0; + rel2.to_y: "ins1"; + rel2.relative: 1.25 (4/16); + image.normal: "inset_bar_vert_glow_inv_base_double.png"; + image.border: 0 0 72 0; + } + } + } + programs { + program { name: "inverted-on"; + signal: "elm,state,inverted,on"; source: "elm"; + action: STATE_SET "inv" 0.0; + target: "bar"; + target: "barend"; + target: "light"; + target: "bar1"; + target: "barend1"; + } + program { name: "inverted-off"; + signal: "elm,state,inverted,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + target: "barend"; + target: "light"; + target: "bar1"; + target: "barend1"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/radio.edc b/legacy/elementary/data/themes/edc/elm/radio.edc new file mode 100644 index 0000000000..2dacbe9e88 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/radio.edc @@ -0,0 +1,272 @@ +group { name: "elm/radio/base/default"; + images.image: "inset_shadow_circle_tiny.png" COMP; + images.image: "inset_circle_tiny.png" COMP; + images.image: "sym_radio_alum.png" COMP; +#define ICON 1 +#define LABEL 2 +#define MASK 3 +#define DISABLE 4 + script { + public btmode; + public eval_mode(m) { + new m1 = m & MASK; + new d = m & DISABLE; + if (m1 == (ICON | LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"inset", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"inset", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (ICON)) { + if (!d) { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"inset", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"sizer.content", "icononly", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"inset", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } else if (m1 == (LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "visible", 0.0); + set_state(PART:"inset", "default", 0.0); + set_state(PART:"clip", "default", 0.0); + set_state(PART:"event", "default", 0.0); + } else { + set_state(PART:"elm.swallow.content", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + set_state(PART:"elm.text", "disabled_visible", 0.0); + set_state(PART:"inset", "disabled", 0.0); + set_state(PART:"clip", "disabled", 0.0); + set_state(PART:"event", "disabled", 0.0); + } + } + } + } + parts { + part { name: "inset"; mouse_events: 0; + scale: 1; + 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 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "inset_circle_tiny.png"; + } + } + part { name: "indicator"; mouse_events: 0; + scale: 1; + 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: "clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + scale: 1; + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + max: 0 0; + rel1.to_x: "inset"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.to_x: "inset"; + rel2.offset: 1 -2; + rel2.relative: 1.0 1.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 0 0; + visible: 1; + aspect: 1.0 1.0; + min: 16 16; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "radio_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.to_x: "elm.swallow.content"; + 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: FN; size: 10; + min: 0 0; + align: 0.0 0.5; + text_class: "radio"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + visible: 1; + text.min: 1 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: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,radio,toggle" "elm"; + } + program { + signal: "elm,state,radio,on"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "elm,state,radio,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + program { + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(btmode); + m |= DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + } +#undef ICON +#undef LABEL +#undef MASK +#undef DISABLE +} diff --git a/legacy/elementary/data/themes/edc/elm/scroller.edc b/legacy/elementary/data/themes/edc/elm/scroller.edc new file mode 100644 index 0000000000..a1a02f3b36 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/scroller.edc @@ -0,0 +1,756 @@ +group { name: "elm/scroller/base/default"; + alias: "elm/list/base/default"; + alias: "elm/genlist/base/default"; + alias: "elm/gengrid/base/default"; + alias: "elm/scroller/base/map_bubble"; + alias: "elm/genscroller/base/default"; + alias: "elm/scroller/base/popup/default"; + alias: "elm/scroller/base/popup/transparent"; + + 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; + + data.item: "focus_highlight" "on"; + + parts { + program { + signal: "load"; source: ""; + script { + emit("reload", "elm"); + } + } +// 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; + fixed: 1 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: "elm.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: "elm.dragable.vbar"; + rel2.relative: 1.0 0.0; + rel2.to: "sb_vbar_a2"; + } + } + part { name: "elm.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; + fixed: 1 1; + 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; + fixed: 1 1; + 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; + fixed: 1 1; + 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: "elm,action,show,vbar"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_vbar"; + target: "sb_vbar_show"; + } + program { + signal: "elm,action,hide,vbar"; source: "elm"; + 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: "elm.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: "elm.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: "elm.dragable.vbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_vbar_p2"; + action: DRAG_VAL_PAGE 0.0 1.0; + target: "elm.dragable.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; + fixed: 0 1; + 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: "elm.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: "elm.dragable.hbar"; + rel2.relative: 0.0 1.0; + rel2.to: "sb_hbar_a2"; + } + } + part { name: "elm.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; + fixed: 1 1; + 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; + fixed: 1 1; + 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; + fixed: 1 1; + 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: "elm,action,show,hbar"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar"; + target: "sb_hbar_show"; + } + program { + signal: "elm,action,hide,hbar"; source: "elm"; + 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: "elm.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: "elm.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: "elm.dragable.hbar"; + } + program { + signal: "mouse,down,1*"; source: "sb_hbar_p2"; + action: DRAG_VAL_PAGE 1.0 0.0; + target: "elm.dragable.hbar"; + } + + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.background"; + rel2.to: "elm.swallow.background"; +// color: 64 64 64 200; + color: 0 0 0 0; + color_class: "scrollframe_base"; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.background"; + rel2.to: "elm.swallow.background"; + } + } + part { name: "elm.swallow.background"; 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: "elm.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: "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: "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: "elm.swallow.overlay"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + 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; + fixed: 1 1; + rel1.offset: 2 0; + rel1.to: "elm.dragable.vbar"; + rel2.offset: -3 -1; + rel2.to: "elm.dragable.vbar"; + image.normal: "vgrad_med_lighter.png"; + fill.smooth: 0; + min: 3 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: 3 3; + } + } + 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; + fixed: 1 1; + rel1.offset: 0 2; + rel1.to: "elm.dragable.hbar"; + rel2.offset: -1 -3; + rel2.to: "elm.dragable.hbar"; + image.normal: "vgrad_med_lighter.png"; + fill.smooth: 0; + min: 13 3; + 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: 3 3; + } + } + 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; + } + } + } + programs { + program { + signal: "mouse,down,1*"; source: "elm.dragable.vbar"; + action: STATE_SET "clicked" 0.0; + target: "elm.dragable.vbar"; + target: "shadow_vbar"; + target: "glow_vbar"; + target: "center_glow_vbar"; + } + program { + signal: "mouse,up,1"; source: "elm.dragable.vbar"; + action: STATE_SET "default" 0.0; + target: "elm.dragable.vbar"; + target: "shadow_vbar"; + target: "glow_vbar"; + target: "center_glow_vbar"; + } + program { + signal: "mouse,down,1*"; source: "elm.dragable.hbar"; + action: STATE_SET "clicked" 0.0; + target: "elm.dragable.hbar"; + target: "shadow_hbar"; + target: "glow_hbar"; + target: "center_glow_hbar"; + } + program { + signal: "mouse,up,1"; source: "elm.dragable.hbar"; + action: STATE_SET "default" 0.0; + target: "elm.dragable.hbar"; + target: "shadow_hbar"; + target: "glow_hbar"; + target: "center_glow_hbar"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/segment_control.edc b/legacy/elementary/data/themes/edc/elm/segment_control.edc new file mode 100644 index 0000000000..3ab699c03e --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/segment_control.edc @@ -0,0 +1,440 @@ +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/segment_control/base/default"; + #define SEGMENT_TYPE_SINGLE 1 + #define SEGMENT_TYPE_LEFT 2 + #define SEGMENT_TYPE_MIDDLE 3 + #define SEGMENT_TYPE_RIGHT 4 + #define SEGMENT_STATE_NORMAL 1 + #define SEGMENT_STATE_PRESSED 2 + #define SEGMENT_STATE_SELECTED 3 + #define SEGMENT_STATUS_ENABLED 0 + #define SEGMENT_STATUS_DISABLED 1 + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 0 0 0 0; + min: 160 31; + } + } + } +} +group { name: "elm/segment_control/item/default"; + images { + image: "day_single_press.png" COMP; + image: "day_single_selected.png" COMP; + image: "day_single_normal.png" COMP; + image: "day_left_press.png" COMP; + image: "day_left_selected.png" COMP; + image: "day_left_normal.png" COMP; + image: "day_middle_press.png" COMP; + image: "day_middle_selected.png" COMP; + image: "day_middle_normal.png" COMP; + image: "day_right_press.png" COMP; + image: "day_right_selected.png" COMP; + image: "day_right_normal.png" COMP; + } + parts { + part { name: "segment"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + image { + normal: "day_single_normal.png"; + border: 4 4 3 5; + } + } + description { state: "default_single" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "default_left" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_left_normal.png"; + border: 4 1 3 5; + } + } + description { state: "default_right" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_right_normal.png"; + border: 1 4 3 5; + } + } + description { state: "default_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_middle_normal.png"; + border: 1 1 3 5; + } + } + description { state: "pressed_single" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_single_press.png"; + border: 4 4 3 5; + } + } + description { state: "pressed_left" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_left_press.png"; + border: 4 1 3 5; + } + } + description { state: "pressed_right" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_right_press.png"; + border: 1 4 3 5; + } + } + description { state: "pressed_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_middle_press.png"; + border: 1 1 3 5; + } + } + description { state: "selected_single" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_single_selected.png"; + border: 4 4 3 5; + } + } + description { state: "selected_left" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_left_selected.png"; + border: 4 1 3 5; + } + } + description { state: "selected_right" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_right_selected.png"; + border: 1 4 3 5; + } + } + description { state: "selected_middle" 0.0; + inherit: "default" 0.0; + visible: 1; + image { + normal: "day_middle_selected.png"; + border: 1 1 3 5; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + clip_to: "disabler"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.offset: 10 3; + rel2.relative: 0.0 1.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel2.relative: 0.25 1.0; + rel2.offset: -5 -4; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + rel1.offset: 5 2; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -4; + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 1 1; + rel1 { + to_x: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 0 -1; + } + rel2.offset: -6 -2; + color: FN_COL_DEFAULT; + text { + font: FN; + size: 10; + min: 0 1; + text_class: "button"; + } + } + description { state: "normal" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color3: 255 255 255 0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: FN_COL_DISABLE; + } + } + part { name: "text2"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: GLOW; + description { + state: "default" 0.0; + visible: 0; + fixed: 1 1; + min: 1 1; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + text { + font: FN; + size: 10; + min: 0 1; + text_source: "elm.text"; + text_class: "button"; + } + color: 255 255 255 255; + color2: 255 255 255 24; + color3: 255 255 255 18; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + rel1.to: "segment"; + rel2.to: "segment"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + } + programs { + script { + public seg_type; // Single, Left, Middle, Right. + public seg_state; // Normal/Default, Pressed, Selected. + public seg_status;// Enabled/Default, Disabled + + public update_state() { + new type, state, status; + type = get_int(seg_type); + state = get_int(seg_state); + status = get_int(seg_status); + + if (status == SEGMENT_STATUS_ENABLED) { + if(state == SEGMENT_STATE_NORMAL) { + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"segment", "default_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"segment", "default_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"segment", "default_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"segment", "default_right", 0.0); + set_state(PART:"elm.text", "normal", 0.0); + set_state(PART:"text2", "default", 0.0); + } else if(state == SEGMENT_STATE_PRESSED) { + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"segment", "pressed_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"segment", "pressed_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"segment", "pressed_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"segment", "pressed_right", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + set_state(PART:"text2", "default", 0.0); + } else if(state == SEGMENT_STATE_SELECTED) { + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"segment", "selected_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"segment", "selected_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"segment", "selected_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"segment", "selected_right", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"text2", "selected", 0.0); + } + set_state(PART:"disabler", "default", 0.0); + } else { + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"text2", "normal", 0.0); + set_state(PART:"disabler", "disabled", 0.0); + if(type == SEGMENT_TYPE_SINGLE) + set_state(PART:"segment", "default_single", 0.0); + else if(type == SEGMENT_TYPE_LEFT) + set_state(PART:"segment", "default_left", 0.0); + else if(type == SEGMENT_TYPE_MIDDLE) + set_state(PART:"segment", "default_middle", 0.0); + else if(type == SEGMENT_TYPE_RIGHT) + set_state(PART:"segment", "default_right", 0.0); + } + } + } + program { + name: "segment_type_s"; + signal: "elm,type,segment,single"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_SINGLE); + update_state(); + } + } + program { + name: "segment_type_l"; + signal: "elm,type,segment,left"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_LEFT); + update_state(); + } + } + program { + name: "segment_type_m"; + signal: "elm,type,segment,middle"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_MIDDLE); + update_state(); + } + } + program { + name: "segment_type_r"; + signal: "elm,type,segment,right"; + source: "elm"; + script { + set_int(seg_type, SEGMENT_TYPE_RIGHT); + update_state(); + } + } + program { + name: "normal_segment"; + signal: "elm,state,segment,normal"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_NORMAL); + update_state(); + } + } + program { + name: "pressed_segment"; + signal: "elm,state,segment,pressed"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_PRESSED); + update_state(); + } + } + program { + name: "selected_segment"; + signal: "elm,state,segment,selected"; + source: "elm"; + script { + set_int(seg_state, SEGMENT_STATE_SELECTED); + update_state(); + } + } + program { name: "disable_segment"; + signal: "elm,state,disabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_DISABLED); + update_state(); + } + } + program { name: "enable_segment"; + signal: "elm,state,enabled"; + source: "elm"; + script { + set_int(seg_status, SEGMENT_STATUS_ENABLED); + update_state(); + } + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "icononly")) + set_state(PART:"elm.swallow.icon", "visible", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.icon", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"text2", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.text", st, 30, vl); + if ((!strcmp(st, "normal")) || (!strcmp(st, "selected"))) + set_state(PART:"elm.swallow.icon", "visible", 0.0); + else + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + } + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + } + #undef SEGMENT_TYPE_SINGLE + #undef SEGMENT_TYPE_LEFT + #undef SEGMENT_TYPE_MIDDLE + #undef SEGMENT_TYPE_RIGHT + #undef SEGMENT_STATE_NORMAL + #undef SEGMENT_STATE_PRESSED + #undef SEGMENT_STATE_SELECTED + #undef SEGMENT_STATUS_ENABLED + #undef SEGMENT_STATUS_DISABLED +} diff --git a/legacy/elementary/data/themes/edc/elm/separator.edc b/legacy/elementary/data/themes/edc/elm/separator.edc new file mode 100644 index 0000000000..a61d9785e1 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/separator.edc @@ -0,0 +1,27 @@ +group { name: "elm/separator/horizontal/default"; + images.image: "bevel_dark_in.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + min: 2 2; + max: 99999 2; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "bevel_dark_in.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + } + } + } +} +group { name: "elm/separator/vertical/default"; + inherit: "elm/separator/horizontal/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + max: 2 99999; + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/elm/slider.edc b/legacy/elementary/data/themes/edc/elm/slider.edc new file mode 100644 index 0000000000..578b25f568 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/slider.edc @@ -0,0 +1,1452 @@ +group { name: "elm/slider/hidden/limit"; + parts { + part { name: "elm.units.min"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + text { font: FN; size: 10; + text_class: "slider_text"; + min: 1 1; + align: 0.0 0.5; + } + } + } + part { name: "elm.units.max"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + text { font: FN; size: 10; + text_class: "slider_text"; + min: 1 1; + align: 0.0 0.5; + } + } + } + } +} + +group { name: "elm/slider/horizontal/default"; + alias: "elm/slider/horizontal/disabled"; + alias: "elm/slider/horizontal/media_player/position/default"; + alias: "elm/slider/horizontal/media_player/position/flush"; + alias: "elm/slider/horizontal/media_player/volume/default"; + alias: "elm/slider/horizontal/media_player/volume/flush"; + 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: "horiz_glow_run_rev.png" COMP; + images.image: "knob_round_small_normal.png" COMP; + images.image: "knob_round_small_selected.png" COMP; + set { name: "knob"; + // XXX: add more sizes (at least up to 128x128) + image { image: "knob_sz_24.png" COMP; size: 31 31 32 32; } + image { image: "knob_sz_22.png" COMP; size: 29 29 30 30; } + image { image: "knob_sz_20.png" COMP; size: 27 27 28 28; } + image { image: "knob_sz_18.png" COMP; size: 25 25 26 26; } + image { image: "knob_sz_16.png" COMP; size: 23 23 24 24; } + image { image: "knob_sz_14.png" COMP; size: 21 21 22 22; } + image { image: "knob_sz_12.png" COMP; size: 19 19 20 20; } + image { image: "knob_sz_10.png" COMP; size: 17 17 18 18; } + image { image: "knob_sz_08.png" COMP; size: 15 15 16 16; } + image { image: "knob_sz_06.png" COMP; size: 13 13 14 14; } + image { image: "knob_sz_04.png" COMP; size: 0 0 12 12; } + } +#define ICON 1 +#define LABEL 2 +#define END 4 +#define UNITS 8 +#define MASK 15 +#define INVERT 16 +#define DISABLE 32 + script { + public slmode; + public eval_mode(m) { + new ic = m & ICON; + new l = m & LABEL; + new e = m & END; + new u = m & UNITS; + new d = m & DISABLE; + new i = m & INVERT; + if (i) { + if (!d) { + set_state(PART:"base", "default", 0.0); + set_state(PART:"glow", "inverted", 0.0); + } else { + set_state(PART:"base", "disabled", 0.0); + set_state(PART:"glow", "disabled_inverted", 0.0); + } + } else { + if (!d) { + set_state(PART:"base", "default", 0.0); + set_state(PART:"glow", "default", 0.0); + } else { + set_state(PART:"base", "disabled", 0.0); + set_state(PART:"glow", "disabled", 0.0); + } + } + if (l) { + if (!d) { + set_state(PART:"elm.text", "visible", 0.0); + } else { + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } else { + set_state(PART:"elm.text", "default", 0.0); + } + if (u) { + if (!d) { + set_state(PART:"elm.units", "visible", 0.0); + set_state(PART:"limits", "visible", 0.0); + } else { + set_state(PART:"elm.units", "disabled_visible", 0.0); + set_state(PART:"limits", "disabled_visible", 0.0); + } + } else { + set_state(PART:"elm.units", "default", 0.0); + set_state(PART:"limits", "default", 0.0); + } + if (ic) { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } else { + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + } + if (e) { + set_state(PART:"elm.swallow.end", "visible", 0.0); + set_state(PART:"sizer.content.end", "visible", 0.0); + } else { + set_state(PART:"elm.swallow.end", "default", 0.0); + set_state(PART:"sizer.content.end", "default", 0.0); + } + if (!d) { + set_state(PART:"event", "default", 0.0); + set_state(PART:"dis_clip", "default", 0.0); + } else { + set_state(PART:"event", "disabled", 0.0); + set_state(PART:"dis_clip", "disabled", 0.0); + } + } + } + parts { + part { name: "elm.swallow.bar"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 42 21; + max: 99999 21; + align: 1.0 0.5; + rel1.to_x: "elm.text"; + rel1.relative: 1.0 0.0; + rel1.offset: 2 0; + rel2.to_x: "limits"; + rel2.relative: 0.0 1.0; + rel2.offset: -3 -1; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + 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: "button"; + rel2.to_y: "base"; + image.border: 0 4 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + description { state: "inverted" 0.0; + image.normal: "horiz_glow_run_rev.png"; + rel1.relative: 0.5 0.0; + rel1.offset: 0 1; + rel1.to_x: "button"; + rel1.to_y: "base"; + rel2.offset: -2 -2; + rel2.to: "base"; + image.border: 4 0 0 0; + } + description { state: "disabled_inverted" 0.0; + inherit: "inverted" 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: "dis_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.end"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "dis_clip"; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1.offset: 0 2; + rel1.to_y: "elm.swallow.bar"; + rel2.offset: -1 -3; + rel2.relative: 0.0 1.0; + rel2.to_y: "elm.swallow.bar"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 2 2; + rel2.offset: 2 -3; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "slider_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to_x: "elm.swallow.icon"; + rel1.relative: 1.0 0.0; + rel1.offset: -1 2; + rel2.to_x: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + rel2.offset: -1 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "slider_text"; + text { font: FN; size: 10; + text_class: "slider"; + min: 0 0; + align: 0.0 0.5; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 0; + visible: 1; + rel1.offset: 2 2; + rel2.offset: 2 -3; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + color_class: "slider_text_disabled"; + color: 21 21 21 255; + color3: 255 255 255 15; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + clip_to: "dis_clip"; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + rel1.offset: 0 2; + rel1.relative: 1.0 0.0; + rel2.offset: -1 -3; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1.offset: -3 2; + rel2.offset: -3 -3; + } + } + part { name: "sizer.content.end"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "slider_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.end"; + rel2.to: "elm.swallow.end"; + text { + min: 1 1; + text: "M"; + } + } + } + alias: "elm.units.min" "limits:elm.units.min"; + alias: "elm.units.max" "limits:elm.units.max"; + part { name: "limits"; type: GROUP; mouse_events: 0; + source: "elm/slider/hidden/limit"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 1.0 0.5; + min: SOURCE; + fixed: 1 1; + rel1.to_x: "elm.swallow.end"; + rel1.relative: 0.0 0.0; + rel1.offset: 0 2; + rel2.to_x: "elm.swallow.end"; + rel2.relative: 0.0 1.0; + rel2.offset: -1 -3; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -3 2; + rel2.offset: -3 -3; + } + } + part { name: "elm.units"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to_x: "limits"; + rel2.to_x: "limits"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "slider_text"; + text { font: FN; size: 10; + text_class: "slider"; + align: 1.0 0.5; + min: 1 1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + color: 21 21 21 255; + color3: 255 255 255 15; + color_class: "slider_text_disabled"; + } + } + part { name: "button"; type: GROUP; mouse_events: 0; + source: "elm/slider/horizontal/indicator/default"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.dragable.slider"; type: RECT; + scale: 1; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "elm.swallow.bar"; + description { state: "default" 0.0; + color: 0 0 0 0; + min: 16 16; + max: 16 16; + fixed: 1 1; + rel1.relative: 0.5 0.0; + rel1.to_x: "elm.swallow.bar"; + rel2.relative: 0.5 1.0; + rel2.to_x: "elm.swallow.bar"; + } + } + part { name: "knob"; + description { state: "default" 0.0; + image.normal: "knob"; + fixed: 1 1; + min: 12 12; + step: 2 2; + max: 32 32; // XXX allow bigger sizes with more knob images + rel1.to: "elm.dragable.slider"; + rel1.offset: -4 -4; + rel2.to: "elm.dragable.slider"; + rel2.offset: 3 3; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name: "slideevent"; type: RECT; repeat_events: 1; + scale: 1; + ignore_flags: ON_HOLD; + dragable.events: "elm.dragable.slider"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + color: 0 0 0 0; + } + } + part { name: "elm.track.slider"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + max: 0 0; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + } + } + 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: "elm.dragable.slider"; + action: STATE_SET "clicked" 0.0; + target: "knob"; + } + program { + signal: "mouse,up,1"; source: "elm.dragable.slider"; + action: STATE_SET "default" 0.0; + target: "knob"; + } + program { + signal: "elm,state,indicator,show"; source: "elm"; + action: SIGNAL_EMIT "elm,popup,show" "elm"; + after: "popup_show2"; + } + program { + signal: "elm,state,indicator,hide"; source: "elm"; + action: SIGNAL_EMIT "elm,popup,hide" "elm"; + after: "popup_hide2"; + } + program { + signal: "mouse,down,1"; source: "slideevent"; + action: SIGNAL_EMIT "elm,popup,show" "elm"; + after: "popup_show2"; + } + program { name: "popup_show2"; + action: STATE_SET "hidden" 0.0; + target: "button"; + } + program { + signal: "mouse,up,1"; source: "slideevent"; + action: SIGNAL_EMIT "elm,popup,hide" "elm"; + after: "popup_hide2"; + } + program { name: "popup_hide2"; + action: STATE_SET "default" 0.0; + target: "button"; + } + program { + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "end_show"; + signal: "elm,state,end,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= END; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "end_hide"; + signal: "elm,state,end,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~END; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,units,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= UNITS; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,units,visible"; source: "elm"; + action: SIGNAL_EMIT "limits:limits,visible" "elm"; + } + program { + signal: "elm,state,units,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + script { + new m = get_int(slmode); + m &= ~UNITS; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,units,hidden"; source: "elm"; + action: SIGNAL_EMIT "limits:limits,hide" "elm"; + } + program { + signal: "elm,state,inverted,on"; source: "elm"; + script { + new m = get_int(slmode); + m |= INVERT; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,inverted,off"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~INVERT; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(slmode); + m |= DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm"; + } + } +#undef ICON +#undef LABEL +#undef END +#undef UNITS +#undef MASK +#undef INVERT +#undef DISABLE +} + +group { name: "elm/slider/horizontal/indicator/default"; + alias: "elm/slider/horizontal/indicator/disabled"; + alias: "elm/slider/horizontal/popup/default"; + alias: "elm/slider/horizontal/indicator/media_player/position/default"; + alias: "elm/slider/horizontal/indicator/media_player/position/flush"; + alias: "elm/slider/horizontal/indicator/media_player/volume/default"; + alias: "elm/slider/horizontal/indicator/media_player/volume/flush"; + images.image: "darken_rounded_square.png" COMP; + parts { + part { name: "base"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 16 16; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.indicator"; + rel1.offset: -100 -100; + rel2.to: "elm.indicator"; + rel2.offset: 99 99; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bevel"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: -12 -12; + rel1.to: "elm.indicator"; + rel2.offset: 11 11; + rel2.to: "elm.indicator"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.indicator"; type: TEXT; mouse_events: 0; + clip_to: "clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 1.0; + rel1.to: "base"; + rel1.relative: 0.0 -0.1; + rel1.offset: 0 -12; + rel2.to: "base"; + rel2.relative: 1.0 -0.1; + rel2.offset: -1 -12; + color_class: "slider_indicator"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + min: 1 1; + align: 0.5 1.0; + text_class: "slider_indicator"; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "elm,popup,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,popup,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,popup,hide"; source: "elm"; + action: SIGNAL_EMIT "elm,popup,hide,done" "elm"; + } + program { + signal: "elm,state,val,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "clip"; + } + program { + signal: "elm,state,val,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip"; + } + program { + signal: "elm,state,indicator,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,state,indicator,hide"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "base"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "elm/slider/vertical/default"; + alias: "elm/slider/vertical/disabled"; + alias: "elm/slider/vertical/media_player/position/default"; + alias: "elm/slider/vertical/media_player/position/flush"; + alias: "elm/slider/vertical/media_player/volume/default"; + alias: "elm/slider/vertical/media_player/volume/flush"; + 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: "vert_glow_run_rev.png" COMP; + images.image: "knob_round_small_normal.png" COMP; + images.image: "knob_round_small_selected.png" COMP; + set { name: "knob"; + // XXX: add more sizes (at least up to 128x128) + image { image: "knob_sz_24.png" COMP; size: 31 31 32 32; } + image { image: "knob_sz_22.png" COMP; size: 29 29 30 30; } + image { image: "knob_sz_20.png" COMP; size: 27 27 28 28; } + image { image: "knob_sz_18.png" COMP; size: 25 25 26 26; } + image { image: "knob_sz_16.png" COMP; size: 23 23 24 24; } + image { image: "knob_sz_14.png" COMP; size: 21 21 22 22; } + image { image: "knob_sz_12.png" COMP; size: 19 19 20 20; } + image { image: "knob_sz_10.png" COMP; size: 17 17 18 18; } + image { image: "knob_sz_08.png" COMP; size: 15 15 16 16; } + image { image: "knob_sz_06.png" COMP; size: 13 13 14 14; } + image { image: "knob_sz_04.png" COMP; size: 0 0 12 12; } + } +#define ICON 1 +#define LABEL 2 +#define END 4 +#define UNITS 8 +#define MASK 15 +#define INVERT 16 +#define DISABLE 32 + script { + public slmode; + public eval_mode(m) { + new ic = m & ICON; + new l = m & LABEL; + new e = m & END; + new u = m & UNITS; + new d = m & DISABLE; + new i = m & INVERT; + if (i) { + if (!d) { + set_state(PART:"base", "default", 0.0); + set_state(PART:"glow", "inverted", 0.0); + } else { + set_state(PART:"base", "disabled", 0.0); + set_state(PART:"glow", "disabled_inverted", 0.0); + } + } else { + if (!d) { + set_state(PART:"base", "default", 0.0); + set_state(PART:"glow", "default", 0.0); + } else { + set_state(PART:"base", "disabled", 0.0); + set_state(PART:"glow", "disabled", 0.0); + } + } + if (l) { + if (!d) { + set_state(PART:"elm.text", "visible", 0.0); + } else { + set_state(PART:"elm.text", "disabled_visible", 0.0); + } + } else { + set_state(PART:"elm.text", "default", 0.0); + } + if (u) { + if (!d) { + set_state(PART:"elm.units", "visible", 0.0); + set_state(PART:"limits", "visible", 0.0); + } else { + set_state(PART:"elm.units", "disabled_visible", 0.0); + set_state(PART:"limits", "disabled_visible", 0.0); + } + } else { + set_state(PART:"elm.units", "default", 0.0); + set_state(PART:"limits", "default", 0.0); + } + if (ic) { + set_state(PART:"elm.swallow.icon", "visible", 0.0); + set_state(PART:"sizer.content", "visible", 0.0); + } else { + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"sizer.content", "default", 0.0); + } + if (e) { + set_state(PART:"elm.swallow.end", "visible", 0.0); + set_state(PART:"sizer.content.end", "visible", 0.0); + } else { + set_state(PART:"elm.swallow.end", "default", 0.0); + set_state(PART:"sizer.content.end", "default", 0.0); + } + if (!d) { + set_state(PART:"event", "default", 0.0); + set_state(PART:"dis_clip", "default", 0.0); + } else { + set_state(PART:"event", "disabled", 0.0); + set_state(PART:"dis_clip", "disabled", 0.0); + } + } + } + parts { + part { name: "elm.swallow.bar"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 21 42; + max: 21 99999; + align: 0.5 1.0; + rel1.to_y: "elm.text"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 2; + rel2.to_y: "limits"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 -3; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "elm.swallow.bar"; + rel2.to: "elm.swallow.bar"; + 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 1; + rel1.to: "base"; + rel2.relative: 1.0 0.5; + rel2.offset: -2 -1; + rel2.to_y: "button"; + rel2.to_x: "base"; + image.border: 0 0 0 4; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + description { state: "inverted" 0.0; + image.normal: "vert_glow_run_rev.png"; + rel1.relative: 0.0 0.5; + rel1.offset: 1 0; + rel1.to_y: "button"; + rel1.to_x: "base"; + rel2.offset: -2 -2; + rel2.to: "base"; + image.border: 0 0 4 0; + } + description { state: "disabled_inverted" 0.0; + inherit: "inverted" 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: "dis_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.end"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "dis_clip"; + description { state: "default" 0.0; + visible: 0; + align: 0.5 0.0; + rel1.offset: 2 0; + rel1.to_x: "elm.swallow.bar"; + rel2.offset: -3 -1; + rel2.relative: 1.0 0.0; + rel2.to_x: "elm.swallow.bar"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 2 2; + rel2.offset: -3 2; + } + } + part { name: "sizer.content"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "slider_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.icon"; + rel2.to: "elm.swallow.icon"; + text { + min: 1 1; + text: "M"; + } + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1.to_y: "elm.swallow.icon"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 -1; + rel2.to_y: "elm.swallow.icon"; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -1; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "slider_text"; + text { font: FN; size: 10; + text_class: "slider"; + min: 1 0; + align: 0.5 0.0; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.offset: 2 2; + rel2.offset: -3 2; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + color_class: "slider_text_disabled"; + color: 21 21 21 255; + color3: 255 255 255 15; + } + } + part { name: "elm.swallow.end"; type: SWALLOW; + clip_to: "dis_clip"; + description { state: "default" 0.0; + visible: 0; + align: 0.5 1.0; + rel1.offset: 2 0; + rel1.relative: 0.0 1.0; + rel2.offset: -3 -1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel2.offset: 2 -3; + rel2.offset: -3 -3; + } + } + part { name: "sizer.content.end"; type: TEXT; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + text { font: FN; size: 10; + min: 0 0; + text_class: "slider_text"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.to: "elm.swallow.end"; + rel2.to: "elm.swallow.end"; + text { + min: 1 1; + text: "M"; + } + } + } + alias: "elm.units.min" "limits:elm.units.min"; + alias: "elm.units.max" "limits:elm.units.max"; + part { name: "limits"; type: GROUP; mouse_events: 0; + source: "elm/slider/hidden/limit"; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + fixed: 1 1; + max: 0 0; + rel1.to_y: "elm.swallow.end"; + rel1.relative: 0.0 0.0; + rel1.offset: 2 1; + rel2.to_y: "elm.swallow.end"; + rel2.relative: 1.0 0.0; + rel2.offset: -3 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: SOURCE; + rel1.offset: 2 -3; + rel2.offset: -3 -3; + } + } + part { name: "elm.units"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 1 1; + rel1.to_y: "limits"; + rel2.to_y: "limits"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "slider_text"; + text { font: FN; size: 10; + text_class: "slider"; + min: 0 0; + align: 0.5 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled_visible" 0.0; + inherit: "visible" 0.0; + color: 21 21 21 255; + color3: 255 255 255 15; + color_class: "slider_text_disabled"; + } + } + part { name: "button"; type: GROUP; mouse_events: 0; + source: "elm/slider/vertical/indicator/default"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.dragable.slider"; type: RECT; + scale: 1; + dragable.x: 0 0 0; + dragable.y: 1 1 0; + dragable.confine: "elm.swallow.bar"; + description { state: "default" 0.0; + color: 0 0 0 0; + min: 16 16; + max: 16 16; + fixed: 1 1; + rel1.relative: 0.0 0.5; + rel1.to_x: "elm.swallow.bar"; + rel2.relative: 1.0 0.5; + rel2.to_x: "elm.swallow.bar"; + } + } + part { name: "knob"; + description { state: "default" 0.0; + image.normal: "knob"; + fixed: 1 1; + min: 12 12; + step: 2 2; + max: 32 32; // XXX allow bigger sizes with more knob images + rel1.to: "elm.dragable.slider"; + rel1.offset: -4 -4; + rel2.to: "elm.dragable.slider"; + rel2.offset: 3 3; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name: "slideevent"; type: RECT; repeat_events: 1; + scale: 1; + ignore_flags: ON_HOLD; + dragable.events: "elm.dragable.slider"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + color: 0 0 0 0; + } + } + part { name: "elm.track.slider"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + max: 0 0; + rel1.to: "elm.dragable.slider"; + rel2.to: "elm.dragable.slider"; + } + } + 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: "elm.dragable.slider"; + action: STATE_SET "clicked" 0.0; + target: "knob"; + } + program { + signal: "mouse,up,1"; source: "elm.dragable.slider"; + action: STATE_SET "default" 0.0; + target: "knob"; + } + program { + signal: "elm,state,indicator,show"; source: "elm"; + action: SIGNAL_EMIT "elm,popup,show" "elm"; + after: "popup_show2"; + } + program { + signal: "elm,state,indicator,hide"; source: "elm"; + action: SIGNAL_EMIT "elm,popup,hide" "elm"; + after: "popup_hide2"; + } + program { + signal: "mouse,down,1"; source: "slideevent"; + action: SIGNAL_EMIT "elm,popup,show" "elm"; + after: "popup_show2"; + } + program { name: "popup_show2"; + action: STATE_SET "hidden" 0.0; + target: "button"; + } + program { + signal: "mouse,up,1"; source: "slideevent"; + action: SIGNAL_EMIT "elm,popup,hide" "elm"; + after: "popup_hide2"; + } + program { name: "popup_hide2"; + action: STATE_SET "default" 0.0; + target: "button"; + } + program { + signal: "elm,state,text,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,text,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~LABEL; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,icon,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~ICON; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "end_show"; + signal: "elm,state,end,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= END; set_int(slmode, m); + eval_mode(m); + } + } + program { name: "end_hide"; + signal: "elm,state,end,hidden"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~END; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,units,visible"; source: "elm"; + script { + new m = get_int(slmode); + m |= UNITS; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,units,visible"; source: "elm"; + action: SIGNAL_EMIT "limits:limits,visible" "elm"; + } + program { + signal: "elm,state,units,hidden"; source: "elm"; + action: STATE_SET "default" 0.0; + script { + new m = get_int(slmode); + m &= ~UNITS; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,units,hidden"; source: "elm"; + action: SIGNAL_EMIT "limits:limits,hide" "elm"; + } + program { + signal: "elm,state,inverted,on"; source: "elm"; + script { + new m = get_int(slmode); + m |= INVERT; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,inverted,off"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~INVERT; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(slmode); + m |= DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(slmode); + m &= ~DISABLE; set_int(slmode, m); + eval_mode(m); + } + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm"; + } + } +#undef ICON +#undef LABEL +#undef END +#undef UNITS +#undef MASK +#undef INVERT +#undef DISABLE +} + +group { name: "elm/slider/vertical/indicator/default"; + alias: "elm/slider/vertical/indicator/disabled"; + alias: "elm/slider/vertical/popup/default"; + alias: "elm/slider/vertical/indicator/media_player/position/default"; + alias: "elm/slider/vertical/indicator/media_player/position/flush"; + alias: "elm/slider/vertical/indicator/media_player/volume/default"; + alias: "elm/slider/vertical/indicator/media_player/volume/flush"; + images.image: "darken_rounded_square.png" COMP; + parts { + part { name: "base"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 16 16; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "elm.indicator"; + rel1.offset: -100 -100; + rel2.to: "elm.indicator"; + rel2.offset: 99 99; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bevel"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: -12 -12; + rel1.to: "elm.indicator"; + rel2.offset: 11 11; + rel2.to: "elm.indicator"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.indicator"; type: TEXT; mouse_events: 0; + clip_to: "clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "base"; + rel1.relative: 1.1 0.0; + rel1.offset: 11 0; + rel2.to: "base"; + rel2.relative: 1.1 1.0; + rel2.offset: 11 -1; + color_class: "slider_indicator"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "slider_indicator"; + } + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "elm,popup,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,popup,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,popup,hide"; source: "elm"; + action: SIGNAL_EMIT "elm,popup,hide,done" "elm"; + } + program { + signal: "elm,state,val,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "clip"; + } + program { + signal: "elm,state,val,hide"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "clip"; + } + program { + signal: "elm,state,indicator,show"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,state,indicator,hide"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.indicator"; + target: "bevel"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "base"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/slideshow.edc b/legacy/elementary/data/themes/edc/elm/slideshow.edc new file mode 100644 index 0000000000..5dc800e84f --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/slideshow.edc @@ -0,0 +1,349 @@ +group { name: "elm/slideshow/base/default"; + data { + item: transitions "fade black_fade horizontal vertical square"; + item: layouts "fullscreen not_fullscreen"; + } + parts { + part { name: "whole"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; + } + } + part { name: "image_1_whole"; type: RECT; + description { state: "default" 0.0; + } + description { state: "fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + description { state: "black_fade_prev_next_init" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "black_fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + description { state: "horizontal_next_init" 0.0; + inherit: "default" 0.0; + } + description { state: "horizontal_next" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + description { state: "horizontal_prev_init" 0.0; + inherit: "default" 0.0; + } + description { state: "horizontal_prev" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + } + description { state: "vertical_next_init" 0.0; + inherit: "default" 0.0; + } + description { state: "vertical_next" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + } + description { state: "vertical_prev_init" 0.0; + inherit: "default" 0.0; + } + description { state: "vertical_prev" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + } + description { state: "square_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "image_2_whole"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "black_fade_prev_next_init" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + description { state: "black_fade_prev_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "horizontal_next_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 2.0 1.0; + color: 255 255 255 255; + } + description { state: "horizontal_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "horizontal_prev_init" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + color: 255 255 255 255; + } + description { state: "horizontal_prev" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "vertical_next_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 2.0; + color: 255 255 255 255; + } + description { state: "vertical_next" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "vertical_prev_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -1.0; + rel2.relative: 1.0 0.0; + color: 255 255 255 255; + } + description { state: "vertical_prev" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "square_prev_next_init" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + color: 255 255 255 255; + } + description { state: "square_prev_next" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.1"; type: SWALLOW; + clip_to: "image_1_whole"; + description { state: "default" 0.0; + rel1.to: "image_1_whole"; + rel2.to: "image_1_whole"; + } + description { state: "not_fullscreen" 0.0; + rel1.relative: 0.1 0.1; + rel1.to: "image_1_whole"; + rel2.relative: 0.9 0.9; + rel2.to: "image_1_whole"; + } + } + part { name: "elm.swallow.2"; type: SWALLOW; + clip_to: "image_2_whole"; + description { + state: "default" 0.0; + rel1.to: "image_2_whole"; + rel2.to: "image_2_whole"; + } + description { state: "not_fullscreen" 0.0; + rel1.relative: 0.1 0.1; + rel1.to: "image_2_whole"; + rel2.relative: 0.9 0.9; + rel2.to: "image_2_whole"; + } + } + part { name: "events_catcher"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "elm,layout,fullscreen"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.1"; + target: "elm.swallow.2"; + transition: SINUSOIDAL 1.0; + } + program { + signal: "elm,layout,not_fullscreen"; source: "elm"; + action: STATE_SET "not_fullscreen" 0.0; + target: "elm.swallow.1"; + target: "elm.swallow.2"; + transition: SINUSOIDAL 1.0; + } + // + program { + signal: "elm,fade,next"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "fade_next_2"; + } + program { name: "fade_next_2"; + action: STATE_SET "fade_prev_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { + signal: "elm,fade,previous"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "fade_previous_2"; + } + program { name: "fade_previous_2"; + action: STATE_SET "fade_prev_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { + signal: "elm,black_fade,next"; source: "elm"; + action: STATE_SET "black_fade_prev_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "black_fade_next_2"; + } + program { name: "black_fade_next_2"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_1_whole"; + transition: SINUSOIDAL 0.75; + after: "black_fade_next_3"; + } + program { name: "black_fade_next_3"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_2_whole"; + transition: SINUSOIDAL 0.75; + after: "end"; + } + program { + signal: "elm,black_fade,previous"; source: "elm"; + action: STATE_SET "black_fade_prev_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "black_fade_previous_2"; + } + program { name: "black_fade_previous_2"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_1_whole"; + transition: SINUSOIDAL 0.75; + after: "black_fade_previous_3"; + } + program { name: "black_fade_previous_3"; + action: STATE_SET "black_fade_prev_next" 0.0; + target: "image_2_whole"; + transition: SINUSOIDAL 0.75; + after: "end"; + } + program { + signal: "elm,horizontal,next"; source: "elm"; + action: STATE_SET "horizontal_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "horizontal_next_2"; + } + program { name: "horizontal_next_2"; + action: STATE_SET "horizontal_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { name: "horizontal_previous"; + signal: "elm,horizontal,previous"; source: "elm"; + action: STATE_SET "horizontal_prev_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "horizontal_previous_2"; + } + program { name: "horizontal_previous_2"; + action: STATE_SET "horizontal_prev" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { + signal: "elm,vertical,next"; source: "elm"; + action: STATE_SET "vertical_next_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "vertical_next_2"; + } + program { name: "vertical_next_2"; + action: STATE_SET "vertical_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { + signal: "elm,vertical,previous"; source: "elm"; + action: STATE_SET "vertical_prev_init" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "vertical_previous_2"; + } + program { name: "vertical_previous_2"; + action: STATE_SET "vertical_prev" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { + signal: "elm,square,next"; source: "elm"; + action: STATE_SET "square_prev_next_init" 0.0; + target: "image_2_whole"; + after: "square_next_2"; + } + program { name: "square_next_2"; + action: STATE_SET "square_prev_next" 0.0; + target: "image_2_whole"; + target: "image_1_whole"; + transition: SINUSOIDAL 1.5; + after: "end"; + } + program { + signal: "elm,square,previous"; source: "elm"; + action: STATE_SET "square_prev_next_init" 0.0; + target: "image_2_whole"; + after: "square_next_2"; + } + program { + signal: "elm,none,next"; source: "elm"; + action: STATE_SET "fade_prev_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "end"; + } + program { + signal: "elm,none,previous"; source: "elm"; + action: STATE_SET "fade_prev_next" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + after: "end"; + } + program { name: "end"; + action: SIGNAL_EMIT "elm,end" "elm"; + } + program { + signal: "elm,anim,end"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "image_1_whole"; + target: "image_2_whole"; + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/edc/elm/spinner.edc b/legacy/elementary/data/themes/edc/elm/spinner.edc new file mode 100644 index 0000000000..3a1bbf5742 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/spinner.edc @@ -0,0 +1,302 @@ +group { name: "elm/spinner/base/default"; + images.image: "vert_bar_inset.png" COMP; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_left_dark_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "sym_right_dark_normal.png" COMP; + parts { + part { name: "elm.text"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color: FN_COL_DEFAULT; + color_class: "spinner"; + rel1.to_y: "inset"; + rel1.to_x: "left"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.to_y: "inset"; + rel2.to_x: "right"; + rel2.relative: 0.0 1.0; + rel2.offset: -2 -2; + text { font: FN; size: 10; + min: 1 1; + text_class: "spinner"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + color_class: "spinner_disabled"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.dragable.slider"; type: RECT; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + description { state: "default" 0.0; + fixed: 1 0; + rel1.to: "inset"; + rel2.to: "inset"; + color: 0 0 0 0; + } + } + part { name: "elm.swallow.entry"; type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled_active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow1"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "left"; + rel2.to: "left"; + 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"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_dark_normal.png"; + } + } + part { name: "arrow2"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "right"; + rel2.to: "right"; + 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"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_dark_normal.png"; + } + } + part { name: "left"; type: RECT; + description { state: "default" 0.0; + rel1.to: "inset"; + rel1.offset: 1 1; + rel2.to: "inset"; + rel2.offset: 1 -2; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + color: 0 0 0 0; + min: 15 15; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + program { + signal: "mouse,down,1"; source: "left"; + action: STATE_SET "clicked" 0.0; + target: "arrow1"; + after: "left2"; + } program { name: "left2"; + action: SIGNAL_EMIT "elm,action,decrement,start" "elm"; + } + program { + signal: "mouse,up,1"; source: "left"; + action: STATE_SET "default" 0.0; + target: "arrow1"; + after: "left3"; + } program { name: "left3"; + action: SIGNAL_EMIT "elm,action,decrement,stop" "elm"; + } + part { name: "right"; type: RECT; + description { state: "default" 0.0; + rel1.to: "inset"; + rel1.offset: 1 1; + rel1.relative: 1.0 0.0; + rel2.to: "inset"; + rel2.offset: 1 -2; + align: 1.0 0.5; + color: 0 0 0 0; + min: 15 15; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + program { + signal: "mouse,down,1"; source: "right"; + action: STATE_SET "clicked" 0.0; + target: "arrow2"; + after: "right2"; + } program { name: "right2"; + action: SIGNAL_EMIT "elm,action,increment,start" "elm"; + } + program { + signal: "mouse,up,1"; source: "right"; + action: STATE_SET "default" 0.0; + target: "arrow2"; + after: "right3"; + } program { name: "right3"; + action: SIGNAL_EMIT "elm,action,increment,stop" "elm"; + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 -2; + image.normal: "vert_bar_inset.png"; + image.border: 1 1 8 6; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "access_text"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "elm.text"; + rel2.to: "elm.text"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + program { + signal: "mouse,clicked,1"; source: "access_text"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + part { name: "disabler"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "elm.swallow.entry"; + } + program { name: "toggle_text"; + signal: "mouse,clicked,1"; source: "elm.dragable.slider"; + action: SIGNAL_EMIT "elm,action,entry,toggle" "elm"; + } + program { + signal: "elm,state,enabled"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow1"; + target: "arrow2"; + target: "access_text"; + target: "disabler"; + target: "elm.swallow.entry"; + target: "elm.text"; + } + program { + signal: "elm,state,disabled"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "arrow1"; + target: "arrow2"; + target: "access_text"; + target: "disabler"; + target: "elm.swallow.entry"; + target: "elm.text"; + } + } +} + +group { name: "elm/spinner/base/vertical"; + inherit: "elm/spinner/base/default"; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + images.image: "sym_up_dark_normal.png" COMP; + images.image: "sym_down_light_normal.png" COMP; + images.image: "sym_down_glow_normal.png" COMP; + images.image: "sym_down_dark_normal.png" COMP; + parts { + part { name: "elm.text"; + description { state: "default" 0.0; + rel1.to_x: "inset"; + rel1.relative: 0.0 0.0; + rel1.offset: 1 1; + rel2.to_x: "left"; + rel2.relative: 0.0 1.0; + rel2.offset: -2 -2; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: FN_COL_DISABLE; + color_class: "spinner_disabled"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_down_light_normal.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_down_glow_normal.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "sym_down_dark_normal.png"; + } + } + part { name: "arrow2"; mouse_events: 0; + description { state: "default" 0.0; + 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"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "sym_up_dark_normal.png"; + } + } + part { name: "left"; + description { state: "default" 0.0; + rel1.to: "right"; + rel1.offset: -1 0; + rel2.to: "right"; + rel2.offset: -1 -1; + align: 1.0 0.5; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/thumb.edc b/legacy/elementary/data/themes/edc/elm/thumb.edc new file mode 100644 index 0000000000..f1fd361440 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/thumb.edc @@ -0,0 +1,134 @@ +group { name: "elm/thumb/base/default"; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "bg"; + rel2.offset: 3 4; + rel2.to: "bg"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + color: 64 64 64 255; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + 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; + } + } + } + programs { + program { name: "spin"; + signal: "elm,state,pulse,start"; + source: "elm"; + 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 { name: "pulse_start"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { name: "pulse_stop"; + signal: "elm,state,pulse,stop"; + source: "elm"; + 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"; + } + } +} + +group { name: "elm/thumb/base/noframe"; + inherit: "elm/thumb/base/default"; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "bg"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + visible: 0; + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/elm/toolbar.edc b/legacy/elementary/data/themes/edc/elm/toolbar.edc new file mode 100644 index 0000000000..979370945e --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/toolbar.edc @@ -0,0 +1,1398 @@ +// === toolbar default base with scrolling arrows etc. +group { name: "elm/toolbar/base/default"; + 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_left_glow_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + images.image: "sym_down_light_normal.png" COMP; + images.image: "sym_down_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: "elm.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + + part { name: "arrow_clipper_l"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "arrow_l"; mouse_events: 0; + clip_to: "arrow_clipper_l"; + description { state: "default" 0.0; + rel1.to: "arrow_l_ev"; + rel2.to: "arrow_l_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: "arrow_l_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper_l"; + 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: "arrow_clipper_r"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "arrow_r"; mouse_events: 0; + clip_to: "arrow_clipper_r"; + description { state: "default" 0.0; + rel1.to: "arrow_r_ev"; + rel2.to: "arrow_r_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: "arrow_r_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper_r"; + 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) + } + } + + part { name: "arrow_clipper_u"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "arrow_u"; mouse_events: 0; + clip_to: "arrow_clipper_u"; + description { state: "default" 0.0; + rel1.to: "arrow_u_ev"; + rel2.to: "arrow_u_ev"; + 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: "arrow_u_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper_u"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 0.0; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + + part { name: "arrow_clipper_d"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "arrow_d"; mouse_events: 0; + clip_to: "arrow_clipper_d"; + description { state: "default" 0.0; + rel1.to: "arrow_d_ev"; + rel2.to: "arrow_d_ev"; + 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: "arrow_d_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper_d"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.5 1.0; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + } + programs { +// program { +// signal: "elm,orient,horizontal"; source: "elm"; +// } +// program { +// signal: "elm,orient,vertical"; source: "elm"; +// } + program { + signal: "elm,action,show,left"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "arrow_clipper_l"; + target: "arrow_clipper_l"; + } + program { + signal: "elm,action,hide,left"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper_l"; + target: "arrow_clipper_l"; + } + program { + signal: "mouse,down,1*"; source: "arrow_l_ev"; + action: SIGNAL_EMIT "elm,action,left" "elm"; + after: "arrow_l_repeat"; + } + program { name: "arrow_l_repeat"; + action: SIGNAL_EMIT "elm,action,left" "elm"; + in: 0.3 0.0; + after: "arrow_l_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow_l_ev"; + action: ACTION_STOP; + target: "arrow_l_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow_l_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow_l"; + } + program { + signal: "mouse,up,1"; source: "arrow_l_ev"; + action: STATE_SET "default" 0.0; + target: "arrow_l"; + } + + program { + signal: "elm,action,show,right"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "arrow_clipper_r"; + target: "arrow_clipper_r"; + } + program { + signal: "elm,action,hide,right"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper_r"; + target: "arrow_clipper_r"; + } + program { + signal: "mouse,down,1*"; source: "arrow_r_ev"; + action: SIGNAL_EMIT "elm,action,right" "elm"; + after: "arrow_r_repeat"; + } + program { name: "arrow_r_repeat"; + action: SIGNAL_EMIT "elm,action,right" "elm"; + in: 0.3 0.0; + after: "arrow_r_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow_r_ev"; + action: ACTION_STOP; + target: "arrow_r_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow_r_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow_r"; + } + program { + signal: "mouse,up,1"; source: "arrow_r_ev"; + action: STATE_SET "default" 0.0; + target: "arrow_r"; + } + + program { + signal: "elm,action,show,up"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "arrow_clipper_u"; + target: "arrow_clipper_u"; + } + program { + signal: "elm,action,hide,up"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper_u"; + target: "arrow_clipper_u"; + } + program { + signal: "mouse,down,1*"; source: "arrow_u_ev"; + action: SIGNAL_EMIT "elm,action,up" "elm"; + after: "arrow_u_repeat"; + } + program { name: "arrow_u_repeat"; + action: SIGNAL_EMIT "elm,action,up" "elm"; + in: 0.3 0.0; + after: "arrow_u_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow_u_ev"; + action: ACTION_STOP; + target: "arrow_u_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow_u_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow_u"; + } + program { + signal: "mouse,up,1"; source: "arrow_u_ev"; + action: STATE_SET "default" 0.0; + target: "arrow_u"; + } + + program { + signal: "elm,action,show,down"; source: "elm"; + action: STATE_SET "visible" 0.0; + target: "arrow_clipper_d"; + target: "arrow_clipper_d"; + } + program { + signal: "elm,action,hide,down"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper_d"; + target: "arrow_clipper_d"; + } + program { + signal: "mouse,down,1*"; source: "arrow_d_ev"; + action: SIGNAL_EMIT "elm,action,down" "elm"; + after: "arrow_d_repeat"; + } + program { name: "arrow_d_repeat"; + action: SIGNAL_EMIT "elm,action,down" "elm"; + in: 0.3 0.0; + after: "arrow_d_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow_d_ev"; + action: ACTION_STOP; + target: "arrow_d_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow_d_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow_d"; + } + program { + signal: "mouse,up,1"; source: "arrow_d_ev"; + action: STATE_SET "default" 0.0; + target: "arrow_d"; + } + } +} + +// === item: standard default item +group { name: "elm/toolbar/item/default"; + data.item: "transition_animation_on" "1"; + + images.image: "shadow_inset_bevels.png" COMP; + images.image: "shadow_angled_in_sides.png" COMP; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + images.image: "bevel_dark_in.png" COMP; +#define ICON 1 +#define LABEL 2 +#define MASK 3 +#define DISABLE 4 + script { + public btmode; + public eval_mode(m) { + new m1 = m & MASK; + new d = m & DISABLE; + if (m1 == (ICON | LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"label2", "default", 0.0); + } else { + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"elm.text", "disabled", 0.0); + set_state(PART:"label2", "default", 0.0); + } + } else if (m1 == (ICON)) { + if (!d) { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"elm.text", "icononly", 0.0); + set_state(PART:"label2", "icononly", 0.0); + } else { + set_state(PART:"elm.swallow.icon", "icononly", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"elm.text", "icononly", 0.0); + set_state(PART:"label2", "icononly", 0.0); + } + } else if (m1 == (LABEL)) { + if (!d) { + set_state(PART:"elm.swallow.icon", "noicon", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"elm.text", "noicon", 0.0); + set_state(PART:"label2", "noicon", 0.0); + } else { + set_state(PART:"elm.swallow.icon", "noicon", 0.0); + set_state(PART:"icon_clip", "disabled", 0.0); + set_state(PART:"elm.text", "noicon_disabled", 0.0); + set_state(PART:"label2", "noicon_disabled", 0.0); + } + } else { + set_state(PART:"elm.swallow.icon", "default", 0.0); + set_state(PART:"icon_clip", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + set_state(PART:"label2", "default", 0.0); + } + } + } + parts { + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + } + description { state: "vert" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 -1; + } + } + part { name: "shadow1"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + 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: "bend_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "vert" 0.0; + visible: 1; + } + } + part { name: "bend"; + clip_to: "bend_clip"; + description { state: "default" 0.0; + min: 2 2; + max: 99999 2; + rel2.offset: -1 1; + rel2.relative: 1.0 0.0; + image.normal: "bevel_dark_in.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + visible: 0; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + 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: "icon_clip1"; type: RECT; + clip_to: "icon_clip"; + description { state: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + } + part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "icon_clip1"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 0.0; + rel1.offset: 2 2; + rel2.to_y: "elm.text"; + 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; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + rel2.to_y: "icon_clip"; + } + } + part { name: "icon_clip2"; type: RECT; + clip_to: "icon_clip"; + description { state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "elm.swallow.icon_new"; type: SWALLOW; + clip_to: "icon_clip2"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.relative: 0.0 0.0; + rel1.offset: 2 2; + rel2.to_y: "elm.text"; + 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; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + rel2.to_y: "icon_clip"; + } + } + + part { name: "text_clip1"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + } + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "text_clip1"; + 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: FN_COL_DEFAULT; + color_class: "toolbar_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + fixed: 0 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + color_class: "toolbar_item_selected"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + rel1.offset: 4 2; + rel1.relative: 0.0 0.0; + align: 0.5 0.5; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + text.min: 0 0; + visible: 0; + fixed: 1 1; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + clip_to: "text_clip1"; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "elm.text"; + rel2.offset: 2 1; + rel2.to: "elm.text"; + color: FN_COL_HIGHLIGHT; + color_class: "toolbar_item_active"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + text.min: 0 0; + visible: 0; + fixed: 1 1; + } + } + part { name: "text_clip2"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + description { state: "animation" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "elm.text_new"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + clip_to: "text_clip2"; + 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: FN_COL_DEFAULT; + color_class: "toolbar_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + fixed: 0 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + color_class: "toolbar_item_selected"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + rel1.offset: 4 2; + rel1.relative: 0.0 0.0; + align: 0.5 0.5; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + text.min: 0 0; + visible: 0; + fixed: 1 1; + } + } + part { name: "label2_new"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + clip_to: "text_clip2"; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "elm.text"; + rel2.offset: 2 1; + rel2.to: "elm.text"; + color: FN_COL_HIGHLIGHT; + color_class: "toolbar_item_active"; + text { font: FN; size: 10; + text_source: "elm.text"; + align: 0.5 0.5; + text_class: "toolbar_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + text.min: 0 0; + visible: 0; + fixed: 1 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: "highlight"; 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: "elm,orient,horizontal"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "bend_clip"; + } + program { + signal: "elm,orient,vertical"; source: "elm"; + action: STATE_SET "vert" 0.0; + target: "base"; + target: "bend_clip"; + } + + program { name: "st0"; + signal: "load"; source: ""; + script { + set_int(btmode, LABEL | ICON); + } + } + + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "elm.text"; + target: "label2"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + target: "bend"; + } + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + target: "label2"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + target: "bend"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "elm,action,click" "elm"; + } + + program { + signal: "elm,highlight,on"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "highlight"; + } + program { + signal: "elm,highlight,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "highlight"; + } + + program { + signal: "mouse,in"; source: "event"; + action: SIGNAL_EMIT "elm,mouse,in" "elm"; + } + program { name: "mouse,out"; + signal: "mouse,out"; source: "event"; + action: SIGNAL_EMIT "elm,mouse,out" "elm"; + } + + program { name: "st1"; + signal: "elm,text,hidden"; source: "elm"; + action: STATE_SET "notext" 0.0; + script { + new m = get_int(btmode); + m &= ~LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "st2"; + signal: "elm,text,visible"; source: "elm"; + script { + new m = get_int(btmode); + m |= LABEL; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "st3"; + signal: "elm,icon,hidden"; source: "elm"; + script { + new m = get_int(btmode); + m |= ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "st4"; + signal: "elm,icon,visible"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~ICON; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "st5"; + signal: "elm,state,disabled"; source: "elm"; + script { + new m = get_int(btmode); + m |= DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + program { name: "st6"; + signal: "elm,state,enabled"; source: "elm"; + script { + new m = get_int(btmode); + m &= ~DISABLE; set_int(btmode, m); + eval_mode(m); + } + } + + program { + signal: "elm,state,moving"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "shadow1"; + target: "shadow2"; + } + + program { + signal: "elm,state,icon_set,forward"; source: "elm"; + after: "icon_set,animation"; + } + program { + signal: "elm,state,icon_set,backward"; source: "elm"; + after: "icon_set,animation"; + } + program { name: "icon_set,animation"; + signal: "elm,state,icon_set"; source: "elm"; + action: STATE_SET "animation" 0.0; + target: "icon_clip1"; + target: "icon_clip2"; + transition: LINEAR 0.2; + after: "icon_set,animation,done"; + } + program { name: "icon_set,animation,done"; + action: SIGNAL_EMIT "elm,state,icon_set,done" "elm"; + } + + program { + signal: "elm,state,icon,reset"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "icon_clip1"; + target: "icon_clip2"; + } + + program { + signal: "elm,state,label_set,forward"; source: "elm"; + after: "label_set,animation"; + } + program { + signal: "elm,state,label_set,backward"; source: "elm"; + after: "label_set,animation"; + } + program { name: "label_set,animation"; + signal: "elm,state,label_set"; source: "elm"; + action: STATE_SET "animation" 0.0; + target: "text_clip1"; + target: "text_clip2"; + transition: LINEAR 0.2; + after: "label_set,animation,done"; + } + program { name: "label_set,animation,done"; + action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; + } + + program { + signal: "elm,state,label,reset"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "text_clip1"; + target: "text_clip2"; + } + } +#undef ICON +#undef LABEL +#undef MASK +#undef DISABLE +} + +// === item: style assumed to exist +group { name: "elm/toolbar/item/item_horizontal"; + inherit: "elm/toolbar/item/default"; + parts { + part { name: "elm.swallow.icon"; + description { state: "default" 0.0; + fixed: 1 0; + aspect_preference: VERTICAL; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + visible: 0; + rel1.offset: 1 0; + rel2.relative: 0.0 1.0; + rel2.offset: 1 -3; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + rel2.to_y: "icon_clip"; + } + } + part { name: "elm.swallow.icon_new"; + description { state: "default" 0.0; + aspect_preference: VERTICAL; + align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + visible: 0; + rel1.offset: 1 0; + rel2.relative: 0.0 1.0; + rel2.offset: 1 -3; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 0; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + rel2.to_y: "icon_clip"; + } + } + part { name: "elm.text"; + description { state: "default" 0.0; + rel1.offset: 1 2; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.icon"; + rel2.offset: -5 -3; + align: 0.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "toolbar_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "toolbar_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + color_class: "toolbar_item_selected"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + rel1.offset: 4 2; + rel1.relative: 0.0 0.0; + rel1.to: "icon_clip"; + align: 0.5 0.5; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + text.min: 0 0; + visible: 0; + fixed: 1 1; + } + } + part { name: "label2"; + description { state: "default" 0.0; + rel1.offset: -2 -3; + text.align: 0.0 0.5; + align: 0.0 0.5; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + } + } + part { name: "elm.text_new"; + description { state: "default" 0.0; + rel1.offset: 1 2; + rel1.relative: 1.0 0.0; + rel1.to_x: "elm.swallow.icon"; + rel2.offset: -5 -3; + align: 0.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "toolbar_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "toolbar_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + color_class: "toolbar_item_selected"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + rel1.offset: 4 2; + rel1.relative: 0.0 0.0; + rel1.to: "icon_clip"; + align: 0.5 0.5; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + color_class: "toolbar_item_disabled"; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + text.min: 0 0; + visible: 0; + fixed: 1 1; + } + } + part { name: "label2_new"; + description { state: "default" 0.0; + rel1.offset: -2 -3; + text.align: 0.0 0.5; + align: 0.0 0.5; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + } + description { state: "noicon_disabled" 0.0; + inherit: "noicon" 0.0; + } + } + } +} + +// === item: style assumed to exist +// XXX: vert vs horiz (should emit) +// XXX: seriously... why do we have this style? +group { name: "elm/toolbar/item/item_centered"; + inherit: "elm/toolbar/item/default"; + parts { + } +} + +// === separator +group { name: "elm/toolbar/separator/default"; + images.image: "bevel_dark_in.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + min: 2 2; + max: 2 99999; + rel1.offset: 4 0; + rel2.offset: -5 -1; + image.normal: "bevel_dark_in.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + } + description { state: "vert" 0.0; + inherit: "default" 0.0; + max: 99999 2; + rel1.offset: 0 4; + rel2.offset: -1 -5; + } + } + } + programs { + program { + signal: "elm,orient,horizontal"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "elm,orient,vertical"; source: "elm"; + action: STATE_SET "vert" 0.0; + target: "base"; + } + } +} + +// === item: just a regular object holder in the toolbar for any child +group { name: "elm/toolbar/object/default"; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + parts { + part { name: "elm.swallow.object"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "highlight"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -7; + rel1.relative: 0.0 1.0; + rel2.offset: 2 2; + 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; + } + } + } + programs { + program { + signal: "elm,highlight,on"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "highlight"; + } + program { + signal: "elm,highlight,off"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "highlight"; + } + } +} + +// === item: the more PANEL that slides out under the toolbar +// XXX: vert vs horiz (should emit) +group { name: "elm/toolbar/more/default"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "base"; + rel2.offset: 2 3; + rel2.to: "base"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + visible: 0; + } + description { state: "open" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "open2" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel2.relative: 1.0 0.0; + rel1.offset: 2 2; + rel2.offset: -3 1; + fill.smooth: 0; + fixed: 1 1; + visible: 0; + TILED_HORIZ(120) + } + description { state: "open" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + visible: 1; + } + description { state: "open2" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 2.0; + rel2.offset: -3 -3; + visible: 1; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + fixed: 1 1; + visible: 0; + } + description { state: "open" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + visible: 1; + } + description { state: "open2" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.5; + visible: 1; + } + } + part { name: "clipper2"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 0.5; + rel1.to: "base"; + rel2.to: "base"; + fixed: 1 1; + visible: 0; + } + description { state: "open" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + visible: 1; + } + description { state: "open2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.5; + visible: 1; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "clipper"; + rel2.to: "clipper"; + } + } + part { name: "elm.swallow.content2"; type: SWALLOW; + clip_to: "clipper2"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "clipper2"; + rel2.to: "clipper2"; + } + } + 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; + } + } + } + programs { + program { + signal: "elm,state,open"; source: "elm"; + action: STATE_SET "open" 0.0; + target: "shadow"; + target: "base"; + target: "clipper"; + target: "clipper2"; + transition: DECELERATE 0.15; + } + program { + signal: "elm,state,open2"; source: "elm"; + action: STATE_SET "open2" 0.0; + target: "shadow"; + target: "base"; + target: "clipper"; + target: "clipper2"; + transition: DECELERATE 0.3; + } + program { + signal: "elm,state,close"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "shadow"; + target: "base"; + transition: DECELERATE 0.5; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/tooltip.edc b/legacy/elementary/data/themes/edc/elm/tooltip.edc new file mode 100644 index 0000000000..264c63d7b9 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/tooltip.edc @@ -0,0 +1,428 @@ +group { name: "elm/label/base/tooltip"; + styles { + style { name: "tooltip_style"; + base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=word text_class=bubble"; + tag: "br" "\n"; + tag: "hilight" "+ font="FN" text_class=bubble"; + tag: "b" "+ font="FN" text_class=bubble"; + tag: "tab" "\t"; + } + } + parts { + part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + text { + style: "tooltip_style"; + min: 1 1; + } + } + } + } +} + +group { name: "elm/tooltip/base/default"; + min: 30 30; + data.item: "pad_x" "10"; + data.item: "pad_y" "10"; + data.item: "pad_border_x" "1"; + data.item: "pad_border_y" "1"; + /* tooltip is hidden after this amount. + Keep in syn with hide animations */ + data.item: "hide_timeout" "0.35"; + // if in a window... it's transparent! + data.item: "transparent" "enabled"; + images.image: "tooltip-base.png" COMP; + images.image: "tooltip-corner-top-left-tip.png" COMP; + images.image: "tooltip-corner-top-right-tip.png" COMP; + images.image: "tooltip-corner-bottom-left-tip.png" COMP; + images.image: "tooltip-corner-bottom-right-tip.png" COMP; + images.image: "tooltip-edge-left-tip.png" COMP; + images.image: "tooltip-edge-right-tip.png" COMP; + images.image: "tooltip-edge-bottom-tip.png" COMP; + images.image: "tooltip-edge-top-tip.png" COMP; + script { + hide_corners() { + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + } + hide_edges() { + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + } + show_corner_top_left() { + set_state(PART:"corner-top-left", "visible", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + hide_edges(); + } + show_corner_top_right() { + set_state(PART:"corner-top-right", "visible", 0.0); + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + hide_edges(); + } + show_corner_bottom_left() { + set_state(PART:"corner-bottom-left", "visible", 0.0); + set_state(PART:"corner-bottom-right", "default", 0.0); + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + hide_edges(); + } + show_corner_bottom_right() { + set_state(PART:"corner-bottom-right", "visible", 0.0); + set_state(PART:"corner-bottom-left", "default", 0.0); + set_state(PART:"corner-top-left", "default", 0.0); + set_state(PART:"corner-top-right", "default", 0.0); + hide_edges(); + } + show_edge_left(Float:val) { + set_state(PART:"clipper-edge-left", "visible", 0.0); + set_drag(PART:"edge-drag-left", 0.0, val); + set_state(PART:"clipper-edge-right", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + hide_corners(); + } + show_edge_right(Float:val) { + set_state(PART:"clipper-edge-right", "visible", 0.0); + set_drag(PART:"edge-drag-right", 0.0, val); + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + hide_corners(); + } + show_edge_top(Float:val) { + set_state(PART:"clipper-edge-top", "visible", 0.0); + set_drag(PART:"edge-drag-top", val, 0.0); + set_state(PART:"clipper-edge-bottom", "default", 0.0); + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + hide_corners(); + } + show_edge_bottom(Float:val) { + set_state(PART:"clipper-edge-bottom", "visible", 0.0); + set_drag(PART:"edge-drag-bottom", val, 0.0); + set_state(PART:"clipper-edge-top", "default", 0.0); + set_state(PART:"clipper-edge-left", "default", 0.0); + set_state(PART:"clipper-edge-right", "default", 0.0); + hide_corners(); + } + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT_SET) && (id == 1)) { + new Float:x, Float:y; + + x = getfarg(2); + y = getfarg(3); + + if (x < 0.0) { + if (y < 0.0) show_corner_top_left(); + else if (y > 1.0) show_corner_bottom_left(); + else show_edge_left(y); + } else if (x > 1.0) { + if (y < 0.0) show_corner_top_right(); + else if (y > 1.0) show_corner_bottom_right(); + else show_edge_right(y); + } else { + if (y < 0.0) show_edge_top(x); + else if (y > 1.0) show_edge_bottom(x); + else { + hide_corners(); + hide_edges(); + } + } + } + } + } + parts { + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1 { to: "pop"; offset: -5 -5; } + rel2 { to: "pop"; offset: 5 5; } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "pop"; mouse_events: 0; + clip_to: "clipper"; + scale: 1; + description { state: "default" 0.0; + min: 30 30; + rel1 { + to: "elm.swallow.content"; + offset: -5 -4; + } + rel2 { + to: "elm.swallow.content"; + offset: 4 5; + } + image { + normal: "tooltip-base.png"; + border: 7 7 6 8; + } + image.middle: SOLID; + } + } + #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \ + part { name: "corner-"name_; mouse_events: 0; \ + clip_to: "clipper"; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + align: ax ay; \ + FIXED_SIZE(12, 12) \ + rel1 { \ + relative: rx ry; \ + offset: ox oy; \ + to: "pop"; \ + } \ + rel2 { \ + relative: rx ry; \ + offset: ox oy; \ + to: "pop"; \ + } \ + image.normal: "tooltip-corner-"name_"-tip.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } + TT_CORNER("top-left", 0, 0, 0, 0, -4, -5); + TT_CORNER("top-right", 1, 0, 1, 0, 3, -5); + TT_CORNER("bottom-left", 0, 1, 0, 1, -4, 2); + TT_CORNER("bottom-right", 1, 1, 1, 1, 3, 2); + #undef TT_CORNER + + #define TT_EDGE_VERT(name_, rx, ax, ox) \ + part { name: "clipper-edge-"name_; type: RECT; \ + clip_to: "clipper"; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: 9 13; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1 { \ + relative: rx 0.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: rx 1.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "edge-area-"name_; type: RECT; mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + scale: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 9 13; \ + align: ax 0.5; \ + fixed: 1 1; \ + rel1 { \ + relative: rx 0.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: rx 1.0; \ + offset: ox 0; \ + to: "elm.swallow.content"; \ + } \ + } \ + } \ + part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + scale: 1; \ + dragable { \ + x: 0 0 0; \ + y: 1 1 0; \ + confine: "edge-area-"name_; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 9 13; \ + rel1.to: "edge-area-"name_; \ + rel2.to: "edge-area-"name_; \ + } \ + } \ + part { name: "edge-img-"name_; mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + description { state: "default" 0.0; \ + FIXED_SIZE(9, 13) \ + align: ax 0.5; \ + rel1.to: "edge-drag-"name_; \ + rel2.to: "edge-drag-"name_; \ + image.normal: "tooltip-edge-"name_"-tip.png"; \ + } \ + } + TT_EDGE_VERT("left", 0, 1, -3); + TT_EDGE_VERT("right", 1, 0, 2); + #undef TT_EDGE_VERT + + #define TT_EDGE_HORIZ(name_, ry, ay, oy) \ + part { name: "clipper-edge-"name_; type: RECT; \ + clip_to: "clipper"; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + min: 11 9; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1 { \ + relative: 0.0 ry; \ + offset: 0 oy; \ + to: "elm.swallow.content"; \ + } \ + rel2 { \ + relative: 1.0 ry; \ + offset: 0 oy; \ + to: "elm.swallow.content"; \ + } \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + part { name: "edge-area-"name_; type: RECT; mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + scale: 1; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 11 9; \ + align: 0.5 ay; \ + fixed: 1 1; \ + rel1.to: "clipper-edge-"name_; \ + rel2.to: "clipper-edge-"name_; \ + } \ + } \ + part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + scale: 1; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + confine: "edge-area-"name_; \ + } \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + min: 11 9; \ + rel1.to: "edge-area-"name_; \ + rel2.to: "edge-area-"name_; \ + } \ + } \ + part { name: "edge-img-"name_; mouse_events: 0; \ + clip_to: "clipper-edge-"name_; \ + scale: 1; \ + description { state: "default" 0.0; \ + FIXED_SIZE(11, 9) \ + align: 0.5 ay; \ + rel1.to: "edge-drag-"name_; \ + rel2.to: "edge-drag-"name_; \ + image.normal: "tooltip-edge-"name_"-tip.png"; \ + } \ + } + TT_EDGE_HORIZ("top", 0, 1, -1); + TT_EDGE_HORIZ("bottom", 1, 0, 1); + #undef TT_EDGE_HORIZ + part { name: "clipper_content"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + rel1.to: "elm.swallow.content"; + rel2.to: "elm.swallow.content"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.content"; type: SWALLOW; + clip_to: "clipper_content"; + description { state: "default" 0.0; + rel1.offset: 10 10; + rel2.offset: -11 -11; + } + } + programs { + program { name: "show0"; + signal: "elm,action,show"; source: "elm"; + action: ACTION_STOP; + target: "hide0"; + target: "hide1"; + target: "hide2"; + target: "hide3"; + after: "show1"; + after: "show2"; + } + program { name: "show1"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.15; + target: "clipper"; + } + program { name: "show2"; + in: 0.1 0.0; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.15; + target: "clipper_content"; + } + program { name: "hide0"; + signal: "elm,action,hide"; source: "elm"; + action: ACTION_STOP; + target: "show0"; + target: "show1"; + target: "show2"; + after: "hide1"; + after: "hide2"; + after: "hide3"; + } + program { name: "hide1"; + script { + hide_corners(); + hide_edges(); + } + } + program { name: "hide2"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "clipper_content"; + } + program { name: "hide3"; + in: 0.1 0.0; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "clipper"; + } + } + } +} + +group { name: "elm/tooltip/base/transparent"; + data.item: "pad_x" "10"; + data.item: "pad_y" "10"; + data.item: "transparent" "enabled"; + parts { + part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; } + } + } +} + +/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/edc/elm/video.edc b/legacy/elementary/data/themes/edc/elm/video.edc new file mode 100644 index 0000000000..33b3f2f8a4 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/video.edc @@ -0,0 +1,43 @@ +group { name: "elm/video/base/default"; + parts { + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "darker" 0.0; + color: 128 128 128 255; + } + } + part { name: "elm.swallow.video"; type: SWALLOW; mouse_events: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + } + } + } + programs { + program { + signal: "elm,video,load"; source: "elm"; + action: STATE_SET "darker" 0.0; + target: "clipper"; + } + program { + signal: "elm,video,play"; source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.2 CURRENT; + target: "clipper"; + } + program { + signal: "elm,video,end"; source: "elm"; + action: STATE_SET "darker" 0.0; + transition: SINUSOIDAL 0.5 CURRENT; + target: "clipper"; + } + program { + signal: "elm,video,pause"; source: "elm"; + action: STATE_SET "darker" 0.0; + transition: SINUSOIDAL 0.7 CURRENT; + target: "clipper"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/elm/win.edc b/legacy/elementary/data/themes/edc/elm/win.edc new file mode 100644 index 0000000000..56af51fd12 --- /dev/null +++ b/legacy/elementary/data/themes/edc/elm/win.edc @@ -0,0 +1,46 @@ +group { name: "elm/win/base/default"; + parts { + part { name: "menu_bg"; type: RECT; + description { state: "default" 0.0; + color: 64 64 64 255; + align: 0.5 0; + rel2.to: "elm.swallow.menu"; + } + } + part { name: "elm.swallow.menu"; type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + visible: 0; + align: 0.5 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + fixed: 0 1; + } + } + part { name: "elm.swallow.contents"; type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.menu"; + relative: 0.0 1.0; + } + } + } + } + programs { + program { name: "show_menu"; + signal: "elm,action,show_menu"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.menu"; + } + program { name: "hide_menu"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.menu"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/entry.edc b/legacy/elementary/data/themes/edc/entry.edc new file mode 100644 index 0000000000..160a41f3c9 --- /dev/null +++ b/legacy/elementary/data/themes/edc/entry.edc @@ -0,0 +1,202 @@ +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="FN" 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="FN" 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"; + align: 0.0 0.5; + 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"; + } +// program { +// signal: "e,state,noedit"; source: "e"; +// } +// program { +// signal: "e,state,edit"; source: "e"; +// } + } +} + +group { name: "e/widgets/entry/password"; + inherit: "e/widgets/entry/text"; + parts { + part { name: "e.text.text"; + entry_mode: PASSWORD; + description { state: "default" 0.0; + text.repch: "*"; + } + } + } +} + +group { name: "e/widgets/entry/cursor"; + min: 1 0; + images.image: "white_bar_vert_glow.png" COMP; + parts { + part { name: "cursor"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + image.normal: "white_bar_vert_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + color: 255 255 255 0; + min: 9 10; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { + signal: "e,action,show,cursor"; source: "e"; + action: ACTION_STOP; + target: "cursor_show"; + target: "cursor_hide"; + target: "cursor_show_timer"; + target: "cursor_hide_timer"; + after: "cursor_show"; + } + program { + name: "on_cursor_hide"; + signal: "e,action,hide,cursor"; + source: "e"; + action: ACTION_STOP; + target: "cursor_show"; + target: "cursor_hide"; + target: "cursor_show_timer"; + target: "cursor_hide_timer"; + after: "cursor_hide_stop"; + } + program { + name: "cursor_hide_stop"; + action: STATE_SET "default" 0.0; + target: "cursor"; + } + program { name: "cursor_show"; + action: STATE_SET "visible" 0.0; + target: "cursor"; + after: "cursor_show_timer"; + } + program { name: "cursor_hide"; + action: STATE_SET "default" 0.0; + target: "cursor"; + transition: SINUSOIDAL 0.2; + after: "cursor_hide_timer"; + } + program { name: "cursor_show_timer"; + in: 0.5 0.0; + after: "cursor_hide"; + } + program { name: "cursor_hide_timer"; + in: 0.2 0.0; + after: "cursor_show"; + } + } +} + +group { name: "e/widgets/entry/selection"; +// data.item: "on_foreground" "1"; + parts { + part { name: "selection"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 51 153 255 255; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/evrything.edc b/legacy/elementary/data/themes/edc/evrything.edc new file mode 100644 index 0000000000..9b9a276198 --- /dev/null +++ b/legacy/elementary/data/themes/edc/evrything.edc @@ -0,0 +1,1965 @@ +group { name: "e/modules/everything/main"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "list"; type: GROUP; + source: "e/modules/everything/list"; + scale: 1; + description { state: "default" 0.0; + min: 320 192; + rel1.to_y: "base"; + rel1.offset: 0 0; + rel1.relative: 0.0 1.0; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + min: 320 64; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fill.smooth: 0; + TILED_HORIZ(120) + fixed: 1 1; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.offset: -1 16; + } + } + part { name: "subject_selector"; type: GROUP; + source: "e/modules/everything/selector_item"; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 4 0; + rel1.to: "base"; + rel2.relative: 0.5 1.0; + rel2.offset: -5 -1; + rel2.to_y: "base"; + } + description { state: "wide" 0; + inherit: "default" 0.0; + visible: 0; + rel1.relative: -0.5 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "action_selector"; type: GROUP; + source: "e/modules/everything/selector_item"; + clip_to: "clipper"; + description { state: "default" 0.0; + // visible: 0; + rel1.relative: 0.5 0.0; + rel1.offset: 4 0; + rel1.to: "base"; + rel2.offset: -5 -1; + rel2.to: "base"; + } + description { state: "wide" 0; + inherit: "default" 0.0; + rel2.relative: 0.5 1.0; + } + } + part { name: "object_selector"; type: GROUP; + source: "e/modules/everything/selector_item"; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 1.0 0.0; + rel1.offset: 4 0; + rel1.to: "base"; + rel2.relative: 1.5 1.0; + rel2.offset: -5 -1; + rel2.to: "base"; + } + description { state: "wide" 0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.5 0.0; + rel2.relative: 1.0 1.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: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "e,state,object_selector_hide"; source: "e"; + action: STATE_SET "default" 0.00; + transition: SINUSOIDAL 0.15; + target: "object_selector"; + target: "subject_selector"; + target: "action_selector"; + } + program { + signal: "e,state,object_selector_show"; source: "e"; + action: STATE_SET "wide" 0.00; + transition: SINUSOIDAL 0.2; + target: "object_selector"; + target: "subject_selector"; + target: "action_selector"; + } + } +} + +group { name: "e/modules/everything/selector_item"; + 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: "clip"; type: RECT; + description { state: "default" 0.0; + } + } + 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: "icon_clip"; type: RECT; + clip_to: "clip"; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "faded" 0.0; + color: 255 255 255 64; + } + } + part { name: "e.swallow.icons"; type: SWALLOW; + clip_to: "icon_clip"; + description { state: "default" 0.0; + min: 48 48; + max: 48 48; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + align: 0.0 0.5; + rel1.offset: 8 8; + rel2.offset: 8 -9; + } + } + part { name: "e.swallow.thumb"; type: SWALLOW; + clip_to: "icon_clip"; + description { state: "default" 0.0; + rel1.to: "e.swallow.icons"; + rel2.to: "e.swallow.icons"; + min: 48 48; + max: 48 48; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + align: 0.0 0.5; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + fixed: 0 1; + rel1.to: "e.swallow.icons"; + rel1.relative: 1.0 0.0; + rel2.to: "clip"; + rel1.offset: 2 3; + rel2.offset: -6 -7; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "menu_item"; + text { font: FNBD; size: 10; + min: 0 1; + align: 0.0 1.0; + text_class: "menu_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXT; mouse_events: 0; + effect: GLOW; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "e.text.label"; + rel2.offset: 2 0; + 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: FNBD; size: 10; + text_source: "e.text.label"; + min: 0 1; + align: 0.0 1.0; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.plugin"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.0; + rel1.offset: 6 6; + rel2.offset: -7 -1; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "menu_item"; + text { font: FN; size: 10; + min: 0 1; + align: 1.0 0.0; + text_class: "menu_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + effect: GLOW; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "e.text.plugin"; + rel2.offset: 1 1; + rel2.to: "e.text.plugin"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "menu_item_active"; + text { font: FN; size: 10; + text_source: "e.text.plugin"; + min: 0 1; + align: 1.0 0.0; + 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,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "e.text.plugin"; + target: "label2"; + target: "label3"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "e.text.plugin"; + target: "label2"; + target: "label3"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + } + program { + signal: "e,signal,update"; source: "e"; + action: STATE_SET "faded" 0.0; + transition: DECELERATE 0.1; + target: "icon_clip"; + after: "show_icon"; + } + program { name: "show_icon"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.3; + target: "icon_clip"; + } + program { + signal: "e,action,thumb,show"; source: "e"; + action: STATE_SET "faded" 0.0; + target: "icon_clip"; + after: "thumb_show2"; + } + program { name: "thumb_show2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.2; + target: "icon_clip"; + } + } +} + +group { name: "e/modules/everything/list"; + images.image: "bevel_dark_out.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "white_bar_vert_glow.png" COMP; + images.image: "vert_bar_inset.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "input_base"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "e.text.label"; + rel1.offset: 0 -4; + rel2.to_y: "e.text.label"; + rel2.offset: -1 3; + color: 64 64 64 255; + } + } + part { name: "list_base"; type: RECT; + description { state: "default" 0.0; + rel1.to_y: "input_base"; + rel1.relative: 0.0 1.0; + rel2.to_y: "bar_base"; + rel2.relative: 1.0 0.0; + color: 64 64 64 255; + } + } + part { name: "bar_base"; type: RECT; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + rel1.relative: 0.0 1.0; + align: 0.5 1.0; + min: 32 28; + color: 64 64 64 255; + } + } + part { name: "input_bevel"; + description { state: "default" 0.0; + rel1.to: "input_base"; + rel2.to: "input_base"; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "list_bevel"; + clip_to: "list_clip"; + description { state: "default" 0.0; + rel1.to: "list_base"; + rel1.offset: 0 -1; + rel2.to: "list_base"; + rel2.offset: -1 0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "bar_bevel"; + description { state: "default" 0.0; + rel1.to: "bar_base"; + rel1.to: "bar_base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "bar_bevel"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "bar_bevel"; + FIXED_SIZE(69, 5) + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.0 0.0; + rel1.offset: 4 4; + rel2.relative: 0.0 0.0; + rel2.offset: 4 4; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FN; size: 10; + align: 0.0 0.5; + min: 1 1; + text_class: "fileman_typebuf"; + } + } + } + part { name: "cursor"; mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 9 10; + rel1.offset: -4 -4; + rel1.relative: 1.0 0.0; + rel1.to: "e.text.label"; + rel2.offset: 3 3; + rel2.to: "e.text.label"; + image.normal: "white_bar_vert_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + } + description { state: "faded" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "list_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "list_base"; + rel2.to: "list_base"; + } + } + part { name: "e.swallow.list"; type: SWALLOW; + clip_to: "list_clip"; + description { state: "default" 0.0; + min: 32 128; + rel1.to: "list_base"; + rel2.to: "list_base"; + } + description { state: "alternate" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 0.0; + rel2.relative: 0.0 1.0; + } + } + part { name: "e.swallow.list2"; type: SWALLOW; + clip_to: "list_clip"; + description { state: "default" 0.0; + min: 32 128; + rel1.relative: 1.0 0.0; + rel1.to: "list_base"; + rel2.relative: 2.0 1.0; + rel2.to: "list_base"; + } + description { state: "alternate" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { name: "list_shadow"; mouse_events: 0; + clip_to: "list_clip"; + description { state: "default" 0.0; + rel1.to: "list_bevel"; + rel2.to: "list_bevel"; + image.normal: "vert_bar_inset.png"; + image.border: 1 1 8 6; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "bar_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "bar_base"; + rel2.to: "bar_base"; + } + description { state: "faded" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { name: "e.swallow.bar"; type: SWALLOW; + clip_to: "bar_clip"; + description { state: "default" 0.0; + rel1.to: "bar_clip"; + rel1.offset: 4 0; + rel2.to: "bar_clip"; + rel2.offset: -5 -1; + } + } + } + programs { + program { name: "blink_off"; + signal: "show"; source: ""; + action: STATE_SET "faded" 0.0; + transition: SINUSOIDAL 0.6; + target: "cursor"; + after: "blink_on"; + } + program { name: "blink_on"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.35; + target: "cursor"; + after: "blink_off"; + } +// program { +// signal: "e,state,list_show"; source: "e"; +// } +// program { +// signal: "e,state,list_hide"; source: "e"; +// } +// program { +// signal: "e,state,entry_show"; source: "e"; +// } +// program { +// signal: "e,state,entry_hide"; source: "e"; +// } +// program { +// signal: "e,signal,update"; source: "e"; +// } + program { + signal: "e,action,slide,left"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "slide_left2"; + } + program { name: "slide_left2"; + action: STATE_SET "alternate" 0.0; + transition: ACCELERATE 0.25; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "left_end"; + } + program { name: "left_end"; + action: SIGNAL_EMIT "e,action,slide,left,finished" ""; + } + program { + signal: "e,action,slide,right"; source: "e"; + action: STATE_SET "alternate" 0.0; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "slide_right2"; + } + program { name: "slide_right2"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.25; + target: "e.swallow.list"; + target: "e.swallow.list2"; + after: "right_end"; + } + program { name: "right_end"; + action: SIGNAL_EMIT "e,action,slide,right,finished" ""; + } + program { + signal: "e,action,slide,default"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.list"; + target: "e.swallow.list2"; + } + } +} + +group { name: "e/modules/everything/thumbview/main/window"; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + parts { + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + color: 255 255 255 255; + } + } + part { name: "e.swallow.list"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + } + part { name: "left_arrow"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + align: 0.0 0.5; + min: 15 15; + max: 15 15; + visible: 0; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "right_arrow"; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + align: 1.0 0.5; + min: 15 15; + max: 15 15; + visible: 0; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "event"; type: RECT; repeat_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,action,show,into"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.5; + target: "right_arrow"; + } + program { + signal: "e,action,hide,into"; source: "e"; + action: STATE_SET "default" 0.0; + target: "right_arrow"; + transition: LINEAR 0.5; + } + program { + signal: "e,action,show,back"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.5; + target: "left_arrow"; + } + program { + signal: "e,action,hide,back"; source: "e"; + action: STATE_SET "default" 0.0; + target: "left_arrow"; + transition: LINEAR 0.5; + } + program { + signal: "e,action,hide,list"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip"; + transition: LINEAR 0.5; + } + program { + signal: "e,action,show,list"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "clip"; + transition: LINEAR 0.25; + } + } +} + +group { name: "e/modules/everything/tab_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; + scale: 1; + description { state: "default" 0.0; + min: 80 10; + 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.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 4 2; + rel1.relative: 0.5 0.0; + rel2.offset: -5 -3; + rel2.relative: 0.5 1.0; + align: 0.5 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "menu_item"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "menu_item"; + } + fixed: 1 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: FN; 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,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"; + } + } +} + +group { name: "e/modules/everything/tab_item/back"; + inherit: "e/modules/everything/tab_item"; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + parts { + part { name: "arrow"; + insert_after: "e.text.label"; + description { state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + image.normal: "sym_left_light_normal.png"; + min: 15 15; + max: 15 15; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow2"; + insert_after: "label2"; + description { state: "default" 0.0; + rel1.to: "arrow"; + rel2.to: "arrow"; + image.normal: "sym_left_glow_normal.png"; + 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: "arrow"; + target: "arrow2"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "arrow"; + target: "arrow2"; + } + program { + signal: "mouse,down,1"; source: "event"; + action: SIGNAL_EMIT "e,state,selected" "e"; + } + program { + signal: "mouse,up,1*"; source: "event"; + action: SIGNAL_EMIT "e,state,unselected" "e"; + } + } +} + +group { name: "e/modules/everything/thumbview/main/scrollframe"; + images.image: "sym_up_glow_normal.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_down_light_normal.png" COMP; + images.image: "sym_down_glow_normal.png" COMP; + images.image: "runner_vert.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "glow_small.png" COMP; + images.image: "runner_glow_vert.png" COMP; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "holes_tiny_vert.png" COMP; + images.image: "holes_tiny_glow_vert.png" COMP; + parts { + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel2.relative: 0.0 1.0; + rel2.to_x: "sb_vbar"; + } + } + 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; mouse_events: 0; + 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; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + min: 15 0; + max: 15 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"; + } + + 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_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: "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; + } + } + } + programs { + 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"; + } + } +} + +group { name: "e/modules/everything/thumbview/item/thumb"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "glow_small.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "sym_close_light_selected.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + rel1.offset: -3 -2; + rel1.to: "sel_base"; + rel2.offset: 2 3; + rel2.to: "sel_base"; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_glow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 128; + visible: 1; + } + description { state: "hilighted" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "sel_base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "icon0"; type: SPACER; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -1; + rel2.to_y: "e.text.label"; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon0"; + rel2.to: "icon0"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + max: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + } + } + part { name: "e.swallow.thumb"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 4 -5; + rel1.relative: 0.0 1.0; + rel2.offset: -5 -5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "fileman_icon"; + align: 0.5 1.0; + text { font: FN; size: 10; + min: 0 1; + align: 0.5 1.0; + text_class: "fileman_icon"; + } + } + 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 -2; + rel1.to: "e.text.label"; + rel2.offset: 2 2; + 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: FN; 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: "bg_mark"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + image.normal: "sym_close_light_selected.png"; + min: 15 15; + max: 15 15; + rel1.offset: 4 4; + rel2.offset: 4 4; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + } + description { state: "marked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 60; + } + } + part { name: "arrow"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + image.normal: "sym_right_light_normal.png"; + min: 15 15; + max: 15 15; + rel1.offset: -5 4; + rel1.relative: 1.0 0.0; + rel2.offset: -5 4; + rel2.relative: 1.0 0.0; + align: 1.0 0.0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + 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; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "hilighted" 0.0; + transition: DECELERATE 0.2; + target: "sel_glow"; + after: "sel2"; + } + program { name: "sel2"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.3; + target: "sel_glow"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "sel_glow"; + } + program { + signal: "e,state,marked"; source: "e"; + action: STATE_SET "marked" 0.0; + target: "bg_mark"; + transition: ACCELERATE 0.25; + } + program { + signal: "e,state,unmarked"; source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "bg_mark"; + } + program { + signal: "e,state,browseable"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "arrow"; + } + program { + signal: "e,action,thumb,show_delayed"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon"; + } + program { + signal: "e,action,thumb,show_delayed"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + after: "gen"; + } + program { name: "gen"; + action: STATE_SET "visible" 0.0; + transition: SPRING 0.7 2.0 4; + target: "icon"; + } +// program { +// signal: "e,action,go"; source: "e"; +// } + } +} + +group { name: "e/modules/everything/thumbview/item/list"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images.image: "bevel_curved_horiz_out.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "ball_small_glow.png" COMP; + images.image: "ball_small_glow_intense.png" COMP; + parts { + part { name: "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: "detail_clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "e.text.detail"; type: TEXT; mouse_events: 0; + clip_to: "detail_clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 3; + rel1.relative: 1.0 0.0; + rel1.to_x: "icon0"; + rel2.offset: -3 -3; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_item"; + align: 1.0 0.5; + max: 160 99999; + text { font: FN; size: 8; + min: 0 1; + align: 1.0 0.5; + text_class: "ilist_item"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label3"; type: TEXT; mouse_events: 0; + clip_to: "detail_clip"; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "e.text.detail"; + rel2.offset: 1 1; + rel2.to: "e.text.detail"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "ilist_item_selected"; + align: 1.0 0.5; + max: 160 99999; + text { font: FN; size: 8; + text_source: "e.text.detail"; + min: 0 1; + align: 1.0 0.5; + text_class: "ilist_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 3; + rel1.relative: 1.0 0.0; + rel1.to_x: "icon0"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.text.detail"; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_item"; + text { font: FN; size: 10; + min: 0 1; + align: 0.0 0.5; + text_class: "ilist_item"; + } + } + 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: -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: FN; size: 10; + min: 0 1; + 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; + } + } + part { name: "icon0"; type: SPACER; + description { state: "default" 0.0; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 4 4; + rel2.relative: 0.0 1.0; + rel2.offset: 4 -5; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon0"; + rel2.to: "icon0"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + max: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + fixed: 1 1; + } + } + part { name: "bg_mark"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + image.normal: "sym_close_light_selected.png"; + min: 15 15; + max: 15 15; + rel1.offset: 4 4; + rel2.offset: 4 4; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + } + description { state: "marked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 60; + } + } + part { name: "arrow"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + image.normal: "sym_right_light_normal.png"; + min: 15 15; + max: 15 15; + rel1.offset: -5 4; + rel1.relative: 1.0 0.0; + rel2.offset: -5 -5; + align: 1.0 0.5; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + 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; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "e.text.detail"; + target: "label2"; + target: "label3"; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "e.text.detail"; + target: "label2"; + target: "label3"; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + } + program { + signal: "e,state,marked"; source: "e"; + action: STATE_SET "marked" 0.0; + target: "bg_mark"; + transition: ACCELERATE 0.25; + } + program { + signal: "e,state,unmarked"; source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "bg_mark"; + } + program { + signal: "e,state,browseable"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "arrow"; + } + program { + signal: "e,action,thumb,show_delayed"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon"; + } + program { + signal: "e,action,thumb,show_delayed"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + after: "gen"; + } + program { name: "gen"; + action: STATE_SET "visible" 0.0; + transition: SPRING 0.7 2.0 4; + target: "icon"; + } + program { + signal: "e,state,detail,show"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "detail_clip"; + } + program { + signal: "e,state,detail,hide"; source: "e"; + action: STATE_SET "default" 0.0; + target: "detail_clip"; + } +// program { +// signal: "e,action,go"; source: "e"; +// } + } +} + +group { name: "e/modules/everything/textblock"; + styles { + style { name: "everything_textblock_style"; + base: "font="FN" 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="FNBD""; + tag: "hilight" "+ font="FNBD" text_class=tb_light"; + tag: "urgent" "+ font="FNBD" color=#f40f style=outline outline_color=#ff000080"; + tag: "title" "+ font="FNBD" 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: 4 4; + rel2.offset: -5 -5; + text { style: "everything_textblock_style"; + min: 1 1; + } + } + } + } +} + +group { name: "e/modules/everything/gadget"; + images.image: "logo_blue_small.png" COMP; + images.image: "logo_blue_small_glow.png" COMP; + max: 127 127; + parts { + part { name: "icon"; + description { state: "default" 0.0; + aspect: (100/127) (100/127); aspect_preference: BOTH; + image.normal: "logo_blue_small.png"; + max: 100 127; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "icon2"; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + image.normal: "logo_blue_small_glow.png"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + visible: 0; + max: 127 127; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 0; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,state,icon,plugin"; source: "e"; + action: STATE_SET "active" 0.0; + target: "e.swallow.icon"; + target: "icon"; + target: "icon2"; + } + program { + signal: "e,state,icon,default"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + target: "icon"; + target: "icon2"; + } + } +} + + + + + + + + diff --git a/legacy/elementary/data/themes/edc/fileman.edc b/legacy/elementary/data/themes/edc/fileman.edc new file mode 100644 index 0000000000..2a8e463379 --- /dev/null +++ b/legacy/elementary/data/themes/edc/fileman.edc @@ -0,0 +1,2434 @@ +group { name: "e/fileman/default/list/variable"; + alias: "e/fileman/default/list/fixed"; +// data.item: "stacking" "above"; + data.item: "stacking" "below"; + data.item: "selectraise" "on"; + images.image: "bevel_curved_horiz_out.png" COMP; + images.image: "shadow_rounded_horiz.png" COMP; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_horiz_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "ball_small_glow.png" COMP; + images.image: "ball_small_glow_intense.png" COMP; + images.image: "sym_icon_op_ask.png" COMP; + images.image: "sym_icon_op_copy.png" COMP; + images.image: "sym_icon_op_move.png" COMP; + script { + public longpressed; + } + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + color_class: "ilist_item_base"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_curved_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "sel_shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_rounded_horiz.png"; + image.border: 0 0 9 9; + rel1.offset: 0 -4; + rel2.offset: -1 5; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_horiz_out.png"; + image.border: 0 0 2 2; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 3; + rel1.relative: 1.0 0.0; + rel1.to_x: "icon0"; + rel2.offset: -3 -3; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_item"; + text { font: FN; 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: FN; 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: FN; size: 10; + text_source: "e.text.label"; + align: 0.0 0.5; + text_class: "ilist_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } +////////////////////////// + part { name: "icon0"; type: SPACER; + description { state: "default" 0.0; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.offset: 4 4; + rel2.relative: 0.0 1.0; + rel2.offset: 4 -5; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon0"; + rel2.to: "icon0"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + max: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "icon_base"; + rel2.offset: 2 4; + rel2.to: "icon_base"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "icon_base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 48 48 48 255; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + fixed: 1 1; + } + } + part { name: "vol"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "ball_small_glow.png"; + min: 14 14; + max: 14 14; + rel1.relative: 1.0 1.0; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + fixed: 1 1; + } + description { state: "unmounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow.png"; + visible: 1; + } + description { state: "mounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow_intense.png"; + visible: 1; + } + } + part { name: "op"; + description { state: "default" 0.0; + align: 1.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.relative: 1.0 0.0; + rel1.offset: -5 4; + rel2.offset: -5 -5; + image.normal: "sym_icon_op_ask.png"; + max: 32 32; + visible: 0; + } + description { state: "ask" 0.0; + inherit: "default" 0.0; + image.normal: "sym_icon_op_ask.png"; + visible: 1; + } + description { state: "copy" 0.0; + inherit: "default" 0.0; + image.normal: "sym_icon_op_copy.png"; + visible: 1; + } + description { state: "move" 0.0; + inherit: "default" 0.0; + image.normal: "sym_icon_op_move.png"; + visible: 1; + } + } +////////////////////////// + part { name: "sel_shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "sel_base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "sel_base"; + FIXED_SIZE(69, 5) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "icon_base"; + rel2.to: "icon_base"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label_event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + } + } + part { name: "e.swallow.entry"; type: SWALLOW; + description {state: "default" 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "sel_shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "e.text.label"; + target: "label2"; + target: "label3"; + } + program { + signal: "mouse,down,1"; source: "label_event"; + script { + set_int(longpressed, 0); + } + } + program { name: "rename1"; + signal: "mouse,down,1"; source: "label_event"; + in: 0.4 0.0; + script { + set_int(longpressed, 1); + } + } + program { name: "rename2"; + signal: "mouse,up,1"; source: "label_event"; + script { + if (get_int(longpressed)) { + set_int(longpressed, 0); + emit("e,action,label,click", "e"); + } + } + } + program { + signal: "e,action,thumb,gen"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "shadow"; + after: "gen"; + } + program { + signal: "e,action,thumb,gen,alpha"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "shadow"; + after: "gen"; + } + program { name: "gen"; + action: STATE_SET "visible" 0.0; + transition: SPRING 0.4 1.7 5; + target: "icon"; + } + program { + signal: "e,state,ask"; source: "e"; + action: STATE_SET "ask" 0.0; + target: "op"; + } + program { + signal: "e,state,move"; source: "e"; + action: STATE_SET "move" 0.0; + target: "op"; + } + program { + signal: "e,state,copy"; source: "e"; + action: STATE_SET "copy" 0.0; + target: "op"; + } + program { + signal: "e,state,volume,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,unmounted"; source: "e"; + action: STATE_SET "unmounted" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,mounted"; source: "e"; + action: STATE_SET "mounted" 0.0; + target: "vol"; + } + } +} + +group { name: "e/fileman/default/list_odd/variable"; + inherit: "e/fileman/default/list/variable"; + alias: "e/fileman/default/list_odd/fixed"; + parts { + part { name: "base"; + description { state: "default" 0.0; + color: 56 56 56 255; + } + } + } +} + +group { name: "e/fileman/desktop/list/fixed"; + alias: "e/fileman/desktop/list/variable"; + alias: "e/fileman/desktop/list_odd/fixed"; + alias: "e/fileman/desktop/list_odd/variable"; + inherit: "e/fileman/default/list/variable"; + parts { + part { name: "base"; + description { state: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "e/fileman/default/icon/fixed"; + alias: "e/fileman/default/icon/variable"; + images.image: "vgrad_med_dark.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "glow_small.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "sym_icon_op_ask.png" COMP; + images.image: "sym_icon_op_copy.png" COMP; + images.image: "sym_icon_op_move.png" COMP; + styles { + style { name: "fileman_icon_name"; + base: "font="FN" font_size=10 text_class=fileman_icon align=center color=#ffffffff wrap=mixed style=shadow,bottom shadow_color=#00000080 align=center ellipsis=1.0"; + } + style { name: "fileman_icon_name_selected"; + base: "font="FN" font_size=10 text_class=fileman_icon align=center color=#3399ffff wrap=mixed style=glow glow_color=#3399ff18 align=center glow2_color=#3399ff12 ellipsis=1.0"; + } + } + script { + public longpressed; + } + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + rel1.offset: -3 -2; + rel1.to: "sel_base"; + rel2.offset: 2 3; + rel2.to: "sel_base"; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_glow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 128; + visible: 1; + } + description { state: "hilighted" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "sel_base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image.normal: "vgrad_med_dark.png"; + fill.smooth: 0; + TILED_HORIZ(120) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "sel_bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "sel_base"; + rel2.to: "sel_base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +////////////////////////////// + part { name: "label0"; type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.offset: 4 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -5 -5; + min: 0 20; + max: 99999 26; + fixed: 0 1; + } + } + part { name: "e.text.label"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "label0"; + rel2.to: "label0"; + rel2.offset: -1 6; + color_class: "fileman_icon"; + text { + style: "fileman_icon_name"; + align: 0.5 0.0; + text_class: "fileman_icon"; + } + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "label2"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color_class: "fileman_icon_selected"; + text { + text_source: "e.text.label"; + style: "fileman_icon_name_selected"; + align: 0.5 0.0; + text_class: "fileman_icon_selected"; + } + fixed: 1 1; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +////////////////////////// + part { name: "icon0"; type: SPACER; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.relative: 1.0 0.0; + rel2.offset: -5 -1; + rel2.to_y: "label0"; + } + } + part { name: "icon"; type: SPACER; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "icon0"; + rel2.to: "icon0"; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + max: 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "icon_shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -2; + rel1.to: "icon_base"; + rel2.offset: 2 4; + rel2.to: "icon_base"; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "icon_base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 48 48 48 255; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + } + description { state: "start" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + } + } + part { name: "vol"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "ball_small_glow.png"; + min: 14 14; + max: 14 14; + rel1.relative: 1.0 1.0; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + visible: 0; + fixed: 1 1; + } + description { state: "unmounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow.png"; + visible: 1; + } + description { state: "mounted" 0.0; + inherit: "default" 0.0; + image.normal: "ball_small_glow_intense.png"; + visible: 1; + } + } + part { name: "op"; + description { state: "default" 0.0; + align: 1.0 0.0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + rel1.relative: 0.5 0.0; + rel1.offset: 0 4; + rel2.relative: 1.0 0.5; + rel2.offset: -5 -1; + image.normal: "sym_icon_op_ask.png"; + max: 32 32; + visible: 0; + } + description { state: "ask" 0.0; + inherit: "default" 0.0; + image.normal: "sym_icon_op_ask.png"; + visible: 1; + } + description { state: "copy" 0.0; + inherit: "default" 0.0; + image.normal: "sym_icon_op_copy.png"; + visible: 1; + } + description { state: "move" 0.0; + inherit: "default" 0.0; + image.normal: "sym_icon_op_move.png"; + visible: 1; + } + } +////////////////////////////// + part { name: "sel_shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "sel_base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "sel_base"; + FIXED_SIZE(69, 5) + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } +////////////////////////////// + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "icon0"; + rel2.to: "icon0"; + } + } + part { name: "label_event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + } + } + part { name: "e.swallow.entry"; type: SWALLOW; + description {state: "default" 0.0; + rel1.to: "label0"; + rel2.to: "label0"; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "hilighted" 0.0; + transition: DECELERATE 0.2; + target: "sel_glow"; + after: "sel2"; + } + program { name: "sel2"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.3; + target: "sel_glow"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow"; + target: "sel_base"; + target: "sel_bevel"; + target: "sel_shine"; + target: "sel_glow"; + } + program { + signal: "mouse,down,1"; source: "label_event"; + script { + set_int(longpressed, 0); + } + } + program { name: "rename1"; + signal: "mouse,down,1"; source: "label_event"; + in: 0.4 0.0; + script { + set_int(longpressed, 1); + } + } + program { name: "rename2"; + signal: "mouse,up,1"; source: "label_event"; + script { + if (get_int(longpressed)) { + set_int(longpressed, 0); + emit("e,action,label,click", "e"); + } + } + } + program { + signal: "e,action,thumb,gen"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "icon_shadow"; + after: "gen"; + } + program { + signal: "e,action,thumb,gen,alpha"; source: "e"; + action: STATE_SET "start" 0.0; + target: "icon"; + target: "icon_base"; + target: "icon_shadow"; + after: "gen"; + } + program { name: "gen"; + action: STATE_SET "visible" 0.0; + transition: SPRING 0.4 1.7 5; + target: "icon"; + } + program { + signal: "e,state,ask"; source: "e"; + action: STATE_SET "ask" 0.0; + target: "op"; + } + program { + signal: "e,state,move"; source: "e"; + action: STATE_SET "move" 0.0; + target: "op"; + } + program { + signal: "e,state,copy"; source: "e"; + action: STATE_SET "copy" 0.0; + target: "op"; + } + program { + signal: "e,state,volume,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,unmounted"; source: "e"; + action: STATE_SET "unmounted" 0.0; + target: "vol"; + } + program { + signal: "e,state,volume,mounted"; source: "e"; + action: STATE_SET "mounted" 0.0; + target: "vol"; + } + } +} + +group { name: "e/fileman/desktop/icon/fixed"; + inherit: "e/fileman/default/icon/fixed"; + alias: "e/fileman/desktop/icon/variable"; + images.image: "darken_rounded_square.png" COMP; + styles { + style { name: "fileman_icon_full"; + base: "font="FN" font_size=10 text_class=fileman_icon align=center color=#ff00ffff wrap=mixed style=shadow,bottom shadow_color=#00000080 align=center"; + } + } + parts { + part { name: "label1"; type: TEXTBLOCK; mouse_events: 0; + insert_after: "e.text.label"; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "e.text.label"; + rel2.to: "e.text.label"; + color_class: "fileman_icon"; + text { + text: "xxxxx"; + text_source: "e.text.label"; + style: "fileman_icon_full"; + align: 0.5 0.0; + text_class: "fileman_icon"; + max: 0 1; + } + fixed: 1 1; + visible: 0; + } + } + part { name: "label_min"; type: SPACER; + insert_after: "base"; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "label1"; + rel2.to: "label1"; + max: 99999 26; + fixed: 1 1; + } + } + part { name: "bevel"; mouse_events: 0; + insert_before: "e.text.label"; + description { state: "default" 0.0; + rel1.offset: -8 -7; + rel1.to: "e.text.label"; + rel2.offset: 7 7; + rel2.to: "label_min"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "bevel"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "bevel"; + } + } +} + +group { name: "e/fileman/default/scrollframe"; + inherit: "e/widgets/scrollframe"; + parts { + part { name: "e.swallow.bg"; type: SWALLOW; + insert_before: "clipper"; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "e.swallow.overlay"; type: SWALLOW; + insert_after: "e.swallow.content"; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "e.box.operations"; type: BOX; + insert_after: "inset"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel1.to: "bg"; + rel2.offset: -4 -4; + rel2.to: "bg"; + align: 1.0 1.0; + box { layout: "vertical"; + padding: 0 0; + align: 1.0 1.0; + min: 1 1; + } + } + } + } +} + +group { name: "e/fileman/default/window/main"; + images.image: "bevel_dark_out.png" COMP; + parts { + part { name: "base"; type: RECT; + description { state: "default" 0.0; + color_class: "fwin_base"; + color: 64 64 64 255; + } + } + part { name: "e.swallow.bg"; type: SWALLOW; + description { state: "default" 0.0; + } + } + part { name: "bevel"; + description { state: "default" 0.0; + image.normal: "bevel_dark_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.swallow.favorites"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 1.0; + rel1.offset: 4 4; + rel1.to: "region"; + rel2.offset: 4 -5; + rel2.relative: 0.0 1.0; + rel2.to: "region"; + fixed: 1 0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel1.to: "region"; + rel2.offset: -5 -5; + rel2.to: "region"; + align: 1.0 1.0; + } + description { state: "fav" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.swallow.favorites"; + } + } + part { name: "e.swallow.toolbar"; type: SWALLOW; + description { state: "default" 0.0; + } + description { state: "tb_top" 0.0; + align: 0.5 0.0; + rel1.offset: 4 4; + // XXX: this is a bug workaround. should be -4 4; + rel2.offset: -9 4; + rel2.relative: 1.0 0.0; + fixed: 0 1; + } + description { state: "tb_bottom" 0.0; + align: 0.5 1.0; + rel1.offset: 4 -5; + rel1.relative: 0.0 1.0; + // XXX: this is a bug workaround. should be -4 -5; + rel2.offset: -9 -5; + fixed: 0 1; + } + } + part { name: "region"; type: SPACER; + description { state: "default" 0.0; + } + description { state: "tb_top" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to_y: "e.swallow.toolbar"; + } + description { state: "tb_bottom" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 0.0; + rel2.to_y: "e.swallow.toolbar"; + } + description { state: "tb_left" 0.0; + inherit: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.swallow.toolbar"; + } + description { state: "tb_right" 0.0; + inherit: "default" 0.0; + rel2.relative: 0.0 1.0; + rel2.to_x: "e.swallow.toolbar"; + } + } + } + programs { + program { + signal: "e,favorites,enabled"; source: "e"; + action: STATE_SET "fav" 0.0; + target: "e.swallow.content"; + } + program { + signal: "e,favorites,disabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.content"; + } + program { + signal: "e,toolbar,left"; source: "e"; + action: STATE_SET "tb_left" 0.0; + target: "e.swallow.toolbar"; + target: "region"; + } + program { + signal: "e,toolbar,right"; source: "e"; + action: STATE_SET "tb_right" 0.0; + target: "e.swallow.toolbar"; + target: "region"; + } + program { + signal: "e,toolbar,top"; source: "e"; + action: STATE_SET "tb_top" 0.0; + target: "e.swallow.toolbar"; + target: "region"; + } + program { + signal: "e,toolbar,bottom"; source: "e"; + action: STATE_SET "tb_bottom" 0.0; + target: "e.swallow.toolbar"; + target: "region"; + } + program { + signal: "e,toolbar,disabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.toolbar"; + target: "region"; + } + } +} + +group { name: "e/fileman/toolbar/default/base"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 1; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "e.swallow.event"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + } + programs { +// program { +// signal: "e,state,orientation,left"; source: "e"; +// } +// program { +// signal: "e,state,orientation,right"; source: "e"; +// } +// program { +// signal: "e,state,orientation,top"; source: "e"; +// } +// program { +// signal: "e,state,orientation,bottom"; source: "e"; +// } + } +} + +group { name: "e/fileman/popup/default"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "base"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 64 64 64 255; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 0; + rel1.relative: 0.0 1.0; + rel1.to_y: "e.text.title"; + rel2.offset: -5 -5; + } + } + part { name: "e.text.title"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "fileman_popup_title"; + rel1.relative: 0.0 0.0; + rel1.offset: 1 3; + rel2.relative: 1.0 0.0; + rel2.offset: -2 3; + align: 0.5 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + text_class: "fileman_popup_title"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + } +} + +group { name: "e/fileman/desktop/scrollframe"; + inherit: "e/fileman/default/scrollframe"; + parts { + part { name: "bg"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "e.swallow.content"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + } + } + part { name: "shadow"; + description { state: "default" 0.0; + visible: 0; + } + } + part { name: "inset"; + description { state: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "e/fileman/default/overlay"; + alias: "e/fileman/desktop/overlay"; + images.image: "darken_rounded_square.png" COMP; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + parts { + part { name: "typebuf_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy_bevel"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + rel1.offset: -12 0; + rel1.to: "e.text.busy_label"; + rel2.offset: 11 -1; + rel2.to: "e.text.busy_label"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + } + } + part { name: "e.text.busy_label"; type: TEXT; mouse_events: 0; + clip_to: "busy_clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: 12 0; + rel1.to: "knob"; + rel2.offset: 12 -1; + rel2.to: "knob"; + align: 0.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "fileman_busy"; + text { font: FNBD; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "fileman_busy"; + } + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + rel1.relative: 0.0 1.0; + rel1.offset: 7 -8; + rel2.relative: 0.0 1.0; + rel2.offset: 7 -8; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { name: "knob_spinner"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + rel1.to: "knob"; + rel2.to: "knob"; + image.normal: "glow_round_corners.png"; + map.on: 1; + map.smooth: 1; + map.rotation.center: "knob"; + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + part { name: "bevel"; mouse_events: 0; + clip_to: "typebuf_clip"; + description { state: "default" 0.0; + rel1.offset: -15 -15; + rel1.to: "e.text.typebuf_label"; + rel2.offset: 14 14; + rel2.to: "e.text.typebuf_label"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + } + } + part { name: "e.text.typebuf_label"; type: TEXT; mouse_events: 0; + clip_to: "typebuf_clip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel1.offset: -8 -8; + rel2.relative: 0.5 0.5; + rel2.offset: 7 7; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "fileman_typebuf"; + text { font: FNBD; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "fileman_typebuf"; + } + } + } + } + programs { + program { name: "spin"; + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "spin" 0.0; + transition: LINEAR 1.0; + target: "knob_spinner"; + after: "spin2"; + } + program { name: "spin2"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + after: "spin"; + } + program { + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "e,state,busy,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "spin3"; + } + program { name: "spin3"; + action: ACTION_STOP; + target: "spin"; + target: "spin2"; + after: "spin4"; + } + program { name: "spin4"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + } + program { + signal: "e,state,typebuf,start"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "typebuf_clip"; + } + program { + signal: "e,state,typebuf,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "typebuf_clip"; + } + } +} + +group { name: "e/fileman/default/list/drop_in"; + alias: "e/fileman/desktop/list/drop_in"; + images.image: "mini_blue_glow_arrow_0.png" COMP; + images.image: "mini_blue_glow_arrow_1.png" COMP; + images.image: "mini_blue_glow_arrow_2.png" COMP; + images.image: "mini_blue_glow_arrow_3.png" COMP; + images.image: "outline_glow.png" COMP; + images.image: "diagonal_stripes.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "outline_glow.png"; + image.border: 4 4 4 4; + image.middle: 0; + fill.smooth: 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "pat"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel2.to: "base"; + image.normal: "diagonal_stripes.png"; + color: 255 255 255 25; + TILED_PATTERN(240, 240) + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drop0"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_0.png"; + rel1.offset: -10 -10; + rel1.relative: 0.0 0.0; + rel2.offset: -10 -10; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 11; + rel2.offset: 11 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_1.png"; + rel1.offset: 9 -10; + rel1.relative: 1.0 0.0; + rel2.offset: 9 -10; + rel2.relative: 1.0 0.0; + align: 1.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 11; + rel2.offset: -12 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop2"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_2.png"; + rel1.offset: 9 9; + rel1.relative: 1.0 1.0; + rel2.offset: 9 9; + rel2.relative: 1.0 1.0; + align: 1.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 -12; + rel2.offset: -12 -12; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop3"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_3.png"; + rel1.offset: -10 9; + rel1.relative: 0.0 1.0; + rel2.offset: -10 9; + rel2.relative: 0.0 1.0; + align: 0.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 -12; + rel2.offset: 11 -12; + min: 1 1; + color: 255 255 255 0; + } + } + } + programs { + program { name: "drop1"; + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + after: "drop2"; + } + program { name: "drop2"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + after: "drop1"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "base"; + target: "pat"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "drop0"; + target: "drop1"; + target: "drop2"; + target: "drop3"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "pat"; + } + } +} + +group { name: "e/fileman/default/list/drop_between"; + alias: "e/fileman/desktop/list/drop_between"; + images.image: "glow_small.png" COMP; + images.image: "sym_down_glow_normal.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + min: 8 8; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "drop0"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_down_glow_normal.png"; + rel1.offset: 0 -20; + rel1.relative: 0.5 0.0; + rel2.offset: -1 -20; + rel2.relative: 0.5 0.0; + align: 0.5 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -1; + rel2.offset: -1 -1; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "sym_up_glow_normal.png"; + rel1.offset: 0 19; + rel1.relative: 0.5 0.0; + rel2.offset: -1 19; + rel2.relative: 0.5 0.0; + align: 0.5 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 0; + min: 1 1; + color: 255 255 255 0; + } + } + } + programs { + program { name: "drop1"; + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "drop0"; + target: "drop1"; + after: "drop2"; + } + program { name: "drop2"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "drop0"; + target: "drop1"; + after: "drop1"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "active" 0.0; + target: "base"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "drop0"; + target: "drop1"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + +group { name: "e/fileman/default/rubberband"; + images.image: "outline_glow.png" COMP; + images.image: "diagonal_stripes.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "outline_glow.png"; + image.border: 4 4 4 4; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "pat"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel2.to: "base"; + image.normal: "diagonal_stripes.png"; + color: 255 255 255 25; + TILED_PATTERN(240, 240) + } + } + } +} + +group { name: "e/fileman/default/progress"; + images.image: "darken_rounded_square.png" COMP; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + images.image: "media_busy_progress.png" COMP; + images.image: "sym_close_light_normal.png" COMP; + images.image: "sym_close_light_selected.png" COMP; + images.image: "led_red_light.png" COMP; + images.image: "led_strobe.png" COMP; + parts { + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + rel1.to_x: "e.text.info"; + rel2.to_x: "e.text.info"; + min: 0 35; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -5 -5; + rel2.offset: 4 4; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + fixed: 1 1; + } + } + part { name: "e.text.info"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + color_class: "fileman_icon"; + rel1.relative: 1.0 0.0; + rel1.to_x: "knob"; + rel2.relative: 0.0 1.0; + rel2.to_x: "close_event"; + rel2.offset: -3 -1; + text { font: FN; size: 10; + min: 1 0; + align: 0.0 0.5; + text_class: "fileman_icon"; + } + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -20 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "led_clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -20 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + fixed: 1 1; + align: 0.0 0.5; + } + } + part { name: "knob_spinner"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + rel1.to: "knob"; + rel2.to: "knob"; + image.normal: "glow_round_corners.png"; + fixed: 1 1; + map { + on: 1; + smooth: 1; + rotation.center: "knob"; + } + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + part { name: "attention_event"; mouse_events: 1; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "active" 0.0; + color: 0 0 0 0; + visible: 1; + } + } + part { name: "led"; mouse_events: 0; + clip_to: "led_clip"; + description { state: "default" 0.0; + image.normal: "led_red_light.png"; + min: 30 30; + max: 30 30; + fixed: 1 1; + rel1.offset: 5 0; + align: 0.0 0.5; + } + } + part { name: "led_spinner"; mouse_events: 0; + clip_to: "led_clip"; + description { state: "default" 0.0; + rel1.to: "led"; + rel2.to: "led"; + min: 40 40; + max: 40 40; + fixed: 1 1; + image.normal: "led_strobe.png"; + map { + on: 1; + smooth: 1; + rotation.center: "led"; + } + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + part { name: "close"; + description { state: "default" 0.0; + image.normal: "sym_close_light_normal.png"; + rel1.to: "close_event"; + rel2.to: "close_event"; + fixed: 1 1; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + image.normal: "sym_close_light_selected.png"; + } + } + part { name: "close_event"; type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.relative: 1.0 0.0; + rel1.offset: -4 0; + rel2.offset: -4 -1; + color: 0 0 0 0; + min: 15 15; + max: 15 15; + fixed: 1 1; + } + } + part { name: "progress"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: -5 0; + rel2.to: "e.gauge.bar"; + rel2.offset: 4 -1; + image.normal: "media_busy_progress.png"; + image.border: 5 5 0 0; + min: 10 40; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { name: "e.gauge.bar"; type: SPACER; mouse_events: 0; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "base"; + description { state: "default" 0.0; + } + } + } +/* we can also use messages with floats for progresss. + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT) && (id == 1)) { + new Float:val; + val = getfarg(2); + // val 0.0 -. 1.0 percentage + custom_state(PART:"progress", "default", 0.0); + set_state_val(PART:"progress", STATE_REL2, val, 1.0); + set_state(PART:"progress", "custom", 0.0); + } + } + } + */ + programs { + program { name: "spin"; + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "spin" 0.0; + transition: LINEAR 1.0; + target: "knob_spinner"; + after: "spin2"; + } + program { name: "spin2"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + after: "spin"; + } + program { + signal: "e,state,busy,start"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "e,state,busy,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "spin3"; + } + program { name: "spin3"; + action: ACTION_STOP; + target: "spin"; + target: "spin2"; + after: "spin4"; + } + program { name: "spin4"; + action: STATE_SET "default" 0.0; + target: "knob_spinner"; + } + program { + signal: "e,state,attention,start"; source: "e"; + action: STATE_SET "active" 0.0; + target: "led_clip"; + target: "attention_event"; + } + program { + signal: "e,state,attention,stop"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.6; + target: "led_clip"; + target: "attention_event"; + after: "led_stop_spin"; + } + program { name: "led_spin"; + signal: "e,state,attention,start"; source: "e"; + action: STATE_SET "spin" 0.0; + transition: LINEAR 0.6; + target: "led_spinner"; + after: "led_spin2"; + } + program { name: "led_spin2"; + action: STATE_SET "default" 0.0; + target: "led_spinner"; + after: "led_spin"; + } + program { name: "led_stop_spin"; + action: ACTION_STOP; + target: "led_spin"; + } + program { + signal: "mouse,down,1*"; source: "close_event"; + action: STATE_SET "selected" 0.0; + target: "close"; + } + program { + signal: "mouse,up,1*"; source: "close_event"; + action: STATE_SET "default" 0.0; + target: "close"; + } + program { + signal: "mouse,clicked,1*"; source: "close_event"; + action: SIGNAL_EMIT "e,fm,operation,abort" ""; + } + program { + signal: "mouse,clicked,1*"; source: "attention_event"; + action: SIGNAL_EMIT "e,fm,window,jump" ""; + } +/* XXX: implement these + program { + signal: "e,action,set,normal"; source: "e"; + } + program { + signal: "e,action,icon,unknown"; source: "e"; + } + program { + signal: "e,action,icon,copy"; source: "e"; + } + program { + signal: "e,action,icon,move"; source: "e"; + } + program { + signal: "e,action,icon,secure_delete"; source: "e"; + } + */ + } +} + +group { name: "modules/efm_navigation/main"; + images.image: "shadow_inset_light.png" COMP; + images.image: "shadow_angled_in_light.png" COMP; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + images.image: "sym_reload_light_normal.png" COMP; + images.image: "sym_reload_glow_normal.png" COMP; + images.image: "sym_heart_light_normal.png" COMP; + images.image: "sym_heart_glow_normal.png" COMP; + parts { + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "back"; + rel2.to: "favorite"; + fixed: 1 1; + } + } + part { name: "e.swallow.pathbar"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to_x: "base"; + rel1.relative: 1.0 0.0; + rel1.offset: 3 4; + rel2.offset: -4 -4; + } + } + +#define BUTTON(_NAME, _REL, _ICON, _ACTION) \ + part { name: _NAME"_shadow1"; \ + description { state: "default" 0.0; \ + rel1.to: _REL; \ + rel2.to: _REL; \ + image.normal: "shadow_inset_light.png"; \ + fixed: 1 1; \ + visible: 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0; \ + visible: 1; \ + } \ + } \ + part { name: _NAME"_shadow2"; \ + description { state: "default" 0.0; \ + rel1.to: _REL; \ + rel2.to: _REL; \ + image.normal: "shadow_angled_in_light.png"; \ + image.border: 16 16 0 0; \ + fixed: 1 1; \ + visible: 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0; \ + visible: 1; \ + } \ + } \ + part { name: _NAME"_icon"; \ + description { state: "default" 0.0; \ + rel1.to: _REL; \ + rel2.to: _REL; \ + image.normal: "sym_"_ICON"_light_normal.png"; \ + min: 15 15; \ + max: 15 15; \ + fixed: 1 1; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0; \ + image.normal: "sym_"_ICON"_glow_normal.png"; \ + } \ + } \ + program { \ + signal: "mouse,down,1*"; source: _REL; \ + action: STATE_SET "active" 0.0; \ + target: _NAME"_shadow1"; \ + target: _NAME"_shadow2"; \ + target: _NAME"_icon"; \ + } \ + program { \ + signal: "mouse,up,1*"; source: _REL; \ + action: STATE_SET "default" 0.0; \ + target: _NAME"_shadow1"; \ + target: _NAME"_shadow2"; \ + target: _NAME"_icon"; \ + } \ + program { \ + signal: "mouse,clicked,1*"; source: _REL; \ + action: SIGNAL_EMIT "e,action,"_ACTION",click" ""; \ + } \ + + BUTTON("go_back", "back", "left", "back") + BUTTON("go_forward", "forward", "right", "forward") + BUTTON("go_parent", "parent", "up", "up") + BUTTON("go_reload", "reload", "reload", "refresh") + BUTTON("go_fav", "favorite", "heart", "favorites") + + part { name: "back"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 6 0; + rel2.relative: 0.0 1.0; + rel2.offset: 6 -1; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "forward"; type: RECT; + description { state: "default" 0.0; + rel1.to: "back"; + rel1.relative: 1.0 0.0; + rel2.to: "back"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "parent"; type: RECT; + description { state: "default" 0.0; + rel1.to: "forward"; + rel1.relative: 1.0 0.0; + rel2.to: "forward"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "reload"; type: RECT; + description { state: "default" 0.0; + rel1.to: "parent"; + rel1.relative: 1.0 0.0; + rel2.to: "parent"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + part { name: "favorite"; type: RECT; + description { state: "default" 0.0; + rel1.to: "reload"; + rel1.relative: 1.0 0.0; + rel2.to: "reload"; + align: 0.0 0.5; + color: 0 0 0 0; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + fixed: 0 1; + } + } + } +} + +group { name: "modules/efm_navigation/pathbar_button"; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + parts { + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 6 6; + rel2.offset: -7 -6; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "button"; + } + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "sel_label"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -3 -3; + rel1.to: "e.text.label"; + rel2.offset: 3 1; + rel2.to: "e.text.label"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "button_selected"; + text { font: FN; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "button_text"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + rel1.relative: 0.0 1.0; + rel1.offset: -3 -6; + rel2.offset: 2 3; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,clicked,1"; source: "event"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "sel_label"; + target: "bar"; + } + program { + signal: "e,state,default"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "sel_label"; + target: "bar"; + } + } +} + +group { name: "modules/efm_navigation/pathbar_scrollframe"; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + images.image: "horiz_bar_inset.png" COMP; + parts { + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel1.offset: -3 -50; + rel2.to: "e.swallow.content"; + rel2.offset: 2 49; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "arrow1_ev"; + rel2.relative: 0.0 1.0; + rel2.to_x: "arrow2_ev"; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -4; + rel1.to_x: "clipper"; + rel2.offset: 0 2; + rel2.to_x: "clipper"; + image.normal: "horiz_bar_inset.png"; + image.border: 7 7 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.dragable.hbar"; mouse_events: 0; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "clipper"; + description { state: "default" 0.0; + rel1.to: "clipper"; + rel2.to: "clipper"; + visible: 0; + } + } + part { name: "arrow_clipper"; type: RECT; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow1"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow1_ev"; + rel2.to: "arrow1_ev"; + image.normal: "sym_left_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + } + } + part { name: "arrow1_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + align: 0.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + part { name: "arrow2"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow2_ev"; + rel2.to: "arrow2_ev"; + image.normal: "sym_right_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "arrow2_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + align: 1.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + } + programs { + program { + signal: "e,action,show,hbar"; source: "e"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + program { + signal: "e,action,hide,hbar"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: SIGNAL_EMIT "e,action,prev" "e"; + after: "arrow1_repeat"; + } + program { name: "arrow1_repeat"; + action: SIGNAL_EMIT "e,action,prev" "e"; + in: 0.3 0.0; + after: "arrow1_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: ACTION_STOP; + target: "arrow1_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow1"; + } + + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: STATE_SET "default" 0.0; + target: "arrow1"; + } + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: SIGNAL_EMIT "e,action,next" "e"; + after: "arrow2_repeat"; + } + program { name: "arrow2_repeat"; + action: SIGNAL_EMIT "e,action,next" "e"; + in: 0.3 0.0; + after: "arrow2_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: ACTION_STOP; + target: "arrow2_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow2"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: STATE_SET "default" 0.0; + target: "arrow2"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/fontpreview.edc b/legacy/elementary/data/themes/edc/fontpreview.edc new file mode 100644 index 0000000000..58ac322ae6 --- /dev/null +++ b/legacy/elementary/data/themes/edc/fontpreview.edc @@ -0,0 +1,21 @@ +group { name: "e/widgets/fontpreview"; + parts { + part { name: "e.fontpreview.text"; type: TEXT; mouse_events: 0; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "entry_text"; + rel1.offset: 3 3; + rel2.offset: -4 -4; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "_e_font_preview"; + } + } + } + } +} + diff --git a/legacy/elementary/data/themes/edc/frame.edc b/legacy/elementary/data/themes/edc/frame.edc new file mode 100644 index 0000000000..c3833617c9 --- /dev/null +++ b/legacy/elementary/data/themes/edc/frame.edc @@ -0,0 +1,101 @@ +group { name: "e/widgets/frame"; + images.image: "shadow_square_tiny.png" COMP; + images.image: "vgrad_med_curved.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "holes_tiny_vert.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 1; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "base"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 2 0; + rel1.to_y: "top"; + rel2.offset: -3 -3; + color: 64 64 64 255; + } + } + part { name: "top"; + description { state: "default" 0.0; + image.normal: "vgrad_med_curved.png"; + rel1.offset: 2 2; + rel2.to_y: "e.text.label"; + rel2.offset: -3 -1; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "edge1"; + description { state: "default" 0.0; + image.normal: "holes_tiny_vert.png"; + rel1.offset: 4 0; + rel1.to_y: "e.text.label"; + rel2.offset: 4 -1; + rel2.relative: 0.0 1.0; + rel2.to_y: "e.text.label"; + align: 0.0 0.5; + FIXED_SIZE(3, 11) + } + } + part { name: "edge2"; + description { state: "default" 0.0; + image.normal: "holes_tiny_vert.png"; + rel1.offset: -5 0; + rel1.to_y: "e.text.label"; + rel1.relative: 1.0 0.0; + rel2.offset: -5 -1; + rel2.relative: 1.0 1.0; + rel2.to_y: "e.text.label"; + align: 1.0 0.5; + FIXED_SIZE(3, 11) + } + } + part { name: "e.text.label"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "frame"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 2; + rel1.to_x: "edge1"; + rel2.relative: 0.0 0.0; + rel2.offset: -2 2; + rel2.to_x: "edge2"; + align: 0.0 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: FNBD; size: 10; + text_class: "frame"; + align: 0.0 0.0; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 5 0; + rel1.to_y: "e.text.label"; + rel2.offset: -6 -6; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/gadman.edc b/legacy/elementary/data/themes/edc/gadman.edc new file mode 100644 index 0000000000..376c723ad5 --- /dev/null +++ b/legacy/elementary/data/themes/edc/gadman.edc @@ -0,0 +1,508 @@ +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) + } + } + } +} + +group { name: "e/gadman/full_bg"; + parts { + part { name: "bg"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "visible" 0.0; + color: 0 0 0 192; + } + } + part { name: "custom_bg"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 0; + visible: 0; + } + description { state: "visible" 0.0; + color: 255 255 255 200; + } + } + part { name: "e.swallow.bg"; type: SWALLOW; mouse_events: 0; + clip_to: "custom_bg"; + description { state: "default" 0.0; + } + } + part { name: "grabber"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,state,visibility,show"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.4; + target: "bg"; + } + program { + signal: "e,state,visibility,show,now"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "bg"; + } + program { + signal: "e,state,visibility,hide"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.4; + target: "bg"; + after: "hide_stop"; + } + program { + signal: "e,state,visibility,hide,now"; source: "e"; + action: STATE_SET "default" 0.0; + target: "bg"; + after: "hide_stop"; + } + program { + signal: "e,state,visibility,show,custom"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.4; + target: "custom_bg"; + } + program { + signal: "e,state,visibility,show,custom,now"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "custom_bg"; + } + program { + signal: "e,state,visibility,hide,custom"; source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.4; + target: "custom_bg"; + after: "hide_stop"; + } + program { + signal: "e,state,visibility,hide,custom,now"; source: "e"; + action: STATE_SET "default" 0.0; + target: "custom_bg"; + after: "hide_stop"; + } + program { name: "hide_stop"; + action: SIGNAL_EMIT "e,action,hide,stop" ""; + } + } +} + +group { name: "e/gadman/frame"; + parts { + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 4 4; + rel2.offset: -5 -5; + } + } + } +} + +group { name: "e/gadman/control"; + images.image: "outline_glow.png" COMP; + images.image: "diagonal_stripes.png" COMP; + images.image: "sym_up_glow_normal.png" COMP; + images.image: "sym_down_glow_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "outline_glow.png"; + image.border: 4 4 4 4; + image.middle: 0; + fill.smooth: 0; + color: 255 255 255 255; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "pat"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel2.to: "base"; + image.normal: "diagonal_stripes.png"; + TILED_PATTERN(240, 240) + color: 255 255 255 25; + } + } + part { name: "av10"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "resizev1"; + rel2.relative: 1.0 0.0; + rel2.to: "resizev1"; + image.normal: "sym_up_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 -5.0; + color: 255 255 255 0; + } + } + part { name: "av11"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "resizev1"; + rel1.relative: 0.0 1.0; + rel2.to: "resizev1"; + image.normal: "sym_down_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 6.0; + color: 255 255 255 0; + } + } + part { name: "av20"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.to: "resizev2"; + rel2.relative: 1.0 0.0; + rel2.to: "resizev2"; + image.normal: "sym_up_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: 1.0 -5.0; + color: 255 255 255 0; + } + } + part { name: "av21"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.5 0.0; + rel1.to: "resizev2"; + rel1.relative: 0.0 1.0; + rel2.to: "resizev2"; + image.normal: "sym_down_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 0.0 6.0; + color: 255 255 255 0; + } + } + part { name: "ah10"; mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "resizeh1"; + rel2.relative: 0.0 1.0; + rel2.to: "resizeh1"; + image.normal: "sym_left_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: -5.0 1.0; + color: 255 255 255 0; + } + } + part { name: "ah11"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to: "resizeh1"; + rel1.relative: 1.0 0.0; + rel2.to: "resizeh1"; + image.normal: "sym_right_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 6.0 0.0; + color: 255 255 255 0; + } + } + part { name: "ah20"; mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1.to: "resizeh2"; + rel2.relative: 0.0 1.0; + rel2.to: "resizeh2"; + image.normal: "sym_left_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel2.relative: -5.0 1.0; + color: 255 255 255 0; + } + } + part { name: "ah21"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1.to: "resizeh2"; + rel1.relative: 1.0 0.0; + rel2.to: "resizeh2"; + image.normal: "sym_right_glow_normal.png"; + visible: 0; + FIXED_SIZE(15, 15) + } + description { state: "pulse0" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "pulse1" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: 6.0 0.0; + color: 255 255 255 0; + } + } + part { name: "move"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "resizeh1"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 0.5 1.0; + align: 0.0 0.5; + max: 7 99999; + color: 0 0 0 0; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "resizeh2"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative: 0.5 0.0; + align: 1.0 0.5; + max: 7 99999; + color: 0 0 0 0; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "resizev1"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 1.0 0.5; + align: 0.5 0.0; + max: 99999 7; + color: 0 0 0 0; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "resizev2"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + rel1.relative: 0.0 0.5; + align: 0.5 1.0; + max: 99999 7; + color: 0 0 0 0; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,hsize,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "resizeh1"; + target: "resizeh2"; + } + program { + signal: "e,state,hsize,off"; source: "e"; + action: STATE_SET "off" 0.0; + target: "resizeh1"; + target: "resizeh2"; + } + program { + signal: "e,state,vsize,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "resizev1"; + target: "resizev2"; + } + program { + signal: "e,state,vsize,off"; source: "e"; + action: STATE_SET "off" 0.0; + target: "resizev1"; + target: "resizev2"; + } + program { + signal: "e,state,move,on"; source: "e"; + action: STATE_SET "default" 0.0; + target: "move"; + } + program { + signal: "e,state,move,off"; source: "e"; + action: STATE_SET "off" 0.0; + target: "move"; + } + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "active" 0.0; + target: "base"; + } + program { + signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } +#define ARROWPULSE(_NAME, _SRC, _DST1, _DST2) \ + program { name: _NAME"0"; \ + signal: "mouse,in"; source: _SRC; \ + action: STATE_SET "pulse0" 0.0; \ + target: _DST1; \ + target: _DST2; \ + after: _NAME"1"; \ + } \ + program { name: _NAME"1"; \ + action: STATE_SET "pulse1" 0.0; \ + transition: DECELERATE 0.5; \ + target: _DST1; \ + target: _DST2; \ + after: _NAME"2"; \ + } \ + program { name: _NAME"2"; \ + action: STATE_SET "pulse0" 0.0; \ + target: _DST1; \ + target: _DST2; \ + after: _NAME"1"; \ + } \ + program { \ + signal: "mouse,out"; source: _SRC; \ + action: ACTION_STOP; \ + target: _NAME"0"; \ + target: _NAME"1"; \ + target: _NAME"2"; \ + after: _NAME"3"; \ + } \ + program { name: _NAME"3"; \ + action: STATE_SET "default" 0.0; \ + target: _DST1; \ + target: _DST2; \ + } + ARROWPULSE("pulse1", "resizev1", "av10", "av11") + ARROWPULSE("pulse2", "resizev2", "av20", "av21") + ARROWPULSE("pulse3", "resizeh1", "ah10", "ah11") + ARROWPULSE("pulse4", "resizeh2", "ah20", "ah21") +#undef ARROWPULSE +#define PROGSET(_SRC, _ACT) \ + program { \ + signal: "mouse,down,1"; source: _SRC; \ + action: SIGNAL_EMIT "e,action,"_ACT",start" ""; \ + } \ + program { \ + signal: "mouse,up,1"; source: _SRC; \ + action: SIGNAL_EMIT "e,action,"_ACT",stop" ""; \ + } \ + program { \ + signal: "mouse,move"; source: _SRC; \ + action: SIGNAL_EMIT "e,action,"_ACT",go" ""; \ + } + PROGSET("move", "move") + PROGSET("resizeh1", "resize,left") + PROGSET("resizeh2", "resize,right") + PROGSET("resizev1", "resize,up") + PROGSET("resizev2", "resize,down") +#undef PROGSET + } +} diff --git a/legacy/elementary/data/themes/edc/ibar-ibox.edc b/legacy/elementary/data/themes/edc/ibar-ibox.edc new file mode 100644 index 0000000000..487539c2a9 --- /dev/null +++ b/legacy/elementary/data/themes/edc/ibar-ibox.edc @@ -0,0 +1,745 @@ +group { name: "e/modules/ibar/separator/default"; + images.image: "bevel_dark_in.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + min: 2 2; + max: 2 99999; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "bevel_dark_in.png"; + image.border: 2 2 2 2; + fill.smooth: 0; + } + } + } +} + +group { name: "e/modules/ibar/separator/horizontal"; + inherit: "e/modules/ibar/separator/default"; + parts { + part { name: "base"; + description { state: "default" 0.0; + max: 99999 2; + } + } + } +} + +group { name: "e/modules/ibox/icon"; + alias: "e/modules/ibar/icon"; + // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it + data.item: "raise_on_hilight" "0"; +// data.item: "item_list" "item item2 item3"; + images.image: "led_tiny_blue.png" COMP; + parts { + part { name: "item_clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -100 -100; + rel2.offset: 99 99; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "item_clip"; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + 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: "indicator"; + description { state: "default"; + min: 10 10; + max: 10 10; + rel1.relative: 1.0 1.0; + rel1.offset: -5 -5; + rel2.relative: 1.0 1.0; + rel2.offset: -4 -4; + image.normal: "led_tiny_blue.png"; + 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: "over"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { +// program { +// signal: "e,action,exec"; source: "e"; +// } +// program { +// signal: "e,action,start"; source: "e"; +// } +// program { name: "go_active"; +// signal: "e,state,focused"; source: "e"; +// } +// program { name: "go_passive"; +// signal: "e,state,unfocused"; source: "e"; +// } +// program { +// signal: "e,action,show,label"; source: "e"; +// } +// program { +// signal: "e,action,hide,label"; source: "e"; +// } + program { + signal: "e,state,starting"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "item_clip"; + } + program { + signal: "e,state,started"; source: "e"; + action: STATE_SET "default" 0.0; + target: "item_clip"; + } + program { name: "ion"; + signal: "e,state,on"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "indicator"; + transition: ACCELERATE 0.1; + } + program { name: "ioff"; + signal: "e,state,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + transition: DECELERATE 0.1; + } + program { + signal: "e,state,on"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "indicator"; + transition: ACCELERATE 0.2; + } + program { + signal: "e,state,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + transition: DECELERATE 0.8; + } + program { + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "bounce1" 0.0; + target: "e.swallow.content"; + after: "urg1"; + } + program { name: "urg1"; + action: STATE_SET "bounce2" 0.0; + transition: DECELERATE 0.2; + target: "e.swallow.content"; + after: "urg2"; + } + program { name: "urg2"; + action: STATE_SET "bounce1" 0.0; + transition: ACCELERATE 0.2; + target: "e.swallow.content"; + after: "urg1"; + } + program { + signal: "e,state,not_urgent"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.content"; + } + } +} + +group { name: "e/modules/ibar/menu"; + images.image: "darken_rounded_square.png" COMP; + parts { + part { name: "sizer"; type: SPACER; + description { state: "default"; } + description { state: "hidden"; + rel1.relative: 0.5 1.0; + rel2.relative: 0.5 1.0; + minmul: 0 0; + } + } + part { name: "clip"; type: RECT; + description { state: "default"; + rel1.offset: -9999 -9999; + rel2.offset: 9999 9999; + } + description { state: "hidden"; + inherit: "default"; + color: 0 0 0 0; + } + } + part { name: "base"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "sizer"; + rel2.to: "sizer"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + } + } + part { name: "e.box"; type: BOX; + clip_to: "clip"; + description { state: "default"; + rel1.to: "sizer"; + rel1.offset: 12 12; + rel2.to: "sizer"; + rel2.offset: -13 -13; + box { layout: "vertical"; + padding: 0 0; + align: 0.5 0.5; + min: 1 1; + } + } + } + } + programs { + program { signal: "e,state,hidden"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "sizer"; + target: "clip"; + } + program { signal: "e,action,show"; source: "e"; + action: STATE_SET "default" 0.0; + target: "sizer"; + target: "clip"; + transition: DECELERATE 0.2; + } + program { signal: "e,action,hide"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "sizer"; + target: "clip"; + transition: ACCELERATE 0.2; + after: "hide2"; + } + program { name: "hide2"; + in: 0.2 0.0; + action: SIGNAL_EMIT "e,action,hide,done" ""; + } + } +} + +group { name: "e/modules/ibar/menu/item"; + images.image: "glow_small.png" COMP; + parts { + part { name: "icon"; type: SPACER; + description { state: "default"; + rel1.offset: 2 2; + rel2.offset: 2 -3; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: BOTH; + min: 48 48; + max: 48 48; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "e.swallow.icon"; + rel2.to: "e.swallow.icon"; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + fill.smooth: 0; + color: 255 255 255 0; + visible: 0; + } + description { state: "focus" 0.0; + inherit: "default" 0.0; + rel1.offset: -4 -4; + rel2.offset: 3 3; + color: 255 255 255 255; + visible: 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; + clip_to: "icon_clip"; + description { state: "default"; + rel1.to: "icon"; + rel2.to: "icon"; + } + description { state: "focus"; + inherit: "default"; + rel1.offset: -2 -2; + rel2.offset: 1 1; + } + } + part { name: "e.text.title"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "icon"; + rel1.relative: 1.0 0.0; + rel1.offset: 3 0; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + align: 0.0 0.0; + color_class: "menu_item"; + min: 128 0; + text { font: FNBD; size: 10; + text: "window name thingy"; + min: 0 1; + align: 0.0 0.5; + text_class: "menu_item"; + } + } + description { state: "focus"; + inherit: "default"; + visible: 0; + } + } + part { name: "title2"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -2 -3; + rel1.to: "e.text.title"; + rel2.offset: 2 1; + rel2.to: "e.text.title"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + color_class: "menu_item_active"; + min: 128 0; + text { font: FNBD; size: 10; + text_source: "e.text.title"; + min: 0 1; + align: 0.0 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "focus" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "icon_clip"; type: RECT; + description { state: "default"; + color: 255 255 255 200; + rel1.offset: -9999 -9999; + rel2.offset: 9999 9999; + } + description { state: "focus"; + inherit: "default"; + color: 255 255 255 255; + } + } + part { name: "event"; type: RECT; + description { state: "default"; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,in"; source: "event"; + action: STATE_SET "focus" 0.0; + target: "e.swallow.icon"; + target: "e.text.title"; + target: "title2"; + target: "icon_clip"; + target: "glow"; + transition: ACCELERATE 0.2; + } + program { + signal: "mouse,out"; source: "event"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + target: "e.text.title"; + target: "title2"; + target: "icon_clip"; + target: "glow"; + transition: DECELERATE 0.2; + } + } +} + +group { name: "e/modules/ibox/icon_overlay"; + alias: "e/modules/ibar/icon_overlay"; + images.image: "darken_rounded_square.png" COMP; + script { + public urgent; + } + parts { + part { name: "item_clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: -100 -100; + rel2.offset: 99 99; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "base"; type: SPACER; + description { state: "default" 0.0; + rel1.offset: 3 4; + rel2.offset: -4 -4; + } + 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: "background"; type: RECT; + clip_to: "item_clip"; + description { state: "default" 0.0; + visible: 0; + rel1.to: "base"; + rel2.to: "base"; + color: 255 255 255 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: -0.5 -0.5; + rel2.relative: 1.5 1.5; + } + description { state: "huge" 0.0; + inherit: "default" 0.0; + visible: 1; + rel1.relative: -2.0 -2.0; + rel2.relative: 3.0 3.0; + color: 255 255 255 0; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "background"; + description { + state: "default" 0.0; + rel1.to: "background"; + rel2.to: "background"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -10 -6; + rel1.to: "e.text.label"; + rel2.offset: 9 5; + rel2.to: "e.text.label"; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + fill.smooth: 0; + fixed: 1 1; + 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: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 0; + color3: 0 0 0 0; + color_class: "module_label"; + text { font: FN; size: 10; + min: 1 1; + align: 0.5 0.5; + text_class: "module_normal"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.5; + rel2.relative: 1.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + } + } + } + programs { +// program { +// signal: "e,action,exec"; source: "e"; +// } +// program { +// signal: "e,action,start"; source: "e"; +// } + program { + signal: "load"; source: ""; + script { + set_int(urgent, 0); + } + } + program { name: "go_active"; + signal: "e,state,focused"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "background"; + after: "go_active2"; + } + program { name: "go_active2"; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "background"; + after: "go_active"; + } + program { name: "go_passive"; + signal: "e,state,unfocused"; source: "e"; + action: ACTION_STOP; + target: "go_active"; + target: "go_active2"; + after: "go_passive2"; + } + program { + signal: "e,action,show,label"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: SINUSOIDAL 0.5; + target: "e.text.label"; + target: "bevel"; + } + program { + signal: "e,action,hide,label"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "e.text.label"; + target: "bevel"; + } + program { name: "go_passive2"; + action: STATE_SET "default" 0.0; + target: "background"; + script { + if (get_int(urgent) == 1) { + run_program(PROGRAM:"go_urgent"); + } else { + run_program(PROGRAM:"go_not_urgent"); + } + } + } + program { + signal: "e,state,urgent"; source: "e"; + script { + set_int(urgent, 1); + } + } + program { name: "go_urgent"; + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "item_clip"; + } + program { + signal: "e,state,not_urgent"; source: "e"; + script { + set_int(urgent, 0); + } + } + program { name: "go_not_urgent"; + signal: "e,state,not_urgent"; source: "e"; + action: STATE_SET "default" 0.0; + target: "item_clip"; + } + program { + signal: "e,action,exec"; source: "e"; + after: "exec_start"; + } + program { name: "exec_start"; + signal: "e,action,start"; source: "e"; + action: ACTION_STOP; + target: "go_active"; + target: "go_active2"; + target: "go_passive"; + target: "go_passive2"; + target: "go_big"; + target: "go_big2"; + after: "go_big"; + } + program { name: "go_big"; + action: STATE_SET "visible" 0.0; + target: "background"; + after: "go_big2"; + } + program { name: "go_big2"; + action: STATE_SET "huge" 0.0; + transition: LINEAR 0.5; + target: "background"; + } + } +} + +group { name: "e/modules/ibox/drop"; + alias: "e/modules/ibar/drop"; + images.image: "outline_glow.png" COMP; + images.image: "diagonal_stripes.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image.normal: "outline_glow.png"; + image.border: 4 4 4 4; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "pat"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel2.to: "base"; + image.normal: "diagonal_stripes.png"; + color: 255 255 255 25; + TILED_PATTERN(240, 240) + } + } + } +} + +group { name: "e/modules/ibox/drop_overlay"; + alias: "e/modules/ibar/drop_overlay"; + 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: "drop0"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_0.png"; + rel1.offset: -10 -10; + rel1.relative: 0.0 0.0; + rel2.offset: -10 -10; + rel2.relative: 0.0 0.0; + align: 0.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 11; + rel2.offset: 11 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_1.png"; + rel1.offset: 9 -10; + rel1.relative: 1.0 0.0; + rel2.offset: 9 -10; + rel2.relative: 1.0 0.0; + align: 1.0 0.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 11; + rel2.offset: -12 11; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop2"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_2.png"; + rel1.offset: 9 9; + rel1.relative: 1.0 1.0; + rel2.offset: 9 9; + rel2.relative: 1.0 1.0; + align: 1.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: -12 -12; + rel2.offset: -12 -12; + min: 1 1; + color: 255 255 255 0; + } + } + part { name: "drop3"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "mini_blue_glow_arrow_3.png"; + rel1.offset: -10 9; + rel1.relative: 0.0 1.0; + rel2.offset: -10 9; + rel2.relative: 0.0 1.0; + align: 0.0 1.0; + min: 10 10; + fixed: 1 1; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + rel1.offset: 11 -12; + rel2.offset: 11 -12; + min: 1 1; + color: 255 255 255 0; + } + } + } + programs { + program { name: "drop1"; + signal: "show"; source: ""; + 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"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/icons.edc b/legacy/elementary/data/themes/edc/icons.edc new file mode 100644 index 0000000000..5ad225a268 --- /dev/null +++ b/legacy/elementary/data/themes/edc/icons.edc @@ -0,0 +1,46 @@ +#define ICON(_NAME, _SIZE, _FILE) \ + group { \ + name: "e/icons/"_NAME; \ + max: _SIZE _SIZE; \ + parts { \ + part { name: "icon"; mouse_events: 0; \ + description { state: "default" 0.0; \ + max: _SIZE _SIZE; \ + aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.image: _FILE COMP; \ + image.normal: _FILE; \ + } \ + } \ + } \ + } + + ICON("system", 80, "icon_system.png") + ICON("system-shutdown", 80, "icon_system-shutdown.png") + ICON("system-restart", 80, "icon_system-restart.png") + ICON("system-suspend", 80, "icon_system-suspend.png") + ICON("system-suspend-hibernate", 80, "icon_system-suspend-hibernate.png") + ICON("system-log-out", 80, "icon_system-log-out.png") + ICON("system-lock-screen", 80, "icon_system-lock-screen.png") + ICON("application-exit", 80, "icon_system-log-out.png") + ICON("enlightenment", 80, "icon_enlightenment.png") + ICON("help-about", 80, "icon_enlightenment.png") + ICON("preferences-desktop-environments", 80, "icon_preferences-desktop-environments.png") + ICON("preferences-applications-screen-lock", 80, "icon_preferences-applications-screen-lock.png") + ICON("preferences-applications-screen-unlock", 80, "icon_preferences-applications-screen-unlock.png") + ICON("preferences-applications-personal", 80, "icon_preferences-applications-personal.png") + ICON("preferences-desklock-locale", 80, "icon_preferences-desklock-locale.png") + ICON("preferences-desktop-signal-bindings", 80, "icon_preferences-desktop-signal-bindings.png") + ICON("preferences-variables", 80, "icon_preferences-variables.png") + ICON("preferences-interaction", 80, "icon_preferences-interaction.png") + ICON("preferences-composite", 80, "icon_preferences-composite.png") + + ICON("enlightenment/wallpaper_stretch", 80, "icon_wallpaper_stretch.png") + ICON("enlightenment/wallpaper_center", 80, "icon_wallpaper_center.png") + ICON("enlightenment/wallpaper_tile", 80, "icon_wallpaper_tile.png") + ICON("enlightenment/wallpaper_scale_aspect_in", 80, "icon_wallpaper_within.png") + ICON("enlightenment/wallpaper_scale_aspect_out", 80, "icon_wallpaper_fill.png") + ICON("enlightenment/wallpaper_pan", 80, "icon_wallpaper_pan.png") +#if 0 +// ICON("", 80, "") +#endif +#undef ICON diff --git a/legacy/elementary/data/themes/edc/ilist.edc b/legacy/elementary/data/themes/edc/ilist.edc new file mode 100644 index 0000000000..90206a00ac --- /dev/null +++ b/legacy/elementary/data/themes/edc/ilist.edc @@ -0,0 +1,407 @@ +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: FNBD; 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: FN; 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: FN; 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: FN; 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; + 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"; + color: 255 255 255 128; + } + } + 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: FNBD; 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; + } + } + } +} + +group { name: "e/widgets/ilist/toggle_end"; + images.image: "led_dark.png" COMP; + images.image: "led_light.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "led_dark.png"; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 32 32; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + image.normal: "led_light.png"; + } + } + } + programs { + program { + signal: "e,state,checked"; source: "e"; + action: STATE_SET "visible" 0.0; + transition: BOUNCE 0.4 0.5 4; + target: "base"; + } + program { + signal: "e,state,unchecked"; source: "e"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + diff --git a/legacy/elementary/data/themes/edc/illume.edc b/legacy/elementary/data/themes/edc/illume.edc new file mode 100644 index 0000000000..54d8818d57 --- /dev/null +++ b/legacy/elementary/data/themes/edc/illume.edc @@ -0,0 +1,674 @@ +group { name: "e/modules/illume_home_toggle/main"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "home_inset.png" COMP; + images.image: "home_hilight.png" COMP; + images.image: "home_glow.png" COMP; + min: 16 16; + max: 80 80; + 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: "home_hilight"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "home"; + rel2.offset: -1 0; + rel2.to: "home"; + image.normal: "home_hilight.png"; + } + } + part { name: "home"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "home_inset.png"; + } + } + part { name: "home_glow"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "home"; + rel2.to: "home"; + image.normal: "home_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "home_glow"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "home_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,home" ""; + } + } +} + +group { name: "e/modules/illume_kbd_toggle/main"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "kbd_inset.png" COMP; + images.image: "kbd_hilight.png" COMP; + images.image: "kbd_glow.png" COMP; + min: 16 16; + max: 80 80; + 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: "kbd_hilight"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "kbd"; + rel2.offset: -1 0; + rel2.to: "kbd"; + image.normal: "kbd_hilight.png"; + } + } + part { name: "kbd"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "kbd_inset.png"; + } + } + part { name: "kbd_glow"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "kbd"; + rel2.to: "kbd"; + image.normal: "kbd_glow.png"; + visible: 0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "on"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "on" 0.0; + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,vkbd,enable" ""; + } + + program { + signal: "mouse,down,1"; source: "on"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "on"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "on"; + action: SIGNAL_EMIT "e,action,vkbd,disable" ""; + } + + program { + signal: "e,state,vkbd,on"; source: "e"; + action: STATE_SET "on" 0.0; + target: "on"; + target: "kbd_glow"; + } + program { + signal: "e,state,vkbd,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "on"; + target: "kbd_glow"; + } + } +} + +group { name: "e/modules/illume_mode_toggle/main"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "split_h_glow.png" COMP; + images.image: "split_h_hilight.png" COMP; + images.image: "split_h_inset.png" COMP; + images.image: "split_none_glow.png" COMP; + images.image: "split_none_hilight.png" COMP; + images.image: "split_none_inset.png" COMP; + images.image: "split_v_glow.png" COMP; + images.image: "split_v_hilight.png" COMP; + images.image: "split_v_inset.png" COMP; + min: 16 16; + max: 80 80; + 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: "split_none_hilight"; mouse_events: 0; + clip_to: "split_none_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "split_none"; + rel2.offset: -1 0; + rel2.to: "split_none"; + image.normal: "split_none_hilight.png"; + } + } + part { name: "split_none"; mouse_events: 0; + clip_to: "split_none_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "split_none_inset.png"; + } + } + part { name: "split_none_glow"; mouse_events: 0; + clip_to: "split_none_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "split_none"; + rel2.to: "split_none"; + image.normal: "split_none_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { name: "split_h_hilight"; mouse_events: 0; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "split_h"; + rel2.offset: -1 0; + rel2.to: "split_h"; + image.normal: "split_h_hilight.png"; + } + } + part { name: "split_h"; mouse_events: 0; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "split_h_inset.png"; + } + } + part { name: "split_h_glow"; mouse_events: 0; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "split_h"; + rel2.to: "split_h"; + image.normal: "split_h_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "split_h_on"; type: RECT; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + + part { name: "split_v_hilight"; mouse_events: 0; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "split_v"; + rel2.offset: -1 0; + rel2.to: "split_v"; + image.normal: "split_v_hilight.png"; + } + } + part { name: "split_v"; mouse_events: 0; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "split_v_inset.png"; + } + } + part { name: "split_v_glow"; mouse_events: 0; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "split_v"; + rel2.to: "split_v"; + image.normal: "split_v_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "split_v_on"; type: RECT; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + + part { name: "split_none_clip"; type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "split_h" 0.0; + visible: 0; + } + description { state: "split_v" 0.0; + visible: 0; + } + } + part { name: "split_h_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "split_h" 0.0; + visible: 1; + } + description { state: "split_v" 0.0; + visible: 0; + } + } + part { name: "split_v_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "split_h" 0.0; + visible: 0; + } + description { state: "split_v" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,mode,dual,top" ""; + } + + program { + signal: "mouse,down,1"; source: "split_v_on"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,up,1"; source: "split_v_on"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "split_v_on"; + action: SIGNAL_EMIT "e,action,mode,dual,left" ""; + } + + program { + signal: "mouse,down,1"; source: "split_h_on"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,up,1"; source: "split_h_on"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "split_h_on"; + action: SIGNAL_EMIT "e,action,mode,single" ""; + } + + program { + signal: "e,mode,single"; source: "e"; + action: STATE_SET "default" 0.0; + target: "split_none_clip"; + target: "split_h_clip"; + target: "split_v_clip"; + } + program { + signal: "e,mode,dual,top"; source: "e"; + action: STATE_SET "split_v" 0.0; + target: "split_none_clip"; + target: "split_h_clip"; + target: "split_v_clip"; + } + program { + signal: "e,mode,dual,left"; source: "e"; + action: STATE_SET "split_h" 0.0; + target: "split_none_clip"; + target: "split_h_clip"; + target: "split_v_clip"; + } + } +} + +group { name: "modules/illume-indicator/window"; + data { +// item: "shaped" "1"; + } + 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) + } + } + } +} + +group { name: "modules/illume-softkey/window"; + data { +// item: "shaped" "1"; + } + 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.box.extra_buttons"; type: BOX; + 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_start"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + fixed: 0 1; + box { layout: "horizontal"; + padding: 4 0; + align: 0.0 0.5; + min: 1 1; + } + } + } + part { name: "e.box.buttons"; type: BOX; + description { state: "default" 0.0; + rel1.offset: 4 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.box.extra_buttons"; + rel2.offset: -2 -1; + rel2.to_x: "dots_end"; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + fixed: 0 1; + box { layout: "horizontal"; + padding: 4 0; + align: 1.0 0.5; + min: 1 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) + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/init.edc b/legacy/elementary/data/themes/edc/init.edc new file mode 100644 index 0000000000..d5e5997d44 --- /dev/null +++ b/legacy/elementary/data/themes/edc/init.edc @@ -0,0 +1,583 @@ +group { name: "e/init/splash"; + images.image: "screen_circular_shadow.png" COMP; + images.image: "bg_radgrad.png" COMP; + images.image: "dot_pattern.png" COMP; + images.image: "logo_blue_small.png" COMP; + images.image: "logo_blue_small_glow.png" COMP; + images.image: "led_square_base.png" COMP; + images.image: "led_square_glow.png" COMP; + images.image: "led_square_shading.png" COMP; + images.image: "led_square_shadow.png" COMP; + images.image: "led_square_shine.png" COMP; + script { + public is_ready; + public do_end; + } + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + } + } + 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) + } + } + part { name: "logo"; + description { state: "default" 0.0; + image.normal: "logo_blue_small.png"; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + FIXED_SIZE(100, 127) + } + } + part { name: "logo_glow"; + description { state: "default" 0.0; + image.normal: "logo_blue_small_glow.png"; + rel1.to: "logo"; + rel2.to: "logo"; + color: 255 255 255 128; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "e.text.title"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.05 0.0; + rel1.offset: 4 -1; + rel1.to_y: "e.text.status"; + rel2.relative: 0.95 0.0; + rel2.offset: -5 -1; + rel2.to_y: "e.text.status"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 20; + min: 0 1; + text_class: "init_title"; + } + fixed: 0 1; + } + } + part { name: "e.text.status"; type: TEXT; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.05 0.0; + rel1.to_y: "logo"; + rel1.offset: 4 -1; + rel2.relative: 0.95 0.0; + rel2.offset: -5 -1; + rel2.to_y: "logo"; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + text { font: FN; size: 10; + min: 0 1; + text_class: "init_status"; + } + fixed: 0 1; + } + } + part { name: "e.text.version"; type: TEXT; + effect: GLOW; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + rel1.offset: -4 -4; + rel2.relative: 1.0 1.0; + rel2.offset: -4 -4; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + text { font: FN; size: 8; + text: "0.17.0"; + min: 1 1; + align: 1.0 1.0; + text_class: "init_version"; + } + fixed: 1 1; + } + } + + part { name: "shadow"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: 2.0 2.0; + color: 255 255 255 255; + } + } + +#define LED(_NAME, _TO, _SHINE, _C00, _C01, _C10, _C11, _C20, _C21, _C30, _C31, _C40, _C41, _C50, _C51, _C60, _C61) \ + part { name: _NAME"_shadow"; \ + description { state: "default" 0.0; \ + rel1.to: _TO; \ + rel2.to: _TO; \ + FIXED_SIZE(20, 20) \ + image.normal: "led_square_shadow.png"; \ + } \ + } \ + part { name: _NAME"_base"; \ + description { state: "default" 0.0; \ + rel1.to: _NAME"_shadow"; \ + rel2.to: _NAME"_shadow"; \ + image.normal: "led_square_base.png"; \ + color: _C00; \ + } \ + description { state: "col1" 0.0; \ + inherit: "default" 0.0; \ + color: _C10; \ + } \ + description { state: "col2" 0.0; \ + inherit: "default" 0.0; \ + color: _C20; \ + } \ + description { state: "col3" 0.0; \ + inherit: "default" 0.0; \ + color: _C30; \ + } \ + description { state: "col4" 0.0; \ + inherit: "default" 0.0; \ + color: _C40; \ + } \ + description { state: "col5" 0.0; \ + inherit: "default" 0.0; \ + color: _C50; \ + } \ + description { state: "col6" 0.0; \ + inherit: "default" 0.0; \ + color: _C60; \ + } \ + } \ + part { name: _NAME"_glow"; \ + description { state: "default" 0.0; \ + rel1.to: _NAME"_shadow"; \ + rel2.to: _NAME"_shadow"; \ + image.normal: "led_square_glow.png"; \ + color: _C01; \ + } \ + description { state: "col1" 0.0; \ + inherit: "default" 0.0; \ + color: _C11; \ + } \ + description { state: "col2" 0.0; \ + inherit: "default" 0.0; \ + color: _C21; \ + } \ + description { state: "col3" 0.0; \ + inherit: "default" 0.0; \ + color: _C31; \ + } \ + description { state: "col4" 0.0; \ + inherit: "default" 0.0; \ + color: _C41; \ + } \ + description { state: "col5" 0.0; \ + inherit: "default" 0.0; \ + color: _C51; \ + } \ + description { state: "col6" 0.0; \ + inherit: "default" 0.0; \ + color: _C61; \ + } \ + } \ + part { name: _NAME"_shading"; \ + description { state: "default" 0.0; \ + rel1.to: _NAME"_shadow"; \ + rel2.to: _NAME"_shadow"; \ + image.normal: "led_square_shading.png"; \ + } \ + } \ + part { name: _NAME"_shine"; \ + description { state: "default" 0.0; \ + rel1.to: _NAME"_shadow"; \ + rel2.to: _NAME"_shadow"; \ + image.normal: "led_square_shine.png"; \ + color: 255 255 255 _SHINE; \ + } \ + } + +#define WHITE 255 255 255 255 +#define RED 255 40 20 255 +#define GREEN 80 255 20 255 +#define BLUE 51 153 255 255 +#define ORANGE 255 128 32 255 +#define YELLOW 255 220 64 255 +#define PURPLE 200 60 255 255 +#define CYAN 40 220 255 255 + + LED("l0", "led0", 255, + BLUE, WHITE, + RED, ORANGE, + GREEN, YELLOW, + ORANGE, YELLOW, + PURPLE, YELLOW, + CYAN, WHITE, + YELLOW, WHITE + ) + + LED("l-1", "led-1", 128, + RED, ORANGE, + BLUE, WHITE, + ORANGE, YELLOW, + GREEN, YELLOW, + CYAN, WHITE, + YELLOW, WHITE, + PURPLE, YELLOW + ) + LED("l-2", "led-2", 64, + CYAN, WHITE, + GREEN, YELLOW, + BLUE, WHITE, + YELLOW, WHITE, + ORANGE, YELLOW, + PURPLE, YELLOW, + RED, ORANGE + ) + LED("l-3", "led-3", 0, + GREEN, YELLOW, + PURPLE, YELLOW, + YELLOW, WHITE, + RED, ORANGE, + CYAN, WHITE, + ORANGE, YELLOW, + BLUE, WHITE + ) + + LED("l+1", "led+1", 128, + YELLOW, WHITE, + ORANGE, YELLOW, + RED, ORANGE, + PURPLE, YELLOW, + BLUE, WHITE, + GREEN, YELLOW, + CYAN, WHITE + ) + LED("l+2", "led+2", 64, + PURPLE, YELLOW, + BLUE, WHITE, + RED, ORANGE, + YELLOW, WHITE, + ORANGE, YELLOW, + CYAN, WHITE, + GREEN, YELLOW + ) + LED("l+3", "led+3", 0, + ORANGE, YELLOW, + RED, ORANGE, + PURPLE, YELLOW, + GREEN, YELLOW, + BLUE, WHITE, + YELLOW, WHITE, + CYAN, WHITE + ) +#undef LED + + part { name: "led0"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 0.5 1.0; + rel1.to: "logo"; + rel2.relative: 0.5 1.0; + rel2.to: "logo"; + align: 0.5 0.0; + FIXED_SIZE(20, 20) + visible: 0; + } + } + + part { name: "led-1"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -1.0 0.0; + rel1.to: "led0"; + rel2.relative: -1.0 1.0; + rel2.to: "led0"; + align: 0.0 0.5; + FIXED_SIZE(20, 20) + visible: 0; + } + } + part { name: "led-2"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -1.0 0.0; + rel1.to: "led-1"; + rel2.relative: -1.0 1.0; + rel2.to: "led-1"; + align: 0.0 0.5; + FIXED_SIZE(20, 20) + visible: 0; + } + } + part { name: "led-3"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -1.0 0.0; + rel1.to: "led-2"; + rel2.relative: -1.0 1.0; + rel2.to: "led-2"; + align: 0.0 0.5; + FIXED_SIZE(20, 20) + visible: 0; + } + } + + part { name: "led+1"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 2.0 0.0; + rel1.to: "led0"; + rel2.relative: 2.0 1.0; + rel2.to: "led0"; + align: 1.0 0.5; + FIXED_SIZE(20, 20) + visible: 0; + } + } + part { name: "led+2"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 2.0 0.0; + rel1.to: "led+1"; + rel2.relative: 2.0 1.0; + rel2.to: "led+1"; + align: 1.0 0.5; + FIXED_SIZE(20, 20) + visible: 0; + } + } + part { name: "led+3"; type: RECT; + description { state: "default" 0.0; + rel1.relative: 2.0 0.0; + rel1.to: "led+2"; + rel2.relative: 2.0 1.0; + rel2.to: "led+2"; + align: 1.0 0.5; + FIXED_SIZE(20, 20) + visible: 0; + } + } + + part { name: "blanker"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + } + programs { + program { + signal: "load"; source: ""; + script { + set_int(is_ready, 0); + set_int(do_end, 0); + } + } + +#define PROG(_NAME) \ + program { name: _NAME"0"; \ + signal: "show"; source: ""; \ + action: STATE_SET "col1" 0.0; \ + target: _NAME"_base"; \ + target: _NAME"_glow"; \ + transition: SINUSOIDAL 0.5; \ + in: 0.2 0.5; \ + after: _NAME"1"; \ + } \ + program { name: _NAME"1"; \ + action: STATE_SET "col2" 0.0; \ + target: _NAME"_base"; \ + target: _NAME"_glow"; \ + transition: SINUSOIDAL 0.5; \ + in: 0.2 0.5; \ + after: _NAME"2"; \ + } \ + program { name: _NAME"2"; \ + action: STATE_SET "col3" 0.0; \ + target: _NAME"_base"; \ + target: _NAME"_glow"; \ + transition: SINUSOIDAL 0.5; \ + in: 0.2 0.5; \ + after: _NAME"1"; \ + } \ + program { name: _NAME"3"; \ + action: STATE_SET "col4" 0.0; \ + target: _NAME"_base"; \ + target: _NAME"_glow"; \ + transition: SINUSOIDAL 0.5; \ + in: 0.2 0.5; \ + after: _NAME"1"; \ + } \ + program { name: _NAME"4"; \ + action: STATE_SET "col5" 0.0; \ + target: _NAME"_base"; \ + target: _NAME"_glow"; \ + transition: SINUSOIDAL 0.5; \ + in: 0.2 0.5; \ + after: _NAME"1"; \ + } \ + program { name: _NAME"5"; \ + action: STATE_SET "col6" 0.0; \ + target: _NAME"_base"; \ + target: _NAME"_glow"; \ + transition: SINUSOIDAL 0.5; \ + in: 0.2 0.5; \ + after: _NAME"1"; \ + } \ + program { name: _NAME"6"; \ + action: STATE_SET "default" 0.0; \ + target: _NAME"_base"; \ + target: _NAME"_glow"; \ + transition: SINUSOIDAL 0.5; \ + in: 0.2 0.5; \ + after: _NAME"1"; \ + } + PROG("l0") + PROG("l-1") + PROG("l-2") + PROG("l-3") + PROG("l+1") + PROG("l+2") + PROG("l+3") +#undef PROG + + program { + signal: "show"; source: ""; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 1.0; + target: "shadow"; + target: "blanker"; + after: "ready"; + } + program { name: "logo_pulse"; + signal: "show"; source: ""; + action: STATE_SET "active" 0.0; + target: "logo_glow"; + transition: BOUNCE 0.8 0.5 6; + after: "logo_pulse2"; + } + program { name: "logo_pulse2"; + action: STATE_SET "default" 0.0; + target: "logo_glow"; + transition: SINUSOIDAL 0.8; + after: "logo_pulse"; + } + program { name: "ready"; + script { + new val; + val = get_int(do_end); + if (val == 1) + run_program(PROGRAM:"exit1"); + else + set_int(is_ready, 1); + } + } + program { + signal: "e,state,done"; source: "e"; + script { + new val; + val = get_int(is_ready); + if (val == 1) + run_program(PROGRAM:"exit1"); + else + set_int(do_end, 1); + } + } + program { name: "exit1"; + signal: "e,state,done"; source: "e"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0 CURRENT; + target: "shadow"; + target: "blanker"; + after: "exit2"; + } + program { name: "exit2"; + action: SIGNAL_EMIT "e,state,done_ok" "e"; + } + } +} + +group { name: "e/init/extra_screen"; + images.image: "screen_circular_shadow.png" COMP; + images.image: "bg_radgrad.png" COMP; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + } + } + 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) + } + } + part { name: "shadow"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: 2.0 2.0; + color: 255 255 255 255; + } + } + part { name: "blanker"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + } + programs { + program { + signal: "show"; source: ""; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 1.0; + target: "shadow"; + target: "blanker"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/label.edc b/legacy/elementary/data/themes/edc/label.edc new file mode 100644 index 0000000000..e5a40808b0 --- /dev/null +++ b/legacy/elementary/data/themes/edc/label.edc @@ -0,0 +1,37 @@ +group { name: "e/widgets/label"; + parts { + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "label_text"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "label"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + } + programs { + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "e.text.label"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/menu.edc b/legacy/elementary/data/themes/edc/menu.edc new file mode 100644 index 0000000000..b03d8f4462 --- /dev/null +++ b/legacy/elementary/data/themes/edc/menu.edc @@ -0,0 +1,532 @@ +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: FNBD; 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: -3 -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; + } + } + part { name: "events"; type: RECT; + description { state: "default"; + color: 0 0 0 0; + } + } + } + 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; mouse_events: 0; + 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"; + scale: 1; + 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: "base"; type: RECT; + description { state: "default"; + color: 0 0 0 0; + } + } + 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: FN; 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: FN; 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: FN; 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"; + 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; + 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"; + description { state: "default" 0.0; + image.normal: "inset_shadow_circle_tiny.png"; + min: 13 13; + max: 13 13; + } + } + part { name: "indicator"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "sym_radio_alum.png"; + min: 11 11; + max: 11 11; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { +// program { +// signal: "e,state,selected"; source: "e"; +// } +// program { +// signal: "e,state,unselected"; source: "e"; +// } + program { + signal: "e,state,on"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "e,state,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/mixer.edc b/legacy/elementary/data/themes/edc/mixer.edc new file mode 100644 index 0000000000..c9b5cc6ac1 --- /dev/null +++ b/legacy/elementary/data/themes/edc/mixer.edc @@ -0,0 +1,226 @@ +group { name: "e/modules/mixer/main"; + images.image: "speaker.png" COMP; + images.image: "inset_round_hilight.png" COMP; + images.image: "inset_round_shadow.png" COMP; + images.image: "inset_round_shading.png" COMP; + images.image: "led_dot_white.png" COMP; + max: 160 160; + min: 16 16; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_INT_SET) && (id == 0)) { + new m, l, r; + + m = getarg(2); + l = getarg(3); + r = getarg(4); + + if (m) { + run_program(PROGRAM:"mute"); + } else { + run_program(PROGRAM:"unmute"); + } + + if (l <= 0) { + run_program(PROGRAM:"l0-off"); + run_program(PROGRAM:"l1-off"); + run_program(PROGRAM:"l2-off"); + run_program(PROGRAM:"l3-off"); + run_program(PROGRAM:"l4-off"); + } else if (l <= 20) { + run_program(PROGRAM:"l0-on"); + run_program(PROGRAM:"l1-off"); + run_program(PROGRAM:"l2-off"); + run_program(PROGRAM:"l3-off"); + run_program(PROGRAM:"l4-off"); + } else if (l <= 40) { + run_program(PROGRAM:"l0-on"); + run_program(PROGRAM:"l1-on"); + run_program(PROGRAM:"l2-off"); + run_program(PROGRAM:"l3-off"); + run_program(PROGRAM:"l4-off"); + } else if (l <= 60) { + run_program(PROGRAM:"l0-on"); + run_program(PROGRAM:"l1-on"); + run_program(PROGRAM:"l2-on"); + run_program(PROGRAM:"l3-off"); + run_program(PROGRAM:"l4-off"); + } else if (l <= 80) { + run_program(PROGRAM:"l0-on"); + run_program(PROGRAM:"l1-on"); + run_program(PROGRAM:"l2-on"); + run_program(PROGRAM:"l3-on"); + run_program(PROGRAM:"l4-off"); + } else { + run_program(PROGRAM:"l0-on"); + run_program(PROGRAM:"l1-on"); + run_program(PROGRAM:"l2-on"); + run_program(PROGRAM:"l3-on"); + run_program(PROGRAM:"l4-on"); + } + + if (r <= 0) { + run_program(PROGRAM:"r0-off"); + run_program(PROGRAM:"r1-off"); + run_program(PROGRAM:"r2-off"); + run_program(PROGRAM:"r3-off"); + run_program(PROGRAM:"r4-off"); + } else if (r <= 20) { + run_program(PROGRAM:"r0-on"); + run_program(PROGRAM:"r1-off"); + run_program(PROGRAM:"r2-off"); + run_program(PROGRAM:"r3-off"); + run_program(PROGRAM:"r4-off"); + } else if (r <= 40) { + run_program(PROGRAM:"r0-on"); + run_program(PROGRAM:"r1-on"); + run_program(PROGRAM:"r2-off"); + run_program(PROGRAM:"r3-off"); + run_program(PROGRAM:"r4-off"); + } else if (r <= 60) { + run_program(PROGRAM:"r0-on"); + run_program(PROGRAM:"r1-on"); + run_program(PROGRAM:"r2-on"); + run_program(PROGRAM:"r3-off"); + run_program(PROGRAM:"r4-off"); + } else if (r <= 80) { + run_program(PROGRAM:"r0-on"); + run_program(PROGRAM:"r1-on"); + run_program(PROGRAM:"r2-on"); + run_program(PROGRAM:"r3-on"); + run_program(PROGRAM:"r4-off"); + } else { + run_program(PROGRAM:"r0-on"); + run_program(PROGRAM:"r1-on"); + run_program(PROGRAM:"r2-on"); + run_program(PROGRAM:"r3-on"); + run_program(PROGRAM:"r4-on"); + } + } + } + } + parts { + part { name: "base-sh"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 -1; + rel2.to: "base"; + rel2.offset: -1 -2; + image.normal: "inset_round_shadow.png"; + } + } + part { name: "base-hi"; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.offset: 0 1; + rel2.to: "base"; + rel2.offset: -1 0; + image.normal: "inset_round_hilight.png"; + } + } + part { name: "base"; + description { state: "default" 0.0; + rel1.relative: (25/380) (25/380); + rel2.relative: (365/380) (365/380); + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "speaker.png"; + } + } + part { name: "state"; type: RECT; + description { state: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: 2.0 2.0; + color: 51 153 255 255; + } + description { state: "mute" 0.0; + inherit: "default" 0.0; + color: 255 153 51 255; + } + } +#define LED(_NAME, _BASE, _X, _SIZE) \ + part { name: _NAME; type: RECT; \ + clip_to: "state"; \ + description { state: "default" 0.0; \ + rel1.relative: ((_BASE+(_X*8))/160) (80/160); \ + rel2.relative: ((_BASE+(_X*8))/160) (80/160); \ + min: 1 1; \ + max: 1 1; \ + visible: 0; \ + color: 255 255 255 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: _NAME"g"; \ + clip_to: "state"; \ + description { state: "default" 0.0; \ + rel1.to: _NAME; \ + rel2.to: _NAME; \ + image.normal: "led_dot_white.png"; \ + min: _SIZE _SIZE; \ + visible: 0; \ + color: 255 255 255 0; \ + } \ + description { state: "active" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } + LED("r0", 99, 0, 1) + LED("r1", 99, 1, 9) + LED("r2", 99, 2, 15) + LED("r3", 99, 3, 21) + LED("r4", 99, 4, 27) + LED("l0", 61, 0, 1) + LED("l1", 61, -1, 9) + LED("l2", 61, -2, 15) + LED("l3", 61, -3, 21) + LED("l4", 61, -4, 27) +#undef LED + part { name: "over"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 0; + } + } + } + programs { + program { name: "mute"; + action: STATE_SET "mute" 0.0; + transition: LINEAR 0.3; + target: "state"; + } + program { name: "unmute"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2; + target: "state"; + } +#define PROG(_NAME) \ + program { name: _NAME"-on"; \ + action: STATE_SET "active" 0.0; \ + target: _NAME; \ + target: _NAME"g"; \ + } \ + program { name: _NAME"-off"; \ + action: STATE_SET "default" 0.0; \ + target: _NAME; \ + target: _NAME"g"; \ + } + PROG("r0") + PROG("r1") + PROG("r2") + PROG("r3") + PROG("r4") + PROG("l0") + PROG("l1") + PROG("l2") + PROG("l3") + PROG("l4") +#undef PROG + } +} + + diff --git a/legacy/elementary/data/themes/edc/music_control.edc b/legacy/elementary/data/themes/edc/music_control.edc new file mode 100644 index 0000000000..f00d243180 --- /dev/null +++ b/legacy/elementary/data/themes/edc/music_control.edc @@ -0,0 +1,118 @@ +group { name: "modules/music-control/icon"; + max: 24 24; + images.image: "music_control_icon.png" COMP; + parts { + part { name: "image"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "music_control_icon.png"; + } + } + } +} + +group { name: "modules/music-control/main"; + images.image: "music_control_icon.png" COMP; + parts { + part { name: "icon"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "music_control_icon.png"; + } + } + } +} + +group { name: "modules/music-control/popup"; + min: 150 50; + images.image: "icon_prev.png" COMP; + images.image: "icon_next.png" COMP; + images.image: "icon_pause.png" COMP; + images.image: "icon_play.png" COMP; + script { + public message(Msg_Type:type, id, ...) { + new txt[128]; + getsarg(2, txt, 128); + set_text(PART:"player_name", txt); + } + } + parts { + part { name: "player_name"; type: TEXT; + description { state: "default" 0; + text.size: 12; + text.text: "Music player"; + text.font: FN; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + rel2.offset: 0 16; + } + } + part { name: "previous_btn"; + description { state: "default" 0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "player_name"; + rel1.relative: 0.0 1.0; + rel2.relative: 0.33 1.0; + image.normal: "icon_prev.png"; + } + } + part { name: "play_btn"; + description { state: "default" 0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "player_name"; + rel1.relative: 0.33 1.0; + rel2.relative: 0.66 1.0; + image.normal: "icon_pause.png"; + } + description { state: "play" 0.0; + inherit: "default" 0.0; + image.normal: "icon_play.png"; + } + } + part { name: "next_btn"; + description { state: "default" 0; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.to: "player_name"; + rel1.relative: 0.66 1.0; + rel2.relative: 1.0 1.0; + image.normal: "icon_next.png"; + } + } + } + programs { + program { + signal: "mouse,clicked,*"; source: "previous_btn"; + action: SIGNAL_EMIT "btn,clicked" "previous"; + } + program { + signal: "mouse,clicked,*"; source: "play_btn"; + action: SIGNAL_EMIT "btn,clicked" "play"; + } + program { + signal: "mouse,clicked,*"; source: "next_btn"; + action: SIGNAL_EMIT "btn,clicked" "next"; + } + program { + signal: "btn,state,image,play"; source: "play"; + action: STATE_SET "play" 0.0; + transition: LINEAR 0.1; + target: "play_btn"; + } + program { + signal: "btn,state,image,play,no_delay"; source: "play"; + action: STATE_SET "play" 0.0; + transition: LINEAR 0.0; + target: "play_btn"; + } + program { + signal: "btn,state,image,pause"; source: "play"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.1; + target: "play_btn"; + } + program { + signal: "mouse,clicked,*"; source: "player_name"; + action: SIGNAL_EMIT "label,clicked" "player_name"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/notification.edc b/legacy/elementary/data/themes/edc/notification.edc new file mode 100644 index 0000000000..878e912a2d --- /dev/null +++ b/legacy/elementary/data/themes/edc/notification.edc @@ -0,0 +1,189 @@ +group { name: "e/modules/notification/logo"; + images.image: "glow_exclam.png" COMP; + parts { + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "glow_exclam.png"; + max: 48 48; + aspect: 1.0 1.0; + } + } + } +} + +group { name: "e/modules/notification/main"; + images.image: "darken_rounded_square.png" COMP; + images.image: "sym_close_light_normal.png" COMP; + images.image: "sym_close_light_selected.png" COMP; + data.item: "app_icon_max" "48 48"; + data.item: "shaped" "1"; + styles { + style { name: "notification_style_nowrap"; + base: "font="FN" font_size=10 align=left color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=none text_class=notification_body"; + tag: "subject" "+ text_class=module_large style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12"; + tag: "body" "+ text_class=module_normal"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "b" "+ font="FNBD" text_class=module_bold"; + tag: "i" "+ font="FNIT" text_class=module_italic"; + tag: "u" "+ underline=on underline_color=#3399ffff"; + tag: "img" ""; // images not supported + tag: "a" ""; // links not supported + } + style { name: "notification_style"; + base: "font="FN" font_size=10 align=left color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word text_class=notification_body"; + tag: "subject" "+ text_class=module_large style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12"; + tag: "body" "+ text_class=module_normal"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "b" "+ font="FNBD" text_class=module_bold"; + tag: "i" "+ font="FNIT" text_class=module_italic"; + tag: "u" "+ underline=on underline_color=#3399ffff"; + tag: "img" ""; // images not supported + tag: "a" ""; // links not supported + } + } + + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "darken_rounded_square.png"; + image.border: 15 15 15 15; + } + } + part { name: "titleclip"; type: RECT; + description { state: "default" 0.0; + rel2.to_x: "e.event.close"; + rel2.relative: 0.0 1.0; + } + } + part { name: "bodyclip"; type: RECT; + description { state: "default" 0.0; + rel2.offset: -13 -13; + min: 220 80; + } + } + part { name: "notification.swallow.app_icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.5; + aspect: 1.0 1.0; + aspect_preference: BOTH; + rel1.offset: 12 12; + rel2.offset: 12 -13; + rel2.relative: 0.0 1.0; + min: 24 24; + } + } + part { name: "notification.textblock.message"; type: TEXTBLOCK; mouse_events: 0; + clip_to: "bodyclip"; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.to_x: "notification.swallow.app_icon"; + rel1.to_y: "notification.text.title"; + rel1.relative: 1.0 1.0; + rel1.offset: 4 4; + rel2.offset: -27 -13; + text { style: "notification_style"; + min: 0 1; + } + fixed: 1 1; + } + } + part { name: "message"; type: TEXTBLOCK; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + max: 500 99999; + rel1.to_x: "notification.swallow.app_icon"; + rel1.to_y: "notification.text.title"; + rel1.relative: 1.0 1.0; + rel1.offset: 4 4; + rel2.offset: -27 -13; + text { style: "notification_style_nowrap"; + text_source: "notification.textblock.message"; + min: 0 1; + } + visible: 0; + } + } + part { name: "notification.text.title"; type: TEXT; mouse_events: 0; + clip_to: "titleclip"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "notification.swallow.app_icon"; + rel1.relative: 1.0 0.0; + rel1.offset: 4 12; + rel2.relative: 0.0 0.0; + rel2.to_x: "e.event.close"; + rel2.offset: -5 12; + color: 255 255 255 255; + color3: 0 0 0 128; + align: 0.0 0.0; + color_class: "notification_title"; + text { font: FNBD; size: 10; + text: "title goes here blah blah"; + min: 0 1; + align: 0.0 0.5; + text_class: "notification_title"; + } + fixed: 0 1; + } + } + part { name: "close"; + 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: "e.event.close"; type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.offset: -13 12; + rel2.relative: 1.0 0.0; + rel2.offset: -13 12; + align: 1.0 0.0; + min: 15 15; + color: 0 0 0 0; + fixed: 1 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "e.event.close"; + action: STATE_SET "selected" 0.0; + target: "close"; + } + program { + signal: "mouse,up,1"; source: "e.event.close"; + action: STATE_SET "default" 0.0; + target: "close"; + } + program { + signal: "mouse,clicked,1"; source: "e.event.close"; + action: SIGNAL_EMIT "notification,close" "theme"; + } + program { + signal: "mouse,clicked,1"; source: "base"; + action: SIGNAL_EMIT "notification,find" "theme"; + } +// program { +// signal: "notification,new"; source: "notification"; +// } +// program { +// signal: "notification,del"; source: "notification"; +// } +// program { +// signal: "notification,deleted"; source: "notification"; +// } + } +} diff --git a/legacy/elementary/data/themes/edc/pager.edc b/legacy/elementary/data/themes/edc/pager.edc new file mode 100644 index 0000000000..885881729b --- /dev/null +++ b/legacy/elementary/data/themes/edc/pager.edc @@ -0,0 +1,465 @@ +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: FNBD; 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"; + 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: FN; 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 { name: "sel"; + 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: ACTION_STOP; + target: "sel"; + } + 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; + description { state: "default" 0.0; + } + description { state: "urgent" 0.0; + rel1.offset: 0 -5; + rel2.offset: -1 -6; + } + } + part { name: "win"; mouse_events: 0; + 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; mouse_events: 0; + 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; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + description { state: "preview" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,state,focused"; source: "e"; + action: STATE_SET "active" 0.0; + target: "win"; + } + program { + signal: "e,state,unfocused"; source: "e"; + action: STATE_SET "default" 0.0; + target: "win"; + } + program { + signal: "e,preview,on"; source: "e"; + action: STATE_SET "preview" 0.0; + target: "e.swallow.content"; + target: "e.swallow.icon"; + } + program { + signal: "e,preview,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.content"; + target: "e.swallow.icon"; + } + program { name: "urg1"; + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "urgent" 0.0; + transition: DECELERATE 0.2; + target: "base"; + after: "urg2"; + } + program { name: "urg2"; + signal: "e,state,urgent"; source: "e"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.2; + target: "base"; + after: "urg1"; + } + program { + signal: "e,state,not_urgent"; source: "e"; + action: ACTION_STOP; + target: "urg1"; + target: "urg2"; + after: "urg0"; + } + program { name: "urg0"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/pointer.edc b/legacy/elementary/data/themes/edc/pointer.edc new file mode 100644 index 0000000000..22264718dc --- /dev/null +++ b/legacy/elementary/data/themes/edc/pointer.edc @@ -0,0 +1,454 @@ +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: (5/32) (5/32); + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: (5/32) (5/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; + } + } + } +} + +group { name: "e/pointer/enlightenment/resize_br/color"; + inherit: "e/pointer/enlightenment/default/color"; + images.image: "mini_box_glow.png" COMP; + parts { + part { name: "box"; + insert_after: "glow"; + description { state: "default" 0.0; + image.normal: "mini_box_glow.png"; + image.border: 7 7 7 7; + rel1.relative: 0.3 0.3; + rel2.relative: 0.7 0.7; + } + description { state: "p1" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + } + } + } + programs { + program { name: "box1"; + signal: "load"; source: ""; + action: STATE_SET "p1" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box2"; + } + program { name: "box2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box1"; + } + } +} + +group { name: "e/pointer/enlightenment/resize_tr/color"; + inherit: "e/pointer/enlightenment/resize_br/color"; + parts { + part { name: "box"; + description { state: "default" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 0.7 0.7; + } + description { state: "p1" 0.0; + rel1.relative: 0.3 0.0; + rel2.relative: 1.0 0.7; + } + } + } +} + +group { name: "e/pointer/enlightenment/resize_tl/color"; + inherit: "e/pointer/enlightenment/resize_br/color"; + parts { + part { name: "box"; + description { state: "default" 0.0; + rel1.relative: 0.6 0.6; + rel2.relative: 1.0 1.0; + } + description { state: "p1" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "e/pointer/enlightenment/resize_bl/color"; + inherit: "e/pointer/enlightenment/resize_br/color"; + parts { + part { name: "box"; + description { state: "default" 0.0; + rel1.relative: 0.7 0.3; + rel2.relative: 1.0 0.7; + } + description { state: "p1" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "e/pointer/enlightenment/resize_b/color"; + inherit: "e/pointer/enlightenment/resize_br/color"; + parts { + part { name: "box"; + description { state: "default" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 0.7; + } + description { state: "p1" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "e/pointer/enlightenment/resize_t/color"; + inherit: "e/pointer/enlightenment/resize_br/color"; + parts { + part { name: "box"; + description { state: "default" 0.0; + rel1.relative: 0.3 0.6; + rel2.relative: 1.0 1.0; + } + description { state: "p1" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "e/pointer/enlightenment/resize_l/color"; + inherit: "e/pointer/enlightenment/resize_br/color"; + parts { + part { name: "box"; + description { state: "default" 0.0; + rel1.relative: 0.6 0.3; + rel2.relative: 1.0 1.0; + } + description { state: "p1" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "e/pointer/enlightenment/resize_r/color"; + inherit: "e/pointer/enlightenment/resize_br/color"; + parts { + part { name: "box"; + description { state: "default" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 0.7 1.0; + } + description { state: "p1" 0.0; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + } + } + } +} + +group { name: "e/pointer/enlightenment/hand/color"; + inherit: "e/pointer/enlightenment/default/color"; + images.image: "mini_box_glow.png" COMP; + parts { + part { name: "box"; + insert_after: "glow"; + description { state: "default" 0.0; + image.normal: "mini_box_glow.png"; + image.border: 7 7 7 7; + rel1.relative: 0.5 0.5; + rel2.relative: 1.0 1.0; + } + description { state: "p1" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.2; + rel2.relative: 1.0 0.7; + } + description { state: "p2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.5; + rel2.relative: 0.5 1.0; + } + description { state: "p3" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.2 0.2; + rel2.relative: 0.7 0.7; + } + description { state: "p4" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.3 0.5; + rel2.relative: 0.8 1.0; + } + } + } + programs { + program { name: "box1"; + signal: "load"; source: ""; + action: STATE_SET "p1" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box2"; + } + program { name: "box2"; + action: STATE_SET "p2" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box3"; + } + program { name: "box3"; + action: STATE_SET "p3" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box4"; + } + program { name: "box4"; + action: STATE_SET "p4" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box5"; + } + program { name: "box5"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box1"; + } + } +} + +group { name: "e/pointer/enlightenment/move/color"; + inherit: "e/pointer/enlightenment/hand/color"; + programs { + program { name: "move1"; + signal: "load"; source: ""; + action: STATE_SET "faded" 0.0; + transition: SINUSOIDAL 0.5; + target: "glow"; + after: "move2"; + } + program { name: "move2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + target: "glow"; + after: "move1"; + } + } +} + +group { name: "e/pointer/enlightenment/rotate/color"; + inherit: "e/pointer/enlightenment/default/color"; + images.image: "mini_box_glow.png" COMP; + parts { + part { name: "box"; + insert_after: "glow"; + description { state: "default" 0.0; + image.normal: "mini_box_glow.png"; + image.border: 7 7 7 7; + rel1.relative: 0.3 0.3; + rel2.relative: 0.8 0.8; + map.on: 1; + map.smooth: 1; + map.rotation.center: "box"; + } + description { state: "p1" 0.0; + inherit: "default" 0.0; + map.rotation.z: 30; + } + description { state: "p2" 0.0; + inherit: "default" 0.0; + map.rotation.z: -60; + } + } + } + programs { + program { name: "box1"; + signal: "load"; source: ""; + action: STATE_SET "p1" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box2"; + } + program { name: "box2"; + action: STATE_SET "p2" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box3"; + } + program { name: "box3"; + action: STATE_SET "p1" 0.0; + transition: SINUSOIDAL 0.5; + target: "box"; + after: "box2"; + } + } +} + +group { name: "e/pointer/enlightenment/plus/color"; + inherit: "e/pointer/enlightenment/default/color"; + images.image: "add_glow_small.png" COMP; + parts { + part { name: "add"; + insert_after: "glow"; + description { state: "default" 0.0; + image.normal: "add_glow_small.png"; + aspect: 1.0 1.0; aspect_preference: BOTH; + rel1.relative: 0.3 0.3; + rel2.relative: 1.0 1.0; + align: 1.0 1.0; + max: 21 21; + } + description { state: "faded" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + } + } + programs { + program { name: "fade1"; + signal: "load"; source: ""; + action: STATE_SET "faded" 0.0; + transition: SINUSOIDAL 0.5; + target: "add"; + after: "fade2"; + } + program { name: "fade2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.5; + target: "add"; + after: "fade1"; + } + } +} + +group { name: "e/pointer/enlightenment/entry/color"; + images.image: "pointer_entry_bar.png" COMP; + images.image: "led_dot_white.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "pointer_entry_bar.png"; + max: 15 99999; + min: 15 20; + image.normal: "pointer_entry_bar.png"; + image.border: 0 0 10 10; + rel1.offset: 0 2; + rel2.offset: -1 -3; + } + } + part { name: "e.swallow.hotspot"; type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.relative: 0.5 0.5; + rel1.to: "base"; + rel2.to: "base"; + rel2.relative: 0.5 0.5; + rel2.offset: 0 0; + } + } + part { name: "shine"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "led_dot_white.png"; + max: 27 27; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/preview.edc b/legacy/elementary/data/themes/edc/preview.edc new file mode 100644 index 0000000000..d3d23b9b42 --- /dev/null +++ b/legacy/elementary/data/themes/edc/preview.edc @@ -0,0 +1,49 @@ +group { name: "e/widgets/preview"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + parts { + part { name: "bg"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + color: 64 64 64 255; + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.content"; + rel2.to: "e.swallow.content"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "inset_shadow.png"; + image.border: 5 5 7 3; + image.middle: 0; + rel1.to: "bg"; + rel2.to: "bg"; + fill.smooth: 0; + color: 255 255 255 128; + } + } + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + fill.smooth: 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/radio.edc b/legacy/elementary/data/themes/edc/radio.edc new file mode 100644 index 0000000000..be25e71dff --- /dev/null +++ b/legacy/elementary/data/themes/edc/radio.edc @@ -0,0 +1,141 @@ +group { name: "e/widgets/radio"; + images.image: "inset_shadow_circle_tiny.png" COMP; + images.image: "inset_circle_tiny.png" COMP; + images.image: "sym_radio_alum.png" COMP; + parts { + part { name: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; + image.normal: "inset_shadow_circle_tiny.png"; + align: 0.0 0.5; + min: 13 13; + max: 13 13; + fixed: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "inset_circle_tiny.png"; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "indicator"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to: "inset"; + rel2.to: "inset"; + image.normal: "sym_radio_alum.png"; + min: 11 11; + max: 11 11; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.text.label"; type: TEXT; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.to_x: "inset"; + rel1.relative: 1.0 0.0; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "radio_text"; + text { font: FN; size: 10; + min: 1 1; + align: 0.0 0.5; + text_class: "radio_button"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "e,state,on"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "indicator"; + } + program { + signal: "e,state,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "indicator"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "e,action,toggle" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "inset"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "inset"; + target: "clip"; + target: "e.text.label"; + target: "event"; + } + } +} + +group { name: "e/widgets/radio_icon"; + inherit: "e/widgets/radio"; + parts { + part { name: "e.swallow.icon"; type: SWALLOW; + insert_before: "event"; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel1.relative: 1.0 0.0; + rel1.to_x: "inset"; + rel2.offset: 2 -3; + rel2.relative: 1.0 1.0; + rel1.to_x: "inset"; + align: 0.0 0.5; + aspect: 1.0 1.0; aspect_preference: VERTICAL; + } + } + part { name: "e.text.label"; + description { state: "default" 0.0; + rel1.to_x: "e.swallow.icon"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/randr.edc b/legacy/elementary/data/themes/edc/randr.edc new file mode 100644 index 0000000000..372350ac98 --- /dev/null +++ b/legacy/elementary/data/themes/edc/randr.edc @@ -0,0 +1,686 @@ +group { name: "e/conf/randr/main"; + 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; } + } + part { name: "shadow"; type: IMAGE; 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"; type: IMAGE; 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 -1; + rel1.to: "bg"; + rel2.offset: 0 0; + rel2.to: "bg"; + fill.smooth: 0; + } + } + } +} + +group { name: "e/conf/randr/main/monitor"; + parts { + part { name: "e.swallow.stand"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 1.0; + rel1.relative: 0.0 0.5; + rel2.offset: -1 30; + } + } + part { name: "e.swallow.frame"; type: SWALLOW; + description { state: "default" 0.0; + } + } + } +} + +group { name: "e/conf/randr/main/frame"; + images.image: "hole_tiny.png" COMP; + images.image: "led_tiny_orange.png" COMP; + images.image: "led_tiny_green.png" COMP; + images.image: "screen_bg.png" COMP; + images.image: "screen_fg.png" COMP; + images.image: "shine.png" COMP; + images.image: "mini_blue_glow_arrow_0.png" COMP; + images.image: "mini_blue_glow_arrow_2.png" COMP; + images.image: "sym_down_light_normal.png" COMP; + images.image: "sym_down_light_selected.png" COMP; + images.image: "sym_up_light_normal.png" COMP; + images.image: "sym_up_light_selected.png" COMP; + styles { + style { name: "randr_name_style"; + base: "font="FN" font_size=10 text_class=randr_monitor align=center color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD""; + } + style { name: "randr_resolution_style"; + base: "font="FN" font_size=10 text_class=randr_resolution align=center color=#3399ffff wrap=mixed style=glow glow_color=#3399ff18 align=center glow2_color=#3399ff12"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD""; + } + style { name: "randr_position_style"; + base: "font="FN" font_size=10 text_class=randr_position align=center color=#3399ffff wrap=mixed style=glow glow_color=#3399ff18 align=center glow2_color=#3399ff12"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD""; + } + } + script { + public refresh_open; + } + parts { + part { name: "primary"; type: IMAGE; + description { state: "default" 0.0; + image.normal: "glow_small.png"; + image.border: 7 7 7 7; + rel1.offset: -4 -4; + rel2.offset: 3 3; + visible: 0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "screen_bg.png"; + image.border: 4 4 4 4; + } + } + part { name: "e.swallow.preview"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 5 5; + rel2.offset: -6 -11; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.preview"; + rel2.to: "e.swallow.preview"; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; +// color: 64 64 64 255; + } + } + part { name: "e.box.clone"; type: BOX; + clip_to: "clone_clip"; + description { state: "default" 0.0; + rel1.to: "e.swallow.preview"; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -27; + rel2.relative: 1.0 0.0; + rel2.to_x: "e.swallow.preview"; + rel2.to_y: "e.event.indicator"; + box { + layout: "horizontal"; + padding: 2 0; + align: 0.0 0.5; + min: 1 1; + } + } + } + part { name: "clone_clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.box.clone"; + rel2.to: "e.box.clone"; + } + } + part { name: "drop_zone"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "e.swallow.preview"; + rel2.to: "e.swallow.preview"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 51 153 255 64; + visible: 1; + } + } + part { name: "hole"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 4 -5; + rel1.relative: 0.0 1.0; + rel2.offset: 4 -5; + rel2.relative: 0.0 1.0; + align: 0.0 1.0; + min: 4 4; + max: 4 4; + image.normal: "hole_tiny.png"; + fixed: 1 1; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "screen_fg.png"; + image.border: 4 4 4 4; + } + } + 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_green.png"; + fixed: 1 1; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } + description { state: "off" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.text.name"; type: TEXTBLOCK; mouse_events: 0; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel1.to: "e.swallow.preview"; + rel2.relative: 0.5 0.5; + rel2.to: "e.swallow.preview"; + align: 0.5 1.0; + text { style: "randr_name_style"; + min: 1.0 1.0; + } + } + } + part { name: "e.text.resolution"; type: TEXTBLOCK; mouse_events: 0; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 0.5; + rel1.to: "e.swallow.preview"; + rel2.relative: 0.5 0.5; + rel2.to: "e.swallow.preview"; + align: 0.5 0.0; + text { style: "randr_resolution_style"; + min: 1.0 1.0; + } + } + } + part { name: "e.text.position"; type: TEXTBLOCK; mouse_events: 0; + clip_to: "clip"; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.5 1.0; + rel1.to_x: "e.swallow.preview"; + rel1.to_y: "e.text.resolution"; + rel2.relative: 0.5 0.5; + rel2.to: "e.swallow.preview"; + align: 0.5 0.0; + text { style: "randr_position_style"; + min: 1.0 1.0; + } + } + } + part { name: "scr_shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -1; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 3; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + part { name: "rsz1"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + rel1.to: "e.event.resize"; + rel2.to: "e.event.resize"; + image.normal: "mini_blue_glow_arrow_2.png"; + FIXED_SIZE(10, 10) + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: -1.0 -1.0; + color: 255 255 255 0; + } + } + part { name: "rsz2"; mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "e.event.resize"; + rel2.to: "e.event.resize"; + image.normal: "mini_blue_glow_arrow_0.png"; + FIXED_SIZE(10, 10) + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + rel1.relative: 2.0 2.0; + rel2.relative: 2.0 2.0; + color: 255 255 255 0; + } + } + part { name: "rotc"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.offset: 16 16; + rel2.offset: -17 -17; + max: 1 1; + align: 0.9 0.1; + } + } + part { name: "rot1"; mouse_events: 0; + description { state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 0.0; + rel1.to: "e.event.rotate"; + rel2.to: "e.event.rotate"; + image.normal: "mini_blue_glow_arrow_2.png"; + FIXED_SIZE(10, 10) + map.on: 1; + map.smooth: 1; + map.rotation.center: "rotc"; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + map.rotation.z: -60; + } + } + part { name: "rot2"; mouse_events: 0; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + rel1.to: "e.event.rotate"; + rel2.to: "e.event.rotate"; + image.normal: "mini_blue_glow_arrow_0.png"; + FIXED_SIZE(10, 10) + map.on: 1; + map.smooth: 1; + map.rotation.center: "rotc"; + } + description { state: "pulse" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + map.rotation.z: 60; + } + } + part { name: "e.swallow.refresh"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.to_y: "e.swallow.preview"; + rel1.to_x: "e.event.arrow.show"; + rel1.relative: 1.0 0.0; + rel2.to: "e.swallow.preview"; + rel2.relative: 0.0 0.0; + align: 0.0 1.0; + } + description { state: "expanded" 0.0; + inherit: "default" 0.0; + align: 0.0 0.0; + } + } + part { name: "arrow1clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.event.arrow.show"; + rel2.to: "e.event.arrow.show"; + } + description { state: "expanded" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow2clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.event.arrow.show"; + rel2.to: "e.event.arrow.show"; + visible: 0; + } + description { state: "expanded" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "arrow1"; mouse_events: 0; + clip_to: "arrow1clip"; + description { state: "default" 0.0; + rel1.to: "e.event.arrow.show"; + rel2.to: "e.event.arrow.show"; + image.normal: "sym_down_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_down_light_selected.png"; + } + } + part { name: "arrow2"; mouse_events: 0; + clip_to: "arrow2clip"; + description { state: "default" 0.0; + rel1.to: "e.event.arrow.show"; + rel2.to: "e.event.arrow.show"; + image.normal: "sym_up_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_up_light_selected.png"; + } + } + part { name: "e.event.arrow.show"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + max: 21 21; + align: 0.0 0.0; + } + } + part { name: "e.event.rotate"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + max: 21 21; + align: 1.0 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.event.indicator"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + max: 15 15; + max: 21 21; + align: 0.0 1.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.event.resize"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + max: 21 21; + align: 1.0 1.0; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "e.event.arrow.show"; + action: STATE_SET "clicked" 0.0; + target: "arrow1"; + target: "arrow2"; + } + program { + signal: "mouse,up,1"; source: "e.event.arrow.show"; + action: STATE_SET "default" 0.0; + target: "arrow1"; + target: "arrow2"; + } + program { + signal: "mouse,clicked,1"; source: "e.event.arrow.show"; + script { + new shown; + + shown = get_int(refresh_open); + if (shown) { + run_program(PROGRAM:"refresh_hide"); + set_state(PART:"arrow1clip", "default", 0.0); + set_state(PART:"arrow2clip", "default", 0.0); + } else { + run_program(PROGRAM:"refresh_show"); + set_state(PART:"arrow1clip", "expanded", 0.0); + set_state(PART:"arrow2clip", "expanded", 0.0); + } + set_int(refresh_open, 1 - shown); + } + } + program { name: "refresh_show"; + action: STATE_SET "expanded" 0.0; + transition: BOUNCE 1.0 0.5 4; + target: "e.swallow.refresh"; + } + program { name: "refresh_hide"; + action: STATE_SET "default" 0.0; + transition: ACCELERATE 0.5; + target: "e.swallow.refresh"; + } + program { name: "rrpulse1"; + signal: "show"; source: ""; + action: STATE_SET "pulse" 0.0; + transition: DECELERATE 1.0; + target: "rsz1"; + target: "rsz2"; + target: "rot1"; + target: "rot2"; + after: "rrpulse2"; + } + program { name: "rrpulse2"; + action: STATE_SET "default" 0.0; + target: "rsz1"; + target: "rsz2"; + target: "rot1"; + target: "rot2"; + after: "rrpulse1"; + } + program { name: "pulse1"; + signal: "show"; source: ""; + action: STATE_SET "pulse" 0.0; + transition: SINUSOIDAL 0.3; + target: "led"; + after: "pulse2"; + } + program { name: "pulse2"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 0.3; + target: "led"; + after: "pulse1"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "clip"; + target: "led"; + after: "pulse1"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: ACTION_STOP; + target: "pulse1"; + target: "pulse2"; + after: "off"; + } + program { name: "off"; + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "off" 0.0; + target: "led"; + target: "clip"; + } + program { + signal: "e,state,drop,on"; source: "e"; + action: STATE_SET "active" 0.0; + target: "drop_zone"; + } + program { + signal: "e,state,drop,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "drop_zone"; + } + program { name: "rotate_off"; + signal: "e,state,rotate_disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "e.event.rotate"; + } + program { + signal: "e,state,indicator,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.event.indicator"; + } + program { + signal: "e,state,indicator,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "e.event.indicator"; + } + program { + signal: "e,state,primary,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "primary"; + } + program { + signal: "e,state,primary,on"; source: "e"; + action: STATE_SET "on" 0.0; + target: "primary"; + } + program { + signal: "mouse,in"; source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,in" "e"; + } + program { + signal: "mouse,out"; source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,out" "e"; + } + program { + signal: "mouse,down,1"; source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,start" "e"; + } + program { + signal: "mouse,up,1"; source: "e.event.resize"; + action: SIGNAL_EMIT "e,action,resize,stop" "e"; + } + program { + signal: "mouse,in"; source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,in" "e"; + } + program { + signal: "mouse,out"; source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,out" "e"; + } + program { + signal: "mouse,down,1"; source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,start" "e"; + } + program { + signal: "mouse,up,1"; source: "e.event.rotate"; + action: SIGNAL_EMIT "e,action,rotate,stop" "e"; + } + program { + signal: "mouse,in"; source: "e.event.indicator"; + action: SIGNAL_EMIT "e,action,indicator,in" "e"; + } + program { + signal: "mouse,out"; source: "e.event.indicator"; + action: SIGNAL_EMIT "e,action,indicator,out" "e"; + } + program { + signal: "mouse,clicked,1"; source: "e.event.indicator"; + action: SIGNAL_EMIT "e,action,indicator,toggle" "e"; + } + } +} + +group { name: "e/conf/randr/main/stand"; + images.image: "screen_base.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + min: 64 50; + max: 64 99999; + image.normal: "screen_base.png"; + image.border: 0 0 0 48; + fill.smooth: 0; + } + } + } +} + +group { name: "e/conf/randr/main/mini"; + images.image: "hole_tiny.png" COMP; + images.image: "led_tiny_green.png" COMP; + images.image: "screen_bg.png" COMP; + images.image: "screen_fg.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "screen_bg.png"; + image.border: 4 4 4 4; + } + } + part { name: "e.swallow.preview"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 5 5; + rel2.offset: -6 -11; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "e.swallow.preview"; + rel2.to: "e.swallow.preview"; + } + } + part { name: "hole"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 4 -5; + rel1.relative: 0.0 1.0; + rel2.offset: 4 -5; + rel2.relative: 0.0 1.0; + align: 0.0 1.0; + min: 4 4; + max: 4 4; + image.normal: "hole_tiny.png"; + fixed: 1 1; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "screen_fg.png"; + image.border: 4 4 4 4; + } + } + 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_green.png"; + fixed: 1 1; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/scrollframe.edc b/legacy/elementary/data/themes/edc/scrollframe.edc new file mode 100644 index 0000000000..52acdb07fa --- /dev/null +++ b/legacy/elementary/data/themes/edc/scrollframe.edc @@ -0,0 +1,711 @@ +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"; + } + +// 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"; + } + + 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: "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: "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: "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; + } + } + } + programs { + 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"; + } + 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"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/shelf.edc b/legacy/elementary/data/themes/edc/shelf.edc new file mode 100644 index 0000000000..694257570d --- /dev/null +++ b/legacy/elementary/data/themes/edc/shelf.edc @@ -0,0 +1,287 @@ +group { name: "e/shelf/default/base"; + alias: "e/shelf/alternate/base"; + data { + /* this tells e the shelf is shaped, not rectangular */ +// item: "shaped" "1"; + /* this tells e the number of pixels of the shelf to leave "exposed" + * when auto-hiding the shelf */ + item: "hidden_state_size" "2"; + /* This makes the border hide instantly after the given amount of + * seconds - in this case 3 seconds. This means there will be no + * visible part of the shelf after this time at all as it will be + * totally hidden */ +// item: "instant_delay" "3.0"; + } + images.image: "vgrad_med.png" COMP; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "holes_vert.png" COMP; + images.image: "holes_horiz.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "bg"; + 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; mouse_events: 0; + 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"; mouse_events: 1; + 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; mouse_events: 0; + description { state: "default" 0.0; + color: 255 255 255 255; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/slider.edc b/legacy/elementary/data/themes/edc/slider.edc new file mode 100644 index 0000000000..a532516d98 --- /dev/null +++ b/legacy/elementary/data/themes/edc/slider.edc @@ -0,0 +1,451 @@ +group { name: "e/widgets/slider_horizontal"; + images.image: "slider_run_base_horiz.png" COMP; + images.image: "slider_run_bevel_horiz.png" COMP; + images.image: "slider_run_base_light_horiz.png" COMP; + images.image: "horiz_glow_run.png" COMP; + images.image: "knob_round_small_normal.png" COMP; + images.image: "knob_round_small_selected.png" COMP; + parts { + part { name: "bg"; type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 42 21; + color: 0 0 0 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel2.relative: 0.0 1.0; + rel2.offset: -2 -1; + rel2.to_x: "e.text.label"; + } + } + part { name: "base"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "slider_run_base_horiz.png"; + image.border: 4 4 0 0; + fill.smooth: 0; + min: 8 5; + max: 99999 5; + fixed: 0 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "slider_run_base_light_horiz.png"; + } + } + part { name: "glow"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "horiz_glow_run.png"; + rel1.offset: 1 1; + rel1.to: "base"; + rel2.relative: 0.5 1.0; + rel2.offset: -1 -2; + rel2.to_x: "knob"; + rel2.to_y: "base"; + image.border: 0 4 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 64; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "slider_run_bevel_horiz.png"; + image.border: 5 5 0 0; + fill.smooth: 0; + } + } + part { name: "clip1"; type: RECT; + description { state: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + clip_to: "clip1"; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel1.relative: 1.0 0.0; + rel2.offset: -1 -1; + align: 1.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "slider_text"; + text { font: FN; 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: FN; 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: FN; 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: FN; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "slider"; + } + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "knob"; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel1.to: "e.dragable.slider"; + rel2.offset: 0 0; + rel2.to: "e.dragable.slider"; + image.normal: "knob_round_small_normal.png"; + min: 23 23; + max: 23 23; + fixed: 1 1; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "knob_round_small_selected.png"; + } + } + part { name: "e.swallow.bar"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to_x: "bg"; + rel1.offset: 0 1; + rel2.to_x: "bg"; + rel2.offset: -1 -2; + } + } + part { name: "e.dragable.slider"; type: RECT; + scale: 1; + dragable.x: 0 0 0; + dragable.y: -1 1 0; + dragable.confine: "bg"; + description { state: "default" 0.0; + min: 21 21; + max: 21 21; + rel1.relative: 0.0 0.5; + rel1.to_x: "bg"; + rel2.relative: 1.0 0.5; + rel2.to_x: "bg"; + color: 0 0 0 0; + fixed: 1 1; + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "e.dragable.slider"; + action: STATE_SET "clicked" 0.0; + target: "knob"; + } + program { + signal: "mouse,up,1"; source: "e.dragable.slider"; + action: STATE_SET "default" 0.0; + target: "knob"; + } + program { + signal: "e,action,show,label"; source: "e"; + action: STATE_SET "active" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + program { + signal: "e,action,hide,label"; source: "e"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "e.text.label"; + target: "label2"; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "glow"; + target: "base"; + target: "clip1"; + target: "clip2"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "glow"; + target: "base"; + target: "clip1"; + target: "clip2"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/spectrum.edc b/legacy/elementary/data/themes/edc/spectrum.edc new file mode 100644 index 0000000000..0cf36e7797 --- /dev/null +++ b/legacy/elementary/data/themes/edc/spectrum.edc @@ -0,0 +1,139 @@ +group { name: "e/widgets/spectrum"; + images.image: "inset_shadow.png" COMP; + images.image: "bevel_in.png" COMP; + images.image: "dot_pattern.png" COMP; + images.image: "col_sel_end_bottom.png" COMP; + images.image: "col_sel_end_top.png" COMP; + images.image: "col_sel_end_left.png" COMP; + images.image: "col_sel_end_right.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: "pat"; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + image.normal: "dot_pattern.png"; + TILED_PATTERN(256, 256) + } + } + 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: 3 3; + rel2.offset: -4 -4; + } + } + 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: "e.dragable.cursor"; type: RECT; + dragable.confine: "e.swallow.content"; + dragable.x: 1 1 0; + dragable.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"; + rel1.relative: 0.5 0.5; + rel2.to: "e.swallow.content"; + rel2.relative: 0.5 0.5; + } + } + part { name: "end1"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_top.png"; + FIXED_SIZE(11, 8) + align: 0.5 0.0; + rel1.to: "cursor_x"; + rel2.to: "cursor_x"; + } + } + part { name: "end2"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_bottom.png"; + FIXED_SIZE(11, 8) + align: 0.5 1.0; + rel1.to: "cursor_x"; + rel2.to: "cursor_x"; + } + } + part { name: "end3"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_left.png"; + FIXED_SIZE(8, 11) + align: 0.0 0.5; + rel1.to: "cursor_y"; + rel2.to: "cursor_y"; + } + } + part { name: "end4"; mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "col_sel_end_right.png"; + FIXED_SIZE(8, 11) + align: 1.0 0.5; + rel1.to: "cursor_y"; + rel2.to: "cursor_y"; + } + } + part { name: "cursor_x"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "e.dragable.cursor"; + rel1.to_y: "e.swallow.content"; + rel2.to_x: "e.dragable.cursor"; + rel2.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"; + rel1.to_y: "e.dragable.cursor"; + rel2.to_x: "e.swallow.content"; + rel2.to_y: "e.dragable.cursor"; + color: 255 255 255 150; + } + } + part { name: "inset"; + description { state: "default" 0.0; + image.normal: "bevel_in.png"; + image.border: 1 1 1 1; + image.middle: 0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + fill.smooth: 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/start.edc b/legacy/elementary/data/themes/edc/start.edc new file mode 100644 index 0000000000..7c8d34f2cc --- /dev/null +++ b/legacy/elementary/data/themes/edc/start.edc @@ -0,0 +1,117 @@ +group { name: "e/modules/start/main"; + images.image: "big_arrow_down.png" COMP; + images.image: "big_arrow_down_shadow.png" COMP; + images.image: "big_arrow_up.png" COMP; + images.image: "big_arrow_up_shadow.png" COMP; + images.image: "big_arrow_left.png" COMP; + images.image: "big_arrow_left_shadow.png" COMP; + images.image: "big_arrow_right.png" COMP; + images.image: "big_arrow_right_shadow.png" COMP; + max: 128 128; + parts { + part { name: "arrow_base"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + color: 255 255 255 255; + } + description { state: "active" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + color: 255 255 255 128; + } + } + part { name: "shadow"; + clip_to: "arrow_base"; + description { state: "default" 0.0; + image.normal: "big_arrow_up_shadow.png"; + rel1.to: "arrow_base"; + rel2.to: "arrow_base"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "down" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_down_shadow.png"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_left_shadow.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_right_shadow.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + } + part { name: "arrow"; + description { state: "default" 0.0; + image.normal: "big_arrow_up.png"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "down" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_down.png"; + aspect: (17/14) (17/14); + max: 17 14; + } + description { state: "left" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_left.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + description { state: "right" 0.0; + inherit: "default" 0.0; + image.normal: "big_arrow_right.png"; + aspect: (14/17) (14/17); + max: 14 17; + } + } + part { name: "events"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,state,focused"; + source: "e"; + action: STATE_SET "active" 0.0; + target: "arrow_base"; + } + program { + signal: "e,state,unfocused"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "arrow_base"; + } +#define ORIENT_SATE(_ORIENT, _STATE) \ + program { \ + signal: "e,state,orientation,"_ORIENT; source: "e"; \ + action: STATE_SET _STATE 0.0; \ + target: "arrow"; \ + target: "shadow"; \ + } + ORIENT_SATE("top", "down") + ORIENT_SATE("top_left", "down") + ORIENT_SATE("top_right", "down") + ORIENT_SATE("bottom", "default") + ORIENT_SATE("bottom_left", "default") + ORIENT_SATE("bottom_right", "default") + ORIENT_SATE("left", "right") + ORIENT_SATE("left_top", "right") + ORIENT_SATE("left_bottom", "right") + ORIENT_SATE("right", "left") + ORIENT_SATE("right_top", "left") + ORIENT_SATE("right_bottom", "left") +#undef ORIENT_SATE + } +} diff --git a/legacy/elementary/data/themes/edc/sys.edc b/legacy/elementary/data/themes/edc/sys.edc new file mode 100644 index 0000000000..a448566708 --- /dev/null +++ b/legacy/elementary/data/themes/edc/sys.edc @@ -0,0 +1,103 @@ +group { name: "e/sys/logout"; + alias: "e/sys/halt"; + alias: "e/sys/reboot"; + alias: "e/sys/suspend"; + alias: "e/sys/hibernate"; + data.item: "borderless" "1"; + + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + + styles { + style { name: "sys_style"; + base: "font="FN" 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="FNBD""; + tag: "hilight" "+ font="FNBD" text_class=tb_light"; + tag: "urgent" "+ font="FNBD" color=#f40f style=outline outline_color=#ff000080"; + tag: "title" "+ font="FNBD" font_size=16 underline=on underline_color=#3399ff"; + } + } + 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.textblock.message"; type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 1.0 0.0; + rel1.to_x: "knob"; + rel1.offset: 8 8; + rel2.offset: -9 -9; + min: 20 80; + text { style: "sys_style"; + min: 1 1; + } + } + } + part { name: "knob"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "knob_round_busy.png"; + rel1.relative: 0.0 0.0; + rel1.offset: 7 7; + rel2.relative: 0.0 1.0; + rel2.offset: 7 -8; + align: 0.0 0.5; + FIXED_SIZE(40, 40) + } + } + part { name: "knob_spinner"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "knob"; + rel2.to: "knob"; + image.normal: "glow_round_corners.png"; + map.on: 1; + map.smooth: 1; + map.rotation.center: "knob"; + fixed: 1 1; + } + description { state: "spin" 0.0; + inherit: "default" 0.0; + map.rotation.z: 360; + } + } + part { name: "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 { name: "spin"; + signal: "show"; source: ""; + 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"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/syscon.edc b/legacy/elementary/data/themes/edc/syscon.edc new file mode 100644 index 0000000000..f981916425 --- /dev/null +++ b/legacy/elementary/data/themes/edc/syscon.edc @@ -0,0 +1,256 @@ +group { name: "e/widgets/syscon/main"; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + parts { + part { name: "bg"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_tall.png"; + fill.smooth: 0; + TILED_HORIZ(40) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.swallow.main"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 3; + rel2.relative: 1.0 0.0; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "e.swallow.secondary"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.main"; + rel1.relative: 0.0 1.0; + rel2.to: "e.swallow.main"; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "e.swallow.extra"; type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "e.swallow.secondary"; + rel1.relative: 0.0 1.0; + rel2.to: "e.swallow.secondary"; + align: 0.5 0.0; + fixed: 0 1; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -6 -6; + rel1.to: "e.text.label"; + rel2.offset: 5 5; + rel2.to: "e.text.label"; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 0 12; + rel1.relative: 0.5 0.0; + rel1.to_y: "e.swallow.extra"; + rel2.offset: -1 -14; + rel2.relative: 0.5 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "button_text"; + align: 0.5 1.0; + text { font: FN; 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: FN; 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: FN; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "button"; + } + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "event"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "event"; + action: SIGNAL_EMIT "e,action,click" ""; + } + program { + signal: "e,state,disabled"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "event"; + target: "icon_clip"; + target: "label_clip"; + target: "label2"; + } + program { + signal: "e,state,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "event"; + target: "icon_clip"; + target: "label_clip"; + target: "label2"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/systray.edc b/legacy/elementary/data/themes/edc/systray.edc new file mode 100644 index 0000000000..6a97f1ae57 --- /dev/null +++ b/legacy/elementary/data/themes/edc/systray.edc @@ -0,0 +1,153 @@ +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.xembed.size"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + rel1.to: "e.xembed.box"; + rel2.to: "e.xembed.box"; + align: 0.0 0.5; + } + } + part { name: "e.xembed.box"; type: BOX; + description { state: "default" 0.0; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + 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; + } + } + } + part { name: "e.dbus_notifier.box"; type: BOX; + description { state: "default" 0.0; + align: 1.0 0.5; + rel1 { + relative: 1.0 0.0; + to: "e.xembed.box"; + } + 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.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,vert"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,left"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,right"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,top"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,bottom"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_tl"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_tr"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_bl"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_br"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_lt"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_rt"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_lb"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + program { + signal: "e,action,orient,corner_rb"; source: "e"; + action: STATE_SET "vertical" 0.0; + target: "e.xembed.box"; + target: "e.dbus_notifier.box"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/tasks.edc b/legacy/elementary/data/themes/edc/tasks.edc new file mode 100644 index 0000000000..8468496b2f --- /dev/null +++ b/legacy/elementary/data/themes/edc/tasks.edc @@ -0,0 +1,394 @@ +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: 3 3; + rel2.offset: -4 -4; + 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: FN; 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: "icon2"; + 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: FN; 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"; + } + description { state: "icon_only" 0.0; + inherit: "default" 0.0; + align: 0.5 0.5; + rel1.offset: 2 2; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + } + description { state: "text_only" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + } + } + part { name: "icon2"; type: SPACER; + description { state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + } + description { state: "icon_only" 0.0; + inherit: "default" 0.0; + } + description { state: "text_only" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + rel2.relative: 0.0 1.0; + } + } + 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: "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: "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.to: "icon"; + 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: "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"; + } + program { + signal: "e,state,icon_only"; source: "e"; + action: STATE_SET "icon_only" 0.0; + target: "icon"; + target: "icon2"; + } + program { + signal: "e,state,text_only"; source: "e"; + action: STATE_SET "text_only" 0.0; + target: "icon"; + target: "icon2"; + } + } +} + +group { name:"e/modules/tasks/item_vert"; + inherit: "e/modules/tasks/item"; + parts { + part { name: "sel_label"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel1.to: "icon"; + rel2.offset: -1 -1; + rel2.to: "icon"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name: "e.text.label"; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel1.to: "icon"; + rel2.offset: -1 -1; + rel2.to: "icon"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { name: "icon"; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.offset: 2 2; + rel2.relative: 1.0 1.0; + rel2.offset: -3 -3; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/temperature.edc b/legacy/elementary/data/themes/edc/temperature.edc new file mode 100644 index 0000000000..695b8d9b1c --- /dev/null +++ b/legacy/elementary/data/themes/edc/temperature.edc @@ -0,0 +1,119 @@ +group { name: "e/modules/temperature/main"; + images.image: "therm_content.png" COMP; + images.image: "therm_shadow.png" COMP; + images.image: "therm_shine.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: "shadow"; + description { state: "default" 0.0; + aspect: 0.5 0.5; aspect_preference: BOTH; + align: 0.5 0.5; + max: 80 160; + image.normal: "therm_shadow.png"; + } + } + part { name: "temp"; + clip_to: "temp_clip"; + description { state: "default" 0.0; + rel1.to: "shadow"; + rel2.to: "shadow"; + image.normal: "therm_content.png"; + } + } + part { name: "overlay"; + description { state: "default" 0.0; + rel1.to: "shadow"; + rel2.to: "shadow"; + image.normal: "therm_shine.png"; + } + } + part { name: "e.text.reading"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + clip_to: "fade_clip"; + description { state: "default" 0.0; + color: 255 255 255 0; + color2: 0 0 0 255; + color3: 0 0 0 0; + color_class: "module_label"; + text { font: FN; size: 10; + min: 1 1; + text_class: "module_small"; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + color3: 0 0 0 128; + } + } + part { name: "fade_clip"; type: RECT; + 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"; + description { state: "default" 0.0; + rel1.to_y: "temp_top"; + } + } + part { name: "temp_top"; type: SPACER; + dragable.x: 0 0 0; + dragable.y: -1 1 0; + dragable.confine: "temp_limit"; + description { state: "default" 0.0; + } + } + part { name: "temp_limit"; type: SPACER; + description { state: "default" 0.0; + rel1.relative: 0.0 0.1; + rel2.relative: 1.0 0.9; + } + } + part { name: "over"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "mouse,in"; source: "over"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.3; + target: "e.text.reading"; + } + program { + signal: "mouse,out"; source: "over"; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "e.text.reading"; + } + program { + signal: "e,state,known"; source: "e"; + action: STATE_SET "default" 0.0; + target: "fade_clip"; + } + program { + signal: "e,state,unknown"; source: "e"; + action: STATE_SET "faded" 0.0; + target: "fade_clip"; + } + } +} + + diff --git a/legacy/elementary/data/themes/edc/textblock.edc b/legacy/elementary/data/themes/edc/textblock.edc new file mode 100644 index 0000000000..448355f9da --- /dev/null +++ b/legacy/elementary/data/themes/edc/textblock.edc @@ -0,0 +1,25 @@ +group { name: "e/widgets/textblock"; + styles { + style { name: "textblock_style"; + base: "font="FN" 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="FNBD""; + tag: "hilight" "+ font="FNBD" text_class=tb_light"; + tag: "urgent" "+ font="FNBD" color=#f40f style=outline outline_color=#ff000080"; + tag: "title" "+ font="FNBD" font_size=16 underline=on underline_color=#3399ff"; + } + } + parts { + part { name: "e.textblock.text"; type: TEXTBLOCK; mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + text { + style: "textblock_style"; + min: 1 1; + } + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/toolbar.edc b/legacy/elementary/data/themes/edc/toolbar.edc new file mode 100644 index 0000000000..98364fa95b --- /dev/null +++ b/legacy/elementary/data/themes/edc/toolbar.edc @@ -0,0 +1,358 @@ +group { name: "e/widgets/toolbar"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "shadow_square_tiny.png" COMP; + images.image: "sym_left_light_normal.png" COMP; + images.image: "sym_right_light_normal.png" COMP; + images.image: "sym_left_glow_normal.png" COMP; + images.image: "sym_right_glow_normal.png" COMP; + parts { + part { name: "shadow"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 0; + rel2.offset: 0 1; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "base"; + description { state: "default" 0.0; + image.normal: "vgrad_med_lighter.png"; + rel1.offset: 2 2; + rel2.offset: -3 -3; + fill.smooth: 0; + TILED_HORIZ(120) + } + } + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; +// rel1.to: "clipper"; +// rel2.to: "clipper"; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "e.dragable.hbar"; mouse_events: 0; + dragable.x: 1 1 0; + dragable.y: 0 0 0; + dragable.confine: "base"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + visible: 0; + } + } + part { name: "arrow_clipper"; type: RECT; + description { state: "default" 0.0; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "arrow1"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow1_ev"; + rel2.to: "arrow1_ev"; + image.normal: "sym_left_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_left_glow_normal.png"; + } + } + part { name: "arrow1_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 0.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + part { name: "arrow2"; mouse_events: 0; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "arrow2_ev"; + rel2.to: "arrow2_ev"; + image.normal: "sym_right_light_normal.png"; + FIXED_SIZE(15, 15) + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "sym_right_glow_normal.png"; + } + } + part { name: "arrow2_ev"; type: RECT; + scale: 1; + clip_to: "arrow_clipper"; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + align: 1.0 0.5; + color: 0 0 0 0; + FIXED_SIZE(23, 23) + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + } + programs { + program { + signal: "e,action,show,hbar"; source: "e"; + action: STATE_SET "default" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + program { + signal: "e,action,hide,hbar"; source: "e"; + action: STATE_SET "hidden" 0.0; + target: "arrow_clipper"; + target: "arrow_clipper"; + } + + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: SIGNAL_EMIT "e,action,prev" "e"; + after: "arrow1_repeat"; + } + program { name: "arrow1_repeat"; + action: SIGNAL_EMIT "e,action,prev" "e"; + in: 0.3 0.0; + after: "arrow1_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: ACTION_STOP; + target: "arrow1_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow1_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow1"; + } + program { + signal: "mouse,up,1"; source: "arrow1_ev"; + action: STATE_SET "default" 0.0; + target: "arrow1"; + } + + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: SIGNAL_EMIT "e,action,next" "e"; + after: "arrow2_repeat"; + } + program { name: "arrow2_repeat"; + action: SIGNAL_EMIT "e,action,next" "e"; + in: 0.3 0.0; + after: "arrow2_repeat"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: ACTION_STOP; + target: "arrow2_repeat"; + } + program { + signal: "mouse,down,1*"; source: "arrow2_ev"; + action: STATE_SET "clicked" 0.0; + target: "arrow2"; + } + program { + signal: "mouse,up,1"; source: "arrow2_ev"; + action: STATE_SET "default" 0.0; + target: "arrow2"; + } + } +} + +group { name: "e/widgets/toolbar/item"; + images.image: "shadow_inset_bevels.png" COMP; + images.image: "shadow_angled_in_sides.png" COMP; + images.image: "horizontal_separated_bar_small_glow.png" COMP; + parts { + part { name: "shadow1"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shadow_inset_bevels.png"; + image.border: 2 2 0 1; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "shadow2"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 0; + rel1.to: "shadow1"; + rel2.offset: -2 -1; + rel2.to: "shadow1"; + image.normal: "shadow_angled_in_sides.png"; + image.border: 8 8 0 1; + image.middle: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; + description { state: "default" 0.0; + align: 0.5 0.5; + // aspect: 1.0 1.0; + // aspect_preference: VERTICAL; + rel1.relative: 0.0 0.0; + rel1.offset: 2 2; + rel2.to_y: "e.text.label"; + rel2.relative: 1.0 0.0; + rel2.offset: -3 -1; + } + description { state: "noicon" 0.0; + inherit: "default" 0.0; + visible: 0; + rel1.offset: 2 0; + rel2.relative: 1.0 0.0; + rel2.offset: -3 -4; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + scale: 1; + description { state: "default" 0.0; + rel1.offset: 4 -3; + rel1.relative: 0.0 1.0; + rel2.offset: -5 -3; + align: 0.5 1.0; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "menu_item"; + text { font: FN; 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: FN; size: 10; + text_source: "e.text.label"; + align: 0.5 0.5; + text_class: "menu_item"; + } + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "bar"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -3 -7; + rel1.relative: 0.0 1.0; + rel1.to: "shadow2"; + rel2.offset: 2 2; + rel2.to: "shadow2"; + image.normal: "horizontal_separated_bar_small_glow.png"; + image.border: 4 4 4 4; + fill.smooth: 0; + visible: 0; + } + description { state: "selected" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "event"; type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + signal: "e,icon,disabled"; source: "e"; + action: STATE_SET "noicon" 0.0; + target: "e.swallow.icon"; +// target: "e.text.label"; + } + program { + signal: "e,icon,enabled"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; +// target: "e.text.label"; + } + program { + signal: "e,state,selected"; source: "e"; + action: STATE_SET "selected" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + } + program { + signal: "e,state,unselected"; source: "e"; + action: STATE_SET "default" 0.0; + target: "e.text.label"; + target: "label2"; + target: "shadow1"; + target: "shadow2"; + target: "bar"; + } + program { + signal: "mouse,up,1"; source: "event"; + action: SIGNAL_EMIT "e,action,click" "e"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/transitions.edc b/legacy/elementary/data/themes/edc/transitions.edc new file mode 100644 index 0000000000..b385d0a88b --- /dev/null +++ b/legacy/elementary/data/themes/edc/transitions.edc @@ -0,0 +1,146 @@ +group { name: "e/transpreview/0"; + images.image: "img_example_1.png" LOSSY 92; + parts { + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "bg"; + clip_to: "clip"; + description {state: "default" 0.0; + image.normal: "img_example_1.png"; + ASPECT_FILL((400/300)) + } + } + } +} + +group { name: "e/transpreview/1"; + images.image: "img_example_2.png" LOSSY 92; + parts { + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + } + } + part { name: "bg"; + clip_to: "clip"; + description {state: "default" 0.0; + image.normal: "img_example_2.png"; + ASPECT_FILL((400/300)) + } + } + } +} + +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; + 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 { + 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: "vgrad_shadow_bi.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: "divideold"; + clip_to: "bg_prev_clip"; + description { state: "default" 0.0; + image.normal: "vgrad_shadow_bi.png"; + rel1.to: "bg_prev_clip"; + rel1.relative: 0.0 0.0; + rel2.to: "bg_prev_clip"; + rel2.relative: 1.0 0.0; + min: 0 80; + max: 99999 80; + TILED_HORIZ(80) + } + } + part { name: "dividenew"; + clip_to: "bg_new_clip"; + description { state: "default" 0.0; + image.normal: "vgrad_shadow_bi.png"; + rel1.to: "bg_new_clip"; + rel1.relative: 0.0 1.0; + rel2.to: "bg_new_clip"; + rel2.relative: 1.0 1.0; + min: 0 80; + max: 99999 80; + TILED_HORIZ(80) + } + } + part { name: "bg_prev_clip"; type: RECT; + description { state: "default" 0.0; + rel1.offset: 0 -40; + rel2.offset: -1 39; + } + description { state: "done" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 39; + } + } + part { name: "bg_new_clip"; type: RECT; + description { state: "default" 0.0; + rel2.relative: 1.0 0.0; + rel1.offset: 0 -40; + rel2.offset: -1 -40; + } + description { state: "done" 0.0; + inherit: "default" 0.0; + rel2.relative: 1.0 1.0; + rel2.offset: -1 39; + } + } + programs { + program { + signal: "e,action,start"; source: "e"; + action: STATE_SET "done" 0.0; + transition: SINUSOIDAL 1.0; + target: "bg_new_clip"; + target: "bg_prev_clip"; + after: "go2"; + } + program { name: "go2"; + action: SIGNAL_EMIT "e,state,done" ""; + } + } + } +} diff --git a/legacy/elementary/data/themes/edc/wallpaper.edc b/legacy/elementary/data/themes/edc/wallpaper.edc new file mode 100644 index 0000000000..7dcde10065 --- /dev/null +++ b/legacy/elementary/data/themes/edc/wallpaper.edc @@ -0,0 +1,1700 @@ +///////////////////////////////////////////////////////////////////////////// +/*** WALLPAPER MAIN DIALOG ***/ + + group { + name: "e/conf/wallpaper/main/window"; + images { + image: "O/dia_grad.png" COMP; + image: "O/dia_topshad.png" COMP; + image: "O/dia_botshad.png" COMP; + image: "O/dia_botshad.png" COMP; + image: "O/topsh.png" COMP; + image: "O/wp-bot1.png" COMP; + image: "O/wp-bot2.png" COMP; + image: "O/wp-tb1.png" COMP; + image: "O/wp-tb2.png" COMP; + image: "O/wp-tb3.png" COMP; + image: "O/wp-tbs.png" COMP; + image: "O/big_arrow_up.png" COMP; + image: "O/busy-1.png" COMP; + image: "O/busy-2.png" COMP; + image: "O/busy-3.png" COMP; + image: "O/busy-4.png" COMP; + image: "O/busy-5.png" COMP; + image: "O/busy-6.png" COMP; + image: "O/busy-7.png" COMP; + image: "O/busy-8.png" COMP; + image: "O/busy-9.png" COMP; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + color_class: "dialog_base"; + image.normal: "O/dia_grad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { + name: "e.swallow.preview"; + type: SWALLOW; + description { + state: "default" 0.0; + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "e.swallow.list"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 0.0; + offset: -3 6; + to_y: "bot1"; + } + } + } + part { + name: "bot1"; + mouse_events: 0; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_y: "e.swallow.buttons"; + relative: 0.0 0.0; + offset: 0 -15; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "O/wp-bot1.png"; + border: 0 0 21 0; + } + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 32 0; + } + } + } + } + part { + name: "e.text.filename"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 1.0; + fixed: 0 1; + rel1 { + to: "bot2"; + relative: 0.0 1.0; + offset: 2 -11; + } + rel2 { + to: "bot2"; + relative: 1.0 1.0; + offset: -3 -11; + } + color: 255 255 255 255; + color3: 0 0 0 32; + text { + font: FNBD; + size: 10; + min: 1 1; + align: 0.5 1.0; + } + } + } + part { + name: "e.swallow.buttons"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + to_y: "bot2"; + relative: 1.0 0.0; + offset: -5 1; + } + rel2 { + to_y: "bot2"; + relative: 1.0 0.0; + offset: -5 1; + } + } + } + part { + name: "tbs"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -1; + } + image.normal: "O/wp-tbs.png"; + fill.smooth: 0; + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + rel1 { + to_y: "tb1"; + relative: 0.0 0.0; + offset: 0 -100; + } + rel2 { + to_x: "tb3"; + relative: 1.0 1.0; + offset: 200 -1; + } + } + } + part { + name: "cover"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "tb1"; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_x: "tb2"; + to_y: "aup"; + relative: 0.0 0.0; + offset: 0 -6; + } + rel2 { + to_x: "aup"; + to_y: "tb2"; + relative: 1.0 0.0; + offset: 15 -1; + } + image { + normal: "O/wp-tb1.png"; + border: 2 11 3 0; + } + fill.smooth: 0; + } + } + part { + name: "tb2"; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_x: "e.swallow.extras"; + to_y: "e.swallow.extras"; + relative: 0.0 0.0; + offset: -4 -7; + } + rel2 { + to_x: "e.swallow.extras"; + to_y: "e.swallow.extras"; + relative: 1.0 1.0; + offset: -10 3; + } + image { + normal: "O/wp-tb2.png"; + border: 2 2 4 0; + } + fill.smooth: 0; + } + } + part { + name: "tb3"; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + to_x: "tb2"; + to_y: "tb2"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to_x: "e.swallow.extras"; + to_y: "tb2"; + relative: 1.0 1.0; + offset: 18 -1; + } + image { + normal: "O/wp-tb3.png"; + border: 10 12 4 0; + } + fill.smooth: 0; + } + } + part { + name: "e.swallow.extras"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + rel1 { + relative: 0.0 1.0; + offset: 4 0; + } + rel2 { + relative: 0.0 1.0; + offset: 4 0; + } + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + offset: 4 -10; + } + rel2 { + relative: 0.0 1.0; + offset: 4 -10; + } + } + } + part { + name: "aup"; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.0 1.0; + min: 22 22; + max: 22 22; + rel1 { + to_x: "tb2"; + to_y: "tb2"; + relative: 0.0 0.0; + offset: 5 -5; + } + rel2 { + to_x: "tb2"; + to_y: "tb2"; + relative: 0.0 0.0; + offset: 5 -3; + } + image.normal: "O/big_arrow_up.png"; + } + } + part { + name: "ain"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "aup"; + rel2.to: "aup"; + color: 0 0 0 0; + } + } + part { + name: "aout"; + type: RECT; + description { + state: "default" 0.0; + rel1.to: "aup"; + rel2.to: "aup"; + color: 0 0 0 0; + } + description { + state: "out" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "bot2"; + mouse_events: 0; + description { + state: "default" 0.0; + color_class: "dialog_base"; + rel1 { + relative: 0.0 1.0; + offset: 0 -16; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "O/wp-bot2.png"; + } + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 32 0; + } + } + } + } + part { + name: "shadow1"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + image.normal: "O/topsh.png"; + align: 0.0 0.0; + min: 1 16; + max: 99999 16; + fill.smooth: 0; + } + } + part { + name: "shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.offset: 0 -4; + image.normal: "O/dia_botshad.png"; + fill { + smooth: 0; + size { + relative: 0.0 1.0; + offset: 64 0; + } + } + } + } + part { + name: "busy_clip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "e.text.busy_label"; + type: TEXT; + effect: SOFT_SHADOW; + clip_to: "busy_clip"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + rel1 { + to: "busy"; + relative: 0.0 1.0; + offset: 0 4; + } + rel2 { + to: "busy"; + relative: 1.0 1.0; + offset: -1 4; + } + color: 255 255 255 255; + color3: 0 0 0 32; + text { + font: FNBD; + size: 10; + min: 1 1; + align: 0.5 0.0; + } + } + } + part { + name: "busy"; + mouse_events: 0; + clip_to: "busy_clip"; + description { + state: "default" 0.0; + fixed: 1 1; + min: 32 32; + max: 32 32; + aspect: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + } + rel2 { + relative: 0.5 0.5; + offset: -1 1; + } + image { + normal: "O/busy-9.png"; + tween: "O/busy-1.png"; + tween: "O/busy-2.png"; + tween: "O/busy-3.png"; + tween: "O/busy-4.png"; + tween: "O/busy-5.png"; + tween: "O/busy-6.png"; + tween: "O/busy-7.png"; + tween: "O/busy-8.png"; + } + } + } + } + programs { + program { + name: "send_click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "e,action,click" "e"; + } + program { + name: "outb"; + signal: "mouse,down,1"; + source: "aout"; + action: SIGNAL_EMIT "e,action,panel,show" "e"; + } + program { + name: "out"; + signal: "e,action,panel,show"; + source: "e"; + action: STATE_SET "out" 0.0; + target: "aout"; + target: "cover"; + after: "out2"; + } + program { + name: "out2"; + action: STATE_SET "out" 0.0; + target: "e.swallow.extras"; + target: "tbs"; + transition: DECELERATE 0.5; + } + program { + name: "in0"; + signal: "mouse,down,1"; + source: "cover"; + action: STATE_SET "default" 0.0; + target: "aout"; + target: "cover"; + after: "in2"; + } + program { + name: "inb"; + signal: "mouse,down,1"; + source: "ain"; + action: SIGNAL_EMIT "e,action,panel,hide" "e"; + } + program { + name: "in"; + signal: "e,action,panel,hide"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "aout"; + after: "in2"; + } + program { + name: "in2"; + action: STATE_SET "default" 0.0; + target: "e.swallow.extras"; + target: "tbs"; + target: "cover"; + transition: DECELERATE 1.0; + } + program { + name: "busy1"; + signal: "e,state,busy,on"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 1.0; + target: "busy_clip"; + } + program { + name: "busy_anim"; + signal: "e,state,busy,on"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.3333; + target: "busy"; + after: "busy_anim"; + } + program { + name: "busy2"; + signal: "e,state,busy,off"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: LINEAR 1.0; + target: "busy_clip"; + after: "busy3"; + } + program { + name: "busy3"; + action: ACTION_STOP; + target: "busy_anim"; + } + } + } + group { + name: "e/conf/wallpaper/main/mini"; + images { + image: "O/e17_mini_button_shadow2.png" COMP; + image: "O/glow.png" COMP; + } + parts { + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -3 -3; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 4 4; + } + fill { + smooth: 0; + } + image { + normal: "O/e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "glow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_box"; + offset: -10 -10; + } + rel2 { + to: "icon_box"; + offset: 9 9; + } + fill.smooth: 0; + image { + normal: "O/glow.png"; + border: 10 10 10 10; + } + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 0; + } + color: 0 0 0 64; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_zoom"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "icon_zoom"; + relative: 1.0 1.0; + offset: -5 -5; + } + color: 255 255 255 255; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_zoom"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "min" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.2 -0.2; + rel2.relative: 1.2 1.2; + } + description { + state: "max2" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.05 -0.05; + rel2.relative: 1.05 1.05; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "sel"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.2; + target: "glow"; + } + program { + name: "unsel"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 1.0; + target: "glow"; + } + program { + name: "thumb_gen"; + signal: "e,action,thumb,gen"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + after: "thumb_gen2"; + } + program { + name: "thumb_gen2"; + action: STATE_SET "min" 0.0; + target: "icon_zoom"; + after: "thumb_gen3"; + } + program { + name: "thumb_gen3"; + action: STATE_SET "max" 0.0; + target: "icon_zoom"; + transition: DECELERATE 0.2; + after: "thumb_gen4"; + } + program { + name: "thumb_gen4"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.1; + after: "thumb_gen5"; + } + program { + name: "thumb_gen5"; + action: STATE_SET "max2" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.2; + after: "thumb_gen6"; + } + program { + name: "thumb_gen6"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.3; + } + program { + name: "thumb_ungen"; + signal: "e,action,thumb,ungen"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + target: "glow"; + after: "thumb_gen2"; + } + } + } + group { + name: "e/conf/wallpaper/main/mini-theme"; + images { + image: "O/e17_mini_button_shadow2.png" COMP; + image: "O/theme-label.png" COMP; + image: "O/glow.png" COMP; + } + parts { + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -3 -3; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 4 4; + } + fill { + smooth: 0; + } + image { + normal: "O/e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "glow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_box"; + offset: -10 -10; + } + rel2 { + to: "icon_box"; + offset: 9 9; + } + fill.smooth: 0; + image { + normal: "O/glow.png"; + border: 10 10 10 10; + } + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 0; + } + color: 0 0 0 64; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_zoom"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "icon_zoom"; + relative: 1.0 1.0; + offset: -5 -5; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_zoom"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "min" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.2 -0.2; + rel2.relative: 1.2 1.2; + } + description { + state: "max2" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.05 -0.05; + rel2.relative: 1.05 1.05; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + part { + name: "theme"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + aspect: 1.709677419 1.709677419; + rel1 { + to: "e.swallow.content"; + relative: 0.6 0.6; + offset: -1 -1; + } + rel2 { + to: "e.swallow.content"; + relative: 1.0 1.0; + offset: -1 -1; + } + image.normal: "O/theme-label.png"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "sel"; + signal: "e,state,selected"; + source: "e"; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 0.2; + target: "glow"; + } + program { + name: "unsel"; + signal: "e,state,unselected"; + source: "e"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 1.0; + target: "glow"; + } + program { + name: "thumb_gen"; + signal: "e,action,thumb,gen"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + target: "theme"; + after: "thumb_gen2"; + } + program { + name: "thumb_gen2"; + action: STATE_SET "min" 0.0; + target: "icon_zoom"; + after: "thumb_gen3"; + } + program { + name: "thumb_gen3"; + action: STATE_SET "max" 0.0; + target: "icon_zoom"; + transition: DECELERATE 0.2; + after: "thumb_gen4"; + } + program { + name: "thumb_gen4"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.1; + after: "thumb_gen5"; + } + program { + name: "thumb_gen5"; + action: STATE_SET "max2" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.2; + after: "thumb_gen6"; + } + program { + name: "thumb_gen6"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.3; + } + program { + name: "thumb_ungen"; + signal: "e,action,thumb,ungen"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + target: "theme"; + target: "glow"; + after: "thumb_gen2"; + } + } + } + group { + name: "e/conf/wallpaper/main/mini-remote"; + images { + image: "O/e17_mini_button_shadow2.png" COMP; + } + parts { + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -3 -3; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 4 4; + } + fill { + smooth: 0; + } + image { + normal: "O/e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + align: 0.5 0.5; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: 0 0; + } + color: 0 0 0 64; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "base"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "icon_zoom"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "icon_zoom"; + relative: 1.0 1.0; + offset: -5 -5; + } + color: 200 0 0 255; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_zoom"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + description { + state: "min" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.2 -0.2; + rel2.relative: 1.2 1.2; + } + description { + state: "max2" 0.0; + inherit: "default" 0.0; + rel1.relative: -0.05 -0.05; + rel2.relative: 1.05 1.05; + } + } + part { + name: "e.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + part { + name: "events"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "thumb_gen"; + signal: "e,action,thumb,gen"; + source: "e"; + action: STATE_SET "visible" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + after: "thumb_gen2"; + } + program { + name: "thumb_gen2"; + action: STATE_SET "min" 0.0; + target: "icon_zoom"; + after: "thumb_gen3"; + } + program { + name: "thumb_gen3"; + action: STATE_SET "max" 0.0; + target: "icon_zoom"; + transition: DECELERATE 0.2; + after: "thumb_gen4"; + } + program { + name: "thumb_gen4"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.1; + after: "thumb_gen5"; + } + program { + name: "thumb_gen5"; + action: STATE_SET "max2" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.2; + after: "thumb_gen6"; + } + program { + name: "thumb_gen6"; + action: STATE_SET "default" 0.0; + target: "icon_zoom"; + transition: SINUSOIDAL 0.3; + } + program { + name: "thumb_ungen"; + signal: "e,action,thumb,ungen"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "icon_box_shadow"; + target: "icon_box"; + target: "base"; + target: "icon_zoom"; + target: "e.swallow.content"; + target: "events"; + after: "thumb_gen2"; + } + } + } + group { + name: "e/conf/wallpaper/main/scrollframe"; + images { + image: "O/arrow_up.png" COMP; + image: "O/arrow_down.png" COMP; + image: "O/bt_sm_base1.png" COMP; + image: "O/bt_sm_base2.png" COMP; + image: "O/bt_sm_shine.png" COMP; + image: "O/bt_sm_hilight.png" COMP; + image: "O/sb_runnerv.png" COMP; + } + parts { + // part { name: "clipper"; + // type: RECT; + // mouse_events: 0; + // description { state: "default" 0.0; + // } + // } + part { + name: "e.swallow.content"; + // clip_to: "clipper"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1.offset: 0 0; + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_x: "sb_vbar"; + } + } + } + part { + name: "sb_vbar"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 17 17; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + description { + state: "hidden" 0.0; + visible: 0; + max: 0 99999; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + part { + name: "sb_vbar_base"; + type: RECT; + clip_to: "sb_vbar"; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + to: "sb_vbar_a1"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 0; + to: "sb_vbar_a2"; + } + } + } + part { + name: "sb_vbar_runner"; + clip_to: "sb_vbar"; + mouse_events: 0; + description { + state: "default" 0.0; + max: 3 99999; + rel1.to: "sb_vbar_base"; + rel1.offset: 1 0; + rel2.to: "sb_vbar_base"; + image { + normal: "O/sb_runnerv.png"; + border: 0 0 4 4; + } + fill.smooth: 0; + } + } + part { + name: "sb_vbar_p1"; + type: RECT; + clip_to: "sb_vbar"; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { + relative: 0.0 1.0; + to: "sb_vbar_a1"; + } + rel2 { + relative: 1.0 0.0; + to: "e.dragable.vbar"; + } + } + } + part { + name: "sb_vbar_p2"; + type: RECT; + clip_to: "sb_vbar"; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { + relative: 0.0 1.0; + to: "e.dragable.vbar"; + } + rel2 { + relative: 1.0 0.0; + to: "sb_vbar_a2"; + } + } + } + part { + name: "e.dragable.vbar"; + clip_to: "sb_vbar"; + mouse_events: 1; + scale: 1; + dragable { + x: 0 0 0; + y: 1 1 0; + confine: "sb_vbar_base"; + } + description { + state: "default" 0.0; + min: 17 17; + rel1 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar_base"; + } + rel2 { + relative: 0.5 0.5; + offset: 0 0; + to: "sb_vbar_base"; + } + image { + normal: "O/bt_sm_base2.png"; + border: 6 6 6 6; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "O/bt_sm_base1.png"; + } + } + part { + name: "sb_vbar_over1"; + clip_to: "sb_vbar"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "e.dragable.vbar"; + rel2.relative: 1.0 0.5; + rel2.to: "e.dragable.vbar"; + image { + normal: "O/bt_sm_hilight.png"; + border: 6 6 6 0; + } + } + } + part { + name: "sb_vbar_over2"; + clip_to: "sb_vbar"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "e.dragable.vbar"; + rel2.to: "e.dragable.vbar"; + image { + normal: "O/bt_sm_shine.png"; + border: 6 6 6 0; + } + } + } + part { + name: "sb_vbar_a1"; + type: RECT; + clip_to: "sb_vbar"; + mouse_events: 1; + description { + state: "default" 0.0; + min: 17 17; + align: 0.5 0.0; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + color: 0 0 0 0; + rel1 { + to: "sb_vbar"; + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + to: "sb_vbar"; + relative: 1.0 0.0; + offset: -1 0; + } + } + } + part { + name: "sb_vbar_a1_arrow"; + mouse_events: 0; + clip_to: "sb_vbar"; + description { + state: "default" 0.0; + max: 9 9; + rel1.to: "sb_vbar_a1"; + rel2.to: "sb_vbar_a1"; + image.normal: "O/arrow_up.png"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 -1; + rel2.offset: -1 -2; + } + } + part { + name: "sb_vbar_a2"; + type: RECT; + clip_to: "sb_vbar"; + mouse_events: 1; + description { + state: "default" 0.0; + min: 17 17; + align: 0.5 1.0; + aspect: 1.0 1.0; + aspect_preference: HORIZONTAL; + color: 0 0 0 0; + rel1 { + to: "sb_vbar"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "sb_vbar"; + relative: 1.0 1.0; + offset: -1 0; + } + } + } + part { + name: "sb_vbar_a2_arrow"; + type: IMAGE; + mouse_events: 0; + clip_to: "sb_vbar"; + description { + state: "default" 0.0; + max: 9 9; + rel1.to: "sb_vbar_a2"; + rel2.to: "sb_vbar_a2"; + image.normal: "O/arrow_down.png"; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + rel1.offset: 0 1; + rel2.offset: -1 0; + } + } + } + programs { + program { + name: "sb_vbar_show"; + signal: "e,action,show,vbar"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "sb_vbar"; + } + program { + name: "sb_vbar_hide"; + signal: "e,action,hide,vbar"; + source: "e"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar"; + } + program { + name: "sb_vbar_a1_down"; + signal: "mouse,down,1"; + source: "sb_vbar_a1"; + action: STATE_SET "clicked" 0.0; + target: "sb_vbar_a1_arrow"; + } + program { + name: "sb_vbar_a1_down2"; + signal: "mouse,down,1"; + source: "sb_vbar_a1"; + action: DRAG_VAL_STEP 0.0 -1.0; + target: "e.dragable.vbar"; + } + program { + name: "sb_vbar_a1_up"; + signal: "mouse,up,1"; + source: "sb_vbar_a1"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_a1_arrow"; + } + program { + name: "sb_vbar_a2_down"; + signal: "mouse,down,1"; + source: "sb_vbar_a2"; + action: STATE_SET "clicked" 0.0; + target: "sb_vbar_a2_arrow"; + } + program { + name: "sb_vbar_a2_down2"; + signal: "mouse,down,1"; + source: "sb_vbar_a2"; + action: DRAG_VAL_STEP 0.0 1.0; + target: "e.dragable.vbar"; + } + program { + name: "sb_vbar_a2_up"; + signal: "mouse,up,1"; + source: "sb_vbar_a2"; + action: STATE_SET "default" 0.0; + target: "sb_vbar_a2_arrow"; + } + program { + name: "sb_vbar_p1_down"; + signal: "mouse,down,1"; + source: "sb_vbar_p1"; + action: DRAG_VAL_PAGE 0.0 -1.0; + target: "e.dragable.vbar"; + } + program { + name: "sb_vbar_p2_down"; + signal: "mouse,down,1"; + source: "sb_vbar_p2"; + action: DRAG_VAL_PAGE 0.0 1.0; + target: "e.dragable.vbar"; + } + program { + name: "sb_vbar_down"; + signal: "mouse,down,1"; + source: "e.dragable.vbar"; + action: STATE_SET "clicked" 0.0; + target: "e.dragable.vbar"; + } + program { + name: "sb_vbar_up"; + signal: "mouse,up,1"; + source: "e.dragable.vbar"; + action: STATE_SET "default" 0.0; + target: "e.dragable.vbar"; + } + } + } + + diff --git a/legacy/elementary/data/themes/edc/winlist.edc b/legacy/elementary/data/themes/edc/winlist.edc new file mode 100644 index 0000000000..101dd269a1 --- /dev/null +++ b/legacy/elementary/data/themes/edc/winlist.edc @@ -0,0 +1,303 @@ +group { name: "e/widgets/winlist/main"; + images.image: "vgrad_med_lighter.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + images.image: "vert_bar_inset.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 1; + align: 0.0 0.0; + fill.smooth: 0; + TILED_HORIZ(120) + fixed: 0 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 3; + rel2.relative: 1.0 0.0; + rel2.offset: -2 3; + align: 0.5 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + text { font: FNBD; size: 10; + text_class: "menu_title"; + align: 0.5 0.0; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "e.swallow.icon"; type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + FIXED_SIZE(48, 48) + rel1.relative: 0.0 1.0; + rel1.offset: 6 6; + rel1.to_y: "top"; + rel2.relative: 1.0 1.0; + rel2.offset: 6 6; + rel2.to_y: "top"; + } + } + part { name: "e.text.label"; type: TEXT; + scale: 1; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + color_class: "winlist_label"; + rel1.relative: 1.0 0.0; + rel1.offset: 6 0; + rel1.to: "e.swallow.icon"; + rel2.offset: -7 -1; + rel2.to_y: "e.swallow.icon"; + align: 0.0 0.5; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FNBD; size: 10; + text_class: "winlist_label"; + align: 0.0 0.5; + min: 0 1; + } + fixed: 0 1; + } + } + part { name: "list_clip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + rel1.relative: 0.0 1.0; + rel1.offset: 0 6; + rel1.to_y: "e.swallow.icon"; + rel2.offset: -1 -7; + } + } + part { name: "e.swallow.list"; type: SWALLOW; + clip_to: "list_clip"; + description { state: "default" 0.0; + rel1.to_y: "list_clip"; + rel2.to_y: "list_clip"; + } + } + 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: "inset"; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 -1; + rel1.to: "list_clip"; + rel2.offset: -1 0; + rel2.to: "list_clip"; + image.normal: "vert_bar_inset.png"; + image.border: 1 1 8 6; + 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) + } + } + } +} + +group { name: "e/widgets/winlist/item"; + 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: "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: "icon"; + rel2.offset: -3 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + color_class: "ilist_item"; + text { font: FN; size: 10; + min: 0 1; + align: 0.0 0.5; + text_class: "ilist_item"; + } + } + description { state: "iconified" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + 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: "icon"; type: SPACER; + 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.swallow.icon"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + align: 0.5 0.5; + rel1.to: "icon"; + rel2.to: "icon"; + } + description { state: "iconified" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.25 0.25; + rel2.relative: 0.75 0.75; + } + } + 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: FN; 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; + } + } + 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: "iconified" 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: "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: "label3"; + } + program { + signal: "e,state,iconified"; source: "e"; + action: STATE_SET "iconified" 0.0; + target: "e.swallow.icon"; + target: "e.text.label"; + } + program { + signal: "e,state,invisible"; source: "e"; + action: STATE_SET "iconified" 0.0; + target: "e.swallow.icon"; + target: "e.text.label"; + } +// program { +// signal: "e,state,shaded"; source: "e"; +// } + } +} diff --git a/legacy/elementary/data/themes/edc/wizard.edc b/legacy/elementary/data/themes/edc/wizard.edc new file mode 100644 index 0000000000..dc3df57bb7 --- /dev/null +++ b/legacy/elementary/data/themes/edc/wizard.edc @@ -0,0 +1,377 @@ +group { name: "e/wizard/main"; + images.image: "screen_circular_shadow.png" COMP; + images.image: "bg_radgrad.png" COMP; + images.image: "dot_pattern.png" COMP; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "knob_round_busy.png" COMP; + images.image: "glow_round_corners.png" COMP; + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + } + } + 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) + } + } + part { name: "busy_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "knob"; mouse_events: 0; + clip_to: "busy_clip"; + description { state: "default" 0.0; + fixed: 1 1; + image.normal: "knob_round_busy.png"; + min: 40 40; + max: 40 40; + rel1.relative: 0.0 1.0; + rel1.offset: 4 -5; + rel2.relative: 0.0 1.0; + rel2.offset: 4 -5; + align: 0.0 1.0; + fixed: 1 1; + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.relative: 0.2 1.0; + rel1.offset: 4 4; + rel1.to_y: "e.text.title"; + rel2.relative: 0.8 0.0; + rel2.offset: -5 -11; + rel2.to_y: "e.text.label"; + } + } + 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; + rel1.to: "e.text.label"; + rel2.offset: 0 1; + 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: "block"; type: RECT; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + color: 0 0 0 0; + visible: 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; + description { state: "default" 0.0; + min: 96 32; + align: 0.5 1.0; + rel1.relative: 0.5 0.99; + rel1.offset: 4 -5; + rel2.relative: 0.5 0.99; + rel2.offset: -5 -5; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: FN; size: 10; + text: "Next"; + min: 1 1; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 21 21 21 255; + color3: 255 255 255 25; + } + } + part { name: "shadow"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: 2.0 2.0; + color: 255 255 255 255; + } + } + part { name: "e.text.title"; type: TEXT; + effect: GLOW; + scale: 1; + description { state: "default" 0.0; + rel1.relative: 0.05 0.01; + rel1.offset: 4 4; + rel2.relative: 0.95 0.01; + rel2.offset: -5 4; + align: 0.5 0.0; + color: 51 153 255 255; + color2: 51 153 255 24; + color3: 51 153 255 18; + text { font: FNBD; size: 10; + min: 0 1; + text_class: "init_title"; + } + fixed: 0 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: "blanker"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + } + programs { + program { + signal: "show"; source: ""; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 1.0; + target: "shadow"; + target: "blanker"; + } + program { + signal: "mouse,down,1"; source: "base"; + script { + new st[31]; + new Float:vl; + get_state(PART:"block", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"base", "clicked", 0.0); + } + } + program { + signal: "mouse,up,1"; source: "base"; + script { + new st[31]; + new Float:vl; + get_state(PART:"block", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"base", "default", 0.0); + } + } + program { + signal: "mouse,clicked,1"; source: "base"; + script { + new st[31]; + new Float:vl; + get_state(PART:"block", st, 30, vl); + if (!strcmp(st, "default")) + emit("e,action,next", ""); + } + } + program { + signal: "e,state,next,enable"; source: "e"; + action: STATE_SET "default" 0.0; + target: "block"; + target: "e.text.label"; + } + program { + signal: "e,state,next,disable"; source: "e"; + action: STATE_SET "disabled" 0.0; + target: "block"; + target: "e.text.label"; + } + + program { + signal: "e,state,next,disable"; source: "e"; + action: ACTION_STOP; + target: "spin"; + target: "spin2"; + target: "spin3"; + target: "spin4"; + after: "spin"; + } + program { name: "spin"; + 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,next,disable"; source: "e"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.25; + target: "busy_clip"; + } + program { + signal: "e,state,next,enable"; 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"; + } + } +} + +group { name: "e/wizard/firstpage"; + images.image: "logo_blue_small.png" COMP; + images.image: "logo_blue_small_glow.png" COMP; + parts { + part { name: "logo"; + description { state: "default" 0.0; + image.normal: "logo_blue_small.png"; + rel1.relative: 0.5 0.5; + rel2.relative: 0.5 0.5; + FIXED_SIZE(100, 127) + } + } + part { name: "logo_glow"; + description { state: "default" 0.0; + image.normal: "logo_blue_small_glow.png"; + rel1.to: "logo"; + rel2.to: "logo"; + color: 255 255 255 128; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + } + programs { + program { name: "logo_pulse"; + signal: "show"; source: ""; + action: STATE_SET "active" 0.0; + target: "logo_glow"; + transition: BOUNCE 0.8 0.5 6; + after: "logo_pulse2"; + } + program { name: "logo_pulse2"; + action: STATE_SET "default" 0.0; + target: "logo_glow"; + transition: SINUSOIDAL 0.8; + after: "logo_pulse"; + } + } +} + +group { name: "e/wizard/extra"; + images.image: "screen_circular_shadow.png" COMP; + images.image: "bg_radgrad.png" COMP; + images.image: "dot_pattern.png" COMP; + parts { + part { name: "clip"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + } + } + 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) + } + } + part { name: "shadow"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 255 255 255 255; + image.normal: "screen_circular_shadow.png"; + fill.smooth: 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + rel1.relative: -1.0 -1.0; + rel2.relative: 2.0 2.0; + color: 255 255 255 255; + } + } + part { name: "blanker"; type: RECT; mouse_events: 0; + description { state: "default" 0.0; + color: 0 0 0 255; + visible: 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + } + programs { + program { + signal: "show"; source: ""; + action: STATE_SET "visible" 0.0; + transition: DECELERATE 1.0; + target: "shadow"; + target: "blanker"; + } + } +} diff --git a/legacy/elementary/data/themes/edc/xkbswitch.edc b/legacy/elementary/data/themes/edc/xkbswitch.edc new file mode 100644 index 0000000000..24c9cc4016 --- /dev/null +++ b/legacy/elementary/data/themes/edc/xkbswitch.edc @@ -0,0 +1,173 @@ +group { name: "e/modules/xkbswitch/main"; + images.image: "shadow_square_tiny.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "shine.png" COMP; + max: 128 128; + parts { + part { name: "shadow"; + description { state: "default" 0.0; + rel1.to: "e.swallow.flag"; + rel1.offset: -3 -2; + rel2.to: "e.swallow.flag"; + rel2.offset: 2 4; + image.normal: "shadow_square_tiny.png"; + image.border: 6 6 6 6; + fill.smooth: 0; + } + } + part { name: "e.swallow.flag"; type: SWALLOW; mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 3 3; + rel2.offset: -4 -4; + } + } + part { name: "e.text.label"; type: TEXT; mouse_events: 0; + effect: SHADOW BOTTOM; + description { state: "default" 0.0; + rel1.to: "e.swallow.flag"; + rel1.relative: 0.0 0.5; + rel2.to: "e.swallow.flag"; + rel2.relative: 1.0 0.5; + color: 255 255 255 0; + color3: 0 0 0 0; + text { font: FN; 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: FNBD; size: 9; + min: 0 1; + text_class: "module_small"; + } + fixed: 0 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "base"; + rel2.to: "base"; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "clip"; type: RECT; + description { state: "default" 0.0; + rel1.to_x: "base"; + rel2.to_x: "base"; + } + } + part { name: "shine"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel1.to: "base"; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + rel2.to: "base"; + FIXED_SIZE(69, 5) + } + } + part { name: "event"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + } +} diff --git a/legacy/elementary/data/themes/ews.edc b/legacy/elementary/data/themes/ews.edc deleted file mode 100644 index c3e70fe674..0000000000 --- a/legacy/elementary/data/themes/ews.edc +++ /dev/null @@ -1,317 +0,0 @@ -group { name: "elm/ews/background/default"; - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 64 64 64 255; - } - } - } -} - -/* - Border Decorations Protocol: - - Receive Signals: all use "elm" as source - - elm,state,focus,{on,off} - - elm,state,iconified,{on,off} - - elm,state,maximized,{on,off} - - elm,state,fullscreen,{on,off} - - elm,state,alpha,{on,off} - - Send Signals: - - elm,action,focus - - elm,action,iconify - - elm,action,maximize - - elm,action,fullscreen - - elm,action,restore - remove iconified, maximized or fullscreen - - elm,action,close - - elm,action,menu - - elm,action,move,start - - elm,action,move,stop - - Parts: - - elm.text.title - - elm.text.name - - elm.text.class - */ - -images { - image: "shadow.png" COMP; - image: "icon_close.png" COMP; - image: "icon_arrow_up_right.png" COMP; - image: "icon_arrow_down_left.png" COMP; -} - -group { name: "elm/ews/decoration/borderless"; - parts { - part { name: "shadow"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "shadow.png"; - border: 13 13 13 13; - middle: 0; - } - rel1 { - to: "base"; - offset: -11 -9; - } - rel2 { - to: "base"; - offset: 11 11; - } - fill.smooth: 0; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - programs { - program { signal: "elm,state,alpha,on"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "shadow"; - } - program { signal: "elm,state,alpha,off"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "shadow"; - } - } - - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 255; - } - } - } -} - -group { name: "elm/ews/decoration/default"; - parts { - part { name: "shadow"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "shadow.png"; - border: 13 13 13 13; - middle: 0; - } - rel1 { - to: "base"; - offset: -11 -9; - } - rel2 { - to: "base"; - offset: 11 11; - } - fill.smooth: 0; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - programs { - program { signal: "elm,state,alpha,on"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "shadow"; - } - program { signal: "elm,state,alpha,off"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "shadow"; - } - } - - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - // TODO: make me a nice image! - color: 200 200 200 255; - rel1.offset: -2 -32; - rel2.offset: 1 1; - } - } - - part { name: "base-text"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "base"; - rel2 { - offset: -2 -1; - relative: 0.0 0.0; - to_x: "base-buttons"; - } - } - } - programs { - program { signal: "mouse,down,1"; - source: "base-text"; - action: SIGNAL_EMIT "elm,action,move,start" "elm"; - } - program { signal: "mouse,up,1"; - source: "base-text"; - action: SIGNAL_EMIT "elm,action,move,stop" "elm"; - } - } - - part { name: "elm.text.title"; - type: TEXT; - effect: SHADOW; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 255; - color3: 0 0 0 255; - rel1 { - to: "base-text"; - offset: 5 2; - } - rel2 { - to: "base-text"; - offset: -6 -3; - } - text { - font: "Sans:style=Bold"; - size: 12; - align: 0.0 0.5; - } - } - } - - part { name: "base-buttons"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1 { - to: "base"; - relative: 1.0 0.0; - offset: (-24 * 3 -1) 0; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - } - } - } - - part { name: "restore"; - type: IMAGE; - mouse_events: 1; - description { state: "default" 0.0; - image.normal: "icon_arrow_down_left.png"; - min: 24 24; - max: 24 24; - rel1 { - to: "base-buttons"; - relative: 1.0 0.0; - offset: (-24 * 3 - 1) 0; - } - rel2 { - to: "base-buttons"; - relative: 1.0 1.0; - offset: (-24 * 2 - 1) 0; - } - } - } - programs { - program { signal: "mouse,clicked,1"; - source: "restore"; - action: SIGNAL_EMIT "elm,action,restore" "elm"; - } - } - - part { name: "maximize"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "icon_arrow_up_right.png"; - min: 24 24; - max: 24 24; - rel1 { - to: "base-buttons"; - relative: 1.0 0.0; - offset: (-24 * 2 - 1) 0; - } - rel2 { - to: "base-buttons"; - relative: 1.0 1.0; - offset: (-24 * 1 - 1) 0; - } - } - description { state: "maximized" 0.0; - inherit: "default" 0.0; - color: 255 255 255 96; - } - } - part { name: "maximize-eventarea"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "maximize"; - rel2.to: "maximize"; - } - description { state: "maximized" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - programs { - program { signal: "mouse,clicked,1"; - source: "maximize-eventarea"; - action: SIGNAL_EMIT "elm,action,maximize" "elm"; - } - program { signal: "elm,state,maximized,on"; - source: "elm"; - action: STATE_SET "maximized" 0.0; - target: "maximize-eventarea"; - target: "maximize"; - } - program { signal: "elm,state,maximized,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "maximize-eventarea"; - target: "maximize"; - } - } - - part { name: "close"; - type: IMAGE; - mouse_events: 1; - description { state: "default" 0.0; - image.normal: "icon_close.png"; - min: 24 24; - max: 24 24; - rel1 { - to: "base-buttons"; - relative: 1.0 0.0; - offset: (-24 * 1 - 1) 0; - } - rel2 { - to: "base-buttons"; - relative: 1.0 1.0; - offset: (-24 * 0 - 1) 0; - } - } - } - programs { - program { signal: "mouse,clicked,1"; - source: "close"; - action: SIGNAL_EMIT "elm,action,close" "elm"; - } - } - } -} diff --git a/legacy/elementary/data/themes/flip.xcf.gz b/legacy/elementary/data/themes/flip.xcf.gz deleted file mode 100644 index 36aca4d2b5..0000000000 Binary files a/legacy/elementary/data/themes/flip.xcf.gz and /dev/null differ diff --git a/legacy/elementary/data/themes/fonts.edc b/legacy/elementary/data/themes/fonts.edc new file mode 100644 index 0000000000..a926e76b57 --- /dev/null +++ b/legacy/elementary/data/themes/fonts.edc @@ -0,0 +1,20 @@ +/*fonts { + font: "PT_Sans-Web-Regular.ttf" "PTSans"; + font: "PT_Sans-Web-Bold.ttf" "PTSans-Bold"; + font: "PT_Sans-Web-Italic.ttf" "PTSans-Italic"; + font: "PT_Sans-Web-BoldItalic.ttf" "PTSans-BoldItalic"; +} + +#define FN "PTSans" +#define FNBD "PTSans-Bold" +#define FNIT "PTSans-Italic" +#define FNBDIT "PTSans-BoldItalic" +*/ +#define FN "Sans" +#define FNBD "Sans:style=Bold" +#define FNIT "Sans:style=Oblique" +#define FNBDIT "Sans:style=Bold Italic" + +#define FN_COL_DEFAULT 255 255 255 255; color3: 0 0 0 128 +#define FN_COL_HIGHLIGHT 51 153 255 255; color2: 51 153 255 24; color3: 51 153 255 18 +#define FN_COL_DISABLE 21 21 21 255; color3: 255 255 255 25; diff --git a/legacy/elementary/data/themes/images/arrow_down.png b/legacy/elementary/data/themes/images/arrow_down.png deleted file mode 100644 index db81aac437..0000000000 Binary files a/legacy/elementary/data/themes/images/arrow_down.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/arrow_left.png b/legacy/elementary/data/themes/images/arrow_left.png deleted file mode 100644 index fbe0795eaa..0000000000 Binary files a/legacy/elementary/data/themes/images/arrow_left.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/arrow_right.png b/legacy/elementary/data/themes/images/arrow_right.png deleted file mode 100644 index 268d6d1d53..0000000000 Binary files a/legacy/elementary/data/themes/images/arrow_right.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/arrow_up.png b/legacy/elementary/data/themes/images/arrow_up.png deleted file mode 100644 index a90fe93521..0000000000 Binary files a/legacy/elementary/data/themes/images/arrow_up.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_bottom.png b/legacy/elementary/data/themes/images/bd_bottom.png deleted file mode 100644 index 46b9a48981..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_bottom.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_close_focused.png b/legacy/elementary/data/themes/images/bd_button_close_focused.png deleted file mode 100644 index 281427e641..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_close_focused.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_close_shadow.png b/legacy/elementary/data/themes/images/bd_button_close_shadow.png deleted file mode 100644 index 91a195593a..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_close_shadow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_close_unfocused.png b/legacy/elementary/data/themes/images/bd_button_close_unfocused.png deleted file mode 100644 index 8382d7f71d..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_close_unfocused.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_max_focused.png b/legacy/elementary/data/themes/images/bd_button_max_focused.png deleted file mode 100644 index 36a82394c1..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_max_focused.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_max_shadow.png b/legacy/elementary/data/themes/images/bd_button_max_shadow.png deleted file mode 100644 index e7362db3cb..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_max_shadow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_max_unfocused.png b/legacy/elementary/data/themes/images/bd_button_max_unfocused.png deleted file mode 100644 index e0dc5daac9..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_max_unfocused.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_min_focused.png b/legacy/elementary/data/themes/images/bd_button_min_focused.png deleted file mode 100644 index e487755950..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_min_focused.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_min_shadow.png b/legacy/elementary/data/themes/images/bd_button_min_shadow.png deleted file mode 100644 index 36349c836b..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_min_shadow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_button_min_unfocused.png b/legacy/elementary/data/themes/images/bd_button_min_unfocused.png deleted file mode 100644 index 58cbb05aec..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_button_min_unfocused.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_resize_b.png b/legacy/elementary/data/themes/images/bd_resize_b.png deleted file mode 100644 index 74c9432edc..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_resize_b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_title_bg.png b/legacy/elementary/data/themes/images/bd_title_bg.png deleted file mode 100644 index 2b2686ba1c..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_title_bg.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_title_over.png b/legacy/elementary/data/themes/images/bd_title_over.png deleted file mode 100644 index 6dd6efb97b..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_title_over.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_top.png b/legacy/elementary/data/themes/images/bd_top.png deleted file mode 100644 index f7fbebf254..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_top.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bd_top_hilight.png b/legacy/elementary/data/themes/images/bd_top_hilight.png deleted file mode 100644 index 0c5bf55c7f..0000000000 Binary files a/legacy/elementary/data/themes/images/bd_top_hilight.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/black.png b/legacy/elementary/data/themes/images/black.png deleted file mode 100644 index 28f520afdb..0000000000 Binary files a/legacy/elementary/data/themes/images/black.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_bases.png b/legacy/elementary/data/themes/images/bt_bases.png deleted file mode 100644 index 1b867fd7a1..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_bases.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_basew.png b/legacy/elementary/data/themes/images/bt_basew.png deleted file mode 100644 index 8d787dd2b6..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_basew.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_double.png b/legacy/elementary/data/themes/images/bt_double.png deleted file mode 100755 index e5937ba0e5..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_double.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_glow.png b/legacy/elementary/data/themes/images/bt_glow.png deleted file mode 100644 index e995ff1079..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_glow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_hilight.png b/legacy/elementary/data/themes/images/bt_hilight.png deleted file mode 100644 index 3b7fe5b0c3..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_hilight.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_hilightw.png b/legacy/elementary/data/themes/images/bt_hilightw.png deleted file mode 100644 index b97a4f81be..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_hilightw.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_spinner_down.png b/legacy/elementary/data/themes/images/bt_spinner_down.png deleted file mode 100644 index 233f2a9f0c..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_spinner_down.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_spinner_hilight.png b/legacy/elementary/data/themes/images/bt_spinner_hilight.png deleted file mode 100644 index 55d50b8575..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_spinner_hilight.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bt_spinner_up.png b/legacy/elementary/data/themes/images/bt_spinner_up.png deleted file mode 100644 index ea351be8e4..0000000000 Binary files a/legacy/elementary/data/themes/images/bt_spinner_up.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble.png b/legacy/elementary/data/themes/images/bubble.png deleted file mode 100644 index 78b831b41b..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble_1.png b/legacy/elementary/data/themes/images/bubble_1.png deleted file mode 100644 index fd6d00c4b8..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble_1.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble_2.png b/legacy/elementary/data/themes/images/bubble_2.png deleted file mode 100644 index 6e1e847a06..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble_2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble_3.png b/legacy/elementary/data/themes/images/bubble_3.png deleted file mode 100644 index cbdcf9ca84..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble_3.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble_4.png b/legacy/elementary/data/themes/images/bubble_4.png deleted file mode 100644 index 5eefbff68c..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble_4.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble_shine.png b/legacy/elementary/data/themes/images/bubble_shine.png deleted file mode 100644 index 33fd1d80ff..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble_shine.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble_shine3.png b/legacy/elementary/data/themes/images/bubble_shine3.png deleted file mode 100644 index 398062f622..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble_shine3.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/bubble_shine4.png b/legacy/elementary/data/themes/images/bubble_shine4.png deleted file mode 100644 index 9ab6fd0485..0000000000 Binary files a/legacy/elementary/data/themes/images/bubble_shine4.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-1.png b/legacy/elementary/data/themes/images/busy-1.png deleted file mode 100644 index 0997dee380..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-1.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-2.png b/legacy/elementary/data/themes/images/busy-2.png deleted file mode 100644 index 71c65a4c0c..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-3.png b/legacy/elementary/data/themes/images/busy-3.png deleted file mode 100644 index 96e63aba49..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-3.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-4.png b/legacy/elementary/data/themes/images/busy-4.png deleted file mode 100644 index 4ecb44cc90..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-4.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-5.png b/legacy/elementary/data/themes/images/busy-5.png deleted file mode 100644 index 2978f49068..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-5.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-6.png b/legacy/elementary/data/themes/images/busy-6.png deleted file mode 100644 index a73d583955..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-6.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-7.png b/legacy/elementary/data/themes/images/busy-7.png deleted file mode 100644 index 2cc0f80fc0..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-7.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-8.png b/legacy/elementary/data/themes/images/busy-8.png deleted file mode 100644 index c07cddc168..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-8.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/busy-9.png b/legacy/elementary/data/themes/images/busy-9.png deleted file mode 100644 index 9fdf098c65..0000000000 Binary files a/legacy/elementary/data/themes/images/busy-9.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/check.png b/legacy/elementary/data/themes/images/check.png deleted file mode 100644 index 7d58e851bb..0000000000 Binary files a/legacy/elementary/data/themes/images/check.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/check2.png b/legacy/elementary/data/themes/images/check2.png deleted file mode 100644 index 1748d5d62d..0000000000 Binary files a/legacy/elementary/data/themes/images/check2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/check_base.png b/legacy/elementary/data/themes/images/check_base.png deleted file mode 100644 index 96481c9606..0000000000 Binary files a/legacy/elementary/data/themes/images/check_base.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/color_picker_alpha.png b/legacy/elementary/data/themes/images/color_picker_alpha.png deleted file mode 100644 index 09cbe773a1..0000000000 Binary files a/legacy/elementary/data/themes/images/color_picker_alpha.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/color_picker_alpha_bg.png b/legacy/elementary/data/themes/images/color_picker_alpha_bg.png deleted file mode 100644 index 6d144d71ca..0000000000 Binary files a/legacy/elementary/data/themes/images/color_picker_alpha_bg.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/color_picker_brightness.png b/legacy/elementary/data/themes/images/color_picker_brightness.png deleted file mode 100644 index b2bbf5df56..0000000000 Binary files a/legacy/elementary/data/themes/images/color_picker_brightness.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/color_picker_color.png b/legacy/elementary/data/themes/images/color_picker_color.png deleted file mode 100644 index 5074fa6f04..0000000000 Binary files a/legacy/elementary/data/themes/images/color_picker_color.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/color_picker_opacity.png b/legacy/elementary/data/themes/images/color_picker_opacity.png deleted file mode 100644 index a97f7bb6cf..0000000000 Binary files a/legacy/elementary/data/themes/images/color_picker_opacity.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ctxpopup_arrow_down.png b/legacy/elementary/data/themes/images/ctxpopup_arrow_down.png deleted file mode 100644 index c650cf4cc0..0000000000 Binary files a/legacy/elementary/data/themes/images/ctxpopup_arrow_down.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ctxpopup_arrow_left.png b/legacy/elementary/data/themes/images/ctxpopup_arrow_left.png deleted file mode 100644 index 5a9615fbd1..0000000000 Binary files a/legacy/elementary/data/themes/images/ctxpopup_arrow_left.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ctxpopup_arrow_right.png b/legacy/elementary/data/themes/images/ctxpopup_arrow_right.png deleted file mode 100644 index f33ee29a38..0000000000 Binary files a/legacy/elementary/data/themes/images/ctxpopup_arrow_right.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ctxpopup_arrow_up.png b/legacy/elementary/data/themes/images/ctxpopup_arrow_up.png deleted file mode 100644 index 7f4a279790..0000000000 Binary files a/legacy/elementary/data/themes/images/ctxpopup_arrow_up.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/cur_box.png b/legacy/elementary/data/themes/images/cur_box.png deleted file mode 100644 index 136b8c8b9c..0000000000 Binary files a/legacy/elementary/data/themes/images/cur_box.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/cur_glow.png b/legacy/elementary/data/themes/images/cur_glow.png deleted file mode 100644 index fd922bd26f..0000000000 Binary files a/legacy/elementary/data/themes/images/cur_glow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/cur_hi.png b/legacy/elementary/data/themes/images/cur_hi.png deleted file mode 100644 index cbafef893d..0000000000 Binary files a/legacy/elementary/data/themes/images/cur_hi.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/cur_shad.png b/legacy/elementary/data/themes/images/cur_shad.png deleted file mode 100644 index 3e899ded53..0000000000 Binary files a/legacy/elementary/data/themes/images/cur_shad.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/cur_shine.png b/legacy/elementary/data/themes/images/cur_shine.png deleted file mode 100644 index 6df5a6da52..0000000000 Binary files a/legacy/elementary/data/themes/images/cur_shine.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/dia_grad.png b/legacy/elementary/data/themes/images/dia_grad.png deleted file mode 100644 index bfd7d0e1d1..0000000000 Binary files a/legacy/elementary/data/themes/images/dia_grad.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/dia_topshad.png b/legacy/elementary/data/themes/images/dia_topshad.png deleted file mode 100644 index 1a772130a5..0000000000 Binary files a/legacy/elementary/data/themes/images/dia_topshad.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/down.png b/legacy/elementary/data/themes/images/down.png deleted file mode 100644 index 528c543492..0000000000 Binary files a/legacy/elementary/data/themes/images/down.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-angry-shout.png b/legacy/elementary/data/themes/images/emo-angry-shout.png deleted file mode 100644 index 78103e3ba3..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-angry-shout.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-angry.png b/legacy/elementary/data/themes/images/emo-angry.png deleted file mode 100644 index 407136d355..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-angry.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-crazy-laugh.png b/legacy/elementary/data/themes/images/emo-crazy-laugh.png deleted file mode 100644 index a46cb7e2dc..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-crazy-laugh.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-evil-laugh.png b/legacy/elementary/data/themes/images/emo-evil-laugh.png deleted file mode 100644 index 208a8bf1c8..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-evil-laugh.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-evil.png b/legacy/elementary/data/themes/images/emo-evil.png deleted file mode 100644 index e49e603e0c..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-evil.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-goggle-smile.png b/legacy/elementary/data/themes/images/emo-goggle-smile.png deleted file mode 100644 index 29e32def31..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-goggle-smile.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-grumpy-smile.png b/legacy/elementary/data/themes/images/emo-grumpy-smile.png deleted file mode 100644 index 61440ce1cc..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-grumpy-smile.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-grumpy.png b/legacy/elementary/data/themes/images/emo-grumpy.png deleted file mode 100644 index 3b65fec691..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-grumpy.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-guilty-smile.png b/legacy/elementary/data/themes/images/emo-guilty-smile.png deleted file mode 100644 index e8879cb0e1..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-guilty-smile.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-guilty.png b/legacy/elementary/data/themes/images/emo-guilty.png deleted file mode 100644 index d1e087d97e..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-guilty.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-haha.png b/legacy/elementary/data/themes/images/emo-haha.png deleted file mode 100644 index d248019589..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-haha.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-half-smile.png b/legacy/elementary/data/themes/images/emo-half-smile.png deleted file mode 100644 index 188856eecc..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-half-smile.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-happy-panting.png b/legacy/elementary/data/themes/images/emo-happy-panting.png deleted file mode 100644 index a935f27c22..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-happy-panting.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-happy.png b/legacy/elementary/data/themes/images/emo-happy.png deleted file mode 100644 index 6829298946..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-happy.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-indifferent.png b/legacy/elementary/data/themes/images/emo-indifferent.png deleted file mode 100644 index 94c60f6077..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-indifferent.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-kiss.png b/legacy/elementary/data/themes/images/emo-kiss.png deleted file mode 100644 index cf1e3053c6..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-kiss.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-knowing-grin.png b/legacy/elementary/data/themes/images/emo-knowing-grin.png deleted file mode 100644 index f0377cd781..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-knowing-grin.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-laugh.png b/legacy/elementary/data/themes/images/emo-laugh.png deleted file mode 100644 index c187174ca0..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-laugh.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-little-bit-sorry.png b/legacy/elementary/data/themes/images/emo-little-bit-sorry.png deleted file mode 100644 index 12126e31f5..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-little-bit-sorry.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-love-lots.png b/legacy/elementary/data/themes/images/emo-love-lots.png deleted file mode 100644 index d1cc463e78..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-love-lots.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-love.png b/legacy/elementary/data/themes/images/emo-love.png deleted file mode 100644 index f14831cc98..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-love.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-minimal-smile.png b/legacy/elementary/data/themes/images/emo-minimal-smile.png deleted file mode 100644 index 7b7a914a15..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-minimal-smile.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-not-happy.png b/legacy/elementary/data/themes/images/emo-not-happy.png deleted file mode 100644 index b99c3341e7..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-not-happy.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-not-impressed.png b/legacy/elementary/data/themes/images/emo-not-impressed.png deleted file mode 100644 index 405ae300da..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-not-impressed.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-omg.png b/legacy/elementary/data/themes/images/emo-omg.png deleted file mode 100644 index 141339dd7f..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-omg.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-opensmile.png b/legacy/elementary/data/themes/images/emo-opensmile.png deleted file mode 100644 index 77d39033ec..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-opensmile.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-smile.png b/legacy/elementary/data/themes/images/emo-smile.png deleted file mode 100644 index 60302f5beb..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-smile.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-sorry.png b/legacy/elementary/data/themes/images/emo-sorry.png deleted file mode 100644 index 94907a7083..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-sorry.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-squint-laugh.png b/legacy/elementary/data/themes/images/emo-squint-laugh.png deleted file mode 100644 index 150e098cce..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-squint-laugh.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-surprised.png b/legacy/elementary/data/themes/images/emo-surprised.png deleted file mode 100644 index 7b46afa094..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-surprised.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-suspicious.png b/legacy/elementary/data/themes/images/emo-suspicious.png deleted file mode 100644 index ea02e6b0b0..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-suspicious.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-tongue-dangling.png b/legacy/elementary/data/themes/images/emo-tongue-dangling.png deleted file mode 100644 index 2bf09cac02..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-tongue-dangling.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-tongue-poke.png b/legacy/elementary/data/themes/images/emo-tongue-poke.png deleted file mode 100644 index a0b429e21c..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-tongue-poke.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-uh.png b/legacy/elementary/data/themes/images/emo-uh.png deleted file mode 100644 index b70a1aea60..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-uh.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-unhappy.png b/legacy/elementary/data/themes/images/emo-unhappy.png deleted file mode 100644 index 30b1c28218..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-unhappy.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-very-sorry.png b/legacy/elementary/data/themes/images/emo-very-sorry.png deleted file mode 100644 index 10c4736c13..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-very-sorry.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-what.png b/legacy/elementary/data/themes/images/emo-what.png deleted file mode 100644 index fb42f0150c..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-what.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-wink.png b/legacy/elementary/data/themes/images/emo-wink.png deleted file mode 100644 index 74747b531f..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-wink.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-worried.png b/legacy/elementary/data/themes/images/emo-worried.png deleted file mode 100644 index 7da0c0e7e1..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-worried.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/emo-wtf.png b/legacy/elementary/data/themes/images/emo-wtf.png deleted file mode 100644 index 37b7282778..0000000000 Binary files a/legacy/elementary/data/themes/images/emo-wtf.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/exclam.png b/legacy/elementary/data/themes/images/exclam.png deleted file mode 100644 index 02068e2a52..0000000000 Binary files a/legacy/elementary/data/themes/images/exclam.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_0b.png b/legacy/elementary/data/themes/images/flip_0b.png deleted file mode 100644 index 8a6ae9e1ce..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_0b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_0t.png b/legacy/elementary/data/themes/images/flip_0t.png deleted file mode 100644 index 72506aa1b1..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_0t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_1b.png b/legacy/elementary/data/themes/images/flip_1b.png deleted file mode 100644 index ed80e8b2fe..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_1b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_1t.png b/legacy/elementary/data/themes/images/flip_1t.png deleted file mode 100644 index 6c1fba8f0e..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_1t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_2b.png b/legacy/elementary/data/themes/images/flip_2b.png deleted file mode 100644 index 3183b59007..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_2b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_2t.png b/legacy/elementary/data/themes/images/flip_2t.png deleted file mode 100644 index 3453e3d599..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_2t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_3b.png b/legacy/elementary/data/themes/images/flip_3b.png deleted file mode 100644 index 2eca7d4f24..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_3b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_3t.png b/legacy/elementary/data/themes/images/flip_3t.png deleted file mode 100644 index 4de9804623..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_3t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_4b.png b/legacy/elementary/data/themes/images/flip_4b.png deleted file mode 100644 index 23484c9823..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_4b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_4t.png b/legacy/elementary/data/themes/images/flip_4t.png deleted file mode 100644 index 20291610ea..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_4t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_5b.png b/legacy/elementary/data/themes/images/flip_5b.png deleted file mode 100644 index 8d9312a128..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_5b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_5t.png b/legacy/elementary/data/themes/images/flip_5t.png deleted file mode 100644 index df439296c1..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_5t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_6b.png b/legacy/elementary/data/themes/images/flip_6b.png deleted file mode 100644 index 09393e648c..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_6b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_6t.png b/legacy/elementary/data/themes/images/flip_6t.png deleted file mode 100644 index 3cc4061fce..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_6t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_7b.png b/legacy/elementary/data/themes/images/flip_7b.png deleted file mode 100644 index 9afc419821..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_7b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_7t.png b/legacy/elementary/data/themes/images/flip_7t.png deleted file mode 100644 index abe1bc94da..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_7t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_8b.png b/legacy/elementary/data/themes/images/flip_8b.png deleted file mode 100644 index 2185ee9843..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_8b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_8t.png b/legacy/elementary/data/themes/images/flip_8t.png deleted file mode 100644 index 718e484ec3..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_8t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_9b.png b/legacy/elementary/data/themes/images/flip_9b.png deleted file mode 100644 index f867aea3c8..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_9b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_9t.png b/legacy/elementary/data/themes/images/flip_9t.png deleted file mode 100644 index 5800a4c748..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_9t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_amb.png b/legacy/elementary/data/themes/images/flip_amb.png deleted file mode 100644 index e7b3b170d8..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_amb.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_amt.png b/legacy/elementary/data/themes/images/flip_amt.png deleted file mode 100644 index bc6a7154c1..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_amt.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_b.png b/legacy/elementary/data/themes/images/flip_b.png deleted file mode 100644 index bb7c7e77da..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_b.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_base.png b/legacy/elementary/data/themes/images/flip_base.png deleted file mode 100644 index 607fba9272..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_base.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_base_shad.png b/legacy/elementary/data/themes/images/flip_base_shad.png deleted file mode 100644 index 056997776a..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_base_shad.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_pmb.png b/legacy/elementary/data/themes/images/flip_pmb.png deleted file mode 100644 index de14fa5ee5..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_pmb.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_pmt.png b/legacy/elementary/data/themes/images/flip_pmt.png deleted file mode 100644 index 8a72655ba8..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_pmt.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_shad.png b/legacy/elementary/data/themes/images/flip_shad.png deleted file mode 100644 index 3d74ceae24..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_shad.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/flip_t.png b/legacy/elementary/data/themes/images/flip_t.png deleted file mode 100644 index 74ed50d91d..0000000000 Binary files a/legacy/elementary/data/themes/images/flip_t.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/frame_1.png b/legacy/elementary/data/themes/images/frame_1.png deleted file mode 100644 index fd5645e5be..0000000000 Binary files a/legacy/elementary/data/themes/images/frame_1.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/frame_2.png b/legacy/elementary/data/themes/images/frame_2.png deleted file mode 100644 index 0fef1e9a9b..0000000000 Binary files a/legacy/elementary/data/themes/images/frame_2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/group_index.png b/legacy/elementary/data/themes/images/group_index.png deleted file mode 100644 index 7df068040c..0000000000 Binary files a/legacy/elementary/data/themes/images/group_index.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/handler_end.png b/legacy/elementary/data/themes/images/handler_end.png deleted file mode 100644 index 9aa1a9335f..0000000000 Binary files a/legacy/elementary/data/themes/images/handler_end.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/handler_start.png b/legacy/elementary/data/themes/images/handler_start.png deleted file mode 100644 index 4603bc1d3d..0000000000 Binary files a/legacy/elementary/data/themes/images/handler_start.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/head.png b/legacy/elementary/data/themes/images/head.png deleted file mode 100644 index 905b92c97f..0000000000 Binary files a/legacy/elementary/data/themes/images/head.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/hoversel_entry_bg.png b/legacy/elementary/data/themes/images/hoversel_entry_bg.png deleted file mode 100644 index ec8b31d31a..0000000000 Binary files a/legacy/elementary/data/themes/images/hoversel_entry_bg.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_apps.png b/legacy/elementary/data/themes/images/icon_apps.png deleted file mode 100644 index a3b90c6726..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_apps.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_down.png b/legacy/elementary/data/themes/images/icon_arrow_down.png deleted file mode 100644 index 899373f6e2..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_down.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_down_left.png b/legacy/elementary/data/themes/images/icon_arrow_down_left.png deleted file mode 100644 index 2f1d2ed511..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_down_left.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_down_right.png b/legacy/elementary/data/themes/images/icon_arrow_down_right.png deleted file mode 100644 index 0439e887e8..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_down_right.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_left.png b/legacy/elementary/data/themes/images/icon_arrow_left.png deleted file mode 100644 index 6651510314..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_left.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_right.png b/legacy/elementary/data/themes/images/icon_arrow_right.png deleted file mode 100644 index 58fa68de5b..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_right.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_up.png b/legacy/elementary/data/themes/images/icon_arrow_up.png deleted file mode 100644 index 46584db71e..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_up.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_up_left.png b/legacy/elementary/data/themes/images/icon_arrow_up_left.png deleted file mode 100644 index 711bef8760..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_up_left.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_arrow_up_right.png b/legacy/elementary/data/themes/images/icon_arrow_up_right.png deleted file mode 100644 index 7a9f495fc7..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_arrow_up_right.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_chat.png b/legacy/elementary/data/themes/images/icon_chat.png deleted file mode 100644 index 1fe8f63140..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_chat.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_clock.png b/legacy/elementary/data/themes/images/icon_clock.png deleted file mode 100644 index c89ae17dde..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_clock.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_close.png b/legacy/elementary/data/themes/images/icon_close.png deleted file mode 100644 index d0a516699c..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_close.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_delete.png b/legacy/elementary/data/themes/images/icon_delete.png deleted file mode 100644 index e0a635e5ef..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_delete.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_edit.png b/legacy/elementary/data/themes/images/icon_edit.png deleted file mode 100644 index 8dcec9e9a7..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_edit.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_file.png b/legacy/elementary/data/themes/images/icon_file.png deleted file mode 100644 index 371f1d08b5..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_file.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_folder.png b/legacy/elementary/data/themes/images/icon_folder.png deleted file mode 100644 index 2ec380aba9..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_folder.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_home.png b/legacy/elementary/data/themes/images/icon_home.png deleted file mode 100644 index a395fff01b..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_home.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_left_arrow.png b/legacy/elementary/data/themes/images/icon_left_arrow.png deleted file mode 100644 index 556399eaad..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_left_arrow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_refresh.png b/legacy/elementary/data/themes/images/icon_refresh.png deleted file mode 100644 index 5ea70bfab3..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_refresh.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/icon_right_arrow.png b/legacy/elementary/data/themes/images/icon_right_arrow.png deleted file mode 100644 index 6bbb2c6eaa..0000000000 Binary files a/legacy/elementary/data/themes/images/icon_right_arrow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ilist_1.png b/legacy/elementary/data/themes/images/ilist_1.png deleted file mode 100644 index 40a3238502..0000000000 Binary files a/legacy/elementary/data/themes/images/ilist_1.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ilist_1_h.png b/legacy/elementary/data/themes/images/ilist_1_h.png deleted file mode 100644 index bd2fd15d9f..0000000000 Binary files a/legacy/elementary/data/themes/images/ilist_1_h.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ilist_2.png b/legacy/elementary/data/themes/images/ilist_2.png deleted file mode 100644 index ee69f15bc5..0000000000 Binary files a/legacy/elementary/data/themes/images/ilist_2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ilist_2_h.png b/legacy/elementary/data/themes/images/ilist_2_h.png deleted file mode 100644 index 6ab252e574..0000000000 Binary files a/legacy/elementary/data/themes/images/ilist_2_h.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ilist_item_shadow.png b/legacy/elementary/data/themes/images/ilist_item_shadow.png deleted file mode 100644 index bffa9dcc52..0000000000 Binary files a/legacy/elementary/data/themes/images/ilist_item_shadow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/ilist_item_shadow_h.png b/legacy/elementary/data/themes/images/ilist_item_shadow_h.png deleted file mode 100644 index fb21bc5aff..0000000000 Binary files a/legacy/elementary/data/themes/images/ilist_item_shadow_h.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/item_highlight.png b/legacy/elementary/data/themes/images/item_highlight.png deleted file mode 100644 index d3852daeeb..0000000000 Binary files a/legacy/elementary/data/themes/images/item_highlight.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/leftright.png b/legacy/elementary/data/themes/images/leftright.png deleted file mode 100644 index 8188c19482..0000000000 Binary files a/legacy/elementary/data/themes/images/leftright.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/magnifier_bg.png b/legacy/elementary/data/themes/images/magnifier_bg.png deleted file mode 100644 index 3d15150ef2..0000000000 Binary files a/legacy/elementary/data/themes/images/magnifier_bg.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/magnifier_line.png b/legacy/elementary/data/themes/images/magnifier_line.png deleted file mode 100644 index 39016fda4e..0000000000 Binary files a/legacy/elementary/data/themes/images/magnifier_line.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/map_item.png b/legacy/elementary/data/themes/images/map_item.png deleted file mode 100644 index b83e5527d3..0000000000 Binary files a/legacy/elementary/data/themes/images/map_item.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/map_scale.png b/legacy/elementary/data/themes/images/map_scale.png deleted file mode 100644 index ff7be49ed4..0000000000 Binary files a/legacy/elementary/data/themes/images/map_scale.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_forward.png b/legacy/elementary/data/themes/images/mp_forward.png deleted file mode 100644 index eaf361963e..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_forward.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_info.png b/legacy/elementary/data/themes/images/mp_info.png deleted file mode 100644 index 67e3ead47b..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_info.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_next.png b/legacy/elementary/data/themes/images/mp_next.png deleted file mode 100644 index c8aadcc604..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_next.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_pause.png b/legacy/elementary/data/themes/images/mp_pause.png deleted file mode 100644 index 211ddf609b..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_pause.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_play.png b/legacy/elementary/data/themes/images/mp_play.png deleted file mode 100644 index 8abaf2e651..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_play.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_prev.png b/legacy/elementary/data/themes/images/mp_prev.png deleted file mode 100644 index 543ec0ed79..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_prev.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_rewind.png b/legacy/elementary/data/themes/images/mp_rewind.png deleted file mode 100644 index 703d5d6d47..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_rewind.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/mp_stop.png b/legacy/elementary/data/themes/images/mp_stop.png deleted file mode 100644 index e09dd1ff8d..0000000000 Binary files a/legacy/elementary/data/themes/images/mp_stop.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/naviframe-base.jpg b/legacy/elementary/data/themes/images/naviframe-base.jpg deleted file mode 100644 index e7ecd2117b..0000000000 Binary files a/legacy/elementary/data/themes/images/naviframe-base.jpg and /dev/null differ diff --git a/legacy/elementary/data/themes/images/outdent-bottom.png b/legacy/elementary/data/themes/images/outdent-bottom.png deleted file mode 100644 index 2cd49b586d..0000000000 Binary files a/legacy/elementary/data/themes/images/outdent-bottom.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/outdent-top.png b/legacy/elementary/data/themes/images/outdent-top.png deleted file mode 100644 index b4f891d040..0000000000 Binary files a/legacy/elementary/data/themes/images/outdent-top.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer.png b/legacy/elementary/data/themes/images/pointer.png deleted file mode 100644 index 37ee725c40..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_01.png b/legacy/elementary/data/themes/images/pointer_glint_01.png deleted file mode 100644 index 36fb4f4e31..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_01.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_02.png b/legacy/elementary/data/themes/images/pointer_glint_02.png deleted file mode 100644 index 96bf6bbf75..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_02.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_03.png b/legacy/elementary/data/themes/images/pointer_glint_03.png deleted file mode 100644 index 68f45e3fb2..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_03.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_04.png b/legacy/elementary/data/themes/images/pointer_glint_04.png deleted file mode 100644 index 16421ab936..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_04.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_05.png b/legacy/elementary/data/themes/images/pointer_glint_05.png deleted file mode 100644 index d0277b0e38..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_05.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_06.png b/legacy/elementary/data/themes/images/pointer_glint_06.png deleted file mode 100644 index 689b7cb313..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_06.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_07.png b/legacy/elementary/data/themes/images/pointer_glint_07.png deleted file mode 100644 index 5c902b7f6d..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_07.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_08.png b/legacy/elementary/data/themes/images/pointer_glint_08.png deleted file mode 100644 index 0ef891425a..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_08.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_09.png b/legacy/elementary/data/themes/images/pointer_glint_09.png deleted file mode 100644 index 62947bdc86..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_09.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_10.png b/legacy/elementary/data/themes/images/pointer_glint_10.png deleted file mode 100644 index 0af04b3660..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_10.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_11.png b/legacy/elementary/data/themes/images/pointer_glint_11.png deleted file mode 100644 index b0ca3ed542..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_11.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glint_12.png b/legacy/elementary/data/themes/images/pointer_glint_12.png deleted file mode 100644 index dfcfc69e46..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glint_12.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_glow.png b/legacy/elementary/data/themes/images/pointer_glow.png deleted file mode 100644 index bce47fea5d..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_glow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/pointer_mono.png b/legacy/elementary/data/themes/images/pointer_mono.png deleted file mode 100644 index e217caea1a..0000000000 Binary files a/legacy/elementary/data/themes/images/pointer_mono.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/radio.png b/legacy/elementary/data/themes/images/radio.png deleted file mode 100644 index f964acd7f5..0000000000 Binary files a/legacy/elementary/data/themes/images/radio.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/radio2.png b/legacy/elementary/data/themes/images/radio2.png deleted file mode 100644 index b83e5527d3..0000000000 Binary files a/legacy/elementary/data/themes/images/radio2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/radio_base.png b/legacy/elementary/data/themes/images/radio_base.png deleted file mode 100644 index d219400305..0000000000 Binary files a/legacy/elementary/data/themes/images/radio_base.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_left_normal.png b/legacy/elementary/data/themes/images/seg_left_normal.png deleted file mode 100644 index 483c7c3733..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_left_normal.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_left_pressed.png b/legacy/elementary/data/themes/images/seg_left_pressed.png deleted file mode 100644 index 347c607143..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_left_pressed.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_left_selected.png b/legacy/elementary/data/themes/images/seg_left_selected.png deleted file mode 100644 index 824e931e12..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_left_selected.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_middle_normal.png b/legacy/elementary/data/themes/images/seg_middle_normal.png deleted file mode 100644 index 567eb95f92..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_middle_normal.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_middle_pressed.png b/legacy/elementary/data/themes/images/seg_middle_pressed.png deleted file mode 100644 index 79fbe0fa7c..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_middle_pressed.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_middle_selected.png b/legacy/elementary/data/themes/images/seg_middle_selected.png deleted file mode 100644 index 9c3563bbf6..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_middle_selected.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_right_normal.png b/legacy/elementary/data/themes/images/seg_right_normal.png deleted file mode 100644 index 7c8a5a7b28..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_right_normal.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_right_pressed.png b/legacy/elementary/data/themes/images/seg_right_pressed.png deleted file mode 100644 index e93ae20051..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_right_pressed.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_right_selected.png b/legacy/elementary/data/themes/images/seg_right_selected.png deleted file mode 100644 index 9855805091..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_right_selected.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_single_normal.png b/legacy/elementary/data/themes/images/seg_single_normal.png deleted file mode 100644 index e619e272a3..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_single_normal.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_single_pressed.png b/legacy/elementary/data/themes/images/seg_single_pressed.png deleted file mode 100644 index ff90a244e2..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_single_pressed.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/seg_single_selected.png b/legacy/elementary/data/themes/images/seg_single_selected.png deleted file mode 100644 index 116ce68b7d..0000000000 Binary files a/legacy/elementary/data/themes/images/seg_single_selected.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/separator_h.png b/legacy/elementary/data/themes/images/separator_h.png deleted file mode 100644 index 0823fbc472..0000000000 Binary files a/legacy/elementary/data/themes/images/separator_h.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/separator_v.png b/legacy/elementary/data/themes/images/separator_v.png deleted file mode 100644 index cd1b0182a7..0000000000 Binary files a/legacy/elementary/data/themes/images/separator_v.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/shad_circ.png b/legacy/elementary/data/themes/images/shad_circ.png deleted file mode 100644 index e344e5c7b6..0000000000 Binary files a/legacy/elementary/data/themes/images/shad_circ.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/shadow.png b/legacy/elementary/data/themes/images/shadow.png deleted file mode 100644 index 5dc92ccfe4..0000000000 Binary files a/legacy/elementary/data/themes/images/shadow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bg.png b/legacy/elementary/data/themes/images/sl_bg.png deleted file mode 100644 index ef88a18348..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bg.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bg_over.png b/legacy/elementary/data/themes/images/sl_bg_over.png deleted file mode 100644 index cca085d06e..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bg_over.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt2_0_0.png b/legacy/elementary/data/themes/images/sl_bt2_0_0.png deleted file mode 100644 index f1270cc1f3..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt2_0_0.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt2_0_1.png b/legacy/elementary/data/themes/images/sl_bt2_0_1.png deleted file mode 100644 index 5db1c7cdf5..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt2_0_1.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt2_0_2.png b/legacy/elementary/data/themes/images/sl_bt2_0_2.png deleted file mode 100644 index 5c045390ac..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt2_0_2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt2_1.png b/legacy/elementary/data/themes/images/sl_bt2_1.png deleted file mode 100644 index 3872c8c5c9..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt2_1.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt2_2.png b/legacy/elementary/data/themes/images/sl_bt2_2.png deleted file mode 100644 index 061ac29d85..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt2_2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt_0.png b/legacy/elementary/data/themes/images/sl_bt_0.png deleted file mode 100644 index 8691b1957a..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt_0.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt_1.png b/legacy/elementary/data/themes/images/sl_bt_1.png deleted file mode 100644 index a29f65c286..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt_1.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt_2.png b/legacy/elementary/data/themes/images/sl_bt_2.png deleted file mode 100644 index 96bd19134f..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt_2.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_bt_3.png b/legacy/elementary/data/themes/images/sl_bt_3.png deleted file mode 100644 index 8be95f545c..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_bt_3.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sl_units.png b/legacy/elementary/data/themes/images/sl_units.png deleted file mode 100644 index 87b4c1deda..0000000000 Binary files a/legacy/elementary/data/themes/images/sl_units.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/slv_bg.png b/legacy/elementary/data/themes/images/slv_bg.png deleted file mode 100644 index 97af4d9646..0000000000 Binary files a/legacy/elementary/data/themes/images/slv_bg.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/slv_bg_over.png b/legacy/elementary/data/themes/images/slv_bg_over.png deleted file mode 100644 index 837a7214ac..0000000000 Binary files a/legacy/elementary/data/themes/images/slv_bg_over.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/slv_units.png b/legacy/elementary/data/themes/images/slv_units.png deleted file mode 100644 index d935b3baaa..0000000000 Binary files a/legacy/elementary/data/themes/images/slv_units.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sp_bt_l.png b/legacy/elementary/data/themes/images/sp_bt_l.png deleted file mode 100644 index 31d0d94a56..0000000000 Binary files a/legacy/elementary/data/themes/images/sp_bt_l.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/sp_bt_r.png b/legacy/elementary/data/themes/images/sp_bt_r.png deleted file mode 100644 index bef2c54130..0000000000 Binary files a/legacy/elementary/data/themes/images/sp_bt_r.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/thumb_shadow.png b/legacy/elementary/data/themes/images/thumb_shadow.png deleted file mode 100644 index 8e666708f8..0000000000 Binary files a/legacy/elementary/data/themes/images/thumb_shadow.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tog_base_off.png b/legacy/elementary/data/themes/images/tog_base_off.png deleted file mode 100644 index c84da50e6b..0000000000 Binary files a/legacy/elementary/data/themes/images/tog_base_off.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tog_base_on.png b/legacy/elementary/data/themes/images/tog_base_on.png deleted file mode 100644 index 1292cbb3a5..0000000000 Binary files a/legacy/elementary/data/themes/images/tog_base_on.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tog_dis_base_off.png b/legacy/elementary/data/themes/images/tog_dis_base_off.png deleted file mode 100644 index 164a5e2d95..0000000000 Binary files a/legacy/elementary/data/themes/images/tog_dis_base_off.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tog_dis_base_on.png b/legacy/elementary/data/themes/images/tog_dis_base_on.png deleted file mode 100644 index 4dda01e4d4..0000000000 Binary files a/legacy/elementary/data/themes/images/tog_dis_base_on.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/toolbar_sel.png b/legacy/elementary/data/themes/images/toolbar_sel.png deleted file mode 100644 index 4890e3a7c6..0000000000 Binary files a/legacy/elementary/data/themes/images/toolbar_sel.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/toolbar_separator_h.png b/legacy/elementary/data/themes/images/toolbar_separator_h.png deleted file mode 100644 index f4b537c941..0000000000 Binary files a/legacy/elementary/data/themes/images/toolbar_separator_h.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/toolbar_separator_v.png b/legacy/elementary/data/themes/images/toolbar_separator_v.png deleted file mode 100644 index cb2da6fc3a..0000000000 Binary files a/legacy/elementary/data/themes/images/toolbar_separator_v.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-base.png b/legacy/elementary/data/themes/images/tooltip-base.png deleted file mode 100644 index 3ab8e0f4a9..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-base.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-corner-bottom-left-tip.png b/legacy/elementary/data/themes/images/tooltip-corner-bottom-left-tip.png deleted file mode 100644 index f60787b3e9..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-corner-bottom-left-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-corner-bottom-right-tip.png b/legacy/elementary/data/themes/images/tooltip-corner-bottom-right-tip.png deleted file mode 100644 index 4d715f38d9..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-corner-bottom-right-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-corner-top-left-tip.png b/legacy/elementary/data/themes/images/tooltip-corner-top-left-tip.png deleted file mode 100644 index 3f74c585c1..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-corner-top-left-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-corner-top-right-tip.png b/legacy/elementary/data/themes/images/tooltip-corner-top-right-tip.png deleted file mode 100644 index c9dbaa2e22..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-corner-top-right-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-edge-bottom-tip.png b/legacy/elementary/data/themes/images/tooltip-edge-bottom-tip.png deleted file mode 100644 index 49fd2b032f..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-edge-bottom-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-edge-left-tip.png b/legacy/elementary/data/themes/images/tooltip-edge-left-tip.png deleted file mode 100644 index 6cf071e027..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-edge-left-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-edge-right-tip.png b/legacy/elementary/data/themes/images/tooltip-edge-right-tip.png deleted file mode 100644 index cd541a6d64..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-edge-right-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/tooltip-edge-top-tip.png b/legacy/elementary/data/themes/images/tooltip-edge-top-tip.png deleted file mode 100644 index a341a21c5d..0000000000 Binary files a/legacy/elementary/data/themes/images/tooltip-edge-top-tip.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/up.png b/legacy/elementary/data/themes/images/up.png deleted file mode 100644 index f8697a1652..0000000000 Binary files a/legacy/elementary/data/themes/images/up.png and /dev/null differ diff --git a/legacy/elementary/data/themes/images/updown.png b/legacy/elementary/data/themes/images/updown.png deleted file mode 100644 index 549960c212..0000000000 Binary files a/legacy/elementary/data/themes/images/updown.png and /dev/null differ diff --git a/legacy/elementary/data/themes/img/O/about_bot.png b/legacy/elementary/data/themes/img/O/about_bot.png new file mode 100644 index 0000000000..ef0c7cd689 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/about_bot.png differ diff --git a/legacy/elementary/data/themes/img/O/about_mid.png b/legacy/elementary/data/themes/img/O/about_mid.png new file mode 100644 index 0000000000..2162f0a090 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/about_mid.png differ diff --git a/legacy/elementary/data/themes/img/O/about_top.png b/legacy/elementary/data/themes/img/O/about_top.png new file mode 100644 index 0000000000..db2c27ef10 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/about_top.png differ diff --git a/legacy/elementary/data/themes/img/O/arrow_down.png b/legacy/elementary/data/themes/img/O/arrow_down.png new file mode 100644 index 0000000000..3e181396a7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/arrow_down.png differ diff --git a/legacy/elementary/data/themes/img/O/arrow_up.png b/legacy/elementary/data/themes/img/O/arrow_up.png new file mode 100644 index 0000000000..1b499b8e8b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/arrow_up.png differ diff --git a/legacy/elementary/data/themes/img/O/batt_base.png b/legacy/elementary/data/themes/img/O/batt_base.png new file mode 100644 index 0000000000..610db36b2e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/batt_base.png differ diff --git a/legacy/elementary/data/themes/img/O/batt_level.png b/legacy/elementary/data/themes/img/O/batt_level.png new file mode 100644 index 0000000000..260402642d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/batt_level.png differ diff --git a/legacy/elementary/data/themes/img/O/batt_over.png b/legacy/elementary/data/themes/img/O/batt_over.png new file mode 100644 index 0000000000..c79adb50db Binary files /dev/null and b/legacy/elementary/data/themes/img/O/batt_over.png differ diff --git a/legacy/elementary/data/themes/img/O/batt_power.png b/legacy/elementary/data/themes/img/O/batt_power.png new file mode 100644 index 0000000000..f64625ebb7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/batt_power.png differ diff --git a/legacy/elementary/data/themes/img/O/bg_shadow.png b/legacy/elementary/data/themes/img/O/bg_shadow.png new file mode 100644 index 0000000000..ae502f8aef Binary files /dev/null and b/legacy/elementary/data/themes/img/O/bg_shadow.png differ diff --git a/legacy/elementary/data/themes/img/O/big_arrow_up.png b/legacy/elementary/data/themes/img/O/big_arrow_up.png new file mode 100644 index 0000000000..7d714ff634 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/big_arrow_up.png differ diff --git a/legacy/elementary/data/themes/img/O/bnw.png b/legacy/elementary/data/themes/img/O/bnw.png new file mode 100644 index 0000000000..3baf7bcf04 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/bnw.png differ diff --git a/legacy/elementary/data/themes/images/bt_base1.png b/legacy/elementary/data/themes/img/O/bt_base1.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_base1.png rename to legacy/elementary/data/themes/img/O/bt_base1.png diff --git a/legacy/elementary/data/themes/images/bt_base2.png b/legacy/elementary/data/themes/img/O/bt_base2.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_base2.png rename to legacy/elementary/data/themes/img/O/bt_base2.png diff --git a/legacy/elementary/data/themes/images/bt_dis_base.png b/legacy/elementary/data/themes/img/O/bt_dis_base.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_dis_base.png rename to legacy/elementary/data/themes/img/O/bt_dis_base.png diff --git a/legacy/elementary/data/themes/images/bt_dis_hilight.png b/legacy/elementary/data/themes/img/O/bt_dis_hilight.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_dis_hilight.png rename to legacy/elementary/data/themes/img/O/bt_dis_hilight.png diff --git a/legacy/elementary/data/themes/images/bt_dis_shine.png b/legacy/elementary/data/themes/img/O/bt_dis_shine.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_dis_shine.png rename to legacy/elementary/data/themes/img/O/bt_dis_shine.png diff --git a/legacy/elementary/data/themes/img/O/bt_glow.png b/legacy/elementary/data/themes/img/O/bt_glow.png new file mode 100644 index 0000000000..25891a158e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/bt_glow.png differ diff --git a/legacy/elementary/data/themes/img/O/bt_hilight.png b/legacy/elementary/data/themes/img/O/bt_hilight.png new file mode 100644 index 0000000000..3a6750e784 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/bt_hilight.png differ diff --git a/legacy/elementary/data/themes/images/bt_shine.png b/legacy/elementary/data/themes/img/O/bt_shine.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_shine.png rename to legacy/elementary/data/themes/img/O/bt_shine.png diff --git a/legacy/elementary/data/themes/images/bt_sm_base1.png b/legacy/elementary/data/themes/img/O/bt_sm_base1.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_sm_base1.png rename to legacy/elementary/data/themes/img/O/bt_sm_base1.png diff --git a/legacy/elementary/data/themes/images/bt_sm_base2.png b/legacy/elementary/data/themes/img/O/bt_sm_base2.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_sm_base2.png rename to legacy/elementary/data/themes/img/O/bt_sm_base2.png diff --git a/legacy/elementary/data/themes/images/bt_sm_hilight.png b/legacy/elementary/data/themes/img/O/bt_sm_hilight.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_sm_hilight.png rename to legacy/elementary/data/themes/img/O/bt_sm_hilight.png diff --git a/legacy/elementary/data/themes/images/bt_sm_shine.png b/legacy/elementary/data/themes/img/O/bt_sm_shine.png similarity index 100% rename from legacy/elementary/data/themes/images/bt_sm_shine.png rename to legacy/elementary/data/themes/img/O/bt_sm_shine.png diff --git a/legacy/elementary/data/themes/img/O/bulb-0.png b/legacy/elementary/data/themes/img/O/bulb-0.png new file mode 100644 index 0000000000..6b54be1613 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/bulb-0.png differ diff --git a/legacy/elementary/data/themes/img/O/bulb-1.png b/legacy/elementary/data/themes/img/O/bulb-1.png new file mode 100644 index 0000000000..ca46a4f068 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/bulb-1.png differ diff --git a/legacy/elementary/data/themes/img/O/bulb-2.png b/legacy/elementary/data/themes/img/O/bulb-2.png new file mode 100644 index 0000000000..bacc911138 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/bulb-2.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-1.png b/legacy/elementary/data/themes/img/O/busy-1.png new file mode 100644 index 0000000000..48d00e04fe Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-1.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-2.png b/legacy/elementary/data/themes/img/O/busy-2.png new file mode 100644 index 0000000000..75d840444c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-2.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-3.png b/legacy/elementary/data/themes/img/O/busy-3.png new file mode 100644 index 0000000000..b383fcbad2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-3.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-4.png b/legacy/elementary/data/themes/img/O/busy-4.png new file mode 100644 index 0000000000..8aa8a0f2cf Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-4.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-5.png b/legacy/elementary/data/themes/img/O/busy-5.png new file mode 100644 index 0000000000..7da0e041b8 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-5.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-6.png b/legacy/elementary/data/themes/img/O/busy-6.png new file mode 100644 index 0000000000..45b27bd83c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-6.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-7.png b/legacy/elementary/data/themes/img/O/busy-7.png new file mode 100644 index 0000000000..53bed1a979 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-7.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-8.png b/legacy/elementary/data/themes/img/O/busy-8.png new file mode 100644 index 0000000000..75d684a251 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-8.png differ diff --git a/legacy/elementary/data/themes/img/O/busy-9.png b/legacy/elementary/data/themes/img/O/busy-9.png new file mode 100644 index 0000000000..4af4a4ae9c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/busy-9.png differ diff --git a/legacy/elementary/data/themes/images/dia_botshad.png b/legacy/elementary/data/themes/img/O/dia_botshad.png similarity index 100% rename from legacy/elementary/data/themes/images/dia_botshad.png rename to legacy/elementary/data/themes/img/O/dia_botshad.png diff --git a/legacy/elementary/data/themes/img/O/dia_grad.png b/legacy/elementary/data/themes/img/O/dia_grad.png new file mode 100644 index 0000000000..1385d12d47 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/dia_grad.png differ diff --git a/legacy/elementary/data/themes/img/O/e17_mini_button_shadow2.png b/legacy/elementary/data/themes/img/O/e17_mini_button_shadow2.png new file mode 100644 index 0000000000..dcdc6ea263 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/e17_mini_button_shadow2.png differ diff --git a/legacy/elementary/data/themes/img/O/everything_box.png b/legacy/elementary/data/themes/img/O/everything_box.png new file mode 100644 index 0000000000..60961a712e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/everything_box.png differ diff --git a/legacy/elementary/data/themes/img/O/everything_item_bg.png b/legacy/elementary/data/themes/img/O/everything_item_bg.png new file mode 100644 index 0000000000..1bd167b83b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/everything_item_bg.png differ diff --git a/legacy/elementary/data/themes/img/O/exq-bglight.png b/legacy/elementary/data/themes/img/O/exq-bglight.png new file mode 100644 index 0000000000..5eeeca2451 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/exq-bglight.png differ diff --git a/legacy/elementary/data/themes/img/O/exq-dot-glow.png b/legacy/elementary/data/themes/img/O/exq-dot-glow.png new file mode 100644 index 0000000000..8e0d0f711b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/exq-dot-glow.png differ diff --git a/legacy/elementary/data/themes/img/O/exq-dot.png b/legacy/elementary/data/themes/img/O/exq-dot.png new file mode 100644 index 0000000000..005d896c9c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/exq-dot.png differ diff --git a/legacy/elementary/data/themes/img/O/exq-logo.png b/legacy/elementary/data/themes/img/O/exq-logo.png new file mode 100644 index 0000000000..e9bdf3650a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/exq-logo.png differ diff --git a/legacy/elementary/data/themes/img/O/exq-vgrad.png b/legacy/elementary/data/themes/img/O/exq-vgrad.png new file mode 100644 index 0000000000..708fe70e7d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/exq-vgrad.png differ diff --git a/legacy/elementary/data/themes/img/O/gadman_border.png b/legacy/elementary/data/themes/img/O/gadman_border.png new file mode 100644 index 0000000000..9c1cc00f2b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/gadman_border.png differ diff --git a/legacy/elementary/data/themes/img/O/gadman_bottom.png b/legacy/elementary/data/themes/img/O/gadman_bottom.png new file mode 100644 index 0000000000..fbfb1e9655 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/gadman_bottom.png differ diff --git a/legacy/elementary/data/themes/img/O/gadman_frame.png b/legacy/elementary/data/themes/img/O/gadman_frame.png new file mode 100644 index 0000000000..6b8b51f29d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/gadman_frame.png differ diff --git a/legacy/elementary/data/themes/img/O/gadman_left.png b/legacy/elementary/data/themes/img/O/gadman_left.png new file mode 100644 index 0000000000..374be1fd52 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/gadman_left.png differ diff --git a/legacy/elementary/data/themes/img/O/gadman_right.png b/legacy/elementary/data/themes/img/O/gadman_right.png new file mode 100644 index 0000000000..c27ebb34e2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/gadman_right.png differ diff --git a/legacy/elementary/data/themes/img/O/gadman_top.png b/legacy/elementary/data/themes/img/O/gadman_top.png new file mode 100644 index 0000000000..300c4b68ef Binary files /dev/null and b/legacy/elementary/data/themes/img/O/gadman_top.png differ diff --git a/legacy/elementary/data/themes/img/O/glow.png b/legacy/elementary/data/themes/img/O/glow.png new file mode 100644 index 0000000000..b423e0aa49 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/glow.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_active.png b/legacy/elementary/data/themes/img/O/icon_active.png new file mode 100644 index 0000000000..2ad17e9aa4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_active.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_add.png b/legacy/elementary/data/themes/img/O/icon_add.png new file mode 100644 index 0000000000..f6f4108ee7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_add.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_add_fav.png b/legacy/elementary/data/themes/img/O/icon_add_fav.png new file mode 100644 index 0000000000..9d468a4679 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_add_fav.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_advanced.png b/legacy/elementary/data/themes/img/O/icon_advanced.png new file mode 100644 index 0000000000..91a80500a9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_advanced.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_applications.png b/legacy/elementary/data/themes/img/O/icon_applications.png new file mode 100644 index 0000000000..d2fd238961 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_applications.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_applications_ibar.png b/legacy/elementary/data/themes/img/O/icon_applications_ibar.png new file mode 100644 index 0000000000..094abda084 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_applications_ibar.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_applications_new.png b/legacy/elementary/data/themes/img/O/icon_applications_new.png new file mode 100644 index 0000000000..e1027c4c5d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_applications_new.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_applications_restart.png b/legacy/elementary/data/themes/img/O/icon_applications_restart.png new file mode 100644 index 0000000000..92ecd7d0e3 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_applications_restart.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_applications_startup.png b/legacy/elementary/data/themes/img/O/icon_applications_startup.png new file mode 100644 index 0000000000..987b0c9042 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_applications_startup.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_autoscroll.png b/legacy/elementary/data/themes/img/O/icon_autoscroll.png new file mode 100644 index 0000000000..d6d81129ef Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_autoscroll.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_behavior.png b/legacy/elementary/data/themes/img/O/icon_behavior.png new file mode 100644 index 0000000000..f82ff56dd7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_behavior.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_border.png b/legacy/elementary/data/themes/img/O/icon_border_border.png new file mode 100644 index 0000000000..da50fe5cdd Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_border.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_close.png b/legacy/elementary/data/themes/img/O/icon_border_close.png new file mode 100644 index 0000000000..718acccbba Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_close.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_kill.png b/legacy/elementary/data/themes/img/O/icon_border_kill.png new file mode 100644 index 0000000000..5f1f0703a1 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_kill.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_lock.png b/legacy/elementary/data/themes/img/O/icon_border_lock.png new file mode 100644 index 0000000000..cf6705e317 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_lock.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_maximize.png b/legacy/elementary/data/themes/img/O/icon_border_maximize.png new file mode 100644 index 0000000000..bc70cc76dc Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_maximize.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_minimize.png b/legacy/elementary/data/themes/img/O/icon_border_minimize.png new file mode 100644 index 0000000000..43099b1b06 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_minimize.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_more.png b/legacy/elementary/data/themes/img/O/icon_border_more.png new file mode 100644 index 0000000000..a27b0fb64f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_more.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_pager.png b/legacy/elementary/data/themes/img/O/icon_border_pager.png new file mode 100644 index 0000000000..5ea60a9460 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_pager.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_pin.png b/legacy/elementary/data/themes/img/O/icon_border_pin.png new file mode 100644 index 0000000000..cb1ed8d314 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_pin.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_properties.png b/legacy/elementary/data/themes/img/O/icon_border_properties.png new file mode 100644 index 0000000000..f051a35bbd Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_properties.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_remember.png b/legacy/elementary/data/themes/img/O/icon_border_remember.png new file mode 100644 index 0000000000..d27b3bfe30 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_remember.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_sendto.png b/legacy/elementary/data/themes/img/O/icon_border_sendto.png new file mode 100644 index 0000000000..495aff746b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_sendto.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_shaded.png b/legacy/elementary/data/themes/img/O/icon_border_shaded.png new file mode 100644 index 0000000000..cf83cef181 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_shaded.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_skip.png b/legacy/elementary/data/themes/img/O/icon_border_skip.png new file mode 100644 index 0000000000..8a5e53a416 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_skip.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_stack_bot.png b/legacy/elementary/data/themes/img/O/icon_border_stack_bot.png new file mode 100644 index 0000000000..5f12280386 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_stack_bot.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_stack_norm.png b/legacy/elementary/data/themes/img/O/icon_border_stack_norm.png new file mode 100644 index 0000000000..f0035f7e32 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_stack_norm.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_border_stack_top.png b/legacy/elementary/data/themes/img/O/icon_border_stack_top.png new file mode 100644 index 0000000000..351d29816f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_border_stack_top.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_check.png b/legacy/elementary/data/themes/img/O/icon_check.png new file mode 100644 index 0000000000..c698b1e88f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_check.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_close.png b/legacy/elementary/data/themes/img/O/icon_close.png new file mode 100644 index 0000000000..688c548595 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_close.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_colors.png b/legacy/elementary/data/themes/img/O/icon_colors.png new file mode 100644 index 0000000000..0584ad50f0 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_colors.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_config.png b/legacy/elementary/data/themes/img/O/icon_config.png new file mode 100644 index 0000000000..b7f6c56435 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_config.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_configuration.png b/legacy/elementary/data/themes/img/O/icon_configuration.png new file mode 100644 index 0000000000..43602b0bfc Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_configuration.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_del.png b/legacy/elementary/data/themes/img/O/icon_del.png new file mode 100644 index 0000000000..39f8f3b192 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_del.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_desklock.png b/legacy/elementary/data/themes/img/O/icon_desklock.png new file mode 100644 index 0000000000..4d8b5911f8 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_desklock.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_desklock_menu.png b/legacy/elementary/data/themes/img/O/icon_desklock_menu.png new file mode 100644 index 0000000000..d050151f39 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_desklock_menu.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_desktops.png b/legacy/elementary/data/themes/img/O/icon_desktops.png new file mode 100644 index 0000000000..ea6853a6d9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_desktops.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_directories.png b/legacy/elementary/data/themes/img/O/icon_directories.png new file mode 100644 index 0000000000..e30a9bbb5a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_directories.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_down_arrow.png b/legacy/elementary/data/themes/img/O/icon_down_arrow.png new file mode 100644 index 0000000000..305b79e627 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_down_arrow.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_dummy.png b/legacy/elementary/data/themes/img/O/icon_dummy.png new file mode 100644 index 0000000000..1b1b83401f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_dummy.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_arrange.png b/legacy/elementary/data/themes/img/O/icon_efm_arrange.png new file mode 100644 index 0000000000..72b43b676f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_arrange.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_arrange_name.png b/legacy/elementary/data/themes/img/O/icon_efm_arrange_name.png new file mode 100644 index 0000000000..293173e6db Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_arrange_name.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_arrange_time.png b/legacy/elementary/data/themes/img/O/icon_efm_arrange_time.png new file mode 100644 index 0000000000..52612de6b5 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_arrange_time.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_cd.png b/legacy/elementary/data/themes/img/O/icon_efm_cd.png new file mode 100644 index 0000000000..8cc29f00fd Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_cd.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_copy.png b/legacy/elementary/data/themes/img/O/icon_efm_copy.png new file mode 100644 index 0000000000..d2af9e34d9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_copy.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_cut.png b/legacy/elementary/data/themes/img/O/icon_efm_cut.png new file mode 100644 index 0000000000..7fb4753226 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_cut.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_delete.png b/legacy/elementary/data/themes/img/O/icon_efm_delete.png new file mode 100644 index 0000000000..ddf87823d3 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_delete.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_desktop.png b/legacy/elementary/data/themes/img/O/icon_efm_desktop.png new file mode 100644 index 0000000000..a1e2ab40ec Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_desktop.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_dnd_ask.png b/legacy/elementary/data/themes/img/O/icon_efm_dnd_ask.png new file mode 100644 index 0000000000..56a6884c5e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_dnd_ask.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_dnd_copy.png b/legacy/elementary/data/themes/img/O/icon_efm_dnd_copy.png new file mode 100644 index 0000000000..7224892f41 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_dnd_copy.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_dnd_move.png b/legacy/elementary/data/themes/img/O/icon_efm_dnd_move.png new file mode 100644 index 0000000000..b0a65a1ee6 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_dnd_move.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_eject.png b/legacy/elementary/data/themes/img/O/icon_efm_eject.png new file mode 100644 index 0000000000..0162356e22 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_eject.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_file.png b/legacy/elementary/data/themes/img/O/icon_efm_file.png new file mode 100644 index 0000000000..102f6c0723 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_file.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_file_del.png b/legacy/elementary/data/themes/img/O/icon_efm_file_del.png new file mode 100644 index 0000000000..019e3d6100 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_file_del.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_flash.png b/legacy/elementary/data/themes/img/O/icon_efm_flash.png new file mode 100644 index 0000000000..f5152a72d5 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_flash.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_folder.png b/legacy/elementary/data/themes/img/O/icon_efm_folder.png new file mode 100644 index 0000000000..4aa581c2b9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_folder.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_hdd.png b/legacy/elementary/data/themes/img/O/icon_efm_hdd.png new file mode 100644 index 0000000000..f77673d212 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_hdd.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_home.png b/legacy/elementary/data/themes/img/O/icon_efm_home.png new file mode 100644 index 0000000000..e7a13849ed Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_home.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_new.png b/legacy/elementary/data/themes/img/O/icon_efm_new.png new file mode 100644 index 0000000000..44e9146d56 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_new.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_new_dir.png b/legacy/elementary/data/themes/img/O/icon_efm_new_dir.png new file mode 100644 index 0000000000..317e0bf768 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_new_dir.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_open.png b/legacy/elementary/data/themes/img/O/icon_efm_open.png new file mode 100644 index 0000000000..ee313035d2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_open.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_paste.png b/legacy/elementary/data/themes/img/O/icon_efm_paste.png new file mode 100644 index 0000000000..8724658439 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_paste.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_properties.png b/legacy/elementary/data/themes/img/O/icon_efm_properties.png new file mode 100644 index 0000000000..92cc8382b7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_properties.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_refresh.png b/legacy/elementary/data/themes/img/O/icon_efm_refresh.png new file mode 100644 index 0000000000..74b606072a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_refresh.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_rename.png b/legacy/elementary/data/themes/img/O/icon_efm_rename.png new file mode 100644 index 0000000000..5ac3198aa6 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_rename.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_root.png b/legacy/elementary/data/themes/img/O/icon_efm_root.png new file mode 100644 index 0000000000..eec2a1e09d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_root.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_select.png b/legacy/elementary/data/themes/img/O/icon_efm_select.png new file mode 100644 index 0000000000..442c4be912 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_select.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_sort.png b/legacy/elementary/data/themes/img/O/icon_efm_sort.png new file mode 100644 index 0000000000..0a0588f1ca Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_sort.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_tmp.png b/legacy/elementary/data/themes/img/O/icon_efm_tmp.png new file mode 100644 index 0000000000..bd6550684c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_tmp.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_usbmedia.png b/legacy/elementary/data/themes/img/O/icon_efm_usbmedia.png new file mode 100644 index 0000000000..6989e97dd5 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_usbmedia.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_view.png b/legacy/elementary/data/themes/img/O/icon_efm_view.png new file mode 100644 index 0000000000..38b701626d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_view.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_view_details.png b/legacy/elementary/data/themes/img/O/icon_efm_view_details.png new file mode 100644 index 0000000000..29fc7867fb Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_view_details.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_view_name.png b/legacy/elementary/data/themes/img/O/icon_efm_view_name.png new file mode 100644 index 0000000000..22d78c115b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_view_name.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_vol_mounted.png b/legacy/elementary/data/themes/img/O/icon_efm_vol_mounted.png new file mode 100644 index 0000000000..f52b563f50 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_vol_mounted.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_efm_vol_unmounted.png b/legacy/elementary/data/themes/img/O/icon_efm_vol_unmounted.png new file mode 100644 index 0000000000..793d9a1215 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_efm_vol_unmounted.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_engine.png b/legacy/elementary/data/themes/img/O/icon_engine.png new file mode 100644 index 0000000000..dfbe46ffc0 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_engine.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_evry_clipboard.png b/legacy/elementary/data/themes/img/O/icon_evry_clipboard.png new file mode 100644 index 0000000000..a42602b29c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_evry_clipboard.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_extensions.png b/legacy/elementary/data/themes/img/O/icon_extensions.png new file mode 100644 index 0000000000..55ba93e7d4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_extensions.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_favorites.png b/legacy/elementary/data/themes/img/O/icon_favorites.png new file mode 100644 index 0000000000..208cc44d6f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_favorites.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_file_icons.png b/legacy/elementary/data/themes/img/O/icon_file_icons.png new file mode 100644 index 0000000000..7d74638db4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_file_icons.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_fonts.png b/legacy/elementary/data/themes/img/O/icon_fonts.png new file mode 100644 index 0000000000..9171dbf3ae Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_fonts.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_gadget.png b/legacy/elementary/data/themes/img/O/icon_gadget.png new file mode 100644 index 0000000000..0f84136857 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_gadget.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_globe.png b/legacy/elementary/data/themes/img/O/icon_globe.png new file mode 100644 index 0000000000..946d2241cb Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_globe.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_gradient.png b/legacy/elementary/data/themes/img/O/icon_gradient.png new file mode 100644 index 0000000000..a523b0956d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_gradient.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_halt.png b/legacy/elementary/data/themes/img/O/icon_halt.png new file mode 100644 index 0000000000..63ed9c85d1 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_halt.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_hibernate.png b/legacy/elementary/data/themes/img/O/icon_hibernate.png new file mode 100644 index 0000000000..45cfa63d5b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_hibernate.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_icon_theme.png b/legacy/elementary/data/themes/img/O/icon_icon_theme.png new file mode 100644 index 0000000000..89d49e7ffb Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_icon_theme.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_illume.png b/legacy/elementary/data/themes/img/O/icon_illume.png new file mode 100644 index 0000000000..babb896340 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_illume.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_imc.png b/legacy/elementary/data/themes/img/O/icon_imc.png new file mode 100644 index 0000000000..7ddd968bce Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_imc.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_interaction.png b/legacy/elementary/data/themes/img/O/icon_interaction.png new file mode 100644 index 0000000000..1c82af9f9c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_interaction.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_intl.png b/legacy/elementary/data/themes/img/O/icon_intl.png new file mode 100644 index 0000000000..826c7492f0 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_intl.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_keyboard.png b/legacy/elementary/data/themes/img/O/icon_keyboard.png new file mode 100644 index 0000000000..84b14bab59 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_keyboard.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_keys.png b/legacy/elementary/data/themes/img/O/icon_keys.png new file mode 100644 index 0000000000..4bbd8b10d8 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_keys.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_left_arrow.png b/legacy/elementary/data/themes/img/O/icon_left_arrow.png new file mode 100644 index 0000000000..e9338019b7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_left_arrow.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_logout.png b/legacy/elementary/data/themes/img/O/icon_logout.png new file mode 100644 index 0000000000..29ee4e71e9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_logout.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_look.png b/legacy/elementary/data/themes/img/O/icon_look.png new file mode 100644 index 0000000000..bb8a366ad7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_look.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_lost_windows.png b/legacy/elementary/data/themes/img/O/icon_lost_windows.png new file mode 100644 index 0000000000..e19cb82645 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_lost_windows.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_menu_settings.png b/legacy/elementary/data/themes/img/O/icon_menu_settings.png new file mode 100644 index 0000000000..f75bb19c52 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_menu_settings.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_menus.png b/legacy/elementary/data/themes/img/O/icon_menus.png new file mode 100644 index 0000000000..0ed330fc2d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_menus.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_audio_generic.png b/legacy/elementary/data/themes/img/O/icon_mime_audio_generic.png new file mode 100644 index 0000000000..874b6cfaf3 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_audio_generic.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_bdf.png b/legacy/elementary/data/themes/img/O/icon_mime_bdf.png new file mode 100644 index 0000000000..b850a65466 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_bdf.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_c.png b/legacy/elementary/data/themes/img/O/icon_mime_c.png new file mode 100644 index 0000000000..2c0e5c4899 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_c.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_css.png b/legacy/elementary/data/themes/img/O/icon_mime_css.png new file mode 100644 index 0000000000..96558d8ebd Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_css.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_deb.png b/legacy/elementary/data/themes/img/O/icon_mime_deb.png new file mode 100644 index 0000000000..08d79d739a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_deb.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_doc.png b/legacy/elementary/data/themes/img/O/icon_mime_doc.png new file mode 100644 index 0000000000..929d2a33ac Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_doc.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_executable_generic.png b/legacy/elementary/data/themes/img/O/icon_mime_executable_generic.png new file mode 100644 index 0000000000..655407a218 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_executable_generic.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_font_generic.png b/legacy/elementary/data/themes/img/O/icon_mime_font_generic.png new file mode 100644 index 0000000000..5272104644 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_font_generic.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_h.png b/legacy/elementary/data/themes/img/O/icon_mime_h.png new file mode 100644 index 0000000000..074f5bb761 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_h.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_html.png b/legacy/elementary/data/themes/img/O/icon_mime_html.png new file mode 100644 index 0000000000..1b24ebd243 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_html.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_image_generic.png b/legacy/elementary/data/themes/img/O/icon_mime_image_generic.png new file mode 100644 index 0000000000..887e310588 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_image_generic.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_o.png b/legacy/elementary/data/themes/img/O/icon_mime_o.png new file mode 100644 index 0000000000..4153cfaf1e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_o.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_package.png b/legacy/elementary/data/themes/img/O/icon_mime_package.png new file mode 100644 index 0000000000..40d11bdcb7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_package.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_patch.png b/legacy/elementary/data/themes/img/O/icon_mime_patch.png new file mode 100644 index 0000000000..2b9c67e59e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_patch.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_pcf.png b/legacy/elementary/data/themes/img/O/icon_mime_pcf.png new file mode 100644 index 0000000000..2d887d44ad Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_pcf.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_pdf.png b/legacy/elementary/data/themes/img/O/icon_mime_pdf.png new file mode 100644 index 0000000000..ba537a9054 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_pdf.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_plain.png b/legacy/elementary/data/themes/img/O/icon_mime_plain.png new file mode 100644 index 0000000000..7c25d34848 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_plain.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_sh.png b/legacy/elementary/data/themes/img/O/icon_mime_sh.png new file mode 100644 index 0000000000..e46ae4eb8a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_sh.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_text_generic.png b/legacy/elementary/data/themes/img/O/icon_mime_text_generic.png new file mode 100644 index 0000000000..9415847b25 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_text_generic.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_ttf.png b/legacy/elementary/data/themes/img/O/icon_mime_ttf.png new file mode 100644 index 0000000000..9c150111f1 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_ttf.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_video_generic.png b/legacy/elementary/data/themes/img/O/icon_mime_video_generic.png new file mode 100644 index 0000000000..fcfedbe111 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_video_generic.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mime_xcf.png b/legacy/elementary/data/themes/img/O/icon_mime_xcf.png new file mode 100644 index 0000000000..f1e71a6d92 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mime_xcf.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mixer.png b/legacy/elementary/data/themes/img/O/icon_mixer.png new file mode 100644 index 0000000000..e5e3b0e236 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mixer.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_modules.png b/legacy/elementary/data/themes/img/O/icon_modules.png new file mode 100644 index 0000000000..50101e8f17 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_modules.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mouse.png b/legacy/elementary/data/themes/img/O/icon_mouse.png new file mode 100644 index 0000000000..0af8dbc397 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mouse.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mouse_clean.png b/legacy/elementary/data/themes/img/O/icon_mouse_clean.png new file mode 100644 index 0000000000..190193c686 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mouse_clean.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mouse_extra.png b/legacy/elementary/data/themes/img/O/icon_mouse_extra.png new file mode 100644 index 0000000000..94f83b1684 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mouse_extra.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mouse_left.png b/legacy/elementary/data/themes/img/O/icon_mouse_left.png new file mode 100644 index 0000000000..ba0198daac Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mouse_left.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mouse_middle.png b/legacy/elementary/data/themes/img/O/icon_mouse_middle.png new file mode 100644 index 0000000000..ced1ef6d1d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mouse_middle.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mouse_right.png b/legacy/elementary/data/themes/img/O/icon_mouse_right.png new file mode 100644 index 0000000000..de9b9adf08 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mouse_right.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_mouse_wheel.png b/legacy/elementary/data/themes/img/O/icon_mouse_wheel.png new file mode 100644 index 0000000000..7b5259edf8 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_mouse_wheel.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_new.png b/legacy/elementary/data/themes/img/O/icon_new.png new file mode 100644 index 0000000000..911c7b55f7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_new.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_pager.png b/legacy/elementary/data/themes/img/O/icon_pager.png new file mode 100644 index 0000000000..147f26f53e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_pager.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_performance.png b/legacy/elementary/data/themes/img/O/icon_performance.png new file mode 100644 index 0000000000..6e54bc5c36 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_performance.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_power_management.png b/legacy/elementary/data/themes/img/O/icon_power_management.png new file mode 100644 index 0000000000..7ddef134a4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_power_management.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_profiles.png b/legacy/elementary/data/themes/img/O/icon_profiles.png new file mode 100644 index 0000000000..37c0255a1e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_profiles.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_reboot.png b/legacy/elementary/data/themes/img/O/icon_reboot.png new file mode 100644 index 0000000000..1fc38a0dc2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_reboot.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_reset.png b/legacy/elementary/data/themes/img/O/icon_reset.png new file mode 100644 index 0000000000..1fc38a0dc2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_reset.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_resize.png b/legacy/elementary/data/themes/img/O/icon_resize.png new file mode 100644 index 0000000000..7362a7e3c2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_resize.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_right_arrow.png b/legacy/elementary/data/themes/img/O/icon_right_arrow.png new file mode 100644 index 0000000000..5da3a7d00a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_right_arrow.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_run.png b/legacy/elementary/data/themes/img/O/icon_run.png new file mode 100644 index 0000000000..525e60f3a4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_run.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_scale.png b/legacy/elementary/data/themes/img/O/icon_scale.png new file mode 100644 index 0000000000..fb6a85e74b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_scale.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_around.png b/legacy/elementary/data/themes/img/O/icon_screen_around.png new file mode 100644 index 0000000000..5885668f87 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_around.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_hflip.png b/legacy/elementary/data/themes/img/O/icon_screen_hflip.png new file mode 100644 index 0000000000..f22d996f12 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_hflip.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_left.png b/legacy/elementary/data/themes/img/O/icon_screen_left.png new file mode 100644 index 0000000000..2debe427cd Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_left.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_normal.png b/legacy/elementary/data/themes/img/O/icon_screen_normal.png new file mode 100644 index 0000000000..1b773344e1 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_normal.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_resolution.png b/legacy/elementary/data/themes/img/O/icon_screen_resolution.png new file mode 100644 index 0000000000..bb363d4c1c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_resolution.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_right.png b/legacy/elementary/data/themes/img/O/icon_screen_right.png new file mode 100644 index 0000000000..42ca3fd526 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_right.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_setup.png b/legacy/elementary/data/themes/img/O/icon_screen_setup.png new file mode 100644 index 0000000000..1b773344e1 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_setup.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screen_vflip.png b/legacy/elementary/data/themes/img/O/icon_screen_vflip.png new file mode 100644 index 0000000000..198465fe09 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screen_vflip.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screensaver.png b/legacy/elementary/data/themes/img/O/icon_screensaver.png new file mode 100644 index 0000000000..8b749b6a99 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screensaver.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_screenshot.png b/legacy/elementary/data/themes/img/O/icon_screenshot.png new file mode 100644 index 0000000000..bcd2a695d2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_screenshot.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf.png b/legacy/elementary/data/themes/img/O/icon_shelf.png new file mode 100644 index 0000000000..9a51d029b7 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_bottom.png b/legacy/elementary/data/themes/img/O/icon_shelf_bottom.png new file mode 100644 index 0000000000..cc600ecb93 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_bottom.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_bottom_desk.png b/legacy/elementary/data/themes/img/O/icon_shelf_bottom_desk.png new file mode 100644 index 0000000000..316461be02 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_bottom_desk.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_bottom_left.png b/legacy/elementary/data/themes/img/O/icon_shelf_bottom_left.png new file mode 100644 index 0000000000..1f76067ac1 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_bottom_left.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_bottom_right.png b/legacy/elementary/data/themes/img/O/icon_shelf_bottom_right.png new file mode 100644 index 0000000000..025a6bcf93 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_bottom_right.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_custom.png b/legacy/elementary/data/themes/img/O/icon_shelf_custom.png new file mode 100644 index 0000000000..5187f36f01 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_custom.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_dock.png b/legacy/elementary/data/themes/img/O/icon_shelf_dock.png new file mode 100644 index 0000000000..e7a2aea7ba Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_dock.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_left.png b/legacy/elementary/data/themes/img/O/icon_shelf_left.png new file mode 100644 index 0000000000..4500993e5a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_left.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_left_bottom.png b/legacy/elementary/data/themes/img/O/icon_shelf_left_bottom.png new file mode 100644 index 0000000000..6c5a383e53 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_left_bottom.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_left_top.png b/legacy/elementary/data/themes/img/O/icon_shelf_left_top.png new file mode 100644 index 0000000000..659c52b462 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_left_top.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_menu_bar.png b/legacy/elementary/data/themes/img/O/icon_shelf_menu_bar.png new file mode 100644 index 0000000000..5762bb2330 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_menu_bar.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_panel.png b/legacy/elementary/data/themes/img/O/icon_shelf_panel.png new file mode 100644 index 0000000000..2a4fc8a4f9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_panel.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_right.png b/legacy/elementary/data/themes/img/O/icon_shelf_right.png new file mode 100644 index 0000000000..26fa5cff40 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_right.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_right_bottom.png b/legacy/elementary/data/themes/img/O/icon_shelf_right_bottom.png new file mode 100644 index 0000000000..1f26807b71 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_right_bottom.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_right_top.png b/legacy/elementary/data/themes/img/O/icon_shelf_right_top.png new file mode 100644 index 0000000000..236c5da181 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_right_top.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_top.png b/legacy/elementary/data/themes/img/O/icon_shelf_top.png new file mode 100644 index 0000000000..8291263b40 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_top.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_top_desk.png b/legacy/elementary/data/themes/img/O/icon_shelf_top_desk.png new file mode 100644 index 0000000000..49f595d998 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_top_desk.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_top_left.png b/legacy/elementary/data/themes/img/O/icon_shelf_top_left.png new file mode 100644 index 0000000000..563687b17b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_top_left.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_shelf_top_right.png b/legacy/elementary/data/themes/img/O/icon_shelf_top_right.png new file mode 100644 index 0000000000..edac6f2052 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_shelf_top_right.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_startup.png b/legacy/elementary/data/themes/img/O/icon_startup.png new file mode 100644 index 0000000000..63645f46a2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_startup.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_suspend.png b/legacy/elementary/data/themes/img/O/icon_suspend.png new file mode 100644 index 0000000000..cb0e038681 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_suspend.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_swap.png b/legacy/elementary/data/themes/img/O/icon_swap.png new file mode 100644 index 0000000000..3250eae7cc Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_swap.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_system.png b/legacy/elementary/data/themes/img/O/icon_system.png new file mode 100644 index 0000000000..b9b35959d5 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_system.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_theme.png b/legacy/elementary/data/themes/img/O/icon_theme.png new file mode 100644 index 0000000000..6743559162 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_theme.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_toolbar.png b/legacy/elementary/data/themes/img/O/icon_toolbar.png new file mode 100644 index 0000000000..c759dba47d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_toolbar.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_transitions.png b/legacy/elementary/data/themes/img/O/icon_transitions.png new file mode 100644 index 0000000000..7d0b62f2f2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_transitions.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_up_arrow.png b/legacy/elementary/data/themes/img/O/icon_up_arrow.png new file mode 100644 index 0000000000..7ee536cd4e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_up_arrow.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_wallpaper.png b/legacy/elementary/data/themes/img/O/icon_wallpaper.png new file mode 100644 index 0000000000..ae9f97a92b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_wallpaper.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_wallpaper_center.png b/legacy/elementary/data/themes/img/O/icon_wallpaper_center.png new file mode 100644 index 0000000000..ee96012247 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_wallpaper_center.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_wallpaper_center_flat.png b/legacy/elementary/data/themes/img/O/icon_wallpaper_center_flat.png new file mode 100644 index 0000000000..dd3dc874f4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_wallpaper_center_flat.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_wallpaper_grad_screen.png b/legacy/elementary/data/themes/img/O/icon_wallpaper_grad_screen.png new file mode 100644 index 0000000000..732adcbcd4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_wallpaper_grad_screen.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_wallpaper_screen.png b/legacy/elementary/data/themes/img/O/icon_wallpaper_screen.png new file mode 100644 index 0000000000..ca9f878931 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_wallpaper_screen.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_warning.png b/legacy/elementary/data/themes/img/O/icon_warning.png new file mode 100644 index 0000000000..ef79dac6b2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_warning.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_win_move.png b/legacy/elementary/data/themes/img/O/icon_win_move.png new file mode 100644 index 0000000000..4f58e4c109 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_win_move.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_win_resize.png b/legacy/elementary/data/themes/img/O/icon_win_resize.png new file mode 100644 index 0000000000..3d45fec27a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_win_resize.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_window_focus.png b/legacy/elementary/data/themes/img/O/icon_window_focus.png new file mode 100644 index 0000000000..fd2633ca57 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_window_focus.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_window_geometry.png b/legacy/elementary/data/themes/img/O/icon_window_geometry.png new file mode 100644 index 0000000000..75d8f095e9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_window_geometry.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_window_manipulation.png b/legacy/elementary/data/themes/img/O/icon_window_manipulation.png new file mode 100644 index 0000000000..108a80a494 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_window_manipulation.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_window_process_management.png b/legacy/elementary/data/themes/img/O/icon_window_process_management.png new file mode 100644 index 0000000000..71f1f388af Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_window_process_management.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_window_remembers.png b/legacy/elementary/data/themes/img/O/icon_window_remembers.png new file mode 100644 index 0000000000..bf9c94753f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_window_remembers.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_windows.png b/legacy/elementary/data/themes/img/O/icon_windows.png new file mode 100644 index 0000000000..9b19d4ae54 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_windows.png differ diff --git a/legacy/elementary/data/themes/img/O/icon_winlist.png b/legacy/elementary/data/themes/img/O/icon_winlist.png new file mode 100644 index 0000000000..97ad69ab17 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/icon_winlist.png differ diff --git a/legacy/elementary/data/themes/img/O/illume-home.png b/legacy/elementary/data/themes/img/O/illume-home.png new file mode 100644 index 0000000000..62b51fd8e3 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/illume-home.png differ diff --git a/legacy/elementary/data/themes/img/O/illume-kbd-on.png b/legacy/elementary/data/themes/img/O/illume-kbd-on.png new file mode 100644 index 0000000000..0dbecb242d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/illume-kbd-on.png differ diff --git a/legacy/elementary/data/themes/img/O/illume-kbd.png b/legacy/elementary/data/themes/img/O/illume-kbd.png new file mode 100644 index 0000000000..3bbe26fd8a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/illume-kbd.png differ diff --git a/legacy/elementary/data/themes/img/O/illume-mode-dual-left.png b/legacy/elementary/data/themes/img/O/illume-mode-dual-left.png new file mode 100644 index 0000000000..5319f0135a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/illume-mode-dual-left.png differ diff --git a/legacy/elementary/data/themes/img/O/illume-mode-dual-top.png b/legacy/elementary/data/themes/img/O/illume-mode-dual-top.png new file mode 100644 index 0000000000..e8833d13e6 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/illume-mode-dual-top.png differ diff --git a/legacy/elementary/data/themes/img/O/illume-mode-single.png b/legacy/elementary/data/themes/img/O/illume-mode-single.png new file mode 100644 index 0000000000..9f7acc0f84 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/illume-mode-single.png differ diff --git a/legacy/elementary/data/themes/img/O/inset_raised.png b/legacy/elementary/data/themes/img/O/inset_raised.png new file mode 100644 index 0000000000..5f392b99e6 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/inset_raised.png differ diff --git a/legacy/elementary/data/themes/images/shelf_inset.png b/legacy/elementary/data/themes/img/O/inset_sunk.png similarity index 100% rename from legacy/elementary/data/themes/images/shelf_inset.png rename to legacy/elementary/data/themes/img/O/inset_sunk.png diff --git a/legacy/elementary/data/themes/img/O/logo_black_128.png b/legacy/elementary/data/themes/img/O/logo_black_128.png new file mode 100644 index 0000000000..0b79b69ab3 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/logo_black_128.png differ diff --git a/legacy/elementary/data/themes/img/O/logo_white_128.png b/legacy/elementary/data/themes/img/O/logo_white_128.png new file mode 100644 index 0000000000..9f0c7a7b91 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/logo_white_128.png differ diff --git a/legacy/elementary/data/themes/img/O/mixer.png b/legacy/elementary/data/themes/img/O/mixer.png new file mode 100644 index 0000000000..61d5dd356c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/mixer.png differ diff --git a/legacy/elementary/data/themes/img/O/mixer_high_left.png b/legacy/elementary/data/themes/img/O/mixer_high_left.png new file mode 100644 index 0000000000..e46adec069 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/mixer_high_left.png differ diff --git a/legacy/elementary/data/themes/img/O/mixer_high_right.png b/legacy/elementary/data/themes/img/O/mixer_high_right.png new file mode 100644 index 0000000000..7ee672e22c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/mixer_high_right.png differ diff --git a/legacy/elementary/data/themes/img/O/mixer_low_left.png b/legacy/elementary/data/themes/img/O/mixer_low_left.png new file mode 100644 index 0000000000..eaea3f1c01 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/mixer_low_left.png differ diff --git a/legacy/elementary/data/themes/img/O/mixer_low_right.png b/legacy/elementary/data/themes/img/O/mixer_low_right.png new file mode 100644 index 0000000000..ce0dc15fde Binary files /dev/null and b/legacy/elementary/data/themes/img/O/mixer_low_right.png differ diff --git a/legacy/elementary/data/themes/img/O/mixer_med_left.png b/legacy/elementary/data/themes/img/O/mixer_med_left.png new file mode 100644 index 0000000000..d5a1d8a047 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/mixer_med_left.png differ diff --git a/legacy/elementary/data/themes/img/O/mixer_med_right.png b/legacy/elementary/data/themes/img/O/mixer_med_right.png new file mode 100644 index 0000000000..11c2ab8e25 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/mixer_med_right.png differ diff --git a/legacy/elementary/data/themes/img/O/outline.png b/legacy/elementary/data/themes/img/O/outline.png new file mode 100644 index 0000000000..8adc831f10 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/outline.png differ diff --git a/legacy/elementary/data/themes/img/O/randr_icon_off.png b/legacy/elementary/data/themes/img/O/randr_icon_off.png new file mode 100644 index 0000000000..47448b9408 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/randr_icon_off.png differ diff --git a/legacy/elementary/data/themes/img/O/randr_icon_on.png b/legacy/elementary/data/themes/img/O/randr_icon_on.png new file mode 100644 index 0000000000..3859d428a2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/randr_icon_on.png differ diff --git a/legacy/elementary/data/themes/img/O/randr_monitor.png b/legacy/elementary/data/themes/img/O/randr_monitor.png new file mode 100644 index 0000000000..da03c17b6e Binary files /dev/null and b/legacy/elementary/data/themes/img/O/randr_monitor.png differ diff --git a/legacy/elementary/data/themes/img/O/randr_stand.png b/legacy/elementary/data/themes/img/O/randr_stand.png new file mode 100644 index 0000000000..84b5351e47 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/randr_stand.png differ diff --git a/legacy/elementary/data/themes/images/sb_runnerh.png b/legacy/elementary/data/themes/img/O/sb_runnerh.png similarity index 100% rename from legacy/elementary/data/themes/images/sb_runnerh.png rename to legacy/elementary/data/themes/img/O/sb_runnerh.png diff --git a/legacy/elementary/data/themes/images/sb_runnerv.png b/legacy/elementary/data/themes/img/O/sb_runnerv.png similarity index 100% rename from legacy/elementary/data/themes/images/sb_runnerv.png rename to legacy/elementary/data/themes/img/O/sb_runnerv.png diff --git a/legacy/elementary/data/themes/img/O/silk.png b/legacy/elementary/data/themes/img/O/silk.png new file mode 100644 index 0000000000..4e7a4d8117 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/silk.png differ diff --git a/legacy/elementary/data/themes/img/O/t0-sh.png b/legacy/elementary/data/themes/img/O/t0-sh.png new file mode 100644 index 0000000000..0ed57229a1 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/t0-sh.png differ diff --git a/legacy/elementary/data/themes/img/O/t0.png b/legacy/elementary/data/themes/img/O/t0.png new file mode 100644 index 0000000000..ed6ccf0715 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/t0.png differ diff --git a/legacy/elementary/data/themes/img/O/t1-sh.png b/legacy/elementary/data/themes/img/O/t1-sh.png new file mode 100644 index 0000000000..cf647492a4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/t1-sh.png differ diff --git a/legacy/elementary/data/themes/img/O/t1.png b/legacy/elementary/data/themes/img/O/t1.png new file mode 100644 index 0000000000..a41aa73455 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/t1.png differ diff --git a/legacy/elementary/data/themes/img/O/t2.png b/legacy/elementary/data/themes/img/O/t2.png new file mode 100644 index 0000000000..4c018a4efd Binary files /dev/null and b/legacy/elementary/data/themes/img/O/t2.png differ diff --git a/legacy/elementary/data/themes/img/O/tacho_bg.png b/legacy/elementary/data/themes/img/O/tacho_bg.png new file mode 100644 index 0000000000..4f3124d9b9 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/tacho_bg.png differ diff --git a/legacy/elementary/data/themes/img/O/tacho_fg.png b/legacy/elementary/data/themes/img/O/tacho_fg.png new file mode 100644 index 0000000000..da7d80c954 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/tacho_fg.png differ diff --git a/legacy/elementary/data/themes/img/O/temp_base.png b/legacy/elementary/data/themes/img/O/temp_base.png new file mode 100644 index 0000000000..2cd854705b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/temp_base.png differ diff --git a/legacy/elementary/data/themes/img/O/temp_mid.png b/legacy/elementary/data/themes/img/O/temp_mid.png new file mode 100644 index 0000000000..e4ac06f1f0 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/temp_mid.png differ diff --git a/legacy/elementary/data/themes/img/O/temp_over.png b/legacy/elementary/data/themes/img/O/temp_over.png new file mode 100644 index 0000000000..daa845d635 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/temp_over.png differ diff --git a/legacy/elementary/data/themes/img/O/theme-label.png b/legacy/elementary/data/themes/img/O/theme-label.png new file mode 100644 index 0000000000..6dd6c1162b Binary files /dev/null and b/legacy/elementary/data/themes/img/O/theme-label.png differ diff --git a/legacy/elementary/data/themes/img/O/toolbar_sel.png b/legacy/elementary/data/themes/img/O/toolbar_sel.png new file mode 100644 index 0000000000..d1205e72cb Binary files /dev/null and b/legacy/elementary/data/themes/img/O/toolbar_sel.png differ diff --git a/legacy/elementary/data/themes/img/O/topsh.png b/legacy/elementary/data/themes/img/O/topsh.png new file mode 100644 index 0000000000..4ea369d584 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/topsh.png differ diff --git a/legacy/elementary/data/themes/img/O/transition_vswipe.png b/legacy/elementary/data/themes/img/O/transition_vswipe.png new file mode 100644 index 0000000000..1e8eecc96c Binary files /dev/null and b/legacy/elementary/data/themes/img/O/transition_vswipe.png differ diff --git a/legacy/elementary/data/themes/img/O/vgrad_dark.png b/legacy/elementary/data/themes/img/O/vgrad_dark.png new file mode 100644 index 0000000000..18c12e3624 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/vgrad_dark.png differ diff --git a/legacy/elementary/data/themes/img/O/vgrad_light.png b/legacy/elementary/data/themes/img/O/vgrad_light.png new file mode 100644 index 0000000000..2ffbe95a62 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/vgrad_light.png differ diff --git a/legacy/elementary/data/themes/img/O/wizard_bt1.png b/legacy/elementary/data/themes/img/O/wizard_bt1.png new file mode 100644 index 0000000000..26cfc0f4af Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wizard_bt1.png differ diff --git a/legacy/elementary/data/themes/img/O/wizard_bt2.png b/legacy/elementary/data/themes/img/O/wizard_bt2.png new file mode 100644 index 0000000000..b929d45bb2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wizard_bt2.png differ diff --git a/legacy/elementary/data/themes/img/O/wizard_pattern.png b/legacy/elementary/data/themes/img/O/wizard_pattern.png new file mode 100644 index 0000000000..662c9e05f2 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wizard_pattern.png differ diff --git a/legacy/elementary/data/themes/img/O/wp-bot1.png b/legacy/elementary/data/themes/img/O/wp-bot1.png new file mode 100644 index 0000000000..a04e5553f4 Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wp-bot1.png differ diff --git a/legacy/elementary/data/themes/img/O/wp-bot2.png b/legacy/elementary/data/themes/img/O/wp-bot2.png new file mode 100644 index 0000000000..cb86fb25cb Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wp-bot2.png differ diff --git a/legacy/elementary/data/themes/img/O/wp-tb1.png b/legacy/elementary/data/themes/img/O/wp-tb1.png new file mode 100644 index 0000000000..6ed8e9ff2d Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wp-tb1.png differ diff --git a/legacy/elementary/data/themes/img/O/wp-tb2.png b/legacy/elementary/data/themes/img/O/wp-tb2.png new file mode 100644 index 0000000000..8c6f8c393f Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wp-tb2.png differ diff --git a/legacy/elementary/data/themes/img/O/wp-tb3.png b/legacy/elementary/data/themes/img/O/wp-tb3.png new file mode 100644 index 0000000000..404e8cde1a Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wp-tb3.png differ diff --git a/legacy/elementary/data/themes/img/O/wp-tbs.png b/legacy/elementary/data/themes/img/O/wp-tbs.png new file mode 100644 index 0000000000..02f1f25efc Binary files /dev/null and b/legacy/elementary/data/themes/img/O/wp-tbs.png differ diff --git a/legacy/elementary/data/themes/images/access_glow.png b/legacy/elementary/data/themes/img/access_glow.png similarity index 100% rename from legacy/elementary/data/themes/images/access_glow.png rename to legacy/elementary/data/themes/img/access_glow.png diff --git a/legacy/elementary/data/themes/img/add_glow_small.png b/legacy/elementary/data/themes/img/add_glow_small.png new file mode 100644 index 0000000000..9d1e3dcd2f Binary files /dev/null and b/legacy/elementary/data/themes/img/add_glow_small.png differ diff --git a/legacy/elementary/data/themes/img/ball_small_glow.png b/legacy/elementary/data/themes/img/ball_small_glow.png new file mode 100644 index 0000000000..8cdf8f500a Binary files /dev/null and b/legacy/elementary/data/themes/img/ball_small_glow.png differ diff --git a/legacy/elementary/data/themes/img/ball_small_glow_intense.png b/legacy/elementary/data/themes/img/ball_small_glow_intense.png new file mode 100644 index 0000000000..5d61094720 Binary files /dev/null and b/legacy/elementary/data/themes/img/ball_small_glow_intense.png differ diff --git a/legacy/elementary/data/themes/images/bar_shine.png b/legacy/elementary/data/themes/img/bar_shine.png similarity index 100% rename from legacy/elementary/data/themes/images/bar_shine.png rename to legacy/elementary/data/themes/img/bar_shine.png diff --git a/legacy/elementary/data/themes/img/bat_base.png b/legacy/elementary/data/themes/img/bat_base.png new file mode 100644 index 0000000000..7ec3421079 Binary files /dev/null and b/legacy/elementary/data/themes/img/bat_base.png differ diff --git a/legacy/elementary/data/themes/img/bat_bottom0.png b/legacy/elementary/data/themes/img/bat_bottom0.png new file mode 100644 index 0000000000..277972e063 Binary files /dev/null and b/legacy/elementary/data/themes/img/bat_bottom0.png differ diff --git a/legacy/elementary/data/themes/img/bat_bottom1.png b/legacy/elementary/data/themes/img/bat_bottom1.png new file mode 100644 index 0000000000..197a8bf0fa Binary files /dev/null and b/legacy/elementary/data/themes/img/bat_bottom1.png differ diff --git a/legacy/elementary/data/themes/img/bat_shadow.png b/legacy/elementary/data/themes/img/bat_shadow.png new file mode 100644 index 0000000000..13448dbe97 Binary files /dev/null and b/legacy/elementary/data/themes/img/bat_shadow.png differ diff --git a/legacy/elementary/data/themes/img/bat_shine.png b/legacy/elementary/data/themes/img/bat_shine.png new file mode 100644 index 0000000000..2b536f5f15 Binary files /dev/null and b/legacy/elementary/data/themes/img/bat_shine.png differ diff --git a/legacy/elementary/data/themes/img/bat_top0.png b/legacy/elementary/data/themes/img/bat_top0.png new file mode 100644 index 0000000000..7a15b96a40 Binary files /dev/null and b/legacy/elementary/data/themes/img/bat_top0.png differ diff --git a/legacy/elementary/data/themes/img/bat_top1.png b/legacy/elementary/data/themes/img/bat_top1.png new file mode 100644 index 0000000000..37685ba621 Binary files /dev/null and b/legacy/elementary/data/themes/img/bat_top1.png differ diff --git a/legacy/elementary/data/themes/img/bevel_curved_horiz_out.png b/legacy/elementary/data/themes/img/bevel_curved_horiz_out.png new file mode 100644 index 0000000000..75426a29dd Binary files /dev/null and b/legacy/elementary/data/themes/img/bevel_curved_horiz_out.png differ diff --git a/legacy/elementary/data/themes/img/bevel_curved_vert_out.png b/legacy/elementary/data/themes/img/bevel_curved_vert_out.png new file mode 100644 index 0000000000..a8b44dc431 Binary files /dev/null and b/legacy/elementary/data/themes/img/bevel_curved_vert_out.png differ diff --git a/legacy/elementary/data/themes/img/bevel_dark_in.png b/legacy/elementary/data/themes/img/bevel_dark_in.png new file mode 100644 index 0000000000..f40f132f16 Binary files /dev/null and b/legacy/elementary/data/themes/img/bevel_dark_in.png differ diff --git a/legacy/elementary/data/themes/img/bevel_dark_out.png b/legacy/elementary/data/themes/img/bevel_dark_out.png new file mode 100644 index 0000000000..f22c0ae21c Binary files /dev/null and b/legacy/elementary/data/themes/img/bevel_dark_out.png differ diff --git a/legacy/elementary/data/themes/img/bevel_horiz_out.png b/legacy/elementary/data/themes/img/bevel_horiz_out.png new file mode 100644 index 0000000000..38784d769f Binary files /dev/null and b/legacy/elementary/data/themes/img/bevel_horiz_out.png differ diff --git a/legacy/elementary/data/themes/img/bevel_in.png b/legacy/elementary/data/themes/img/bevel_in.png new file mode 100644 index 0000000000..152e5acd0b Binary files /dev/null and b/legacy/elementary/data/themes/img/bevel_in.png differ diff --git a/legacy/elementary/data/themes/img/bevel_out.png b/legacy/elementary/data/themes/img/bevel_out.png new file mode 100644 index 0000000000..7b9c2e47dd Binary files /dev/null and b/legacy/elementary/data/themes/img/bevel_out.png differ diff --git a/legacy/elementary/data/themes/img/bg_glow_in.png b/legacy/elementary/data/themes/img/bg_glow_in.png new file mode 100644 index 0000000000..0cb68afb28 Binary files /dev/null and b/legacy/elementary/data/themes/img/bg_glow_in.png differ diff --git a/legacy/elementary/data/themes/img/bg_radgrad.png b/legacy/elementary/data/themes/img/bg_radgrad.png new file mode 100644 index 0000000000..76f6265493 Binary files /dev/null and b/legacy/elementary/data/themes/img/bg_radgrad.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_down.png b/legacy/elementary/data/themes/img/big_arrow_down.png new file mode 100644 index 0000000000..24dae5d9c3 Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_down.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_down_shadow.png b/legacy/elementary/data/themes/img/big_arrow_down_shadow.png new file mode 100644 index 0000000000..12891095c1 Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_down_shadow.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_left.png b/legacy/elementary/data/themes/img/big_arrow_left.png new file mode 100644 index 0000000000..8f327da60c Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_left.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_left_shadow.png b/legacy/elementary/data/themes/img/big_arrow_left_shadow.png new file mode 100644 index 0000000000..42964d05e6 Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_left_shadow.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_right.png b/legacy/elementary/data/themes/img/big_arrow_right.png new file mode 100644 index 0000000000..fe174dfdf4 Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_right.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_right_shadow.png b/legacy/elementary/data/themes/img/big_arrow_right_shadow.png new file mode 100644 index 0000000000..a57b7e04cc Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_right_shadow.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_up.png b/legacy/elementary/data/themes/img/big_arrow_up.png new file mode 100644 index 0000000000..95f1787c36 Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_up.png differ diff --git a/legacy/elementary/data/themes/img/big_arrow_up_shadow.png b/legacy/elementary/data/themes/img/big_arrow_up_shadow.png new file mode 100644 index 0000000000..5a1db285a5 Binary files /dev/null and b/legacy/elementary/data/themes/img/big_arrow_up_shadow.png differ diff --git a/legacy/elementary/data/themes/img/box_glow.png b/legacy/elementary/data/themes/img/box_glow.png new file mode 100644 index 0000000000..785eb6d93d Binary files /dev/null and b/legacy/elementary/data/themes/img/box_glow.png differ diff --git a/legacy/elementary/data/themes/img/box_outline.png b/legacy/elementary/data/themes/img/box_outline.png new file mode 100644 index 0000000000..b1713593de Binary files /dev/null and b/legacy/elementary/data/themes/img/box_outline.png differ diff --git a/legacy/elementary/data/themes/img/bt_base.png b/legacy/elementary/data/themes/img/bt_base.png new file mode 100644 index 0000000000..a60b8d9295 Binary files /dev/null and b/legacy/elementary/data/themes/img/bt_base.png differ diff --git a/legacy/elementary/data/themes/img/bt_sig_1.png b/legacy/elementary/data/themes/img/bt_sig_1.png new file mode 100644 index 0000000000..b1f3a51ac8 Binary files /dev/null and b/legacy/elementary/data/themes/img/bt_sig_1.png differ diff --git a/legacy/elementary/data/themes/img/bt_sig_2.png b/legacy/elementary/data/themes/img/bt_sig_2.png new file mode 100644 index 0000000000..aa23c336d3 Binary files /dev/null and b/legacy/elementary/data/themes/img/bt_sig_2.png differ diff --git a/legacy/elementary/data/themes/img/bub_base_b0.png b/legacy/elementary/data/themes/img/bub_base_b0.png new file mode 100644 index 0000000000..f63247a79e Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_base_b0.png differ diff --git a/legacy/elementary/data/themes/img/bub_base_b1.png b/legacy/elementary/data/themes/img/bub_base_b1.png new file mode 100644 index 0000000000..e9dd16b850 Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_base_b1.png differ diff --git a/legacy/elementary/data/themes/img/bub_base_b2.png b/legacy/elementary/data/themes/img/bub_base_b2.png new file mode 100644 index 0000000000..f739858871 Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_base_b2.png differ diff --git a/legacy/elementary/data/themes/img/bub_base_bl.png b/legacy/elementary/data/themes/img/bub_base_bl.png new file mode 100644 index 0000000000..0182491791 Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_base_bl.png differ diff --git a/legacy/elementary/data/themes/img/bub_base_br.png b/legacy/elementary/data/themes/img/bub_base_br.png new file mode 100644 index 0000000000..33bcfd2baa Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_base_br.png differ diff --git a/legacy/elementary/data/themes/img/bub_base_tl.png b/legacy/elementary/data/themes/img/bub_base_tl.png new file mode 100644 index 0000000000..f8ab943b03 Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_base_tl.png differ diff --git a/legacy/elementary/data/themes/img/bub_base_tr.png b/legacy/elementary/data/themes/img/bub_base_tr.png new file mode 100644 index 0000000000..e265744598 Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_base_tr.png differ diff --git a/legacy/elementary/data/themes/img/bub_over_bot.png b/legacy/elementary/data/themes/img/bub_over_bot.png new file mode 100644 index 0000000000..68b147c24f Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_over_bot.png differ diff --git a/legacy/elementary/data/themes/img/bub_over_top.png b/legacy/elementary/data/themes/img/bub_over_top.png new file mode 100644 index 0000000000..5ddcc22cc5 Binary files /dev/null and b/legacy/elementary/data/themes/img/bub_over_top.png differ diff --git a/legacy/elementary/data/themes/img/bulb_glow.png b/legacy/elementary/data/themes/img/bulb_glow.png new file mode 100644 index 0000000000..6d31c316ff Binary files /dev/null and b/legacy/elementary/data/themes/img/bulb_glow.png differ diff --git a/legacy/elementary/data/themes/img/bulb_off.png b/legacy/elementary/data/themes/img/bulb_off.png new file mode 100644 index 0000000000..accc3096d2 Binary files /dev/null and b/legacy/elementary/data/themes/img/bulb_off.png differ diff --git a/legacy/elementary/data/themes/img/bulb_on.png b/legacy/elementary/data/themes/img/bulb_on.png new file mode 100644 index 0000000000..5e034b7654 Binary files /dev/null and b/legacy/elementary/data/themes/img/bulb_on.png differ diff --git a/legacy/elementary/data/themes/img/bulb_over.png b/legacy/elementary/data/themes/img/bulb_over.png new file mode 100644 index 0000000000..a653b49cec Binary files /dev/null and b/legacy/elementary/data/themes/img/bulb_over.png differ diff --git a/legacy/elementary/data/themes/img/button_clicked.png b/legacy/elementary/data/themes/img/button_clicked.png new file mode 100644 index 0000000000..fd76490bc2 Binary files /dev/null and b/legacy/elementary/data/themes/img/button_clicked.png differ diff --git a/legacy/elementary/data/themes/img/button_normal.png b/legacy/elementary/data/themes/img/button_normal.png new file mode 100644 index 0000000000..a7feada45b Binary files /dev/null and b/legacy/elementary/data/themes/img/button_normal.png differ diff --git a/legacy/elementary/data/themes/img/cell_base.png b/legacy/elementary/data/themes/img/cell_base.png new file mode 100644 index 0000000000..21cfc9b2ac Binary files /dev/null and b/legacy/elementary/data/themes/img/cell_base.png differ diff --git a/legacy/elementary/data/themes/img/cell_sig_1.png b/legacy/elementary/data/themes/img/cell_sig_1.png new file mode 100644 index 0000000000..fb03cd43dc Binary files /dev/null and b/legacy/elementary/data/themes/img/cell_sig_1.png differ diff --git a/legacy/elementary/data/themes/img/cell_sig_2.png b/legacy/elementary/data/themes/img/cell_sig_2.png new file mode 100644 index 0000000000..31459b578e Binary files /dev/null and b/legacy/elementary/data/themes/img/cell_sig_2.png differ diff --git a/legacy/elementary/data/themes/img/cell_sig_3.png b/legacy/elementary/data/themes/img/cell_sig_3.png new file mode 100644 index 0000000000..6475d888c7 Binary files /dev/null and b/legacy/elementary/data/themes/img/cell_sig_3.png differ diff --git a/legacy/elementary/data/themes/img/cell_sig_4.png b/legacy/elementary/data/themes/img/cell_sig_4.png new file mode 100644 index 0000000000..7bbfa03778 Binary files /dev/null and b/legacy/elementary/data/themes/img/cell_sig_4.png differ diff --git a/legacy/elementary/data/themes/img/clock_base.png b/legacy/elementary/data/themes/img/clock_base.png new file mode 100644 index 0000000000..4a139bd3e9 Binary files /dev/null and b/legacy/elementary/data/themes/img/clock_base.png differ diff --git a/legacy/elementary/data/themes/img/col_sel_end_bottom.png b/legacy/elementary/data/themes/img/col_sel_end_bottom.png new file mode 100644 index 0000000000..403fe59dbc Binary files /dev/null and b/legacy/elementary/data/themes/img/col_sel_end_bottom.png differ diff --git a/legacy/elementary/data/themes/img/col_sel_end_left.png b/legacy/elementary/data/themes/img/col_sel_end_left.png new file mode 100644 index 0000000000..1316449099 Binary files /dev/null and b/legacy/elementary/data/themes/img/col_sel_end_left.png differ diff --git a/legacy/elementary/data/themes/img/col_sel_end_right.png b/legacy/elementary/data/themes/img/col_sel_end_right.png new file mode 100644 index 0000000000..c6a333510d Binary files /dev/null and b/legacy/elementary/data/themes/img/col_sel_end_right.png differ diff --git a/legacy/elementary/data/themes/img/col_sel_end_top.png b/legacy/elementary/data/themes/img/col_sel_end_top.png new file mode 100644 index 0000000000..77c4f55247 Binary files /dev/null and b/legacy/elementary/data/themes/img/col_sel_end_top.png differ diff --git a/legacy/elementary/data/themes/img/color_picker_alpha.png b/legacy/elementary/data/themes/img/color_picker_alpha.png new file mode 100644 index 0000000000..ca666ad682 Binary files /dev/null and b/legacy/elementary/data/themes/img/color_picker_alpha.png differ diff --git a/legacy/elementary/data/themes/img/color_picker_brightness.png b/legacy/elementary/data/themes/img/color_picker_brightness.png new file mode 100644 index 0000000000..125683c843 Binary files /dev/null and b/legacy/elementary/data/themes/img/color_picker_brightness.png differ diff --git a/legacy/elementary/data/themes/img/color_picker_color.png b/legacy/elementary/data/themes/img/color_picker_color.png new file mode 100644 index 0000000000..4cc5d65d16 Binary files /dev/null and b/legacy/elementary/data/themes/img/color_picker_color.png differ diff --git a/legacy/elementary/data/themes/img/color_picker_opacity.png b/legacy/elementary/data/themes/img/color_picker_opacity.png new file mode 100644 index 0000000000..82ca1fa14b Binary files /dev/null and b/legacy/elementary/data/themes/img/color_picker_opacity.png differ diff --git a/legacy/elementary/data/themes/img/ctxpopup_arrow_down.png b/legacy/elementary/data/themes/img/ctxpopup_arrow_down.png new file mode 100644 index 0000000000..11e5988f71 Binary files /dev/null and b/legacy/elementary/data/themes/img/ctxpopup_arrow_down.png differ diff --git a/legacy/elementary/data/themes/img/ctxpopup_arrow_left.png b/legacy/elementary/data/themes/img/ctxpopup_arrow_left.png new file mode 100644 index 0000000000..e6c464f21d Binary files /dev/null and b/legacy/elementary/data/themes/img/ctxpopup_arrow_left.png differ diff --git a/legacy/elementary/data/themes/img/ctxpopup_arrow_right.png b/legacy/elementary/data/themes/img/ctxpopup_arrow_right.png new file mode 100644 index 0000000000..b78c8ab896 Binary files /dev/null and b/legacy/elementary/data/themes/img/ctxpopup_arrow_right.png differ diff --git a/legacy/elementary/data/themes/img/ctxpopup_arrow_up.png b/legacy/elementary/data/themes/img/ctxpopup_arrow_up.png new file mode 100644 index 0000000000..fcc9cdd8e7 Binary files /dev/null and b/legacy/elementary/data/themes/img/ctxpopup_arrow_up.png differ diff --git a/legacy/elementary/data/themes/img/darken_rounded_square.png b/legacy/elementary/data/themes/img/darken_rounded_square.png new file mode 100644 index 0000000000..c7f1435128 Binary files /dev/null and b/legacy/elementary/data/themes/img/darken_rounded_square.png differ diff --git a/legacy/elementary/data/themes/img/darken_rounded_square_half.png b/legacy/elementary/data/themes/img/darken_rounded_square_half.png new file mode 100644 index 0000000000..43c78d870a Binary files /dev/null and b/legacy/elementary/data/themes/img/darken_rounded_square_half.png differ diff --git a/legacy/elementary/data/themes/img/darken_rounded_square_half_h.png b/legacy/elementary/data/themes/img/darken_rounded_square_half_h.png new file mode 100644 index 0000000000..bfbe70d21b Binary files /dev/null and b/legacy/elementary/data/themes/img/darken_rounded_square_half_h.png differ diff --git a/legacy/elementary/data/themes/img/day_left_normal.png b/legacy/elementary/data/themes/img/day_left_normal.png new file mode 100644 index 0000000000..46fa24c8da Binary files /dev/null and b/legacy/elementary/data/themes/img/day_left_normal.png differ diff --git a/legacy/elementary/data/themes/img/day_left_press.png b/legacy/elementary/data/themes/img/day_left_press.png new file mode 100644 index 0000000000..954c89bc4a Binary files /dev/null and b/legacy/elementary/data/themes/img/day_left_press.png differ diff --git a/legacy/elementary/data/themes/img/day_left_selected.png b/legacy/elementary/data/themes/img/day_left_selected.png new file mode 100644 index 0000000000..3b34bf07b4 Binary files /dev/null and b/legacy/elementary/data/themes/img/day_left_selected.png differ diff --git a/legacy/elementary/data/themes/img/day_middle_normal.png b/legacy/elementary/data/themes/img/day_middle_normal.png new file mode 100644 index 0000000000..f2ed174af4 Binary files /dev/null and b/legacy/elementary/data/themes/img/day_middle_normal.png differ diff --git a/legacy/elementary/data/themes/img/day_middle_press.png b/legacy/elementary/data/themes/img/day_middle_press.png new file mode 100644 index 0000000000..497fedea60 Binary files /dev/null and b/legacy/elementary/data/themes/img/day_middle_press.png differ diff --git a/legacy/elementary/data/themes/img/day_middle_selected.png b/legacy/elementary/data/themes/img/day_middle_selected.png new file mode 100644 index 0000000000..782580c29e Binary files /dev/null and b/legacy/elementary/data/themes/img/day_middle_selected.png differ diff --git a/legacy/elementary/data/themes/img/day_right_normal.png b/legacy/elementary/data/themes/img/day_right_normal.png new file mode 100644 index 0000000000..40635aa6d8 Binary files /dev/null and b/legacy/elementary/data/themes/img/day_right_normal.png differ diff --git a/legacy/elementary/data/themes/img/day_right_press.png b/legacy/elementary/data/themes/img/day_right_press.png new file mode 100644 index 0000000000..b8934290f7 Binary files /dev/null and b/legacy/elementary/data/themes/img/day_right_press.png differ diff --git a/legacy/elementary/data/themes/img/day_right_selected.png b/legacy/elementary/data/themes/img/day_right_selected.png new file mode 100644 index 0000000000..9e49a7fe29 Binary files /dev/null and b/legacy/elementary/data/themes/img/day_right_selected.png differ diff --git a/legacy/elementary/data/themes/img/day_single_normal.png b/legacy/elementary/data/themes/img/day_single_normal.png new file mode 100644 index 0000000000..8bfd8d1158 Binary files /dev/null and b/legacy/elementary/data/themes/img/day_single_normal.png differ diff --git a/legacy/elementary/data/themes/img/day_single_press.png b/legacy/elementary/data/themes/img/day_single_press.png new file mode 100644 index 0000000000..c42bdf013d Binary files /dev/null and b/legacy/elementary/data/themes/img/day_single_press.png differ diff --git a/legacy/elementary/data/themes/img/day_single_selected.png b/legacy/elementary/data/themes/img/day_single_selected.png new file mode 100644 index 0000000000..dc5b74483b Binary files /dev/null and b/legacy/elementary/data/themes/img/day_single_selected.png differ diff --git a/legacy/elementary/data/themes/img/diagonal_stripes.png b/legacy/elementary/data/themes/img/diagonal_stripes.png new file mode 100644 index 0000000000..afa982a40a Binary files /dev/null and b/legacy/elementary/data/themes/img/diagonal_stripes.png differ diff --git a/legacy/elementary/data/themes/img/digit_0.png b/legacy/elementary/data/themes/img/digit_0.png new file mode 100644 index 0000000000..9cdc3b189c Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_0.png differ diff --git a/legacy/elementary/data/themes/img/digit_1.png b/legacy/elementary/data/themes/img/digit_1.png new file mode 100644 index 0000000000..e68ef0a625 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_1.png differ diff --git a/legacy/elementary/data/themes/img/digit_2.png b/legacy/elementary/data/themes/img/digit_2.png new file mode 100644 index 0000000000..463a6a1ac9 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_2.png differ diff --git a/legacy/elementary/data/themes/img/digit_3.png b/legacy/elementary/data/themes/img/digit_3.png new file mode 100644 index 0000000000..1f9c5f443e Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_3.png differ diff --git a/legacy/elementary/data/themes/img/digit_4.png b/legacy/elementary/data/themes/img/digit_4.png new file mode 100644 index 0000000000..58b1c0723e Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_4.png differ diff --git a/legacy/elementary/data/themes/img/digit_5.png b/legacy/elementary/data/themes/img/digit_5.png new file mode 100644 index 0000000000..d9f6483238 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_5.png differ diff --git a/legacy/elementary/data/themes/img/digit_6.png b/legacy/elementary/data/themes/img/digit_6.png new file mode 100644 index 0000000000..0f5a55d423 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_6.png differ diff --git a/legacy/elementary/data/themes/img/digit_7.png b/legacy/elementary/data/themes/img/digit_7.png new file mode 100644 index 0000000000..0d36ec28e1 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_7.png differ diff --git a/legacy/elementary/data/themes/img/digit_8.png b/legacy/elementary/data/themes/img/digit_8.png new file mode 100644 index 0000000000..cd24056eb3 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_8.png differ diff --git a/legacy/elementary/data/themes/img/digit_9.png b/legacy/elementary/data/themes/img/digit_9.png new file mode 100644 index 0000000000..4691191f4b Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_9.png differ diff --git a/legacy/elementary/data/themes/img/digit_am.png b/legacy/elementary/data/themes/img/digit_am.png new file mode 100644 index 0000000000..a779563324 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_am.png differ diff --git a/legacy/elementary/data/themes/img/digit_na.png b/legacy/elementary/data/themes/img/digit_na.png new file mode 100644 index 0000000000..e8652ef030 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_na.png differ diff --git a/legacy/elementary/data/themes/img/digit_nm.png b/legacy/elementary/data/themes/img/digit_nm.png new file mode 100644 index 0000000000..292a2a3b6d Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_nm.png differ diff --git a/legacy/elementary/data/themes/img/digit_pm.png b/legacy/elementary/data/themes/img/digit_pm.png new file mode 100644 index 0000000000..e3ccf77770 Binary files /dev/null and b/legacy/elementary/data/themes/img/digit_pm.png differ diff --git a/legacy/elementary/data/themes/img/dot_pattern.png b/legacy/elementary/data/themes/img/dot_pattern.png new file mode 100644 index 0000000000..391f2ea560 Binary files /dev/null and b/legacy/elementary/data/themes/img/dot_pattern.png differ diff --git a/legacy/elementary/data/themes/img/downlight_glow.png b/legacy/elementary/data/themes/img/downlight_glow.png new file mode 100644 index 0000000000..ece5bf1bcc Binary files /dev/null and b/legacy/elementary/data/themes/img/downlight_glow.png differ diff --git a/legacy/elementary/data/themes/img/downlight_glow_left.png b/legacy/elementary/data/themes/img/downlight_glow_left.png new file mode 100644 index 0000000000..d74def7c97 Binary files /dev/null and b/legacy/elementary/data/themes/img/downlight_glow_left.png differ diff --git a/legacy/elementary/data/themes/img/downlight_glow_right.png b/legacy/elementary/data/themes/img/downlight_glow_right.png new file mode 100644 index 0000000000..8b20af0680 Binary files /dev/null and b/legacy/elementary/data/themes/img/downlight_glow_right.png differ diff --git a/legacy/elementary/data/themes/img/downlight_glow_up.png b/legacy/elementary/data/themes/img/downlight_glow_up.png new file mode 100644 index 0000000000..93c5e4ee2d Binary files /dev/null and b/legacy/elementary/data/themes/img/downlight_glow_up.png differ diff --git a/legacy/elementary/data/themes/img/emo-angry-shout.png b/legacy/elementary/data/themes/img/emo-angry-shout.png new file mode 100644 index 0000000000..25477c5e91 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-angry-shout.png differ diff --git a/legacy/elementary/data/themes/img/emo-angry.png b/legacy/elementary/data/themes/img/emo-angry.png new file mode 100644 index 0000000000..e1510772a4 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-angry.png differ diff --git a/legacy/elementary/data/themes/img/emo-crazy-laugh.png b/legacy/elementary/data/themes/img/emo-crazy-laugh.png new file mode 100644 index 0000000000..4e8793717c Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-crazy-laugh.png differ diff --git a/legacy/elementary/data/themes/img/emo-evil-laugh.png b/legacy/elementary/data/themes/img/emo-evil-laugh.png new file mode 100644 index 0000000000..1a0ec3a799 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-evil-laugh.png differ diff --git a/legacy/elementary/data/themes/img/emo-evil.png b/legacy/elementary/data/themes/img/emo-evil.png new file mode 100644 index 0000000000..32233fd8da Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-evil.png differ diff --git a/legacy/elementary/data/themes/img/emo-goggle-smile.png b/legacy/elementary/data/themes/img/emo-goggle-smile.png new file mode 100644 index 0000000000..a0e485908d Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-goggle-smile.png differ diff --git a/legacy/elementary/data/themes/img/emo-grumpy-smile.png b/legacy/elementary/data/themes/img/emo-grumpy-smile.png new file mode 100644 index 0000000000..12e301fd72 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-grumpy-smile.png differ diff --git a/legacy/elementary/data/themes/img/emo-grumpy.png b/legacy/elementary/data/themes/img/emo-grumpy.png new file mode 100644 index 0000000000..7de77fa6d3 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-grumpy.png differ diff --git a/legacy/elementary/data/themes/img/emo-guilty-smile.png b/legacy/elementary/data/themes/img/emo-guilty-smile.png new file mode 100644 index 0000000000..57de06e74c Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-guilty-smile.png differ diff --git a/legacy/elementary/data/themes/img/emo-guilty.png b/legacy/elementary/data/themes/img/emo-guilty.png new file mode 100644 index 0000000000..071deb0d9f Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-guilty.png differ diff --git a/legacy/elementary/data/themes/img/emo-haha.png b/legacy/elementary/data/themes/img/emo-haha.png new file mode 100644 index 0000000000..760535dfc3 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-haha.png differ diff --git a/legacy/elementary/data/themes/img/emo-half-smile.png b/legacy/elementary/data/themes/img/emo-half-smile.png new file mode 100644 index 0000000000..529f60a177 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-half-smile.png differ diff --git a/legacy/elementary/data/themes/img/emo-happy-panting.png b/legacy/elementary/data/themes/img/emo-happy-panting.png new file mode 100644 index 0000000000..c6461bc6c5 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-happy-panting.png differ diff --git a/legacy/elementary/data/themes/img/emo-happy.png b/legacy/elementary/data/themes/img/emo-happy.png new file mode 100644 index 0000000000..a8a3c0bdbb Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-happy.png differ diff --git a/legacy/elementary/data/themes/img/emo-indifferent.png b/legacy/elementary/data/themes/img/emo-indifferent.png new file mode 100644 index 0000000000..254133b0ed Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-indifferent.png differ diff --git a/legacy/elementary/data/themes/img/emo-kiss.png b/legacy/elementary/data/themes/img/emo-kiss.png new file mode 100644 index 0000000000..5eb606df0d Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-kiss.png differ diff --git a/legacy/elementary/data/themes/img/emo-knowing-grin.png b/legacy/elementary/data/themes/img/emo-knowing-grin.png new file mode 100644 index 0000000000..589b44d571 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-knowing-grin.png differ diff --git a/legacy/elementary/data/themes/img/emo-laugh.png b/legacy/elementary/data/themes/img/emo-laugh.png new file mode 100644 index 0000000000..282c620f7f Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-laugh.png differ diff --git a/legacy/elementary/data/themes/img/emo-little-bit-sorry.png b/legacy/elementary/data/themes/img/emo-little-bit-sorry.png new file mode 100644 index 0000000000..fced0e22af Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-little-bit-sorry.png differ diff --git a/legacy/elementary/data/themes/img/emo-love-lots.png b/legacy/elementary/data/themes/img/emo-love-lots.png new file mode 100644 index 0000000000..4591fe8b68 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-love-lots.png differ diff --git a/legacy/elementary/data/themes/img/emo-love.png b/legacy/elementary/data/themes/img/emo-love.png new file mode 100644 index 0000000000..8fd0785038 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-love.png differ diff --git a/legacy/elementary/data/themes/img/emo-minimal-smile.png b/legacy/elementary/data/themes/img/emo-minimal-smile.png new file mode 100644 index 0000000000..c0051740e1 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-minimal-smile.png differ diff --git a/legacy/elementary/data/themes/img/emo-not-happy.png b/legacy/elementary/data/themes/img/emo-not-happy.png new file mode 100644 index 0000000000..91b4759525 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-not-happy.png differ diff --git a/legacy/elementary/data/themes/img/emo-not-impressed.png b/legacy/elementary/data/themes/img/emo-not-impressed.png new file mode 100644 index 0000000000..8a6901cab0 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-not-impressed.png differ diff --git a/legacy/elementary/data/themes/img/emo-omg.png b/legacy/elementary/data/themes/img/emo-omg.png new file mode 100644 index 0000000000..8f16f50068 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-omg.png differ diff --git a/legacy/elementary/data/themes/img/emo-opensmile.png b/legacy/elementary/data/themes/img/emo-opensmile.png new file mode 100644 index 0000000000..3e37d1876b Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-opensmile.png differ diff --git a/legacy/elementary/data/themes/img/emo-smile.png b/legacy/elementary/data/themes/img/emo-smile.png new file mode 100644 index 0000000000..082731dc5b Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-smile.png differ diff --git a/legacy/elementary/data/themes/img/emo-sorry.png b/legacy/elementary/data/themes/img/emo-sorry.png new file mode 100644 index 0000000000..757fbc7b8a Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-sorry.png differ diff --git a/legacy/elementary/data/themes/img/emo-squint-laugh.png b/legacy/elementary/data/themes/img/emo-squint-laugh.png new file mode 100644 index 0000000000..0e1850b90d Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-squint-laugh.png differ diff --git a/legacy/elementary/data/themes/img/emo-surprised.png b/legacy/elementary/data/themes/img/emo-surprised.png new file mode 100644 index 0000000000..0b980c602b Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-surprised.png differ diff --git a/legacy/elementary/data/themes/img/emo-suspicious.png b/legacy/elementary/data/themes/img/emo-suspicious.png new file mode 100644 index 0000000000..15bcdc0035 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-suspicious.png differ diff --git a/legacy/elementary/data/themes/img/emo-tongue-dangling.png b/legacy/elementary/data/themes/img/emo-tongue-dangling.png new file mode 100644 index 0000000000..eb711ce831 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-tongue-dangling.png differ diff --git a/legacy/elementary/data/themes/img/emo-tongue-poke.png b/legacy/elementary/data/themes/img/emo-tongue-poke.png new file mode 100644 index 0000000000..932ef8569e Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-tongue-poke.png differ diff --git a/legacy/elementary/data/themes/img/emo-uh.png b/legacy/elementary/data/themes/img/emo-uh.png new file mode 100644 index 0000000000..554ca35b31 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-uh.png differ diff --git a/legacy/elementary/data/themes/img/emo-unhappy.png b/legacy/elementary/data/themes/img/emo-unhappy.png new file mode 100644 index 0000000000..163ae6dbf1 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-unhappy.png differ diff --git a/legacy/elementary/data/themes/img/emo-very-sorry.png b/legacy/elementary/data/themes/img/emo-very-sorry.png new file mode 100644 index 0000000000..97091f2a13 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-very-sorry.png differ diff --git a/legacy/elementary/data/themes/img/emo-what.png b/legacy/elementary/data/themes/img/emo-what.png new file mode 100644 index 0000000000..a4724341c3 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-what.png differ diff --git a/legacy/elementary/data/themes/img/emo-wink.png b/legacy/elementary/data/themes/img/emo-wink.png new file mode 100644 index 0000000000..ad4553a576 Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-wink.png differ diff --git a/legacy/elementary/data/themes/img/emo-worried.png b/legacy/elementary/data/themes/img/emo-worried.png new file mode 100644 index 0000000000..b081784d3d Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-worried.png differ diff --git a/legacy/elementary/data/themes/img/emo-wtf.png b/legacy/elementary/data/themes/img/emo-wtf.png new file mode 100644 index 0000000000..5551d8b28e Binary files /dev/null and b/legacy/elementary/data/themes/img/emo-wtf.png differ diff --git a/legacy/elementary/data/themes/img/eth.png b/legacy/elementary/data/themes/img/eth.png new file mode 100644 index 0000000000..14cb9c1143 Binary files /dev/null and b/legacy/elementary/data/themes/img/eth.png differ diff --git a/legacy/elementary/data/themes/img/exlclam.png b/legacy/elementary/data/themes/img/exlclam.png new file mode 100644 index 0000000000..d4958c2423 Binary files /dev/null and b/legacy/elementary/data/themes/img/exlclam.png differ diff --git a/legacy/elementary/data/themes/img/flip_base_shad.png b/legacy/elementary/data/themes/img/flip_base_shad.png new file mode 100644 index 0000000000..bb08227083 Binary files /dev/null and b/legacy/elementary/data/themes/img/flip_base_shad.png differ diff --git a/legacy/elementary/data/themes/img/flip_shad.png b/legacy/elementary/data/themes/img/flip_shad.png new file mode 100644 index 0000000000..9ceb20591d Binary files /dev/null and b/legacy/elementary/data/themes/img/flip_shad.png differ diff --git a/legacy/elementary/data/themes/img/frame_rounded.png b/legacy/elementary/data/themes/img/frame_rounded.png new file mode 100644 index 0000000000..de26bdc821 Binary files /dev/null and b/legacy/elementary/data/themes/img/frame_rounded.png differ diff --git a/legacy/elementary/data/themes/img/glow_exclam.png b/legacy/elementary/data/themes/img/glow_exclam.png new file mode 100644 index 0000000000..088ccb8ce0 Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_exclam.png differ diff --git a/legacy/elementary/data/themes/img/glow_lock_double.png b/legacy/elementary/data/themes/img/glow_lock_double.png new file mode 100644 index 0000000000..87794bba44 Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_lock_double.png differ diff --git a/legacy/elementary/data/themes/img/glow_lock_locked.png b/legacy/elementary/data/themes/img/glow_lock_locked.png new file mode 100644 index 0000000000..693924e8de Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_lock_locked.png differ diff --git a/legacy/elementary/data/themes/img/glow_lock_unlocked.png b/legacy/elementary/data/themes/img/glow_lock_unlocked.png new file mode 100644 index 0000000000..6e1342997e Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_lock_unlocked.png differ diff --git a/legacy/elementary/data/themes/img/glow_med_white.png b/legacy/elementary/data/themes/img/glow_med_white.png new file mode 100644 index 0000000000..5351a2106b Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_med_white.png differ diff --git a/legacy/elementary/data/themes/img/glow_round_corners.png b/legacy/elementary/data/themes/img/glow_round_corners.png new file mode 100644 index 0000000000..ab7b7a17a4 Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_round_corners.png differ diff --git a/legacy/elementary/data/themes/img/glow_round_corners_small.png b/legacy/elementary/data/themes/img/glow_round_corners_small.png new file mode 100644 index 0000000000..079f5a6435 Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_round_corners_small.png differ diff --git a/legacy/elementary/data/themes/img/glow_small.png b/legacy/elementary/data/themes/img/glow_small.png new file mode 100644 index 0000000000..4a86096cac Binary files /dev/null and b/legacy/elementary/data/themes/img/glow_small.png differ diff --git a/legacy/elementary/data/themes/img/handle_pick_up_left.png b/legacy/elementary/data/themes/img/handle_pick_up_left.png new file mode 100644 index 0000000000..44bae50845 Binary files /dev/null and b/legacy/elementary/data/themes/img/handle_pick_up_left.png differ diff --git a/legacy/elementary/data/themes/img/handle_pick_up_right.png b/legacy/elementary/data/themes/img/handle_pick_up_right.png new file mode 100644 index 0000000000..53fee75122 Binary files /dev/null and b/legacy/elementary/data/themes/img/handle_pick_up_right.png differ diff --git a/legacy/elementary/data/themes/img/hole_pixel.png b/legacy/elementary/data/themes/img/hole_pixel.png new file mode 100644 index 0000000000..feb0c9973c Binary files /dev/null and b/legacy/elementary/data/themes/img/hole_pixel.png differ diff --git a/legacy/elementary/data/themes/img/hole_tiny.png b/legacy/elementary/data/themes/img/hole_tiny.png new file mode 100644 index 0000000000..49f7648b53 Binary files /dev/null and b/legacy/elementary/data/themes/img/hole_tiny.png differ diff --git a/legacy/elementary/data/themes/img/holes_horiz.png b/legacy/elementary/data/themes/img/holes_horiz.png new file mode 100644 index 0000000000..f8c501b427 Binary files /dev/null and b/legacy/elementary/data/themes/img/holes_horiz.png differ diff --git a/legacy/elementary/data/themes/img/holes_tiny_glow_horiz.png b/legacy/elementary/data/themes/img/holes_tiny_glow_horiz.png new file mode 100644 index 0000000000..bd2e33167c Binary files /dev/null and b/legacy/elementary/data/themes/img/holes_tiny_glow_horiz.png differ diff --git a/legacy/elementary/data/themes/img/holes_tiny_glow_vert.png b/legacy/elementary/data/themes/img/holes_tiny_glow_vert.png new file mode 100644 index 0000000000..360a19cf8b Binary files /dev/null and b/legacy/elementary/data/themes/img/holes_tiny_glow_vert.png differ diff --git a/legacy/elementary/data/themes/img/holes_tiny_horiz.png b/legacy/elementary/data/themes/img/holes_tiny_horiz.png new file mode 100644 index 0000000000..aab4069f76 Binary files /dev/null and b/legacy/elementary/data/themes/img/holes_tiny_horiz.png differ diff --git a/legacy/elementary/data/themes/img/holes_tiny_vert.png b/legacy/elementary/data/themes/img/holes_tiny_vert.png new file mode 100644 index 0000000000..a49be378d5 Binary files /dev/null and b/legacy/elementary/data/themes/img/holes_tiny_vert.png differ diff --git a/legacy/elementary/data/themes/img/holes_vert.png b/legacy/elementary/data/themes/img/holes_vert.png new file mode 100644 index 0000000000..01611d1a34 Binary files /dev/null and b/legacy/elementary/data/themes/img/holes_vert.png differ diff --git a/legacy/elementary/data/themes/img/home_glow.png b/legacy/elementary/data/themes/img/home_glow.png new file mode 100644 index 0000000000..146c8ec23b Binary files /dev/null and b/legacy/elementary/data/themes/img/home_glow.png differ diff --git a/legacy/elementary/data/themes/img/home_hilight.png b/legacy/elementary/data/themes/img/home_hilight.png new file mode 100644 index 0000000000..af6c4e2f90 Binary files /dev/null and b/legacy/elementary/data/themes/img/home_hilight.png differ diff --git a/legacy/elementary/data/themes/img/home_inset.png b/legacy/elementary/data/themes/img/home_inset.png new file mode 100644 index 0000000000..50157b14f8 Binary files /dev/null and b/legacy/elementary/data/themes/img/home_inset.png differ diff --git a/legacy/elementary/data/themes/img/horiz_bar_inset.png b/legacy/elementary/data/themes/img/horiz_bar_inset.png new file mode 100644 index 0000000000..aca19ecebc Binary files /dev/null and b/legacy/elementary/data/themes/img/horiz_bar_inset.png differ diff --git a/legacy/elementary/data/themes/img/horiz_glow_run.png b/legacy/elementary/data/themes/img/horiz_glow_run.png new file mode 100644 index 0000000000..acbc96e587 Binary files /dev/null and b/legacy/elementary/data/themes/img/horiz_glow_run.png differ diff --git a/legacy/elementary/data/themes/img/horiz_glow_run_big.png b/legacy/elementary/data/themes/img/horiz_glow_run_big.png new file mode 100644 index 0000000000..c6697a9677 Binary files /dev/null and b/legacy/elementary/data/themes/img/horiz_glow_run_big.png differ diff --git a/legacy/elementary/data/themes/img/horiz_glow_run_rev.png b/legacy/elementary/data/themes/img/horiz_glow_run_rev.png new file mode 100644 index 0000000000..4e5c7c1045 Binary files /dev/null and b/legacy/elementary/data/themes/img/horiz_glow_run_rev.png differ diff --git a/legacy/elementary/data/themes/img/horizontal_separated_bar_glow.png b/legacy/elementary/data/themes/img/horizontal_separated_bar_glow.png new file mode 100644 index 0000000000..f08388462b Binary files /dev/null and b/legacy/elementary/data/themes/img/horizontal_separated_bar_glow.png differ diff --git a/legacy/elementary/data/themes/img/horizontal_separated_bar_small_glow.png b/legacy/elementary/data/themes/img/horizontal_separated_bar_small_glow.png new file mode 100644 index 0000000000..31ddfeecaa Binary files /dev/null and b/legacy/elementary/data/themes/img/horizontal_separated_bar_small_glow.png differ diff --git a/legacy/elementary/data/themes/img/ic_win_move.png b/legacy/elementary/data/themes/img/ic_win_move.png new file mode 100644 index 0000000000..ec047b7c16 Binary files /dev/null and b/legacy/elementary/data/themes/img/ic_win_move.png differ diff --git a/legacy/elementary/data/themes/img/ic_win_resize.png b/legacy/elementary/data/themes/img/ic_win_resize.png new file mode 100644 index 0000000000..915f8104d3 Binary files /dev/null and b/legacy/elementary/data/themes/img/ic_win_resize.png differ diff --git a/legacy/elementary/data/themes/img/icon_apps.png b/legacy/elementary/data/themes/img/icon_apps.png new file mode 100644 index 0000000000..1bf1c8c431 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_apps.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_down.png b/legacy/elementary/data/themes/img/icon_arrow_down.png new file mode 100644 index 0000000000..b5761b930d Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_down.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_down_left.png b/legacy/elementary/data/themes/img/icon_arrow_down_left.png new file mode 100644 index 0000000000..fb4a1d8f30 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_down_left.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_down_right.png b/legacy/elementary/data/themes/img/icon_arrow_down_right.png new file mode 100644 index 0000000000..cd4e408da0 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_down_right.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_left.png b/legacy/elementary/data/themes/img/icon_arrow_left.png new file mode 100644 index 0000000000..dd740d2d89 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_left.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_right.png b/legacy/elementary/data/themes/img/icon_arrow_right.png new file mode 100644 index 0000000000..28d73998b0 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_right.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_up.png b/legacy/elementary/data/themes/img/icon_arrow_up.png new file mode 100644 index 0000000000..574b97ddea Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_up.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_up_left.png b/legacy/elementary/data/themes/img/icon_arrow_up_left.png new file mode 100644 index 0000000000..96722c9cc6 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_up_left.png differ diff --git a/legacy/elementary/data/themes/img/icon_arrow_up_right.png b/legacy/elementary/data/themes/img/icon_arrow_up_right.png new file mode 100644 index 0000000000..a7266c1970 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_arrow_up_right.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_border.png b/legacy/elementary/data/themes/img/icon_border_border.png new file mode 100644 index 0000000000..debcf1039a Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_border.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_close.png b/legacy/elementary/data/themes/img/icon_border_close.png new file mode 100644 index 0000000000..cddf27a1bf Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_close.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_kill.png b/legacy/elementary/data/themes/img/icon_border_kill.png new file mode 100644 index 0000000000..d7adcbd1f7 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_kill.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_lock.png b/legacy/elementary/data/themes/img/icon_border_lock.png new file mode 100644 index 0000000000..d8db42ac8e Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_lock.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_maximize.png b/legacy/elementary/data/themes/img/icon_border_maximize.png new file mode 100644 index 0000000000..89813f23b7 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_maximize.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_minimize.png b/legacy/elementary/data/themes/img/icon_border_minimize.png new file mode 100644 index 0000000000..6bd0b50fee Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_minimize.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_more.png b/legacy/elementary/data/themes/img/icon_border_more.png new file mode 100644 index 0000000000..89c286ff2f Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_more.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_move.png b/legacy/elementary/data/themes/img/icon_border_move.png new file mode 100644 index 0000000000..739afd89f9 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_move.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_pager.png b/legacy/elementary/data/themes/img/icon_border_pager.png new file mode 100644 index 0000000000..50b7bd2d6f Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_pager.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_pin.png b/legacy/elementary/data/themes/img/icon_border_pin.png new file mode 100644 index 0000000000..c02529f2c5 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_pin.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_properties.png b/legacy/elementary/data/themes/img/icon_border_properties.png new file mode 100644 index 0000000000..26e6712354 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_properties.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_remember.png b/legacy/elementary/data/themes/img/icon_border_remember.png new file mode 100644 index 0000000000..74204d494b Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_remember.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_resize.png b/legacy/elementary/data/themes/img/icon_border_resize.png new file mode 100644 index 0000000000..18c91900ef Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_resize.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_sendto.png b/legacy/elementary/data/themes/img/icon_border_sendto.png new file mode 100644 index 0000000000..04c8c7b3e0 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_sendto.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_shaded.png b/legacy/elementary/data/themes/img/icon_border_shaded.png new file mode 100644 index 0000000000..7dd923266d Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_shaded.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_skip.png b/legacy/elementary/data/themes/img/icon_border_skip.png new file mode 100644 index 0000000000..62ce834518 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_skip.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_stack_bot.png b/legacy/elementary/data/themes/img/icon_border_stack_bot.png new file mode 100644 index 0000000000..296ce0c8f4 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_stack_bot.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_stack_norm.png b/legacy/elementary/data/themes/img/icon_border_stack_norm.png new file mode 100644 index 0000000000..fdd785664b Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_stack_norm.png differ diff --git a/legacy/elementary/data/themes/img/icon_border_stack_top.png b/legacy/elementary/data/themes/img/icon_border_stack_top.png new file mode 100644 index 0000000000..e8861cb8ee Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_border_stack_top.png differ diff --git a/legacy/elementary/data/themes/img/icon_chat.png b/legacy/elementary/data/themes/img/icon_chat.png new file mode 100644 index 0000000000..93c6c56f1c Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_chat.png differ diff --git a/legacy/elementary/data/themes/img/icon_clock.png b/legacy/elementary/data/themes/img/icon_clock.png new file mode 100644 index 0000000000..940cd63961 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_clock.png differ diff --git a/legacy/elementary/data/themes/img/icon_close.png b/legacy/elementary/data/themes/img/icon_close.png new file mode 100644 index 0000000000..90727b585a Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_close.png differ diff --git a/legacy/elementary/data/themes/img/icon_delete.png b/legacy/elementary/data/themes/img/icon_delete.png new file mode 100644 index 0000000000..56633e05ee Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_delete.png differ diff --git a/legacy/elementary/data/themes/img/icon_edit.png b/legacy/elementary/data/themes/img/icon_edit.png new file mode 100644 index 0000000000..4a4035c060 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_edit.png differ diff --git a/legacy/elementary/data/themes/img/icon_eject.png b/legacy/elementary/data/themes/img/icon_eject.png new file mode 100644 index 0000000000..10c7c49df5 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_eject.png differ diff --git a/legacy/elementary/data/themes/img/icon_eject_mono.png b/legacy/elementary/data/themes/img/icon_eject_mono.png new file mode 100644 index 0000000000..a64bf82bf4 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_eject_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_enlightenment.png b/legacy/elementary/data/themes/img/icon_enlightenment.png new file mode 100644 index 0000000000..735880eb17 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_enlightenment.png differ diff --git a/legacy/elementary/data/themes/img/icon_file.png b/legacy/elementary/data/themes/img/icon_file.png new file mode 100644 index 0000000000..a3fc2365ad Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_file.png differ diff --git a/legacy/elementary/data/themes/img/icon_folder.png b/legacy/elementary/data/themes/img/icon_folder.png new file mode 100644 index 0000000000..b99006be17 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_folder.png differ diff --git a/legacy/elementary/data/themes/img/icon_forward.png b/legacy/elementary/data/themes/img/icon_forward.png new file mode 100644 index 0000000000..155984a0c7 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_forward.png differ diff --git a/legacy/elementary/data/themes/img/icon_forward_mono.png b/legacy/elementary/data/themes/img/icon_forward_mono.png new file mode 100644 index 0000000000..e76f01223a Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_forward_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_head.png b/legacy/elementary/data/themes/img/icon_head.png new file mode 100644 index 0000000000..811c9b92bc Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_head.png differ diff --git a/legacy/elementary/data/themes/img/icon_home.png b/legacy/elementary/data/themes/img/icon_home.png new file mode 100644 index 0000000000..b8c0abeddd Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_home.png differ diff --git a/legacy/elementary/data/themes/img/icon_info.png b/legacy/elementary/data/themes/img/icon_info.png new file mode 100644 index 0000000000..41cb2e7693 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_info.png differ diff --git a/legacy/elementary/data/themes/img/icon_info_mono.png b/legacy/elementary/data/themes/img/icon_info_mono.png new file mode 100644 index 0000000000..10e8d1f131 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_info_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_mute.png b/legacy/elementary/data/themes/img/icon_mute.png new file mode 100644 index 0000000000..f242605f91 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_mute.png differ diff --git a/legacy/elementary/data/themes/img/icon_mute_mono.png b/legacy/elementary/data/themes/img/icon_mute_mono.png new file mode 100644 index 0000000000..029e3d2b77 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_mute_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_next.png b/legacy/elementary/data/themes/img/icon_next.png new file mode 100644 index 0000000000..049ec4d6ae Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_next.png differ diff --git a/legacy/elementary/data/themes/img/icon_next_mono.png b/legacy/elementary/data/themes/img/icon_next_mono.png new file mode 100644 index 0000000000..0b9aced28f Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_next_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_pause.png b/legacy/elementary/data/themes/img/icon_pause.png new file mode 100644 index 0000000000..b5dbfee5a3 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_pause.png differ diff --git a/legacy/elementary/data/themes/img/icon_pause_mono.png b/legacy/elementary/data/themes/img/icon_pause_mono.png new file mode 100644 index 0000000000..fc7b9f870c Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_pause_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_play.png b/legacy/elementary/data/themes/img/icon_play.png new file mode 100644 index 0000000000..b9b301cc15 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_play.png differ diff --git a/legacy/elementary/data/themes/img/icon_play_mono.png b/legacy/elementary/data/themes/img/icon_play_mono.png new file mode 100644 index 0000000000..7b2d591ff0 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_play_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-applications-personal.png b/legacy/elementary/data/themes/img/icon_preferences-applications-personal.png new file mode 100644 index 0000000000..fe08901b58 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-applications-personal.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-applications-screen-lock.png b/legacy/elementary/data/themes/img/icon_preferences-applications-screen-lock.png new file mode 100644 index 0000000000..940b42b600 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-applications-screen-lock.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-applications-screen-unlock.png b/legacy/elementary/data/themes/img/icon_preferences-applications-screen-unlock.png new file mode 100644 index 0000000000..10107df8ec Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-applications-screen-unlock.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-composite.png b/legacy/elementary/data/themes/img/icon_preferences-composite.png new file mode 100644 index 0000000000..b6497df6bd Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-composite.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-desklock-locale.png b/legacy/elementary/data/themes/img/icon_preferences-desklock-locale.png new file mode 100644 index 0000000000..e5fb7b55d3 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-desklock-locale.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-desktop-environments.png b/legacy/elementary/data/themes/img/icon_preferences-desktop-environments.png new file mode 100644 index 0000000000..5f6867c5c3 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-desktop-environments.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-desktop-signal-bindings.png b/legacy/elementary/data/themes/img/icon_preferences-desktop-signal-bindings.png new file mode 100644 index 0000000000..d8c1591a8c Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-desktop-signal-bindings.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-interaction.png b/legacy/elementary/data/themes/img/icon_preferences-interaction.png new file mode 100644 index 0000000000..e59bc9415f Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-interaction.png differ diff --git a/legacy/elementary/data/themes/img/icon_preferences-variables.png b/legacy/elementary/data/themes/img/icon_preferences-variables.png new file mode 100644 index 0000000000..088a68fd67 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_preferences-variables.png differ diff --git a/legacy/elementary/data/themes/img/icon_prev.png b/legacy/elementary/data/themes/img/icon_prev.png new file mode 100644 index 0000000000..b486a3766e Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_prev.png differ diff --git a/legacy/elementary/data/themes/img/icon_prev_mono.png b/legacy/elementary/data/themes/img/icon_prev_mono.png new file mode 100644 index 0000000000..582e709658 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_prev_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_refresh.png b/legacy/elementary/data/themes/img/icon_refresh.png new file mode 100644 index 0000000000..c84bd05903 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_refresh.png differ diff --git a/legacy/elementary/data/themes/img/icon_rewind.png b/legacy/elementary/data/themes/img/icon_rewind.png new file mode 100644 index 0000000000..2cf6b27051 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_rewind.png differ diff --git a/legacy/elementary/data/themes/img/icon_rewind_mono.png b/legacy/elementary/data/themes/img/icon_rewind_mono.png new file mode 100644 index 0000000000..03ab759c71 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_rewind_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_stop.png b/legacy/elementary/data/themes/img/icon_stop.png new file mode 100644 index 0000000000..c229cd8321 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_stop.png differ diff --git a/legacy/elementary/data/themes/img/icon_stop_mono.png b/legacy/elementary/data/themes/img/icon_stop_mono.png new file mode 100644 index 0000000000..d783e2e2dd Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_stop_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_system-lock-screen.png b/legacy/elementary/data/themes/img/icon_system-lock-screen.png new file mode 100644 index 0000000000..288da75180 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_system-lock-screen.png differ diff --git a/legacy/elementary/data/themes/img/icon_system-log-out.png b/legacy/elementary/data/themes/img/icon_system-log-out.png new file mode 100644 index 0000000000..e29f5936a2 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_system-log-out.png differ diff --git a/legacy/elementary/data/themes/img/icon_system-restart.png b/legacy/elementary/data/themes/img/icon_system-restart.png new file mode 100644 index 0000000000..893aa939e6 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_system-restart.png differ diff --git a/legacy/elementary/data/themes/img/icon_system-shutdown.png b/legacy/elementary/data/themes/img/icon_system-shutdown.png new file mode 100644 index 0000000000..f71f7b8cc0 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_system-shutdown.png differ diff --git a/legacy/elementary/data/themes/img/icon_system-suspend-hibernate.png b/legacy/elementary/data/themes/img/icon_system-suspend-hibernate.png new file mode 100644 index 0000000000..6ecbebff5c Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_system-suspend-hibernate.png differ diff --git a/legacy/elementary/data/themes/img/icon_system-suspend.png b/legacy/elementary/data/themes/img/icon_system-suspend.png new file mode 100644 index 0000000000..28f912a003 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_system-suspend.png differ diff --git a/legacy/elementary/data/themes/img/icon_system.png b/legacy/elementary/data/themes/img/icon_system.png new file mode 100644 index 0000000000..90d11c2d3b Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_system.png differ diff --git a/legacy/elementary/data/themes/img/icon_volume.png b/legacy/elementary/data/themes/img/icon_volume.png new file mode 100644 index 0000000000..f9a12d1b19 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_volume.png differ diff --git a/legacy/elementary/data/themes/img/icon_volume_mono.png b/legacy/elementary/data/themes/img/icon_volume_mono.png new file mode 100644 index 0000000000..f6599f219c Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_volume_mono.png differ diff --git a/legacy/elementary/data/themes/img/icon_wallpaper_center.png b/legacy/elementary/data/themes/img/icon_wallpaper_center.png new file mode 100644 index 0000000000..920a060851 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_wallpaper_center.png differ diff --git a/legacy/elementary/data/themes/img/icon_wallpaper_fill.png b/legacy/elementary/data/themes/img/icon_wallpaper_fill.png new file mode 100644 index 0000000000..a2daaeaacb Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_wallpaper_fill.png differ diff --git a/legacy/elementary/data/themes/img/icon_wallpaper_pan.png b/legacy/elementary/data/themes/img/icon_wallpaper_pan.png new file mode 100644 index 0000000000..a60f7a1b3b Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_wallpaper_pan.png differ diff --git a/legacy/elementary/data/themes/img/icon_wallpaper_stretch.png b/legacy/elementary/data/themes/img/icon_wallpaper_stretch.png new file mode 100644 index 0000000000..6d271e3b4e Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_wallpaper_stretch.png differ diff --git a/legacy/elementary/data/themes/img/icon_wallpaper_tile.png b/legacy/elementary/data/themes/img/icon_wallpaper_tile.png new file mode 100644 index 0000000000..5885d9172a Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_wallpaper_tile.png differ diff --git a/legacy/elementary/data/themes/img/icon_wallpaper_within.png b/legacy/elementary/data/themes/img/icon_wallpaper_within.png new file mode 100644 index 0000000000..f0cb50e475 Binary files /dev/null and b/legacy/elementary/data/themes/img/icon_wallpaper_within.png differ diff --git a/legacy/elementary/data/themes/img/img_example_1.png b/legacy/elementary/data/themes/img/img_example_1.png new file mode 100644 index 0000000000..2738394c4f Binary files /dev/null and b/legacy/elementary/data/themes/img/img_example_1.png differ diff --git a/legacy/elementary/data/themes/img/img_example_2.png b/legacy/elementary/data/themes/img/img_example_2.png new file mode 100644 index 0000000000..9de0827267 Binary files /dev/null and b/legacy/elementary/data/themes/img/img_example_2.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_base.png b/legacy/elementary/data/themes/img/inset_bar_horiz_base.png new file mode 100644 index 0000000000..fd18449bf5 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_base.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_base.png new file mode 100644 index 0000000000..352788722f Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_base_double.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_base_double.png new file mode 100644 index 0000000000..e57e676239 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_base_double.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_base.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_base.png new file mode 100644 index 0000000000..d41612f7e2 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_base_double.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_base_double.png new file mode 100644 index 0000000000..f2b986cfaf Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_base_double.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_light.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_light.png new file mode 100644 index 0000000000..c421580e33 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_inv_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_light.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_light.png new file mode 100644 index 0000000000..48723b8efa Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_mid_base.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_mid_base.png new file mode 100644 index 0000000000..bf1ea5dfe1 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_mid_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_glow_mid_light.png b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_mid_light.png new file mode 100644 index 0000000000..5b51ce1572 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_glow_mid_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_inside_base.png b/legacy/elementary/data/themes/img/inset_bar_horiz_inside_base.png new file mode 100644 index 0000000000..a136ac6735 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_inside_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_inside_light.png b/legacy/elementary/data/themes/img/inset_bar_horiz_inside_light.png new file mode 100644 index 0000000000..b3924d72d5 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_inside_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_horiz_light.png b/legacy/elementary/data/themes/img/inset_bar_horiz_light.png new file mode 100644 index 0000000000..4d7c9a0099 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_horiz_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_base.png b/legacy/elementary/data/themes/img/inset_bar_vert_base.png new file mode 100644 index 0000000000..3aa93672bb Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_base.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_base.png new file mode 100644 index 0000000000..f6b0476966 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_base_double.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_base_double.png new file mode 100644 index 0000000000..e71022e14b Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_base_double.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_base.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_base.png new file mode 100644 index 0000000000..7de25cedea Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_base_double.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_base_double.png new file mode 100644 index 0000000000..919c623a00 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_base_double.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_light.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_light.png new file mode 100644 index 0000000000..69d9421a60 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_inv_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_light.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_light.png new file mode 100644 index 0000000000..55285e2063 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_mid_base.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_mid_base.png new file mode 100644 index 0000000000..51b7c96b5f Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_mid_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_glow_mid_light.png b/legacy/elementary/data/themes/img/inset_bar_vert_glow_mid_light.png new file mode 100644 index 0000000000..3318d8255b Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_glow_mid_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_inside_base.png b/legacy/elementary/data/themes/img/inset_bar_vert_inside_base.png new file mode 100644 index 0000000000..9beda37ffe Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_inside_base.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_inside_light.png b/legacy/elementary/data/themes/img/inset_bar_vert_inside_light.png new file mode 100644 index 0000000000..e3f2695d5c Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_inside_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_bar_vert_light.png b/legacy/elementary/data/themes/img/inset_bar_vert_light.png new file mode 100644 index 0000000000..1014831e3c Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_bar_vert_light.png differ diff --git a/legacy/elementary/data/themes/img/inset_circle_tiny.png b/legacy/elementary/data/themes/img/inset_circle_tiny.png new file mode 100644 index 0000000000..9ed6af9e3a Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_circle_tiny.png differ diff --git a/legacy/elementary/data/themes/img/inset_round_hilight.png b/legacy/elementary/data/themes/img/inset_round_hilight.png new file mode 100644 index 0000000000..7696175088 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_round_hilight.png differ diff --git a/legacy/elementary/data/themes/img/inset_round_shading.png b/legacy/elementary/data/themes/img/inset_round_shading.png new file mode 100644 index 0000000000..429f073cc3 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_round_shading.png differ diff --git a/legacy/elementary/data/themes/img/inset_round_shadow.png b/legacy/elementary/data/themes/img/inset_round_shadow.png new file mode 100644 index 0000000000..5dd3b0cec5 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_round_shadow.png differ diff --git a/legacy/elementary/data/themes/img/inset_shadow.png b/legacy/elementary/data/themes/img/inset_shadow.png new file mode 100644 index 0000000000..dad255c61a Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_shadow.png differ diff --git a/legacy/elementary/data/themes/img/inset_shadow_circle_tiny.png b/legacy/elementary/data/themes/img/inset_shadow_circle_tiny.png new file mode 100644 index 0000000000..db416a9608 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_shadow_circle_tiny.png differ diff --git a/legacy/elementary/data/themes/img/inset_shadow_tiny.png b/legacy/elementary/data/themes/img/inset_shadow_tiny.png new file mode 100644 index 0000000000..773237cb86 Binary files /dev/null and b/legacy/elementary/data/themes/img/inset_shadow_tiny.png differ diff --git a/legacy/elementary/data/themes/img/kbd_glow.png b/legacy/elementary/data/themes/img/kbd_glow.png new file mode 100644 index 0000000000..c690caa7b2 Binary files /dev/null and b/legacy/elementary/data/themes/img/kbd_glow.png differ diff --git a/legacy/elementary/data/themes/img/kbd_hilight.png b/legacy/elementary/data/themes/img/kbd_hilight.png new file mode 100644 index 0000000000..f566705717 Binary files /dev/null and b/legacy/elementary/data/themes/img/kbd_hilight.png differ diff --git a/legacy/elementary/data/themes/img/kbd_inset.png b/legacy/elementary/data/themes/img/kbd_inset.png new file mode 100644 index 0000000000..65d44a44ac Binary files /dev/null and b/legacy/elementary/data/themes/img/kbd_inset.png differ diff --git a/legacy/elementary/data/themes/img/knob_round_busy.png b/legacy/elementary/data/themes/img/knob_round_busy.png new file mode 100644 index 0000000000..8bf03e6ab7 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_round_busy.png differ diff --git a/legacy/elementary/data/themes/img/knob_round_small_busy.png b/legacy/elementary/data/themes/img/knob_round_small_busy.png new file mode 100644 index 0000000000..76d35baa5f Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_round_small_busy.png differ diff --git a/legacy/elementary/data/themes/img/knob_round_small_normal.png b/legacy/elementary/data/themes/img/knob_round_small_normal.png new file mode 100644 index 0000000000..de73084ce4 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_round_small_normal.png differ diff --git a/legacy/elementary/data/themes/img/knob_round_small_selected.png b/legacy/elementary/data/themes/img/knob_round_small_selected.png new file mode 100644 index 0000000000..df339ad124 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_round_small_selected.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_04.png b/legacy/elementary/data/themes/img/knob_sz_04.png new file mode 100644 index 0000000000..14a9d00b21 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_04.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_06.png b/legacy/elementary/data/themes/img/knob_sz_06.png new file mode 100644 index 0000000000..2642088e20 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_06.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_08.png b/legacy/elementary/data/themes/img/knob_sz_08.png new file mode 100644 index 0000000000..cb2df5951c Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_08.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_10.png b/legacy/elementary/data/themes/img/knob_sz_10.png new file mode 100644 index 0000000000..5d526d68c7 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_10.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_12.png b/legacy/elementary/data/themes/img/knob_sz_12.png new file mode 100644 index 0000000000..ff19cb1908 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_12.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_14.png b/legacy/elementary/data/themes/img/knob_sz_14.png new file mode 100644 index 0000000000..2dc522ce80 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_14.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_16.png b/legacy/elementary/data/themes/img/knob_sz_16.png new file mode 100644 index 0000000000..6cc0d7b46c Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_16.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_18.png b/legacy/elementary/data/themes/img/knob_sz_18.png new file mode 100644 index 0000000000..7ab9d66920 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_18.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_20.png b/legacy/elementary/data/themes/img/knob_sz_20.png new file mode 100644 index 0000000000..43d0a06f31 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_20.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_22.png b/legacy/elementary/data/themes/img/knob_sz_22.png new file mode 100644 index 0000000000..d183f604f7 Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_22.png differ diff --git a/legacy/elementary/data/themes/img/knob_sz_24.png b/legacy/elementary/data/themes/img/knob_sz_24.png new file mode 100644 index 0000000000..86a8ea317e Binary files /dev/null and b/legacy/elementary/data/themes/img/knob_sz_24.png differ diff --git a/legacy/elementary/data/themes/img/led_dark.png b/legacy/elementary/data/themes/img/led_dark.png new file mode 100644 index 0000000000..d60cdf20fb Binary files /dev/null and b/legacy/elementary/data/themes/img/led_dark.png differ diff --git a/legacy/elementary/data/themes/img/led_dot_white.png b/legacy/elementary/data/themes/img/led_dot_white.png new file mode 100644 index 0000000000..9c2278994f Binary files /dev/null and b/legacy/elementary/data/themes/img/led_dot_white.png differ diff --git a/legacy/elementary/data/themes/img/led_light.png b/legacy/elementary/data/themes/img/led_light.png new file mode 100644 index 0000000000..42d3d50755 Binary files /dev/null and b/legacy/elementary/data/themes/img/led_light.png differ diff --git a/legacy/elementary/data/themes/img/led_red_light.png b/legacy/elementary/data/themes/img/led_red_light.png new file mode 100644 index 0000000000..7d5c2dafae Binary files /dev/null and b/legacy/elementary/data/themes/img/led_red_light.png differ diff --git a/legacy/elementary/data/themes/img/led_square_base.png b/legacy/elementary/data/themes/img/led_square_base.png new file mode 100644 index 0000000000..802bcc535c Binary files /dev/null and b/legacy/elementary/data/themes/img/led_square_base.png differ diff --git a/legacy/elementary/data/themes/img/led_square_glow.png b/legacy/elementary/data/themes/img/led_square_glow.png new file mode 100644 index 0000000000..e59ca9a50a Binary files /dev/null and b/legacy/elementary/data/themes/img/led_square_glow.png differ diff --git a/legacy/elementary/data/themes/img/led_square_shading.png b/legacy/elementary/data/themes/img/led_square_shading.png new file mode 100644 index 0000000000..6fc2f8a8fd Binary files /dev/null and b/legacy/elementary/data/themes/img/led_square_shading.png differ diff --git a/legacy/elementary/data/themes/img/led_square_shadow.png b/legacy/elementary/data/themes/img/led_square_shadow.png new file mode 100644 index 0000000000..a080744147 Binary files /dev/null and b/legacy/elementary/data/themes/img/led_square_shadow.png differ diff --git a/legacy/elementary/data/themes/img/led_square_shine.png b/legacy/elementary/data/themes/img/led_square_shine.png new file mode 100644 index 0000000000..f173538a5c Binary files /dev/null and b/legacy/elementary/data/themes/img/led_square_shine.png differ diff --git a/legacy/elementary/data/themes/img/led_strobe.png b/legacy/elementary/data/themes/img/led_strobe.png new file mode 100644 index 0000000000..a6ae8ed22f Binary files /dev/null and b/legacy/elementary/data/themes/img/led_strobe.png differ diff --git a/legacy/elementary/data/themes/img/led_tiny_blue.png b/legacy/elementary/data/themes/img/led_tiny_blue.png new file mode 100644 index 0000000000..3aedae6125 Binary files /dev/null and b/legacy/elementary/data/themes/img/led_tiny_blue.png differ diff --git a/legacy/elementary/data/themes/img/led_tiny_green.png b/legacy/elementary/data/themes/img/led_tiny_green.png new file mode 100644 index 0000000000..a66ffd2896 Binary files /dev/null and b/legacy/elementary/data/themes/img/led_tiny_green.png differ diff --git a/legacy/elementary/data/themes/img/led_tiny_orange.png b/legacy/elementary/data/themes/img/led_tiny_orange.png new file mode 100644 index 0000000000..0bcb574951 Binary files /dev/null and b/legacy/elementary/data/themes/img/led_tiny_orange.png differ diff --git a/legacy/elementary/data/themes/img/logo_blue_bottom.png b/legacy/elementary/data/themes/img/logo_blue_bottom.png new file mode 100644 index 0000000000..a263ffddce Binary files /dev/null and b/legacy/elementary/data/themes/img/logo_blue_bottom.png differ diff --git a/legacy/elementary/data/themes/img/logo_blue_small.png b/legacy/elementary/data/themes/img/logo_blue_small.png new file mode 100644 index 0000000000..0a0323709b Binary files /dev/null and b/legacy/elementary/data/themes/img/logo_blue_small.png differ diff --git a/legacy/elementary/data/themes/img/logo_blue_small_glow.png b/legacy/elementary/data/themes/img/logo_blue_small_glow.png new file mode 100644 index 0000000000..a13cc0f678 Binary files /dev/null and b/legacy/elementary/data/themes/img/logo_blue_small_glow.png differ diff --git a/legacy/elementary/data/themes/images/map_circle.png b/legacy/elementary/data/themes/img/map_circle.png similarity index 100% rename from legacy/elementary/data/themes/images/map_circle.png rename to legacy/elementary/data/themes/img/map_circle.png diff --git a/legacy/elementary/data/themes/img/map_marker.png b/legacy/elementary/data/themes/img/map_marker.png new file mode 100644 index 0000000000..0e545a5962 Binary files /dev/null and b/legacy/elementary/data/themes/img/map_marker.png differ diff --git a/legacy/elementary/data/themes/img/map_scale.png b/legacy/elementary/data/themes/img/map_scale.png new file mode 100644 index 0000000000..35215c13e5 Binary files /dev/null and b/legacy/elementary/data/themes/img/map_scale.png differ diff --git a/legacy/elementary/data/themes/img/media_busy_progress.png b/legacy/elementary/data/themes/img/media_busy_progress.png new file mode 100644 index 0000000000..2d973daa24 Binary files /dev/null and b/legacy/elementary/data/themes/img/media_busy_progress.png differ diff --git a/legacy/elementary/data/themes/img/mini_blue_glow_arrow_0.png b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_0.png new file mode 100644 index 0000000000..e22bad0047 Binary files /dev/null and b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_0.png differ diff --git a/legacy/elementary/data/themes/img/mini_blue_glow_arrow_1.png b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_1.png new file mode 100644 index 0000000000..9d180029ae Binary files /dev/null and b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_1.png differ diff --git a/legacy/elementary/data/themes/img/mini_blue_glow_arrow_2.png b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_2.png new file mode 100644 index 0000000000..e4f1901b92 Binary files /dev/null and b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_2.png differ diff --git a/legacy/elementary/data/themes/img/mini_blue_glow_arrow_3.png b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_3.png new file mode 100644 index 0000000000..ebe6bbabcf Binary files /dev/null and b/legacy/elementary/data/themes/img/mini_blue_glow_arrow_3.png differ diff --git a/legacy/elementary/data/themes/img/mini_box_bevel_shadow.png b/legacy/elementary/data/themes/img/mini_box_bevel_shadow.png new file mode 100644 index 0000000000..768e8682c0 Binary files /dev/null and b/legacy/elementary/data/themes/img/mini_box_bevel_shadow.png differ diff --git a/legacy/elementary/data/themes/img/mini_box_glow.png b/legacy/elementary/data/themes/img/mini_box_glow.png new file mode 100644 index 0000000000..da4622306f Binary files /dev/null and b/legacy/elementary/data/themes/img/mini_box_glow.png differ diff --git a/legacy/elementary/data/themes/img/music_control_icon.png b/legacy/elementary/data/themes/img/music_control_icon.png new file mode 100644 index 0000000000..66834e4d0a Binary files /dev/null and b/legacy/elementary/data/themes/img/music_control_icon.png differ diff --git a/legacy/elementary/data/themes/img/outline_glow.png b/legacy/elementary/data/themes/img/outline_glow.png new file mode 100644 index 0000000000..8ae8c2f672 Binary files /dev/null and b/legacy/elementary/data/themes/img/outline_glow.png differ diff --git a/legacy/elementary/data/themes/img/pointer.png b/legacy/elementary/data/themes/img/pointer.png new file mode 100644 index 0000000000..9d1aaaa1b7 Binary files /dev/null and b/legacy/elementary/data/themes/img/pointer.png differ diff --git a/legacy/elementary/data/themes/img/pointer_entry_bar.png b/legacy/elementary/data/themes/img/pointer_entry_bar.png new file mode 100644 index 0000000000..6394c8c1c8 Binary files /dev/null and b/legacy/elementary/data/themes/img/pointer_entry_bar.png differ diff --git a/legacy/elementary/data/themes/img/pointer_glow.png b/legacy/elementary/data/themes/img/pointer_glow.png new file mode 100644 index 0000000000..297e7d604a Binary files /dev/null and b/legacy/elementary/data/themes/img/pointer_glow.png differ diff --git a/legacy/elementary/data/themes/img/pointer_mono.png b/legacy/elementary/data/themes/img/pointer_mono.png new file mode 100644 index 0000000000..fe8ee71cd6 Binary files /dev/null and b/legacy/elementary/data/themes/img/pointer_mono.png differ diff --git a/legacy/elementary/data/themes/img/ring_shadow.png b/legacy/elementary/data/themes/img/ring_shadow.png new file mode 100644 index 0000000000..b0cd5ca91e Binary files /dev/null and b/legacy/elementary/data/themes/img/ring_shadow.png differ diff --git a/legacy/elementary/data/themes/img/ring_white_blue_glow.png b/legacy/elementary/data/themes/img/ring_white_blue_glow.png new file mode 100644 index 0000000000..58c697ef17 Binary files /dev/null and b/legacy/elementary/data/themes/img/ring_white_blue_glow.png differ diff --git a/legacy/elementary/data/themes/img/ring_white_middle.png b/legacy/elementary/data/themes/img/ring_white_middle.png new file mode 100644 index 0000000000..9fcdede94a Binary files /dev/null and b/legacy/elementary/data/themes/img/ring_white_middle.png differ diff --git a/legacy/elementary/data/themes/img/rounded_square.png b/legacy/elementary/data/themes/img/rounded_square.png new file mode 100644 index 0000000000..1c0eb93fae Binary files /dev/null and b/legacy/elementary/data/themes/img/rounded_square.png differ diff --git a/legacy/elementary/data/themes/img/runner_glow_horiz.png b/legacy/elementary/data/themes/img/runner_glow_horiz.png new file mode 100644 index 0000000000..ff63301477 Binary files /dev/null and b/legacy/elementary/data/themes/img/runner_glow_horiz.png differ diff --git a/legacy/elementary/data/themes/img/runner_glow_vert.png b/legacy/elementary/data/themes/img/runner_glow_vert.png new file mode 100644 index 0000000000..ddc47c7190 Binary files /dev/null and b/legacy/elementary/data/themes/img/runner_glow_vert.png differ diff --git a/legacy/elementary/data/themes/img/runner_horiz.png b/legacy/elementary/data/themes/img/runner_horiz.png new file mode 100644 index 0000000000..bf9b3880ac Binary files /dev/null and b/legacy/elementary/data/themes/img/runner_horiz.png differ diff --git a/legacy/elementary/data/themes/img/runner_vert.png b/legacy/elementary/data/themes/img/runner_vert.png new file mode 100644 index 0000000000..1db8e6cc88 Binary files /dev/null and b/legacy/elementary/data/themes/img/runner_vert.png differ diff --git a/legacy/elementary/data/themes/img/screen_base.png b/legacy/elementary/data/themes/img/screen_base.png new file mode 100644 index 0000000000..cbd262e907 Binary files /dev/null and b/legacy/elementary/data/themes/img/screen_base.png differ diff --git a/legacy/elementary/data/themes/img/screen_bg.png b/legacy/elementary/data/themes/img/screen_bg.png new file mode 100644 index 0000000000..778a6985fb Binary files /dev/null and b/legacy/elementary/data/themes/img/screen_bg.png differ diff --git a/legacy/elementary/data/themes/img/screen_circular_shadow.png b/legacy/elementary/data/themes/img/screen_circular_shadow.png new file mode 100644 index 0000000000..7427a7f040 Binary files /dev/null and b/legacy/elementary/data/themes/img/screen_circular_shadow.png differ diff --git a/legacy/elementary/data/themes/img/screen_fg.png b/legacy/elementary/data/themes/img/screen_fg.png new file mode 100644 index 0000000000..eb6b80ad20 Binary files /dev/null and b/legacy/elementary/data/themes/img/screen_fg.png differ diff --git a/legacy/elementary/data/themes/img/separator_horiz.png b/legacy/elementary/data/themes/img/separator_horiz.png new file mode 100644 index 0000000000..ed53e4d39d Binary files /dev/null and b/legacy/elementary/data/themes/img/separator_horiz.png differ diff --git a/legacy/elementary/data/themes/img/shadow_angled_in_light.png b/legacy/elementary/data/themes/img/shadow_angled_in_light.png new file mode 100644 index 0000000000..ad44b47cc2 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_angled_in_light.png differ diff --git a/legacy/elementary/data/themes/img/shadow_angled_in_sides.png b/legacy/elementary/data/themes/img/shadow_angled_in_sides.png new file mode 100644 index 0000000000..8f5d276e31 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_angled_in_sides.png differ diff --git a/legacy/elementary/data/themes/img/shadow_horiz.png b/legacy/elementary/data/themes/img/shadow_horiz.png new file mode 100644 index 0000000000..de8770a03c Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_horiz.png differ diff --git a/legacy/elementary/data/themes/img/shadow_inset_bevels.png b/legacy/elementary/data/themes/img/shadow_inset_bevels.png new file mode 100644 index 0000000000..ecac08b3f7 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_inset_bevels.png differ diff --git a/legacy/elementary/data/themes/img/shadow_inset_light.png b/legacy/elementary/data/themes/img/shadow_inset_light.png new file mode 100644 index 0000000000..88c76c7994 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_inset_light.png differ diff --git a/legacy/elementary/data/themes/img/shadow_rounded_horiz.png b/legacy/elementary/data/themes/img/shadow_rounded_horiz.png new file mode 100644 index 0000000000..5030a08404 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_rounded_horiz.png differ diff --git a/legacy/elementary/data/themes/img/shadow_rounded_vert.png b/legacy/elementary/data/themes/img/shadow_rounded_vert.png new file mode 100644 index 0000000000..10a751ab33 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_rounded_vert.png differ diff --git a/legacy/elementary/data/themes/img/shadow_square_tiny.png b/legacy/elementary/data/themes/img/shadow_square_tiny.png new file mode 100644 index 0000000000..7a180f3079 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_square_tiny.png differ diff --git a/legacy/elementary/data/themes/img/shadow_vert.png b/legacy/elementary/data/themes/img/shadow_vert.png new file mode 100644 index 0000000000..4af2fbee1e Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_vert.png differ diff --git a/legacy/elementary/data/themes/img/shadow_vertical_dark.png b/legacy/elementary/data/themes/img/shadow_vertical_dark.png new file mode 100644 index 0000000000..0f516e9287 Binary files /dev/null and b/legacy/elementary/data/themes/img/shadow_vertical_dark.png differ diff --git a/legacy/elementary/data/themes/img/shine.png b/legacy/elementary/data/themes/img/shine.png new file mode 100644 index 0000000000..e433c02363 Binary files /dev/null and b/legacy/elementary/data/themes/img/shine.png differ diff --git a/legacy/elementary/data/themes/img/slider_run_base_horiz.png b/legacy/elementary/data/themes/img/slider_run_base_horiz.png new file mode 100644 index 0000000000..220dde7278 Binary files /dev/null and b/legacy/elementary/data/themes/img/slider_run_base_horiz.png differ diff --git a/legacy/elementary/data/themes/img/slider_run_base_light_horiz.png b/legacy/elementary/data/themes/img/slider_run_base_light_horiz.png new file mode 100644 index 0000000000..ce130bbbdc Binary files /dev/null and b/legacy/elementary/data/themes/img/slider_run_base_light_horiz.png differ diff --git a/legacy/elementary/data/themes/img/slider_run_base_light_vert.png b/legacy/elementary/data/themes/img/slider_run_base_light_vert.png new file mode 100644 index 0000000000..b82078d74f Binary files /dev/null and b/legacy/elementary/data/themes/img/slider_run_base_light_vert.png differ diff --git a/legacy/elementary/data/themes/img/slider_run_base_vert.png b/legacy/elementary/data/themes/img/slider_run_base_vert.png new file mode 100644 index 0000000000..20e2813dc1 Binary files /dev/null and b/legacy/elementary/data/themes/img/slider_run_base_vert.png differ diff --git a/legacy/elementary/data/themes/img/slider_run_bevel_horiz.png b/legacy/elementary/data/themes/img/slider_run_bevel_horiz.png new file mode 100644 index 0000000000..a018687e13 Binary files /dev/null and b/legacy/elementary/data/themes/img/slider_run_bevel_horiz.png differ diff --git a/legacy/elementary/data/themes/img/slider_run_bevel_vert.png b/legacy/elementary/data/themes/img/slider_run_bevel_vert.png new file mode 100644 index 0000000000..a6c15ffc98 Binary files /dev/null and b/legacy/elementary/data/themes/img/slider_run_bevel_vert.png differ diff --git a/legacy/elementary/data/themes/img/slot_horiz_bottom.png b/legacy/elementary/data/themes/img/slot_horiz_bottom.png new file mode 100644 index 0000000000..a8c6fdc876 Binary files /dev/null and b/legacy/elementary/data/themes/img/slot_horiz_bottom.png differ diff --git a/legacy/elementary/data/themes/img/slot_horiz_top.png b/legacy/elementary/data/themes/img/slot_horiz_top.png new file mode 100644 index 0000000000..e0dba5c8a2 Binary files /dev/null and b/legacy/elementary/data/themes/img/slot_horiz_top.png differ diff --git a/legacy/elementary/data/themes/img/spanner_glow.png b/legacy/elementary/data/themes/img/spanner_glow.png new file mode 100644 index 0000000000..bd3d5ff353 Binary files /dev/null and b/legacy/elementary/data/themes/img/spanner_glow.png differ diff --git a/legacy/elementary/data/themes/img/spanner_hilight.png b/legacy/elementary/data/themes/img/spanner_hilight.png new file mode 100644 index 0000000000..ea821244d8 Binary files /dev/null and b/legacy/elementary/data/themes/img/spanner_hilight.png differ diff --git a/legacy/elementary/data/themes/img/spanner_inset.png b/legacy/elementary/data/themes/img/spanner_inset.png new file mode 100644 index 0000000000..040fae0ee6 Binary files /dev/null and b/legacy/elementary/data/themes/img/spanner_inset.png differ diff --git a/legacy/elementary/data/themes/img/speaker.png b/legacy/elementary/data/themes/img/speaker.png new file mode 100644 index 0000000000..f6622f51cc Binary files /dev/null and b/legacy/elementary/data/themes/img/speaker.png differ diff --git a/legacy/elementary/data/themes/img/split_h_glow.png b/legacy/elementary/data/themes/img/split_h_glow.png new file mode 100644 index 0000000000..35d6db175a Binary files /dev/null and b/legacy/elementary/data/themes/img/split_h_glow.png differ diff --git a/legacy/elementary/data/themes/img/split_h_hilight.png b/legacy/elementary/data/themes/img/split_h_hilight.png new file mode 100644 index 0000000000..b70bb94368 Binary files /dev/null and b/legacy/elementary/data/themes/img/split_h_hilight.png differ diff --git a/legacy/elementary/data/themes/img/split_h_inset.png b/legacy/elementary/data/themes/img/split_h_inset.png new file mode 100644 index 0000000000..bb498c97c9 Binary files /dev/null and b/legacy/elementary/data/themes/img/split_h_inset.png differ diff --git a/legacy/elementary/data/themes/img/split_none_glow.png b/legacy/elementary/data/themes/img/split_none_glow.png new file mode 100644 index 0000000000..99ee666615 Binary files /dev/null and b/legacy/elementary/data/themes/img/split_none_glow.png differ diff --git a/legacy/elementary/data/themes/img/split_none_hilight.png b/legacy/elementary/data/themes/img/split_none_hilight.png new file mode 100644 index 0000000000..e5c118b91f Binary files /dev/null and b/legacy/elementary/data/themes/img/split_none_hilight.png differ diff --git a/legacy/elementary/data/themes/img/split_none_inset.png b/legacy/elementary/data/themes/img/split_none_inset.png new file mode 100644 index 0000000000..b1a5781351 Binary files /dev/null and b/legacy/elementary/data/themes/img/split_none_inset.png differ diff --git a/legacy/elementary/data/themes/img/split_v_glow.png b/legacy/elementary/data/themes/img/split_v_glow.png new file mode 100644 index 0000000000..7f51145f19 Binary files /dev/null and b/legacy/elementary/data/themes/img/split_v_glow.png differ diff --git a/legacy/elementary/data/themes/img/split_v_hilight.png b/legacy/elementary/data/themes/img/split_v_hilight.png new file mode 100644 index 0000000000..51d380dcd2 Binary files /dev/null and b/legacy/elementary/data/themes/img/split_v_hilight.png differ diff --git a/legacy/elementary/data/themes/img/split_v_inset.png b/legacy/elementary/data/themes/img/split_v_inset.png new file mode 100644 index 0000000000..30e40c4274 Binary files /dev/null and b/legacy/elementary/data/themes/img/split_v_inset.png differ diff --git a/legacy/elementary/data/themes/img/sym_check_alum.png b/legacy/elementary/data/themes/img/sym_check_alum.png new file mode 100644 index 0000000000..fa9e2fc781 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_check_alum.png differ diff --git a/legacy/elementary/data/themes/img/sym_close_dark_normal.png b/legacy/elementary/data/themes/img/sym_close_dark_normal.png new file mode 100644 index 0000000000..7f01f5a7d2 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_close_dark_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_close_dark_selected.png b/legacy/elementary/data/themes/img/sym_close_dark_selected.png new file mode 100644 index 0000000000..fdc8b0594f Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_close_dark_selected.png differ diff --git a/legacy/elementary/data/themes/img/sym_close_light_normal.png b/legacy/elementary/data/themes/img/sym_close_light_normal.png new file mode 100644 index 0000000000..54ad4b2c2b Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_close_light_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_close_light_selected.png b/legacy/elementary/data/themes/img/sym_close_light_selected.png new file mode 100644 index 0000000000..c2ff0c58e9 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_close_light_selected.png differ diff --git a/legacy/elementary/data/themes/img/sym_down_dark_normal.png b/legacy/elementary/data/themes/img/sym_down_dark_normal.png new file mode 100644 index 0000000000..b7ee59aea8 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_down_dark_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_down_dark_selected.png b/legacy/elementary/data/themes/img/sym_down_dark_selected.png new file mode 100644 index 0000000000..7fc701ad50 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_down_dark_selected.png differ diff --git a/legacy/elementary/data/themes/img/sym_down_glow_normal.png b/legacy/elementary/data/themes/img/sym_down_glow_normal.png new file mode 100644 index 0000000000..2ec0f1e98e Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_down_glow_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_down_light_normal.png b/legacy/elementary/data/themes/img/sym_down_light_normal.png new file mode 100644 index 0000000000..9b6f259996 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_down_light_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_down_light_selected.png b/legacy/elementary/data/themes/img/sym_down_light_selected.png new file mode 100644 index 0000000000..a36d1def44 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_down_light_selected.png differ diff --git a/legacy/elementary/data/themes/img/sym_heart_glow_normal.png b/legacy/elementary/data/themes/img/sym_heart_glow_normal.png new file mode 100644 index 0000000000..41a9001e72 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_heart_glow_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_heart_light_normal.png b/legacy/elementary/data/themes/img/sym_heart_light_normal.png new file mode 100644 index 0000000000..1cb10bb210 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_heart_light_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_icon_op_ask.png b/legacy/elementary/data/themes/img/sym_icon_op_ask.png new file mode 100644 index 0000000000..4e51b9abf0 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_icon_op_ask.png differ diff --git a/legacy/elementary/data/themes/img/sym_icon_op_copy.png b/legacy/elementary/data/themes/img/sym_icon_op_copy.png new file mode 100644 index 0000000000..a45a0d3b06 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_icon_op_copy.png differ diff --git a/legacy/elementary/data/themes/img/sym_icon_op_move.png b/legacy/elementary/data/themes/img/sym_icon_op_move.png new file mode 100644 index 0000000000..3831cfd918 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_icon_op_move.png differ diff --git a/legacy/elementary/data/themes/img/sym_left_dark_normal.png b/legacy/elementary/data/themes/img/sym_left_dark_normal.png new file mode 100644 index 0000000000..288860f491 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_left_dark_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_left_glow_normal.png b/legacy/elementary/data/themes/img/sym_left_glow_normal.png new file mode 100644 index 0000000000..c2446a73ec Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_left_glow_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_left_light_normal.png b/legacy/elementary/data/themes/img/sym_left_light_normal.png new file mode 100644 index 0000000000..f8a2a46a08 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_left_light_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_radio_alum.png b/legacy/elementary/data/themes/img/sym_radio_alum.png new file mode 100644 index 0000000000..3f46d93997 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_radio_alum.png differ diff --git a/legacy/elementary/data/themes/img/sym_reload_glow_normal.png b/legacy/elementary/data/themes/img/sym_reload_glow_normal.png new file mode 100644 index 0000000000..d0ab27539b Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_reload_glow_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_reload_light_normal.png b/legacy/elementary/data/themes/img/sym_reload_light_normal.png new file mode 100644 index 0000000000..a3c2cfa586 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_reload_light_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_right_dark_normal.png b/legacy/elementary/data/themes/img/sym_right_dark_normal.png new file mode 100644 index 0000000000..cf7d46d01f Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_right_dark_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_right_glow_normal.png b/legacy/elementary/data/themes/img/sym_right_glow_normal.png new file mode 100644 index 0000000000..3010393863 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_right_glow_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_right_light_normal.png b/legacy/elementary/data/themes/img/sym_right_light_normal.png new file mode 100644 index 0000000000..2caf1dd39c Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_right_light_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_up_dark_normal.png b/legacy/elementary/data/themes/img/sym_up_dark_normal.png new file mode 100644 index 0000000000..69e82bc17b Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_up_dark_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_up_dark_selected.png b/legacy/elementary/data/themes/img/sym_up_dark_selected.png new file mode 100644 index 0000000000..c03aaf5f47 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_up_dark_selected.png differ diff --git a/legacy/elementary/data/themes/img/sym_up_glow_normal.png b/legacy/elementary/data/themes/img/sym_up_glow_normal.png new file mode 100644 index 0000000000..2df4220b02 Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_up_glow_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_up_light_normal.png b/legacy/elementary/data/themes/img/sym_up_light_normal.png new file mode 100644 index 0000000000..8ac150ccde Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_up_light_normal.png differ diff --git a/legacy/elementary/data/themes/img/sym_up_light_selected.png b/legacy/elementary/data/themes/img/sym_up_light_selected.png new file mode 100644 index 0000000000..ae085a6ffa Binary files /dev/null and b/legacy/elementary/data/themes/img/sym_up_light_selected.png differ diff --git a/legacy/elementary/data/themes/img/tacho_base.png b/legacy/elementary/data/themes/img/tacho_base.png new file mode 100644 index 0000000000..268f83ebeb Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_base.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_big.png b/legacy/elementary/data/themes/img/tacho_hand_big.png new file mode 100644 index 0000000000..886808def4 Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_big.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_big2.png b/legacy/elementary/data/themes/img/tacho_hand_big2.png new file mode 100644 index 0000000000..a162457de8 Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_big2.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_big3.png b/legacy/elementary/data/themes/img/tacho_hand_big3.png new file mode 100644 index 0000000000..71832ac144 Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_big3.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_big4.png b/legacy/elementary/data/themes/img/tacho_hand_big4.png new file mode 100644 index 0000000000..c14b265eaa Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_big4.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_big_shadow.png b/legacy/elementary/data/themes/img/tacho_hand_big_shadow.png new file mode 100644 index 0000000000..ff70bd3516 Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_big_shadow.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_small_min.png b/legacy/elementary/data/themes/img/tacho_hand_small_min.png new file mode 100644 index 0000000000..f7b91f02cb Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_small_min.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_small_min2.png b/legacy/elementary/data/themes/img/tacho_hand_small_min2.png new file mode 100644 index 0000000000..ab450ace37 Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_small_min2.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_small_min3.png b/legacy/elementary/data/themes/img/tacho_hand_small_min3.png new file mode 100644 index 0000000000..def4b2f6f1 Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_small_min3.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_small_min4.png b/legacy/elementary/data/themes/img/tacho_hand_small_min4.png new file mode 100644 index 0000000000..9b4f4aba5c Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_small_min4.png differ diff --git a/legacy/elementary/data/themes/img/tacho_hand_small_shadow.png b/legacy/elementary/data/themes/img/tacho_hand_small_shadow.png new file mode 100644 index 0000000000..bf4e379cf8 Binary files /dev/null and b/legacy/elementary/data/themes/img/tacho_hand_small_shadow.png differ diff --git a/legacy/elementary/data/themes/img/therm_content.png b/legacy/elementary/data/themes/img/therm_content.png new file mode 100644 index 0000000000..73f158e151 Binary files /dev/null and b/legacy/elementary/data/themes/img/therm_content.png differ diff --git a/legacy/elementary/data/themes/img/therm_shadow.png b/legacy/elementary/data/themes/img/therm_shadow.png new file mode 100644 index 0000000000..f4cc4fb800 Binary files /dev/null and b/legacy/elementary/data/themes/img/therm_shadow.png differ diff --git a/legacy/elementary/data/themes/img/therm_shine.png b/legacy/elementary/data/themes/img/therm_shine.png new file mode 100644 index 0000000000..a9992f7d32 Binary files /dev/null and b/legacy/elementary/data/themes/img/therm_shine.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-base.png b/legacy/elementary/data/themes/img/tooltip-base.png new file mode 100644 index 0000000000..967bd9a7d1 Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-base.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-corner-bottom-left-tip.png b/legacy/elementary/data/themes/img/tooltip-corner-bottom-left-tip.png new file mode 100644 index 0000000000..a9a47d8d61 Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-corner-bottom-left-tip.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-corner-bottom-right-tip.png b/legacy/elementary/data/themes/img/tooltip-corner-bottom-right-tip.png new file mode 100644 index 0000000000..a154869d4d Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-corner-bottom-right-tip.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-corner-top-left-tip.png b/legacy/elementary/data/themes/img/tooltip-corner-top-left-tip.png new file mode 100644 index 0000000000..84acbe22c1 Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-corner-top-left-tip.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-corner-top-right-tip.png b/legacy/elementary/data/themes/img/tooltip-corner-top-right-tip.png new file mode 100644 index 0000000000..1ebec77231 Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-corner-top-right-tip.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-edge-bottom-tip.png b/legacy/elementary/data/themes/img/tooltip-edge-bottom-tip.png new file mode 100644 index 0000000000..71ff0dd156 Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-edge-bottom-tip.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-edge-left-tip.png b/legacy/elementary/data/themes/img/tooltip-edge-left-tip.png new file mode 100644 index 0000000000..ef89115b4e Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-edge-left-tip.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-edge-right-tip.png b/legacy/elementary/data/themes/img/tooltip-edge-right-tip.png new file mode 100644 index 0000000000..fea799c6f6 Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-edge-right-tip.png differ diff --git a/legacy/elementary/data/themes/img/tooltip-edge-top-tip.png b/legacy/elementary/data/themes/img/tooltip-edge-top-tip.png new file mode 100644 index 0000000000..15d37e4592 Binary files /dev/null and b/legacy/elementary/data/themes/img/tooltip-edge-top-tip.png differ diff --git a/legacy/elementary/data/themes/img/vert_bar_inset.png b/legacy/elementary/data/themes/img/vert_bar_inset.png new file mode 100644 index 0000000000..3da939f82d Binary files /dev/null and b/legacy/elementary/data/themes/img/vert_bar_inset.png differ diff --git a/legacy/elementary/data/themes/img/vert_glow_run.png b/legacy/elementary/data/themes/img/vert_glow_run.png new file mode 100644 index 0000000000..539b7a6c87 Binary files /dev/null and b/legacy/elementary/data/themes/img/vert_glow_run.png differ diff --git a/legacy/elementary/data/themes/img/vert_glow_run_rev.png b/legacy/elementary/data/themes/img/vert_glow_run_rev.png new file mode 100644 index 0000000000..1fea7bc675 Binary files /dev/null and b/legacy/elementary/data/themes/img/vert_glow_run_rev.png differ diff --git a/legacy/elementary/data/themes/img/vertical_separated_bar_glow.png b/legacy/elementary/data/themes/img/vertical_separated_bar_glow.png new file mode 100644 index 0000000000..3dfbb7e29a Binary files /dev/null and b/legacy/elementary/data/themes/img/vertical_separated_bar_glow.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_med.png b/legacy/elementary/data/themes/img/vgrad_med.png new file mode 100644 index 0000000000..24caaa87a6 Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_med.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_med_curved.png b/legacy/elementary/data/themes/img/vgrad_med_curved.png new file mode 100644 index 0000000000..7ad2476411 Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_med_curved.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_med_dark.png b/legacy/elementary/data/themes/img/vgrad_med_dark.png new file mode 100644 index 0000000000..85430449e9 Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_med_dark.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_med_dark_sparkle.png b/legacy/elementary/data/themes/img/vgrad_med_dark_sparkle.png new file mode 100644 index 0000000000..d6eb6956d1 Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_med_dark_sparkle.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_med_darker.png b/legacy/elementary/data/themes/img/vgrad_med_darker.png new file mode 100644 index 0000000000..965021f48d Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_med_darker.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_med_lighter.png b/legacy/elementary/data/themes/img/vgrad_med_lighter.png new file mode 100644 index 0000000000..54d215efca Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_med_lighter.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_med_lighter_sparkle.png b/legacy/elementary/data/themes/img/vgrad_med_lighter_sparkle.png new file mode 100644 index 0000000000..cc327a134e Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_med_lighter_sparkle.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_shadow_bi.png b/legacy/elementary/data/themes/img/vgrad_shadow_bi.png new file mode 100644 index 0000000000..3e24272fd9 Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_shadow_bi.png differ diff --git a/legacy/elementary/data/themes/img/vgrad_tall.png b/legacy/elementary/data/themes/img/vgrad_tall.png new file mode 100644 index 0000000000..f85007f691 Binary files /dev/null and b/legacy/elementary/data/themes/img/vgrad_tall.png differ diff --git a/legacy/elementary/data/themes/img/white_bar_vert_glow.png b/legacy/elementary/data/themes/img/white_bar_vert_glow.png new file mode 100644 index 0000000000..49c6735509 Binary files /dev/null and b/legacy/elementary/data/themes/img/white_bar_vert_glow.png differ diff --git a/legacy/elementary/data/themes/img/wifi_base.png b/legacy/elementary/data/themes/img/wifi_base.png new file mode 100644 index 0000000000..077b0a35b1 Binary files /dev/null and b/legacy/elementary/data/themes/img/wifi_base.png differ diff --git a/legacy/elementary/data/themes/img/wifi_sig_1.png b/legacy/elementary/data/themes/img/wifi_sig_1.png new file mode 100644 index 0000000000..f7aebf2252 Binary files /dev/null and b/legacy/elementary/data/themes/img/wifi_sig_1.png differ diff --git a/legacy/elementary/data/themes/img/wifi_sig_2.png b/legacy/elementary/data/themes/img/wifi_sig_2.png new file mode 100644 index 0000000000..a723881472 Binary files /dev/null and b/legacy/elementary/data/themes/img/wifi_sig_2.png differ diff --git a/legacy/elementary/data/themes/img/wifi_sig_3.png b/legacy/elementary/data/themes/img/wifi_sig_3.png new file mode 100644 index 0000000000..1d40d81c55 Binary files /dev/null and b/legacy/elementary/data/themes/img/wifi_sig_3.png differ diff --git a/legacy/elementary/data/themes/img/win_glow.png b/legacy/elementary/data/themes/img/win_glow.png new file mode 100644 index 0000000000..d513f66da7 Binary files /dev/null and b/legacy/elementary/data/themes/img/win_glow.png differ diff --git a/legacy/elementary/data/themes/img/win_shadow.png b/legacy/elementary/data/themes/img/win_shadow.png new file mode 100644 index 0000000000..98f158e93b Binary files /dev/null and b/legacy/elementary/data/themes/img/win_shadow.png differ diff --git a/legacy/elementary/data/themes/macros.edc b/legacy/elementary/data/themes/macros.edc new file mode 100644 index 0000000000..a298742ed0 --- /dev/null +++ b/legacy/elementary/data/themes/macros.edc @@ -0,0 +1,11 @@ +#define ASPECT_FILL(_ASPECT) \ + aspect: _ASPECT _ASPECT; aspect_preference: NONE; +#define TILED_PATTERN(_WIDTH, _HEIGHT) \ + fill { size { relative: 0.0 0.0; offset: _WIDTH _HEIGHT; } } +#define TILED_HORIZ(_WIDTH) \ + fill { size { relative: 0.0 1.0; offset: _WIDTH 0; } } +#define FIXED_SIZE(_WIDTH, _HEIGHT) \ + min: _WIDTH _HEIGHT; max: _WIDTH _HEIGHT; fixed: 1 1; + +#define DARK_GREY_BG_COLOR 48 48 48 255 +#define DARK_GREY_BG_DISABLED_COLOR 64 64 64 255 diff --git a/legacy/elementary/data/themes/orig/ampm.svgz b/legacy/elementary/data/themes/orig/ampm.svgz new file mode 100644 index 0000000000..af280d0a2a Binary files /dev/null and b/legacy/elementary/data/themes/orig/ampm.svgz differ diff --git a/legacy/elementary/data/themes/orig/battery.svgz b/legacy/elementary/data/themes/orig/battery.svgz new file mode 100644 index 0000000000..9c65899228 Binary files /dev/null and b/legacy/elementary/data/themes/orig/battery.svgz differ diff --git a/legacy/elementary/data/themes/orig/bulb.svgz b/legacy/elementary/data/themes/orig/bulb.svgz new file mode 100644 index 0000000000..9e7f1fb60f Binary files /dev/null and b/legacy/elementary/data/themes/orig/bulb.svgz differ diff --git a/legacy/elementary/data/themes/orig/copy.svgz b/legacy/elementary/data/themes/orig/copy.svgz new file mode 100644 index 0000000000..10876717d6 Binary files /dev/null and b/legacy/elementary/data/themes/orig/copy.svgz differ diff --git a/legacy/elementary/data/themes/orig/desktops.svgz b/legacy/elementary/data/themes/orig/desktops.svgz new file mode 100644 index 0000000000..ce8a8a492b Binary files /dev/null and b/legacy/elementary/data/themes/orig/desktops.svgz differ diff --git a/legacy/elementary/data/themes/orig/digits.svgz b/legacy/elementary/data/themes/orig/digits.svgz new file mode 100644 index 0000000000..ec9efbb74c Binary files /dev/null and b/legacy/elementary/data/themes/orig/digits.svgz differ diff --git a/legacy/elementary/data/themes/orig/e-logo-blue-glow.svg.gz b/legacy/elementary/data/themes/orig/e-logo-blue-glow.svg.gz new file mode 100644 index 0000000000..c2833abcf8 Binary files /dev/null and b/legacy/elementary/data/themes/orig/e-logo-blue-glow.svg.gz differ diff --git a/legacy/elementary/data/themes/orig/eject.svgz b/legacy/elementary/data/themes/orig/eject.svgz new file mode 100644 index 0000000000..9c90ea502f Binary files /dev/null and b/legacy/elementary/data/themes/orig/eject.svgz differ diff --git a/legacy/elementary/data/themes/orig/env-vars.svgz b/legacy/elementary/data/themes/orig/env-vars.svgz new file mode 100644 index 0000000000..a21dfb47f5 Binary files /dev/null and b/legacy/elementary/data/themes/orig/env-vars.svgz differ diff --git a/legacy/elementary/data/themes/orig/icon-bt.svgz b/legacy/elementary/data/themes/orig/icon-bt.svgz new file mode 100644 index 0000000000..ec299e765d Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-bt.svgz differ diff --git a/legacy/elementary/data/themes/orig/icon-cell.svgz b/legacy/elementary/data/themes/orig/icon-cell.svgz new file mode 100644 index 0000000000..8d729eac9d Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-cell.svgz differ diff --git a/legacy/elementary/data/themes/orig/icon-err-exclam.png b/legacy/elementary/data/themes/orig/icon-err-exclam.png new file mode 100644 index 0000000000..d78f891f97 Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-err-exclam.png differ diff --git a/legacy/elementary/data/themes/orig/icon-err-exclam.svgz b/legacy/elementary/data/themes/orig/icon-err-exclam.svgz new file mode 100644 index 0000000000..09ac7ef9f3 Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-err-exclam.svgz differ diff --git a/legacy/elementary/data/themes/orig/icon-eth.png b/legacy/elementary/data/themes/orig/icon-eth.png new file mode 100644 index 0000000000..d51dcc18ca Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-eth.png differ diff --git a/legacy/elementary/data/themes/orig/icon-eth.svgz b/legacy/elementary/data/themes/orig/icon-eth.svgz new file mode 100644 index 0000000000..31a035b890 Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-eth.svgz differ diff --git a/legacy/elementary/data/themes/orig/icon-wifi-1.png b/legacy/elementary/data/themes/orig/icon-wifi-1.png new file mode 100644 index 0000000000..8ab4164ab2 Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-wifi-1.png differ diff --git a/legacy/elementary/data/themes/orig/icon-wifi-2.png b/legacy/elementary/data/themes/orig/icon-wifi-2.png new file mode 100644 index 0000000000..754b291665 Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-wifi-2.png differ diff --git a/legacy/elementary/data/themes/orig/icon-wifi-3.png b/legacy/elementary/data/themes/orig/icon-wifi-3.png new file mode 100644 index 0000000000..07a8824260 Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-wifi-3.png differ diff --git a/legacy/elementary/data/themes/orig/icon-wifi-base.png b/legacy/elementary/data/themes/orig/icon-wifi-base.png new file mode 100644 index 0000000000..e82a7f0abc Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-wifi-base.png differ diff --git a/legacy/elementary/data/themes/orig/icon-wifi.png b/legacy/elementary/data/themes/orig/icon-wifi.png new file mode 100644 index 0000000000..859a9bf029 Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-wifi.png differ diff --git a/legacy/elementary/data/themes/orig/icon-wifi.svgz b/legacy/elementary/data/themes/orig/icon-wifi.svgz new file mode 100644 index 0000000000..6d321080ee Binary files /dev/null and b/legacy/elementary/data/themes/orig/icon-wifi.svgz differ diff --git a/legacy/elementary/data/themes/orig/info.svgz b/legacy/elementary/data/themes/orig/info.svgz new file mode 100644 index 0000000000..7fba2d1561 Binary files /dev/null and b/legacy/elementary/data/themes/orig/info.svgz differ diff --git a/legacy/elementary/data/themes/orig/lock-apps.svgz b/legacy/elementary/data/themes/orig/lock-apps.svgz new file mode 100644 index 0000000000..f5b6792dc6 Binary files /dev/null and b/legacy/elementary/data/themes/orig/lock-apps.svgz differ diff --git a/legacy/elementary/data/themes/orig/lock-lang.svgz b/legacy/elementary/data/themes/orig/lock-lang.svgz new file mode 100644 index 0000000000..a9de0667aa Binary files /dev/null and b/legacy/elementary/data/themes/orig/lock-lang.svgz differ diff --git a/legacy/elementary/data/themes/orig/lock.svgz b/legacy/elementary/data/themes/orig/lock.svgz new file mode 100644 index 0000000000..77d501a447 Binary files /dev/null and b/legacy/elementary/data/themes/orig/lock.svgz differ diff --git a/legacy/elementary/data/themes/orig/mock-01.xcf.gz b/legacy/elementary/data/themes/orig/mock-01.xcf.gz new file mode 100644 index 0000000000..15cf8faca2 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-01.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-02.xcf.gz b/legacy/elementary/data/themes/orig/mock-02.xcf.gz new file mode 100644 index 0000000000..92ed4ec38f Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-02.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-03.xcf.gz b/legacy/elementary/data/themes/orig/mock-03.xcf.gz new file mode 100644 index 0000000000..b6a6dcf6a3 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-03.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-04.xcf.gz b/legacy/elementary/data/themes/orig/mock-04.xcf.gz new file mode 100644 index 0000000000..798122cc99 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-04.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-05.xcf.gz b/legacy/elementary/data/themes/orig/mock-05.xcf.gz new file mode 100644 index 0000000000..665cca1bb5 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-05.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-06.xcf.gz b/legacy/elementary/data/themes/orig/mock-06.xcf.gz new file mode 100644 index 0000000000..4f6dd06191 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-06.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-07.xcf.gz b/legacy/elementary/data/themes/orig/mock-07.xcf.gz new file mode 100644 index 0000000000..3a0d753c21 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-07.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-08.xcf.gz b/legacy/elementary/data/themes/orig/mock-08.xcf.gz new file mode 100644 index 0000000000..8c8130740d Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-08.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-09.xcf.gz b/legacy/elementary/data/themes/orig/mock-09.xcf.gz new file mode 100644 index 0000000000..fe30ebd40a Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-09.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-10.xcf.gz b/legacy/elementary/data/themes/orig/mock-10.xcf.gz new file mode 100644 index 0000000000..ebb4b1468f Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-10.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-11.xcf.gz b/legacy/elementary/data/themes/orig/mock-11.xcf.gz new file mode 100644 index 0000000000..60098ce9a3 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-11.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-12.xcf.gz b/legacy/elementary/data/themes/orig/mock-12.xcf.gz new file mode 100644 index 0000000000..302f0f1efd Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-12.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-13.xcf.gz b/legacy/elementary/data/themes/orig/mock-13.xcf.gz new file mode 100644 index 0000000000..7bb695798d Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-13.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-14.xcf.gz b/legacy/elementary/data/themes/orig/mock-14.xcf.gz new file mode 100644 index 0000000000..59f4f04fd2 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-14.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-15.xcf.gz b/legacy/elementary/data/themes/orig/mock-15.xcf.gz new file mode 100644 index 0000000000..b02059bd39 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-15.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-16.xcf.gz b/legacy/elementary/data/themes/orig/mock-16.xcf.gz new file mode 100644 index 0000000000..9778bdc448 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-16.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-17.xcf.gz b/legacy/elementary/data/themes/orig/mock-17.xcf.gz new file mode 100644 index 0000000000..5a0604cb39 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-17.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-18.xcf.gz b/legacy/elementary/data/themes/orig/mock-18.xcf.gz new file mode 100644 index 0000000000..fc96331309 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-18.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-19.xcf.gz b/legacy/elementary/data/themes/orig/mock-19.xcf.gz new file mode 100644 index 0000000000..a5ee22ba84 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-19.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-20.xcf.gz b/legacy/elementary/data/themes/orig/mock-20.xcf.gz new file mode 100644 index 0000000000..8a73df48b3 Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-20.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mock-21.xcf.gz b/legacy/elementary/data/themes/orig/mock-21.xcf.gz new file mode 100644 index 0000000000..55546e119a Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-21.xcf.gz differ diff --git a/legacy/elementary/data/themes/orig/mute.svgz b/legacy/elementary/data/themes/orig/mute.svgz new file mode 100644 index 0000000000..32c21fe74c Binary files /dev/null and b/legacy/elementary/data/themes/orig/mute.svgz differ diff --git a/legacy/elementary/data/themes/orig/personal-apps.svgz b/legacy/elementary/data/themes/orig/personal-apps.svgz new file mode 100644 index 0000000000..44735561ea Binary files /dev/null and b/legacy/elementary/data/themes/orig/personal-apps.svgz differ diff --git a/legacy/elementary/data/themes/orig/pointer.svgz b/legacy/elementary/data/themes/orig/pointer.svgz new file mode 100644 index 0000000000..d579a34d59 Binary files /dev/null and b/legacy/elementary/data/themes/orig/pointer.svgz differ diff --git a/legacy/elementary/data/themes/orig/screen.svgz b/legacy/elementary/data/themes/orig/screen.svgz new file mode 100644 index 0000000000..b917a31f39 Binary files /dev/null and b/legacy/elementary/data/themes/orig/screen.svgz differ diff --git a/legacy/elementary/data/themes/orig/signal-bindings.svgz b/legacy/elementary/data/themes/orig/signal-bindings.svgz new file mode 100644 index 0000000000..269942c4b2 Binary files /dev/null and b/legacy/elementary/data/themes/orig/signal-bindings.svgz differ diff --git a/legacy/elementary/data/themes/orig/speaker.svgz b/legacy/elementary/data/themes/orig/speaker.svgz new file mode 100644 index 0000000000..e4ea888178 Binary files /dev/null and b/legacy/elementary/data/themes/orig/speaker.svgz differ diff --git a/legacy/elementary/data/themes/orig/tacho.svgz b/legacy/elementary/data/themes/orig/tacho.svgz new file mode 100644 index 0000000000..01f1dabf97 Binary files /dev/null and b/legacy/elementary/data/themes/orig/tacho.svgz differ diff --git a/legacy/elementary/data/themes/orig/touch.svgz b/legacy/elementary/data/themes/orig/touch.svgz new file mode 100644 index 0000000000..d35949e0fc Binary files /dev/null and b/legacy/elementary/data/themes/orig/touch.svgz differ diff --git a/legacy/elementary/data/themes/orig/unlock-apps.svgz b/legacy/elementary/data/themes/orig/unlock-apps.svgz new file mode 100644 index 0000000000..bd809dd32e Binary files /dev/null and b/legacy/elementary/data/themes/orig/unlock-apps.svgz differ diff --git a/legacy/elementary/data/themes/snd/kbd-tap.wav b/legacy/elementary/data/themes/snd/kbd-tap.wav new file mode 100644 index 0000000000..50bbf4cc21 Binary files /dev/null and b/legacy/elementary/data/themes/snd/kbd-tap.wav differ diff --git a/legacy/elementary/data/themes/snd/kbd-tap2.wav b/legacy/elementary/data/themes/snd/kbd-tap2.wav new file mode 100644 index 0000000000..8ca8d0a391 Binary files /dev/null and b/legacy/elementary/data/themes/snd/kbd-tap2.wav differ diff --git a/legacy/elementary/data/themes/snd/kbd-tap3.wav b/legacy/elementary/data/themes/snd/kbd-tap3.wav new file mode 100644 index 0000000000..849fa1c9e5 Binary files /dev/null and b/legacy/elementary/data/themes/snd/kbd-tap3.wav differ diff --git a/legacy/elementary/data/themes/snd/kbd-tap4.wav b/legacy/elementary/data/themes/snd/kbd-tap4.wav new file mode 100644 index 0000000000..eecd4e3d20 Binary files /dev/null and b/legacy/elementary/data/themes/snd/kbd-tap4.wav differ diff --git a/legacy/elementary/data/themes/snd/kbd-tap5.wav b/legacy/elementary/data/themes/snd/kbd-tap5.wav new file mode 100644 index 0000000000..a2dc79b6a6 Binary files /dev/null and b/legacy/elementary/data/themes/snd/kbd-tap5.wav differ diff --git a/legacy/elementary/data/themes/widgets/access.edc b/legacy/elementary/data/themes/widgets/access.edc deleted file mode 100644 index 07b3dc5fd9..0000000000 --- a/legacy/elementary/data/themes/widgets/access.edc +++ /dev/null @@ -1,75 +0,0 @@ - group { name: "elm/access/base/default"; - images { - image: "access_glow.png" LOSSY 85; - } - parts { - part { name: "block1"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to: "base"; - relative: 0.0 0.0; - offset: -100000 -100000; - } - rel2 { to: "base"; - relative: 1.0 0.0; - offset: 100000 96; - } - } - } - part { name: "block2"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to: "base"; - relative: 0.0 1.0; - offset: -100000 -97; - } - rel2 { to: "base"; - relative: 1.0 1.0; - offset: 100000 100000; - } - } - } - part { name: "block3"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to: "block1"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { to_x: "base"; to_y: "block2"; - relative: 0.0 0.0; - offset: 96 -1; - } - } - } - part { name: "block4"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to_x: "base"; to_y: "block1"; - relative: 1.0 1.0; - offset: -97 0; - } - rel2 { to: "block2"; - relative: 1.0 0.0; - offset: -1 -1; - } - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "access_glow.png"; - image.border: 112 112 112 112; - rel1.offset: -102 -102; - rel2.offset: 101 101; - fill.smooth: 0; - } - } - } - } - - diff --git a/legacy/elementary/data/themes/widgets/actionslider.edc b/legacy/elementary/data/themes/widgets/actionslider.edc deleted file mode 100644 index 6a3b7c4404..0000000000 --- a/legacy/elementary/data/themes/widgets/actionslider.edc +++ /dev/null @@ -1,254 +0,0 @@ -group { name: "elm/actionslider/base/default"; - - images { - image: "shelf_inset.png" COMP; - image: "ilist_1.png" COMP; - image: "bt_bases.png" COMP; - image: "bt_basew.png" COMP; - image: "bt_hilightw.png" COMP; - } - - parts { - part { - name: "base"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 75 25; - rel1.offset: 1 1; - rel2.offset: -2 -2; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "icon.dragable.area"; - type: SPACER; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - part { name: "elm.text.left"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - align: 0.05 0.5; - min: 1 1; - } - } - } - part { name: "elm.text.center"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - align: 0.5 0.5; - min: 1 1; - } - } - } - part { name: "elm.text.right"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - align: 0.95 0.5; - min: 1 1; - } - } - } - part { name: "elm.drag_button_base"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 50 25; - align: 0.5 0.5; - rel1.to: "icon.dragable.area"; - rel2 { - relative: 0.0 1.0; - to: "icon.dragable.area"; - } - } - dragable { - confine: "icon.dragable.area"; - x: 1 1 0; - y: 0 0 0; - } - } - part { name: "elm.drag_button"; - type: RECT; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - min: 50 25; - color: 255 255 255 0; - rel1.to_x: "elm.drag_button_base"; - rel1.to_y: "icon.dragable.area"; - rel2.to_x: "elm.drag_button_base"; - rel2.to_y: "icon.dragable.area"; - } - dragable { - events: "elm.drag_button_base"; - } - } - part { name: "button0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button2"; - rel1.offset: -4 -4; - rel2.to: "button2"; - rel2.offset: 3 3; - image { - normal: "bt_bases.png"; - border: 11 11 11 11; - middle: SOLID; - } - color: 255 255 255 128; - } - } - part { name: "button2"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.drag_button"; - rel2.to: "elm.drag_button"; - image { - normal: "bt_basew.png"; - border: 7 7 7 7; - middle: SOLID; - } - color: 255 255 255 210; - } - } - part { name: "button3"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button2"; - rel2.to: "button2"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilightw.png"; - border: 4 4 4 0; - } - color: 255 255 255 190; - } - } - part { name: "elm.text.indicator"; - type: TEXT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "elm.drag_button"; - offset: 5 0; - } - rel2 { - to: "elm.drag_button"; - offset: -5 0; - } - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - align: 0.5 0.5; - min: 0 1; - } - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 20 20 20 20; - visible: 1; - } - } - } - programs { - program { name: "elm.drag_button,mouse,up"; - signal: "mouse,up,1"; - source: "elm.drag_button"; - action: SIGNAL_EMIT "elm.drag_button,mouse,up" ""; - } - program { name: "elm.drag_button,mouse,down"; - signal: "mouse,down,1*"; - source: "elm.drag_button"; - action: SIGNAL_EMIT "elm.drag_button,mouse,down" ""; - } - program { name: "elm.drag_button,mouse,move"; - signal: "mouse,move"; - source: "elm.drag_button_base"; - action: SIGNAL_EMIT "elm.drag_button,mouse,move" ""; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - } - } -} - -group { name: "elm/actionslider/base/bar"; - inherit: "elm/actionslider/base/default"; - - parts { - part { name: "bar"; - type: RECT; - mouse_events: 0; - insert_before: "elm.drag_button_base"; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.offset: 0 2; - rel2 { - relative: 0 1; - offset: 3 -3; - to_x: "elm.drag_button_base"; - to_y: "base"; - } - color: 0 0 0 180; - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/bg.edc b/legacy/elementary/data/themes/widgets/bg.edc deleted file mode 100644 index b3b81fd1c8..0000000000 --- a/legacy/elementary/data/themes/widgets/bg.edc +++ /dev/null @@ -1,67 +0,0 @@ -group { name: "elm/bg/base/default"; - images { - image: "dia_grad.png" COMP; - image: "dia_topshad.png" COMP; - image: "dia_botshad.png" COMP; - } - parts { - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "dia_grad.png"; - fill { - smooth: 0; - size { - relative: 0.0 1.0; - offset: 64 0; - } - } - } - } - part { name: "elm.swallow.rectangle"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.background"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "shadow"; - mouse_events: 0; - description { state: "default" 0.0; - rel2.relative: 1.0 0.0; - rel2.offset: -1 31; - image.normal: "dia_topshad.png"; - fill { - smooth: 0; - size { - relative: 0.0 1.0; - offset: 64 0; - } - } - } - } - part { name: "shadow2"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.relative: 0.0 1.0; - rel1.offset: 0 -9; - image.normal: "dia_botshad.png"; - fill { - smooth: 0; - size { - relative: 0.0 1.0; - offset: 64 0; - } - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/border.edc b/legacy/elementary/data/themes/widgets/border.edc deleted file mode 100644 index 19e2395510..0000000000 --- a/legacy/elementary/data/themes/widgets/border.edc +++ /dev/null @@ -1,1008 +0,0 @@ -color_classes { - color_class { - name: "border_top"; - color: 255 255 255 255; - } - color_class { - name: "border_top_hilight"; - color: 255 255 255 255; - } - color_class { - name: "border_bottom"; - color: 255 255 255 255; - } - color_class { - name: "border_title"; - color: 0 0 0 255; - } - color_class { - name: "border_title_active"; - color: 224 224 224 255; - color3: 0 0 0 64; - } -} - -group { name: "elm/border/base/default"; - data { - item: "focus_highlight" "off"; - item: "framespace" "0 22 0 26"; - } - images { - image: "bd_top.png" COMP; - image: "bd_top_hilight.png" COMP; - image: "bd_bottom.png" COMP; - image: "bd_title_bg.png" COMP; - image: "bd_title_over.png" COMP; - image: "bd_resize_b.png" COMP; - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - image: "exclam.png" COMP; - image: "bd_button_close_shadow.png" COMP; - image: "bd_button_close_focused.png" COMP; - image: "bd_button_close_unfocused.png" COMP; - image: "bd_button_max_shadow.png" COMP; - image: "bd_button_max_focused.png" COMP; - image: "bd_button_max_unfocused.png" COMP; - image: "bd_button_min_shadow.png" COMP; - image: "bd_button_min_focused.png" COMP; - image: "bd_button_min_unfocused.png" COMP; - } - parts { - part { - name: "top"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - rel2.to_y: "title_base"; - color_class: "border_top"; - image { - normal: "bd_top.png"; - border: 2 2 2 2; - } - } - } - part { - name: "bottom"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -4; - } - color_class: "border_bottom"; - image { - normal: "bd_bottom.png"; - border: 2 2 0 0; - } - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "max" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.swallow.client"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { - offset: 0 22; - } - rel2 { - offset: -1 -5; - } - } - } - part { - name: "icon_area"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1.offset: 2 2; - rel2 { - relative: 0.0 1.0; - offset: 2 -3; - to_y: "title_base"; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - rel1.offset: 2 3; - rel2.offset: 2 -2; - } - } - part { - name: "icon_area2"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "icon_area"; - rel2.to: "icon_area"; - } - description { - state: "uw0" 0.0; - inherit: "default" 0.0; - rel1.offset: -3 -2; - rel2.offset: -4 -3; - } - description { - state: "uw1" 0.0; - inherit: "default" 0.0; - rel1.offset: 5 -2; - rel2.offset: 4 -3; - } - description { - state: "uw2" 0.0; - inherit: "default" 0.0; - rel1.offset: -1 4; - rel2.offset: -2 3; - } - description { - state: "uw3" 0.0; - inherit: "default" 0.0; - rel1.offset: -2 -1; - rel2.offset: -3 -2; - } - description { - state: "uw4" 0.0; - inherit: "default" 0.0; - rel1.offset: -4 1; - rel2.offset: -5 0; - } - } - part { - name: "elm.swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - rel1.to: "icon_area2"; - rel2.to: "icon_area2"; - } - description { - state: "shrunk" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.3 0.3; - rel2.relative: 0.7 0.7; - } - } - part { - name: "elm.text.title"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 1; - align: 0.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: 9 2; - to_x: "icon_area"; - } - rel2 { - relative: 1.0 0.0; - offset: -8 2; - to_x: "title_base"; - } - color_class: "border_title"; - text { - font: "Sans:style=Bold"; - size: 10; - min: 0 1; - align: 0.0 0.0; - text_class: "title_bar"; - } - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 0 0 0 0; - } - } - part { - name: "bt_close"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 22 22; - max: 22 22; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 1.0 0.0; - offset: -2 1; - to: "top"; - } - rel2 { - offset: -2 -2; - to: "top"; - } - image.normal: "bd_button_close_shadow.png"; - } - } - part { - name: "bt_max"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 22 22; - max: 22 22; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - offset: -2 1; - to_x: "bt_close"; - to_y: "top"; - } - rel2 { - relative: 0.0 1.0; - offset: -2 -2; - to_x: "bt_close"; - to_y: "top"; - } - image.normal: "bd_button_max_shadow.png"; - } - } - part { - name: "bt_min"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 22 22; - max: 22 22; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - offset: -2 1; - to_x: "bt_max"; - to_y: "top"; - } - rel2 { - relative: 0.0 1.0; - offset: -2 -2; - to_x: "bt_max"; - to_y: "top"; - } - image.normal: "bd_button_min_shadow.png"; - } - } - part { - name: "top_hilight"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "top"; - rel2 { - relative: 1.0 0.5; - offset: -1 0; - to: "top"; - } - color_class: "border_top_hilight"; - image.normal: "bd_top_hilight.png"; - fill.smooth: 0; - } - } - part { - name: "buttons_unfoc"; - type: RECT; - description { - state: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { - name: "bt_close_unfoc"; - type: IMAGE; - mouse_events: 0; - clip_to: "buttons_unfoc"; - description { - state: "default" 0.0; - rel1.to: "bt_close"; - rel2.to: "bt_close"; - image.normal: "bd_button_close_unfocused.png"; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 1; - rel2.offset: -1 0; - } - } - part { - name: "bt_max_unfoc"; - type: IMAGE; - mouse_events: 0; - clip_to: "buttons_unfoc"; - description { - state: "default" 0.0; - rel1.to: "bt_max"; - rel2.to: "bt_max"; - image.normal: "bd_button_max_unfocused.png"; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 1; - rel2.offset: -1 0; - } - } - part { - name: "bt_min_unfoc"; - type: IMAGE; - mouse_events: 0; - clip_to: "buttons_unfoc"; - description { - state: "default" 0.0; - rel1.to: "bt_min"; - rel2.to: "bt_min"; - image.normal: "bd_button_min_unfocused.png"; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 1; - rel2.offset: -1 0; - } - } - part { - name: "buttons_foc"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "bt_close_foc"; - type: IMAGE; - mouse_events: 0; - clip_to: "buttons_foc"; - description { - state: "default" 0.0; - rel1.to: "bt_close"; - rel2.to: "bt_close"; - image.normal: "bd_button_close_focused.png"; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 1; - rel2.offset: -1 0; - } - } - part { - name: "bt_max_foc"; - type: IMAGE; - mouse_events: 0; - clip_to: "buttons_foc"; - description { - state: "default" 0.0; - rel1.to: "bt_max"; - rel2.to: "bt_max"; - image.normal: "bd_button_max_focused.png"; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 1; - rel2.offset: -1 0; - } - } - part { - name: "bt_min_foc"; - type: IMAGE; - mouse_events: 0; - clip_to: "buttons_foc"; - description { - state: "default" 0.0; - rel1.to: "bt_min"; - rel2.to: "bt_min"; - image.normal: "bd_button_min_focused.png"; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 1; - rel2.offset: -1 0; - } - } - part { - name: "title_base"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 0.0; - to_x: "icon_area"; - } - rel2 { - relative: 0.0 1.0; - offset: -3 4; - to_y: "elm.text.title"; - to_x: "bt_min"; - } - } - } - part { - name: "title_back"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "title_base"; - rel2 { - relative: 1.0 0.0; - to: "title_base"; - } - image { - normal: "bd_title_bg.png"; - border: 7 7 2 7; - } - fill.smooth: 0; - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2 { - relative: 1.0 1.0; - to: "title_base"; - } - } - } - part { - name: "title2"; - type: TEXT; - mouse_events: 0; - scale: 1; - effect: SOFT_SHADOW; - description { - state: "default" 0.0; - visible: 0; - align: 0.0 1.0; - fixed: 1 1; - rel1 { - relative: 0.0 1.0; - offset: -1 0; - to_x: "elm.text.title"; - to_y: "title_back"; - } - rel2 { - offset: 0 0; - to_x: "elm.text.title"; - to_y: "title_back"; - } - color_class: "border_title_active"; - text { - text_source: "elm.text.title"; - font: "Sans:style=Bold"; - size: 10; - align: 0.0 0.0; - min: 0 1; - text_class: "title_bar"; - } - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "title_over"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "title_back"; - rel2.to: "title_back"; - image { - normal: "bd_title_over.png"; - border: 7 7 2 7; - } - fill.smooth: 0; - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "bottom_clip"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "bottom"; - rel2.to: "bottom"; - color: 255 255 255 255; - } - } - part { - name: "resize_b"; - type: IMAGE; - mouse_events: 0; - clip_to: "bottom_clip"; - description { - state: "default" 0.0; - min: 20 10; - max: 20 10; - fixed: 1 1; - rel1 { - relative: 0.5 0.0; - offset: 0 -10; - to: "bottom"; - } - rel2 { - relative: 0.5 0.0; - offset: 0 -1; - to: "bottom"; - } - image.normal: "bd_resize_b.png"; - } - description { - state: "past" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - offset: 0 0; - } - rel2 { - relative: 0.5 1.0; - offset: 0 9; - } - } - } - part { - name: "elm.event.titlebar"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "title_base"; - rel2.to: "title_base"; - rel2.offset: -1 -2; - color: 0 0 0 0; - } - } - part { - name: "elm.event.resize.t"; - type: RECT; - description { - state: "default" 0.0; - rel2 { - relative: 1.0 0.0; - offset: -1 5; - } - color: 0 0 0 0; - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.event.resize.b"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -6; - } - color: 0 0 0 0; - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.event.resize.tl"; - type: RECT; - description { - state: "default" 0.0; - rel2 { - relative: 0.0 0.0; - offset: 15 15; - } - color: 0 0 0 0; - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.event.resize.tr"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - offset: -16 0; - } - rel2 { - relative: 1.0 0.0; - offset: -1 15; - } - color: 0 0 0 0; - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.event.resize.bl"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -16; - } - rel2 { - relative: 0.0 1.0; - offset: 15 -1; - } - color: 0 0 0 0; - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.event.resize.br"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - offset: -16 -16; - } - color: 0 0 0 0; - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "elm.event.icon"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "icon_area"; - rel2.to: "icon_area"; - color: 0 0 0 0; - } - } - part { - name: "elm.event.close"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "bt_close"; - rel2.to: "bt_close"; - color: 0 0 0 0; - } - } - part { - name: "elm.event.minimize"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "bt_min"; - rel2.to: "bt_min"; - color: 0 0 0 0; - } - } - part { - name: "elm.event.maximize"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "bt_max"; - rel2.to: "bt_max"; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "focus_in"; - signal: "elm,action,focus"; - source: "elm"; - action: STATE_SET "focused" 0.0; - transition: LINEAR 0.2; - target: "title_back"; - target: "title2"; - target: "title_over"; - target: "buttons_foc"; - target: "buttons_unfoc"; - target: "elm.text.title"; - } - program { - name: "focus_out"; - signal: "elm,action,unfocus"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "title_back"; - target: "title2"; - target: "title_over"; - target: "buttons_foc"; - target: "buttons_unfoc"; - target: "elm.text.title"; - } - program { - name: "resize_b_on"; - signal: "mouse,in"; - source: "elm.event.resize.b"; - action: ACTION_STOP; - target: "resize_b_on2"; - target: "resize_b_on3"; - after: "resize_b_on2"; - } - program { - name: "resize_b_on2"; - action: STATE_SET "default" 0.0; - target: "resize_b"; - after: "resize_b_on3"; - } - program { - name: "resize_b_on3"; - action: STATE_SET "past" 0.0; - transition: LINEAR 0.5; - target: "resize_b"; - after: "resize_b_on2"; - } - program { - name: "resize_b_off"; - signal: "mouse,out"; - source: "elm.event.resize.b"; - action: ACTION_STOP; - target: "resize_b_on"; - target: "resize_b_on2"; - target: "resize_b_on3"; - } - program { - name: "bt_close_down"; - signal: "mouse,down,*"; - source: "elm.event.close"; - action: STATE_SET "active" 0.0; - target: "bt_close_unfoc"; - target: "bt_close_foc"; - } - program { - name: "bt_close_up"; - signal: "mouse,up,*"; - source: "elm.event.close"; - action: STATE_SET "default" 0.0; - target: "bt_close_unfoc"; - target: "bt_close_foc"; - } - program { - name: "bt_min_down"; - signal: "mouse,down,*"; - source: "elm.event.minimize"; - action: STATE_SET "active" 0.0; - target: "bt_min_unfoc"; - target: "bt_min_foc"; - } - program { - name: "bt_min_up"; - signal: "mouse,up,*"; - source: "elm.event.minimize"; - action: STATE_SET "default" 0.0; - target: "bt_min_unfoc"; - target: "bt_min_foc"; - } - program { - name: "bt_max_down"; - signal: "mouse,down,*"; - source: "elm.event.maximize"; - action: STATE_SET "active" 0.0; - target: "bt_max_unfoc"; - target: "bt_max_foc"; - } - program { - name: "bt_max_up"; - signal: "mouse,up,*"; - source: "elm.event.maximize"; - action: STATE_SET "default" 0.0; - target: "bt_max_unfoc"; - target: "bt_max_foc"; - } - program { - name: "move_start"; - signal: "mouse,down,1"; - source: "elm.event.titlebar"; - action: SIGNAL_EMIT "elm,action,move,start" "elm"; - } - program { - name: "minimize"; - signal: "mouse,clicked,1"; - source: "elm.event.minimize"; - action: SIGNAL_EMIT "elm,action,minimize" "elm"; - } - program { - name: "maximized"; - signal: "mouse,clicked,1"; - source: "elm.event.maximize"; - action: SIGNAL_EMIT "elm,action,maximize" "elm"; - } - program { - name: "close"; - signal: "mouse,clicked,1"; - source: "elm.event.close"; - action: SIGNAL_EMIT "elm,action,close" "elm"; - } - program { - name: "resize_t_show"; - signal: "mouse,in"; - source: "elm.event.resize.t"; - action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.t"; - } - program { - name: "resize_t_hide"; - signal: "mouse,out"; - source: "elm.event.resize.t"; - action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.t"; - } - program { - name: "resize_t_down"; - signal: "mouse,down,1"; - source: "elm.event.resize.t"; - action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.t"; - } - program { - name: "resize_b_show"; - signal: "mouse,in"; - source: "elm.event.resize.b"; - action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.b"; - } - program { - name: "resize_b_hide"; - signal: "mouse,out"; - source: "elm.event.resize.b"; - action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.b"; - } - program { - name: "resize_b_down"; - signal: "mouse,down,1"; - source: "elm.event.resize.b"; - action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.b"; - } - program { - name: "resize_tl_show"; - signal: "mouse,in"; - source: "elm.event.resize.tl"; - action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.tl"; - } - program { - name: "resize_tl_hide"; - signal: "mouse,out"; - source: "elm.event.resize.tl"; - action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.tl"; - } - program { - name: "resize_tl_down"; - signal: "mouse,down,1"; - source: "elm.event.resize.tl"; - action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tl"; - } - program { - name: "resize_tr_show"; - signal: "mouse,in"; - source: "elm.event.resize.tr"; - action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.tr"; - } - program { - name: "resize_tr_hide"; - signal: "mouse,out"; - source: "elm.event.resize.tr"; - action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.tr"; - } - program { - name: "resize_tr_down"; - signal: "mouse,down,1"; - source: "elm.event.resize.tr"; - action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tr"; - } - program { - name: "resize_bl_show"; - signal: "mouse,in"; - source: "elm.event.resize.bl"; - action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.bl"; - } - program { - name: "resize_bl_hide"; - signal: "mouse,out"; - source: "elm.event.resize.bl"; - action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.bl"; - } - program { - name: "resize_bl_down"; - signal: "mouse,down,1"; - source: "elm.event.resize.bl"; - action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.bl"; - } - program { - name: "resize_br_show"; - signal: "mouse,in"; - source: "elm.event.resize.br"; - action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.br"; - } - program { - name: "resize_br_hide"; - signal: "mouse,out"; - source: "elm.event.resize.br"; - action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.br"; - } - program { - name: "resize_br_down"; - signal: "mouse,down,1"; - source: "elm.event.resize.br"; - action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.br"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/bubble.edc b/legacy/elementary/data/themes/widgets/bubble.edc deleted file mode 100644 index 07ff9cba8a..0000000000 --- a/legacy/elementary/data/themes/widgets/bubble.edc +++ /dev/null @@ -1,734 +0,0 @@ -group { name: "elm/bubble/top_left/default"; - alias: "elm/bubble/base/default"; - images { - image: "bubble_3.png" COMP; - image: "bubble_4.png" COMP; - image: "bubble_shine3.png" COMP; - image: "bubble_shine4.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - align: 0.0 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - to_y: "elm.text"; - relative: 0.0 1.0; - offset: 4 -1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "elm.info"; - relative: 0.0 0.0; - offset: -5 4; - } - color: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 0 1; - max: 0 1; - align: 0.0 0.0; - } - } - } - part { name: "elm.info"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - color: 0 0 0 64; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 1 1; - max: 1 1; - align: 1.0 0.0; - } - } - } - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to_y: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 0 0; - } - image { - normal: "bubble_3.png"; - border: 36 11 18 9; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_4.png"; - border: 11 36 18 9; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 9 16; - } - rel2 { - to: "base0"; - offset: -10 -9; - } - } - } - part { name: "shine"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 5 4; - } - rel2 { - to: "base0"; - relative: 1.0 0.5; - offset: -6 7; - } - image { - normal: "bubble_shine3.png"; - border: 36 5 14 0; - } - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_shine4.png"; - border: 5 36 14 0; - } - } - } - } - programs { - program { - name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { - name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - action: STATE_SET "rtl" 0.0; - target: "base0"; - target: "shine"; - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "base0"; - target: "shine"; - } - } -} - -group { name: "elm/bubble/top_right/default"; - images { - image: "bubble_3.png" COMP; - image: "bubble_4.png" COMP; - image: "bubble_shine3.png" COMP; - image: "bubble_shine4.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - align: 1.0 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - to_y: "elm.text"; - relative: 1.0 1.0; - offset: -5 -1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 0 1; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "elm.info"; - relative: 0.0 0.0; - offset: -5 4; - } - color: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 0 1; - max: 0 1; - align: 0.0 0.0; - } - } - } - part { name: "elm.info"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - to_x: "elm.swallow.icon"; - relative: 0.0 0.0; - offset: -5 4; - } - color: 0 0 0 64; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 1 1; - max: 1 1; - align: 1.0 0.0; - } - } - } - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to_y: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 0 0; - } - image { - normal: "bubble_4.png"; - border: 11 36 18 9; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_3.png"; - border: 36 11 18 9; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 9 16; - } - rel2 { - to: "base0"; - offset: -10 -9; - } - } - } - part { name: "shine"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 5 4; - } - rel2 { - to: "base0"; - relative: 1.0 0.5; - offset: -6 7; - } - image { - normal: "bubble_shine4.png"; - border: 5 36 14 0; - } - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_shine3.png"; - border: 36 5 14 0; - } - } - } - } - programs { - program { - name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { - name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - action: STATE_SET "rtl" 0.0; - target: "base0"; - target: "shine"; - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "base0"; - target: "shine"; - } - } -} - -group { name: "elm/bubble/bottom_left/default"; - images { - image: "bubble_1.png" COMP; - image: "bubble_2.png" COMP; - image: "bubble_shine.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - align: 0.0 1.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - to_y: "elm.text"; - relative: 0.0 0.0; - offset: 4 0; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 1.0; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 1.0; - offset: 4 -5; - } - rel2 { - to_x: "elm.info"; - relative: 0.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 0 1; - max: 0 1; - align: 0.0 1.0; - } - } - } - part { name: "elm.info"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 64; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 1 1; - max: 1 1; - align: 1.0 1.0; - } - } - } - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - rel2 { - to_y: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: -1 -1; - } - image { - normal: "bubble_1.png"; - border: 36 11 10 19; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_2.png"; - border: 11 36 10 19; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 9 8; - } - rel2 { - to: "base0"; - offset: -10 -17; - } - } - } - part { name: "shine"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 5 4; - } - rel2 { - to: "base0"; - relative: 1.0 0.5; - offset: -6 -16; - } - image { - normal: "bubble_shine.png"; - border: 5 5 5 0; - } - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_shine4.png"; - border: 5 36 14 0; - } - } - } - } - programs { - program { - name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { - name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - action: STATE_SET "rtl" 0.0; - target: "base0"; - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "base0"; - } - } -} - -group { name: "elm/bubble/bottom_right/default"; - images { - image: "bubble_1.png" COMP; - image: "bubble_2.png" COMP; - image: "bubble_shine.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - align: 1.0 1.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - to_y: "elm.text"; - relative: 1.0 0.0; - offset: -5 0; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 1.0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - offset: 4 -5; - } - rel2 { - to_x: "elm.info"; - relative: 0.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 0 1; - max: 0 1; - align: 0.0 1.0; - } - } - } - part { name: "elm.info"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - offset: -5 -5; - } - rel2 { - to_x: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: -5 -5; - } - color: 0 0 0 64; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 1 1; - max: 1 1; - align: 1.0 1.0; - } - } - } - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - rel2 { - to_y: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: -1 -1; - } - image { - normal: "bubble_2.png"; - border: 11 36 10 19; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_1.png"; - border: 36 11 10 19; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 9 8; - } - rel2 { - to: "base0"; - offset: -10 -17; - } - } - } - part { name: "shine"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "base0"; - offset: 5 4; - } - rel2 { - to: "base0"; - relative: 1.0 0.5; - offset: -6 -16; - } - image { - normal: "bubble_shine.png"; - border: 5 5 5 0; - } - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_shine3.png"; - border: 36 5 14 0; - } - } - } - } - programs { - program { - name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { - name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - action: STATE_SET "rtl" 0.0; - target: "base0"; - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "base0"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/button.edc b/legacy/elementary/data/themes/widgets/button.edc deleted file mode 100644 index ec3a29f7f7..0000000000 --- a/legacy/elementary/data/themes/widgets/button.edc +++ /dev/null @@ -1,1483 +0,0 @@ -group { name: "elm/button/base/default"; - alias: "elm/button/base/popup_button/default"; - alias: "elm/button/base/naviframe/back_btn/default"; - - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "button_image"; - mouse_events: 1; - description { state: "default" 0.0; - min: 12 12; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.offset: 2 2; - rel2.offset: 1 -3; - rel2.relative: 0.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 0; - visible: 1; - aspect: 1.0 1.0; - // aspect_preference: VERTICAL; - rel2.offset: 2 -3; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - fixed: 0 0; - visible: 1; - align: 0.5 0.5; - // aspect: 1.0 1.0; - rel2.offset: -3 -3; - rel2.relative: 1.0 1.0; - // aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 2; - rel2.offset: -3 -3; - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.5; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - // used to force sizing of icon to follow label sizing nearby - part { name: "sizer.content"; type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - } - // end sizer - } - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { - name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { - name: "button_pressed_anim"; - signal: "elm,anim,activate"; - source: "elm"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "over3"; - after: "button_unpressed_anim"; - } - program { - name: "button_unpressed_anim"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "button_image"; - target: "over3"; - } - program { - name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "button_image"; - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,clicked,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible"))) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "default") || (!strcmp(st, "visible"))) - set_state(PART:"elm.text", "default", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - else { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "sizer.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"button_image", "disabled", 0.0); - set_state(PART:"over1", "disabled", 0.0); - set_state(PART:"over2", "disabled", 0.0); - set_state(PART:"disabler", "disabled", 0.0); - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"button_image", "visible", 0.0); - set_state(PART:"over1", "visible", 0.0); - set_state(PART:"over2", "visible", 0.0); - set_state(PART:"disabler", "visible", 0.0); - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - } - } - } -} - -group { name: "elm/button/base/hoversel_vertical/default"; - alias: "elm/button/base/hoversel_vertical/entry"; - alias: "elm/button/base/hoversel_horizontal/default"; - alias: "elm/button/base/hoversel_horizontal/entry"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "updown.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "button_image"; - mouse_events: 1; - description { state: "default" 0.0; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "arrow"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "updown.png"; - aspect: 0.6666666666 0.6666666666; - aspect_preference: VERTICAL; - rel1.offset: 3 4; - rel2.offset: 3 -4; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1 { - to_x: "arrow"; - offset: 1 2; - relative: 1.0 0.0; - } - rel2 { - to_x: "arrow"; - offset: 0 -3; - relative: 1.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 0; - visible: 1; - aspect: 1.0 1.0; -// aspect_preference: VERTICAL; - rel2.offset: 2 -5; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - fixed: 0 0; - visible: 1; - align: 0.5 0.5; -// aspect: 1.0 1.0; - rel1 { - to_x: "button_image"; - offset: -3 -3; - relative: 1.0 1.0; - } -// aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 2; - rel2.offset: -3 -3; - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.5; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - // used to force sizing of icon to follow label sizing nearby - part { name: "sizer.content"; type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - } - // end sizer - } - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: STATE_SET "default" 0.0; - target: "button_image"; - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - else { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "sizer.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "over1"; - target: "over2"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over1"; - target: "over2"; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - } - } - } -} - -group { name: "elm/button/base/hoversel_vertical_entry/default"; - alias: "elm/button/base/hoversel_vertical_entry/entry"; - alias: "elm/button/base/hoversel_horizontal_entry/default"; - alias: "elm/button/base/hoversel_horizontal_entry/entry"; - images { - image: "hoversel_entry_bg.png" COMP; - } - parts { - part { name: "button_image"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image.normal: "hoversel_entry_bg.png"; - image.border: 0 0 2 2; - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1.offset: 2 2; - rel2.offset: 1 -3; - rel2.relative: 0.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 0; - visible: 1; - aspect: 1.0 1.0; -// aspect_preference: VERTICAL; - rel2.offset: 0 -3; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - fixed: 0 0; - visible: 1; - align: 0.5 0.5; -// aspect: 1.0 1.0; - rel2.offset: -5 -5; -// rel2.relative: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "textvis"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - description { state: "visible" 0.0; - visible: 1; - } - } - part { - name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "textvis"; - description { state: "default" 0.0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 2; - rel2.offset: -3 -3; - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.5; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - text.min: 1 1; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - text.min: 1 1; - color: 0 0 0 255; - color3: 0 0 0 0; - } - } - part { name: "over2"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - // used to force sizing of icon to follow label sizing nearby - part { name: "sizer.content"; type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - } - // end sizer - } - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "elm.text"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "elm.text"; - } - program { - name: "button_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - set_state(PART:"textvis", "visible", 0.0); - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - set_state(PART:"textvis", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"textvis", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - else { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "sizer.content"; - } - } -} - -group { name: "elm/button/base/anchor"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "button_image"; - mouse_events: 1; - description { state: "default" 0.0; - min: 12 12; - color: 255 255 255 0; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.offset: 2 2; - rel2.offset: 1 -3; - rel2.relative: 0.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 2 -3; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - fixed: 0 0; - visible: 1; - align: 0.5 0.5; - aspect: 1.0 1.0; - rel2.offset: -3 -3; - rel2.relative: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 2; - rel2.offset: -3 -3; - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.5; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - // used to force sizing of icon to follow label sizing nearby - part { name: "sizer.content"; type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - text_class: "button"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - text { - min: 1 1; - text: "M"; - } - } - } - // end sizer - } - programs { - program { - name: "button_mouse_in"; - signal: "mouse,in"; - source: "over2"; - action: STATE_SET "visible" 0.0; - target: "button_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "button_mouse_out"; - signal: "mouse,out"; - source: "over2"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: STATE_SET "visible" 0.0; - target: "button_image"; - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible"))) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "default") || (!strcmp(st, "visible"))) - set_state(PART:"elm.text", "default", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"sizer.content", "visible", 0.0); - } - else { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"sizer.content", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "sizer.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"button_image", "disabled", 0.0); - set_state(PART:"over1", "disabled", 0.0); - set_state(PART:"over2", "disabled", 0.0); - set_state(PART:"disabler", "disabled", 0.0); - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - new st[31]; - new Float:vl; - set_state(PART:"button_image", "visible", 0.0); - set_state(PART:"over1", "visible", 0.0); - set_state(PART:"over2", "visible", 0.0); - set_state(PART:"disabler", "visible", 0.0); - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - } - } - } -} - -group { name: "elm/button/base/colorselector/left/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - image: "sp_bt_l.png" COMP; - } - parts { - part { name: "button_image"; - mouse_events: 1; - description { state: "default" 0.0; - min: 12 12; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "prev_image"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 16 16; - max: 16 16; - fixed: 1 1; - align: 0.5 0.5; - image.normal: "sp_bt_l.png"; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - } - program { - name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - } - program { - name: "button_pressed_anim"; - signal: "elm,anim,activate"; - source: "elm"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "over3"; - after: "button_unpressed_anim"; - } - program { - name: "button_unpressed_anim"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "button_image"; - target: "over3"; - } - program { - name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "button_image"; - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,clicked,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button_image"; - target: "over1"; - target: "over2"; - target: "disabler"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over1"; - target: "over2"; - target: "disabler"; - } - } -} - -group { name: "elm/button/base/colorselector/right/default"; - inherit: "elm/button/base/colorselector/left/default"; - images { - image: "sp_bt_r.png" COMP; - } - parts { - part { name: "prev_image"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 16 16; - max: 16 16; - fixed: 1 1; - align: 0.5 0.5; - image.normal: "sp_bt_r.png"; - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/calendar.edc b/legacy/elementary/data/themes/widgets/calendar.edc deleted file mode 100644 index 9f85a80f54..0000000000 --- a/legacy/elementary/data/themes/widgets/calendar.edc +++ /dev/null @@ -1,827 +0,0 @@ -#define CAL_SPIN(_sufix, _signal_sufix, _text, _relative)\ - part { name: "left_bt"#_sufix;\ - mouse_events: 1;\ - description { state: "default" 0.0;\ - rel1 { to: #_relative;\ - offset: 2 2;\ - }\ - rel2 { to: #_relative;\ - offset: -3 -3;\ - }\ - align: 0.0 0.5;\ - min: 24 24;\ - max: 24 24;\ - fixed: 1 1;\ - image {\ - normal: "bt_base1.png";\ - border: 6 6 6 6;\ - }\ - fill.smooth : 0;\ - }\ - description { state: "clicked" 0.0;\ - inherit: "default" 0.0;\ - image.normal: "bt_base1.png";\ - image.middle: SOLID;\ - }\ - }\ - part { name: "left_bt"#_sufix"_over1";\ - mouse_events: 0;\ - description { state: "default" 0.0;\ - rel1.to: "left_bt"#_sufix;\ - rel2 { to: "left_bt"#_sufix;\ - relative: 1.0 0.5;\ - }\ - image {\ - normal: "bt_hilight.png";\ - border: 7 7 7 0;\ - }\ - }\ - }\ - part { name: "left_bt"#_sufix"_over2";\ - mouse_events: 1;\ - repeat_events: 1;\ - description { state: "default" 0.0;\ - rel1.to: "left_bt"#_sufix;\ - rel2.to: "left_bt"#_sufix;\ - image {\ - normal: "bt_shine.png";\ - border: 7 7 7 7;\ - }\ - }\ - }\ - part { name: "left_bt"#_sufix"_over3";\ - mouse_events: 1;\ - repeat_events: 1;\ - description { state: "default" 0.0;\ - color: 255 255 255 0;\ - rel1.to: "left_bt"#_sufix;\ - rel2.to: "left_bt"#_sufix;\ - image {\ - normal: "bt_glow.png";\ - border: 12 12 12 12;\ - }\ - fill.smooth : 0;\ - }\ - description { state: "clicked" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - color: 255 255 255 255;\ - }\ - } \ - part { name: "left_bt"#_sufix"_icon";\ - repeat_events: 1;\ - description { state: "default" 0.0;\ - rel1.to: "left_bt"#_sufix;\ - rel2.to: "left_bt"#_sufix;\ - align: 0.5 0.5;\ - min: 16 16;\ - max: 16 16;\ - image.normal: "sp_bt_l.png";\ - }\ - description { state: "rtl" 0.0;\ - inherit: "default" 0.0;\ - image.normal: "sp_bt_r.png";\ - }\ - }\ - part { name: "right_bt"#_sufix;\ - mouse_events: 1;\ - description { state: "default" 0.0;\ - rel1 { to: #_relative;\ - offset: -27 2;\ - }\ - rel2 { to: #_relative;\ - offset: -3 -3;\ - }\ - align: 1.0 0.5;\ - min: 24 24;\ - max: 24 24;\ - fixed: 1 1;\ - image {\ - normal: "bt_base1.png";\ - border: 5 5 4 12;\ - }\ - fill.smooth : 0;\ - }\ - description { state: "clicked" 0.0;\ - inherit: "default" 0.0;\ - image.normal: "bt_base1.png";\ - image.middle: SOLID;\ - }\ - }\ - part { name: "right_bt"#_sufix"_over1";\ - mouse_events: 0;\ - description { state: "default" 0.0;\ - rel1.to: "right_bt"#_sufix;\ - rel2 { to: "right_bt"#_sufix;\ - relative: 1.0 0.5;\ - }\ - image {\ - normal: "bt_hilight.png";\ - border: 7 7 7 0;\ - }\ - }\ - }\ - part { name: "right_bt"#_sufix"_over2";\ - mouse_events: 1;\ - repeat_events: 1;\ - description { state: "default" 0.0;\ - rel1.to: "right_bt"#_sufix;\ - rel2.to: "right_bt"#_sufix;\ - image {\ - normal: "bt_shine.png";\ - border: 7 7 7 7;\ - }\ - }\ - }\ - part { name: "right_bt"#_sufix"_over3";\ - mouse_events: 1;\ - repeat_events: 1;\ - description { state: "default" 0.0;\ - color: 255 255 255 0;\ - rel1.to: "right_bt"#_sufix;\ - rel2.to: "right_bt"#_sufix;\ - image {\ - normal: "bt_glow.png";\ - border: 12 12 12 12;\ - }\ - fill.smooth : 0;\ - }\ - description { state: "clicked" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - color: 255 255 255 255;\ - }\ - }\ - part { name: "right_bt"#_sufix"_icon";\ - repeat_events: 1;\ - description { state: "default" 0.0;\ - rel1.to: "right_bt"#_sufix;\ - rel2.to: "right_bt"#_sufix;\ - align: 0.5 0.5;\ - min: 16 16;\ - max: 16 16;\ - image.normal: "sp_bt_r.png";\ - }\ - description { state: "rtl" 0.0;\ - inherit: "default" 0.0;\ - image.normal: "sp_bt_l.png";\ - }\ - }\ - part { name: #_text;\ - type: TEXT;\ - mouse_events: 0;\ - scale: 1;\ - description { state: "default" 0.0;\ - align: 0 0.5;\ - fixed: 1 1;\ - rel1 { relative: 1.0 0.0;\ - offset: 3 2;\ - to: "left_bt"#_sufix;\ - to_y: #_relative;\ - }\ - rel2 { relative: 0.0 1.0;\ - offset: -3 -2;\ - to_x: "right_bt"#_sufix;\ - to_y: #_relative;\ - }\ - color: 0 0 0 255;\ - text {\ - font: "Sans,Edje-Vera";\ - size: 12;\ - min: 1 1;\ - align: 0.5 0.5;\ - }\ - }\ - }\ - programs {\ - program { name: "dec_"#_sufix"_start";\ - signal: "mouse,down,1";\ - source: "left_bt"#_sufix;\ - action: SIGNAL_EMIT "elm,action,decrement,start"#_signal_sufix "";\ - }\ - program { name: "dec_"#_sufix"_stop";\ - signal: "mouse,up,1";\ - source: "left_bt"#_sufix;\ - action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix ""; \ - }\ - program {\ - name: "left_bt"#_sufix"_click";\ - signal: "mouse,down,1";\ - source: "left_bt"#_sufix"_over2";\ - action: STATE_SET "clicked" 0.0;\ - target: "left_bt"#_sufix;\ - }\ - program {\ - name: "left_bt"#_sufix"_unclick";\ - signal: "mouse,up,1";\ - source: "left_bt"#_sufix"over2";\ - action: STATE_SET "default" 0.0;\ - target: "left_bt"#_sufix;\ - }\ - program {\ - name: "left_bt"#_sufix"_click2";\ - signal: "mouse,down,1";\ - source: "left_bt"#_sufix"_over3";\ - action: STATE_SET "clicked" 0.0;\ - target: "left_bt"#_sufix"_over3";\ - }\ - program {\ - name: "left_bt"#_sufix"_unclick2";\ - signal: "mouse,up,1";\ - source: "left_bt"#_sufix"_over3";\ - action: STATE_SET "default" 0.0;\ - transition: DECELERATE 0.5;\ - target: "left_bt"#_sufix"_over3";\ - }\ - program { name: "inc_"#_sufix"_start";\ - signal: "mouse,down,1";\ - source: "right_bt"#_sufix;\ - action: SIGNAL_EMIT "elm,action,increment,start"#_signal_sufix "";\ - }\ - program { name: "inc_"#_sufix"_stop";\ - signal: "mouse,up,1";\ - source: "right_bt"#_sufix;\ - action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix ""; \ - }\ - program {\ - name: "right_bt"#_sufix"_click";\ - signal: "mouse,down,1";\ - source: "right_bt"#_sufix"_over2";\ - action: STATE_SET "clicked" 0.0;\ - target: "right_bt"#_sufix;\ - }\ - program {\ - name: "right_bt"#_sufix"_unclick";\ - signal: "mouse,up,1";\ - source: "right_bt"#_sufix"_over2";\ - action: STATE_SET "default" 0.0;\ - target: "right_bt"#_sufix;\ - }\ - program {\ - name: "right_bt"#_sufix"_click2";\ - signal: "mouse,down,1";\ - source: "right_bt"#_sufix"_over3";\ - action: STATE_SET "clicked" 0.0;\ - target: "right_bt"#_sufix"_over3";\ - }\ - program {\ - name: "right_bt"#_sufix"_unclick2";\ - signal: "mouse,up,1";\ - source: "right_bt"#_sufix"_over3";\ - action: STATE_SET "default" 0.0;\ - transition: DECELERATE 0.5;\ - target: "right_bt"#_sufix"_over3";\ - }\ - program { name: "to_rtl_"#_sufix;\ - signal: "edje,state,rtl";\ - source: "edje";\ - action: STATE_SET "rtl" 0.0;\ - target: "left_bt"#_sufix"_icon";\ - target: "right_bt"#_sufix"_icon";\ - }\ - program { name: "to_ltr_"#_sufix;\ - signal: "edje,state,ltr";\ - source: "edje";\ - action: STATE_SET "default" 0.0;\ - target: "left_bt"#_sufix"_icon";\ - target: "right_bt"#_sufix"_icon";\ - }\ - } - -#define CH(_pos) \ - part { name: "ch_"#_pos".base"; \ - type: RECT; \ - description { state: "default" 0.0; \ - rel1 { \ - relative: (_pos % 7 * 7 / 8 / 6) 0; \ - to: "header"; \ - } \ - rel2 { \ - relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \ - to: "header"; \ - } \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - } \ - part { name: "ch_"#_pos".text"; \ - type: TEXT; \ - effect: SOFT_SHADOW; \ - mouse_events: 0; \ - scale: 1; \ - clip_to: "ch_"#_pos".clipper"; \ - description { \ - state: "default" 0.0; \ - rel1.to: "ch_"#_pos".base"; \ - rel2.to: "ch_"#_pos".base"; \ - color: 0 0 0 255; \ - color3: 0 0 0 0; \ - text { \ - font: "Sans"; \ - size: 10; \ - min: 1 1; \ - align: 0.5 0.5; \ - } \ - } \ - } \ - part { name: "ch_"#_pos".clipper"; \ - type: RECT; \ - description { state: "default" 0.0; \ - rel1.to: "ch_"#_pos".base"; \ - rel2.to: "ch_"#_pos".base"; \ - } \ - } - -#define CIT(_pos) \ - part { name: "cit_"#_pos".rect"; \ - type: RECT; \ - description { state: "default" 0.0; \ - rel1 { \ - relative: (_pos % 7 * 7 / 8 / 6) \ - (_pos / 8 / 5 - _pos % 7 / 8 / 5); \ - to: "base"; \ - } \ - rel2 { \ - relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \ - (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \ - to: "base"; \ - } \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - } \ - part { \ - name: "cit_"#_pos".event"; \ - type: RECT; \ - repeat_events: 1; \ - description { \ - rel1.to: "cit_"#_pos".rect"; \ - rel2.to: "cit_"#_pos".rect"; \ - state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "cit_"#_pos".shelf"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1 { \ - to: "cit_"#_pos".bg"; \ - offset: -1 -1; \ - } \ - rel2 { \ - to: "cit_"#_pos".bg"; \ - } \ - color: 200 200 200 255; \ - } \ - } \ - part { name: "cit_"#_pos".hd"; \ - type: RECT; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1 { \ - to: "cit_"#_pos".bg"; \ - offset: -1 -1; \ - } \ - rel2 { \ - to: "cit_"#_pos".bg"; \ - } \ - visible: 0; \ - color: 160 0 0 255; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - part { \ - name: "cit_"#_pos".base_sh"; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - align: 0.0 0.0; \ - min: 0 1; \ - rel1 { \ - to: "cit_"#_pos".base"; \ - relative: 0.0 1.0; \ - offset: 0 0; \ - } \ - rel2 { \ - to: "cit_"#_pos".base"; \ - relative: 1.0 1.05; \ - offset: -1 0; \ - } \ - image { \ - normal: "ilist_item_shadow.png"; \ - } \ - fill.smooth: 0; \ - } \ - } \ - part { \ - name: "cit_"#_pos".base"; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - rel1.to: "cit_"#_pos".rect"; \ - rel2.to: "cit_"#_pos".rect"; \ - rel2.offset: -1 -1; \ - image { \ - normal: "ilist_1.png"; \ - border: 2 2 2 2; \ - } \ - fill.smooth: 0; \ - } \ - description { \ - state: "today" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "ilist_2.png"; \ - color: 240 240 240 255; \ - } \ - } \ - part { name: "cit_"#_pos".bg"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - color: 255 255 255 0; \ - rel1 { \ - to: "cit_"#_pos".rect"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to: "cit_"#_pos".rect"; \ - relative: 1.0 1.0; \ - offset: -1 -1; \ - } \ - image { \ - normal: "bt_sm_base1.png"; \ - border: 6 6 6 6; \ - } \ - image.middle: SOLID; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - } \ - part { name: "cit_"#_pos".text"; \ - type: TEXT; \ - effect: SOFT_SHADOW; \ - mouse_events: 0; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - rel1.to: "cit_"#_pos".bg"; \ - rel2.to: "cit_"#_pos".bg"; \ - color: 0 0 0 255; \ - color3: 0 0 0 0; \ - text { \ - font: "Sans"; \ - size: 10; \ - min: 1 1; \ - align: 0.5 0.5; \ - } \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: 224 224 224 255; \ - color3: 0 0 0 64; \ - } \ - } \ - part { name: "cit_"#_pos".fg1"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - color: 255 255 255 0; \ - rel1.to: "cit_"#_pos".bg"; \ - rel2.relative: 1.0 0.5; \ - rel2.to: "cit_"#_pos".bg"; \ - image { \ - normal: "bt_sm_hilight.png"; \ - border: 6 6 6 0; \ - } \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - } \ - part { name: "cit_"#_pos".fg2"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - visible: 0; \ - color: 255 255 255 0; \ - rel1.to: "cit_"#_pos".bg"; \ - rel2.to: "cit_"#_pos".bg"; \ - image { \ - normal: "bt_sm_shine.png"; \ - border: 6 6 6 0; \ - } \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - } \ - part { name: "cit_"#_pos".check"; \ - mouse_events: 0; \ - description { state: "default" 0.0; \ - rel1 { \ - to: "cit_"#_pos".bg"; \ - relative: 0.7 0.6; \ - offset: 1 1; \ - } \ - rel2 { \ - to: "cit_"#_pos".bg"; \ - relative: 1.1 1.2; \ - offset: -2 -2; \ - } \ - aspect: 1 1; \ - visible: 0; \ - color: 255 0 0 255; \ - image.normal: "check.png"; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - part { name: "cit_"#_pos".access"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - rel1.to: "cit_"#_pos".event"; \ - rel2.to: "cit_"#_pos".event"; \ - visible: 1; \ - color: 0 0 0 0; \ - } \ - } \ - programs { \ - program { \ - name: "cit_"#_pos".go_active"; \ - signal: "cit_"#_pos",selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - target: "cit_"#_pos".bg"; \ - target: "cit_"#_pos".fg1"; \ - target: "cit_"#_pos".fg2"; \ - target: "cit_"#_pos".text"; \ - } \ - program { \ - name: "cit_"#_pos".go_passive"; \ - signal: "cit_"#_pos",unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".bg"; \ - target: "cit_"#_pos".fg1"; \ - target: "cit_"#_pos".fg2"; \ - target: "cit_"#_pos".text"; \ - } \ - program { \ - name: "cit_"#_pos".is_today"; \ - signal: "cit_"#_pos",today"; \ - source: "elm"; \ - action: STATE_SET "today" 0.0; \ - target: "cit_"#_pos".base"; \ - } \ - program { \ - name: "cit_"#_pos".not_today"; \ - signal: "cit_"#_pos",not_today"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".base"; \ - } \ - program { \ - source: "cit_"#_pos".clicked"; \ - signal: "mouse,clicked,1"; \ - source: "cit_"#_pos".event"; \ - action: SIGNAL_EMIT "elm,action,selected" #_pos; \ - } \ - program { \ - name: "cit_"#_pos".clear"; \ - signal: "cit_"#_pos",clear"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".check"; \ - target: "cit_"#_pos".hd"; \ - } \ - program { \ - name: "cit_"#_pos".checked"; \ - signal: "cit_"#_pos",checked"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "cit_"#_pos".check"; \ - } \ - program { \ - name: "cit_"#_pos".holiday"; \ - signal: "cit_"#_pos",holiday"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "cit_"#_pos".hd"; \ - } \ - } - -group { name: "elm/calendar/base/default"; - images { - image: "shelf_inset.png" COMP; - image: "bt_base1.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - image: "sp_bt_l.png" COMP; - image: "sp_bt_r.png" COMP; - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "check.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - min: 0 30; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - align: 0.0 0.5; - } - } - part { name: "spinner-base1"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 24 24; - max: 999999 24; - rel1.to: "bg"; - rel1.offset: 6 6; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - rel2.offset: -7 -7; - color: 255 255 255 0; - align: 0.0 0.0; - } - } - part { name: "conf_over_spinner1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "spinner-base1"; - rel1.offset: -3 -3; - rel2.to: "spinner-base1"; - rel2.offset: 2 2; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "table-base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 256 220; - rel1.to_x: "bg"; - rel1.to_y: "spinner-base1"; - rel1.offset: 6 6; - rel1.relative: 0 1; - rel2.to: "bg"; - rel2.offset: -7 -7; - color: 255 255 255 0; - } - } - part { name: "conf_over_table"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "table-base"; - rel1.offset: -3 -3; - rel2.to: "table-base"; - rel2.offset: 2 2; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "header"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "table-base"; - rel1.relative: 0 0; - rel2.to: "table-base"; - rel2.relative: 1 0.1; - color: 255 255 255 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to_x: "table-base"; - rel1.to_y: "header"; - rel1.relative: 0 1; - rel1.offset: 3 0; - rel2.to: "table-base"; - rel2.offset: -3 0; - color: 255 255 255 0; - } - } - - CAL_SPIN(,,month_text, spinner-base1) - - CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6) - CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6) - CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13) - CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20) - CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27) - CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34) - CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41) - } -} - -group { name: "elm/calendar/base/double_spinners"; - inherit: "elm/calendar/base/default"; - parts { - part { name: "spinner-base1"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 24 24; - max: 999999 24; - rel1.to: "bg"; - rel1.offset: 6 6; - rel2.to: "bg"; - rel2.relative: 0.5 1.0; - rel2.offset: -7 -7; - color: 255 255 255 0; - align: 0.0 0.0; - } - } - part { name: "conf_over_spinner1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "spinner-base1"; - rel1.offset: -3 -3; - rel2.to: "spinner-base1"; - rel2.offset: 2 2; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "spinner-base2"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - min: 24 24; - max: 999999 24; - rel1.to_x: "spinner-base1"; - rel1.to_y: "bg"; - rel1.relative: 1.0 0; - rel1.offset: 6 6; - rel2.to: "bg"; - rel2.offset: -7 -7; - color: 255 255 255 0; - align: 0.0 0.0; - } - } - part { name: "conf_over_spinner2"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "spinner-base2"; - rel1.offset: -2 -2; - rel2.to: "spinner-base2"; - rel2.offset: 2 2; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - - CAL_SPIN(,,month_text, spinner-base1) - CAL_SPIN(_year, year, year_text, spinner-base2) - - } -} - - -#undef CAL_SPIN -#undef CIT -#undef CH - diff --git a/legacy/elementary/data/themes/widgets/check.edc b/legacy/elementary/data/themes/widgets/check.edc deleted file mode 100644 index 6ba52b50b9..0000000000 --- a/legacy/elementary/data/themes/widgets/check.edc +++ /dev/null @@ -1,721 +0,0 @@ -group { name: "elm/check/base/default"; - images { - image: "check_base.png" COMP; - image: "check.png" COMP; - image: "check2.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.relative: 0.0 1.0; - rel2.offset: 1 -2; - align: 0.0 0.5; - min: 16 16; - max: 16 16; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - image { - normal: "check_base.png"; - border: 5 5 5 5; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "check"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "bg"; - offset: 1 1; - } - rel2 { - to: "bg"; - offset: -2 -2; - } - visible: 0; - color: 255 255 255 255; - image.normal: "check.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 128 128 128 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - visible: 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel1.offset: 1 1; - rel2.to_x: "bg"; - rel2.offset: 1 -2; - rel2.relative: 1.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 0; - visible: 1; - aspect: 1.0 1.0; - min: 16 16; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 128; - fixed: 1 0; - visible: 1; - aspect: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 1 1; - rel2.relative: 1.0 1.0; - rel2.offset: -2 -2; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 1; - align: -1.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "click"; - signal: "mouse,clicked,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "check"; - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "check"; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); - else - set_state(PART:"elm.swallow.content", "disabled", 0.0); - - get_state(PART:"check", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"check", "disabled_visible", 0.0); - else - set_state(PART:"check", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "visible", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - - get_state(PART:"check", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"check", "visible", 0.0); - else - set_state(PART:"check", "default", 0.0); - } - } - } -} - -group { name: "elm/check/base/toggle"; - images { - image: "shelf_inset.png" COMP; - image: "bt_basew.png" COMP; - image: "bt_bases.png" COMP; - image: "bt_hilightw.png" COMP; - image: "tog_base_on.png" COMP; - image: "tog_base_off.png" COMP; - image: "tog_dis_base_on.png" COMP; - image: "tog_dis_base_off.png" COMP; - } - script { - public is_rtl; - public is_drag; - public was_drag; - } - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - rel1.offset: -4 3; - rel2.offset: -4 -4; - align: 1.0 0.5; - min: 96 16; - max: 96 16; - visible: 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - color: 255 255 255 255; - } - } - part { name: "button"; - type: RECT; - scale: 1; - clip_to: "clipper"; - mouse_events: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "bg"; - } - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "bg"; - rel2.to: "bg"; - min: 16 16; - max: 16 16; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - color: 0 0 0 0; - } - } - part { name: "button_events"; - type: RECT; - dragable { - events: "button"; - } - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "onrect"; - type: IMAGE; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button"; - rel1.relative: -5.0 0.0; - rel2.to: "button"; - rel2.relative: 0.5 1.0; - image.normal: "tog_base_on.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tog_dis_base_on.png"; - } - } - part { name: "offrect"; - type: IMAGE; - scale: 1; - clip_to: "clipper"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button"; - rel1.relative: 0.5 0.0; - rel2.to: "button"; - rel2.relative: 6.0 1.0; - image.normal: "tog_base_off.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "tog_dis_base_off.png"; - } - } - part { name: "elm.offtext"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to_x: "button"; - rel1.relative: 1.0 0.0; - rel2.to_x: "offrect"; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 1; - align: 0.5 0.5; - text: "OFF"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - } - part { name: "elm.ontext"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to_x: "onrect"; - rel1.offset: 1 1; - rel2.to_x: "button"; - rel2.offset: 0 0; - rel2.relative: 0.0 1.0; - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 1; - align: 0.5 0.5; - text: "ON"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - color3: 0 0 0 24; - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -1 -1; - rel1.to: "bg"; - rel2.offset: 0 0; - rel2.to: "bg"; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "button0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button2"; - rel1.offset: -4 -4; - rel2.to: "button2"; - rel2.offset: 3 3; - image { - normal: "bt_bases.png"; - border: 11 11 11 11; - } - image.middle: SOLID; - color: 255 255 255 128; - } - } - part { name: "button2"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button"; - rel1.offset: -3 -3; - rel2.to: "button"; - rel2.offset: 2 2; - image { - normal: "bt_basew.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - } - part { name: "button3"; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "button2"; - rel2.to: "button2"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilightw.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.offset: 4 4; - rel2.relative: 0.0 1.0; - rel2.offset: 3 -5; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - rel2.offset: 4 -5; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - visible: 1; - aspect: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 4; - rel2.to_x: "bg"; - rel2.relative: 0.0 1.0; - rel2.offset: -7 -5; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - visible: 1; - text.min: 1 1; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - signal: "mouse,clicked,1"; - source: "button"; - script { - new Float:dx, Float:dy; - get_drag(PART:"button", dx, dy); - - if (!get_int(was_drag)) { - if (dx > 0.5) - set_drag(PART:"button", 0.0, 0.0); - else - set_drag(PART:"button", 1.0, 0.0); - if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || - (get_int(is_rtl) == 0) && (dx > 0.5)) - emit("elm,action,check,off", ""); - else - emit("elm,action,check,on", ""); - } - } - } - program { - signal: "drag"; - source: "button"; - script { - set_int(is_drag, 1); - } - } - program { - signal: "mouse,down,1"; - source: "button"; - script { - set_int(was_drag, 0); - set_int(is_drag, 0); - } - } - program { name: "drag_end"; - signal: "mouse,up,1"; - source: "button"; - script { - new Float:dx, Float:dy; - get_drag(PART:"button", dx, dy); - if (get_int(is_drag)) { - if (dx > 0.5) - set_drag(PART:"button", 1.0, 0.0); - else - set_drag(PART:"button", 0.0, 0.0); - if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || - (get_int(is_rtl) == 0) && (dx > 0.5)) - emit("elm,action,check,on", ""); - else - emit("elm,action,check,off", ""); - set_int(was_drag, 1); - set_int(is_drag, 0); - } - } - } - program { name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - new Float:drag; - if (get_int(is_rtl) == 0) { - drag = 100.0; - } - else { - drag = 0.0; - } - set_drag(PART:"button", drag, 0.0); - } - } - program { name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - script { - new Float:drag; - if (get_int(is_rtl) == 0) { - drag = 0.0; - } - else { - drag = 100.0; - } - set_drag(PART:"button", drag, 0.0); - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.offtext"; - target: "elm.ontext"; - target: "onrect"; - target: "offrect"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); - else - set_state(PART:"elm.swallow.content", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "onrect"; - target: "offrect"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "visible", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - script { - set_int(is_rtl, 1); - } - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - script { - set_int(is_rtl, 0); - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/clock.edc b/legacy/elementary/data/themes/widgets/clock.edc deleted file mode 100644 index bcc3b5b503..0000000000 --- a/legacy/elementary/data/themes/widgets/clock.edc +++ /dev/null @@ -1,1362 +0,0 @@ -group { name: "elm/clock/flipdigit/default"; - images { - image: "flip_base.png" COMP; - image: "flip_base_shad.png" COMP; - image: "flip_shad.png" COMP; - image: "flip_0t.png" COMP; - image: "flip_0b.png" COMP; - image: "flip_1t.png" COMP; - image: "flip_1b.png" COMP; - image: "flip_2t.png" COMP; - image: "flip_2b.png" COMP; - image: "flip_3t.png" COMP; - image: "flip_3b.png" COMP; - image: "flip_4t.png" COMP; - image: "flip_4b.png" COMP; - image: "flip_5t.png" COMP; - image: "flip_5b.png" COMP; - image: "flip_6t.png" COMP; - image: "flip_6b.png" COMP; - image: "flip_7t.png" COMP; - image: "flip_7b.png" COMP; - image: "flip_8t.png" COMP; - image: "flip_8b.png" COMP; - image: "flip_9t.png" COMP; - image: "flip_9b.png" COMP; - image: "arrow_up.png" COMP; - image: "arrow_down.png" COMP; - } - script { - public v0_cur, v0_pre, v0_lock, v0_next; - - public animator2(val, Float:pos) { - new st1[11], st2[11], v; - - v = get_int(v0_cur); - snprintf(st1, 10, "%ih", v); - snprintf(st2, 10, "%i", v); - set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); - set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); - if (pos >= 1.0) { - set_state(PART:"sh", "default", 0.0); - set_int(v0_lock, 0); - v = get_int(v0_next); - if (v >= 0) { - set_int(v0_next, -1); - message(MSG_INT, 1, v); - } - } - } - public animator1(val, Float:pos) { - new st1[11], st2[11], v; - - v = get_int(v0_pre); - snprintf(st1, 10, "%i", v); - snprintf(st2, 10, "%ih", v); - set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); - set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); - if (pos >= 1.0) anim(0.2, "animator2", val); - } - public message(Msg_Type:type, id, ...) { - if ((type == MSG_INT) && (id == 1)) { - new value, v, buf[11]; - - value = getarg(2); - if (get_int(v0_lock) == 1) { - set_int(v0_next, value); - return; - } - v = get_int(v0_cur); - set_int(v0_pre, v); - set_int(v0_cur, value); - set_int(v0_lock, 1); - snprintf(buf, 10, "%i", get_int(v0_pre)); - set_state(PART:"bot0", buf, 0.0); - snprintf(buf, 10, "%ih", get_int(v0_cur)); - set_state(PART:"bot", buf, 0.0); - snprintf(buf, 10, "%i", get_int(v0_cur)); - set_state(PART:"top0", buf, 0.0); - snprintf(buf, 10, "%i", get_int(v0_pre)); - set_state(PART:"top", buf, 0.0); - set_state(PART:"sh", "default", 0.0); - anim(0.2, "animator1", 1); - } - } - } - parts { - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -4 -4; - rel1.to: "base"; - rel2.offset: 3 3; - rel2.to: "base"; - image { - normal: "flip_base_shad.png"; - border: 8 8 8 8; - } - } - } - part { name: "base"; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - // FIXME 48x96 should be the native pixel design, right now - // its 80x160. fix int he artwork later - min: 24 48; - aspect: 0.5 0.5; - // max: 24 48; - image.normal: "flip_base.png"; - } - } - part { name: "b"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "base"; - rel1.relative: 0.0 0.5; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "t"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bot0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "flip_0b.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - image.normal: "flip_0b.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - image.normal: "flip_1b.png"; - } - description { state: "2" 0.0; - inherit: "default" 0.0; - image.normal: "flip_2b.png"; - } - description { state: "3" 0.0; - inherit: "default" 0.0; - image.normal: "flip_3b.png"; - } - description { state: "4" 0.0; - inherit: "default" 0.0; - image.normal: "flip_4b.png"; - } - description { state: "5" 0.0; - inherit: "default" 0.0; - image.normal: "flip_5b.png"; - } - description { state: "6" 0.0; - inherit: "default" 0.0; - image.normal: "flip_6b.png"; - } - description { state: "7" 0.0; - inherit: "default" 0.0; - image.normal: "flip_7b.png"; - } - description { state: "8" 0.0; - inherit: "default" 0.0; - image.normal: "flip_8b.png"; - } - description { state: "9" 0.0; - inherit: "default" 0.0; - image.normal: "flip_9b.png"; - } - } - part { name: "sh"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - rel2.relative: 1.0 0.0; - image.normal: "flip_shad.png"; - } - description { state: "half" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 0.5; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "bot"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "flip_0b.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_0b.png"; - } - description { state: "0h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_0b.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_1b.png"; - } - description { state: "1h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_1b.png"; - } - description { state: "2" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_2b.png"; - } - description { state: "2h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_2b.png"; - } - description { state: "3" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_3b.png"; - } - description { state: "3h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_3b.png"; - } - description { state: "4" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_4b.png"; - } - description { state: "4h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_4b.png"; - } - description { state: "5" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_5b.png"; - } - description { state: "5h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_5b.png"; - } - description { state: "6" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_6b.png"; - } - description { state: "6h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_6b.png"; - } - description { state: "7" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_7b.png"; - } - description { state: "7h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_7b.png"; - } - description { state: "8" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_8b.png"; - } - description { state: "8h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_8b.png"; - } - description { state: "9" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_9b.png"; - } - description { state: "9h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_9b.png"; - } - } - part { name: "top0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "flip_0t.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - image.normal: "flip_0t.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - image.normal: "flip_1t.png"; - } - description { state: "2" 0.0; - inherit: "default" 0.0; - image.normal: "flip_2t.png"; - } - description { state: "3" 0.0; - inherit: "default" 0.0; - image.normal: "flip_3t.png"; - } - description { state: "4" 0.0; - inherit: "default" 0.0; - image.normal: "flip_4t.png"; - } - description { state: "5" 0.0; - inherit: "default" 0.0; - image.normal: "flip_5t.png"; - } - description { state: "6" 0.0; - inherit: "default" 0.0; - image.normal: "flip_6t.png"; - } - description { state: "7" 0.0; - inherit: "default" 0.0; - image.normal: "flip_7t.png"; - } - description { state: "8" 0.0; - inherit: "default" 0.0; - image.normal: "flip_8t.png"; - } - description { state: "9" 0.0; - inherit: "default" 0.0; - image.normal: "flip_9t.png"; - } - } - part { name: "top"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "flip_0t.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_0t.png"; - } - description { state: "0h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_0t.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_1t.png"; - } - description { state: "1h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_1t.png"; - } - description { state: "2" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_2t.png"; - } - description { state: "2h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_2t.png"; - } - description { state: "3" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_3t.png"; - } - description { state: "3h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_3t.png"; - } - description { state: "4" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_4t.png"; - } - description { state: "4h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_4t.png"; - } - description { state: "5" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_5t.png"; - } - description { state: "5h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_5t.png"; - } - description { state: "6" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_6t.png"; - } - description { state: "6h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_6t.png"; - } - description { state: "7" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_7t.png"; - } - description { state: "7h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_7t.png"; - } - description { state: "8" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_8t.png"; - } - description { state: "8h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_8t.png"; - } - description { state: "9" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_9t.png"; - } - description { state: "9h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_9t.png"; - } - } - part { name: "atop"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 15 15; - max: 15 15; - align: 0.5 0.0; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "arrow_up.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "abot"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 15 15; - max: 15 15; - align: 0.5 1.0; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "arrow_down.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.t"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "t"; - rel2.to: "t"; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.b"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_int(v0_cur, 0); - set_int(v0_pre, 0); - set_int(v0_lock, 0); - set_int(v0_next, -1); - } - } - program { name: "edit_on"; - signal: "elm,state,edit,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "atop"; - target: "abot"; - target: "t"; - target: "b"; - } - program { name: "edit_off"; - signal: "elm,state,edit,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "atop"; - target: "abot"; - target: "t"; - target: "b"; - } - program { name: "up"; - signal: "mouse,down,1"; - source: "t"; - action: SIGNAL_EMIT "elm,action,up,start" ""; - } - program { name: "up,stop"; - signal: "mouse,up,1"; - source: "t"; - action: SIGNAL_EMIT "elm,action,up,stop" ""; - } - program { name: "down"; - signal: "mouse,down,1"; - source: "b"; - action: SIGNAL_EMIT "elm,action,down,start" ""; - } - program { name: "down,stop"; - signal: "mouse,up,1"; - source: "b"; - action: SIGNAL_EMIT "elm,action,down,stop" ""; - } - program { name: "access_edit_on"; - signal: "elm,state,access,edit,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "access.t"; - target: "access.b"; - } - program { name: "access_edit_off"; - signal: "elm,state,access,edit,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "access.t"; - target: "access.b"; - } - program { name: "access,up"; - signal: "mouse,down,1"; - source: "access.t"; - action: SIGNAL_EMIT "elm,action,up,start" ""; - } - program { name: "access,up,stop"; - signal: "mouse,up,1"; - source: "access.t"; - action: SIGNAL_EMIT "elm,action,up,stop" ""; - } - program { name: "access,down"; - signal: "mouse,down,1"; - source: "access.b"; - action: SIGNAL_EMIT "elm,action,down,start" ""; - } - program { name: "access,down,stop"; - signal: "mouse,up,1"; - source: "access.b"; - action: SIGNAL_EMIT "elm,action,down,stop" ""; - } - } -} - -group { name: "elm/clock/flipampm/default"; - images { - image: "flip_base.png" COMP; - image: "flip_base_shad.png" COMP; - image: "flip_shad.png" COMP; - image: "flip_amt.png" COMP; - image: "flip_amb.png" COMP; - image: "flip_pmt.png" COMP; - image: "flip_pmb.png" COMP; - image: "arrow_up.png" COMP; - image: "arrow_down.png" COMP; - } - script { - public v0_cur, v0_pre, v0_lock, v0_next; - - public animator2(val, Float:pos) { - new st1[11], st2[11], v; - - v = get_int(v0_cur); - snprintf(st1, 10, "%ih", v); - snprintf(st2, 10, "%i", v); - set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); - set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); - if (pos >= 1.0) { - set_state(PART:"sh", "default", 0.0); - set_int(v0_lock, 0); - v = get_int(v0_next); - if (v >= 0) { - set_int(v0_next, -1); - message(MSG_INT, 1, v); - } - } - } - public animator1(val, Float:pos) { - new st1[11], st2[11], v; - - v = get_int(v0_pre); - snprintf(st1, 10, "%i", v); - snprintf(st2, 10, "%ih", v); - set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); - set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); - if (pos >= 1.0) anim(0.2, "animator2", val); - } - public message(Msg_Type:type, id, ...) { - if ((type == MSG_INT) && (id == 1)) { - new value, v, buf[11]; - - value = getarg(2); - if (get_int(v0_lock) == 1) { - set_int(v0_next, value); - return; - } - v = get_int(v0_cur); - set_int(v0_pre, v); - set_int(v0_cur, value); - set_int(v0_lock, 1); - snprintf(buf, 10, "%i", get_int(v0_pre)); - set_state(PART:"bot0", buf, 0.0); - snprintf(buf, 10, "%ih", get_int(v0_cur)); - set_state(PART:"bot", buf, 0.0); - snprintf(buf, 10, "%i", get_int(v0_cur)); - set_state(PART:"top0", buf, 0.0); - snprintf(buf, 10, "%i", get_int(v0_pre)); - set_state(PART:"top", buf, 0.0); - set_state(PART:"sh", "default", 0.0); - anim(0.2, "animator1", 1); - } - } - } - parts { - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -4 -4; - rel1.to: "base"; - rel2.offset: 3 3; - rel2.to: "base"; - image { - normal: "flip_base_shad.png"; - border: 8 8 8 8; - } - } - } - part { name: "base"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - // FIXME 48x96 should be the native pixel design, right now - // its 80x160. fix int he artwork later - aspect: 0.5 0.5; - min: 24 48; - // max: 24 48; - image.normal: "flip_base.png"; - } - } - part { name: "b"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.relative: 0.0 0.5; - rel2.to: "base"; - color: 0 0 0 0; - } - } - part { name: "t"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - color: 0 0 0 0; - } - } - part { name: "bot0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "flip_amb.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - image.normal: "flip_amb.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - image.normal: "flip_pmb.png"; - } - } - part { name: "sh"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - rel2.relative: 1.0 0.0; - image.normal: "flip_shad.png"; - } - description { state: "half" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 0.5; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "bot"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "flip_amb.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_amb.png"; - } - description { state: "0h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_amb.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - image.normal: "flip_pmb.png"; - } - description { state: "1h" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - image.normal: "flip_pmb.png"; - } - } - part { name: "top0"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "flip_amt.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - image.normal: "flip_amt.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - image.normal: "flip_pmt.png"; - } - } - part { name: "top"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "flip_amt.png"; - } - description { state: "0" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_amt.png"; - } - description { state: "0h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_amt.png"; - } - description { state: "1" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0.0 0.0; - image.normal: "flip_pmt.png"; - } - description { state: "1h" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - image.normal: "flip_pmt.png"; - } - } - part { name: "atop"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 15 15; - max: 15 15; - align: 0.5 0.0; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "arrow_up.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "abot"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 15 15; - max: 15 15; - align: 0.5 1.0; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "arrow_down.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.t"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "t"; - rel2.to: "t"; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.b"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_int(v0_cur, 0); - set_int(v0_pre, 0); - set_int(v0_lock, 0); - set_int(v0_next, -1); - } - } - program { name: "edit_on"; - signal: "elm,state,edit,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "atop"; - target: "abot"; - } - /* - program { name: "edit_off"; - signal: "elm,state,edit,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "atop"; - target: "abot"; - } - */ - program { name: "up"; - signal: "mouse,down,1"; - source: "t"; - action: SIGNAL_EMIT "elm,action,up,start" ""; - } - program { name: "up,stop"; - signal: "mouse,up,1"; - source: "t"; - action: SIGNAL_EMIT "elm,action,up,stop" ""; - } - program { name: "down"; - signal: "mouse,down,1"; - source: "b"; - action: SIGNAL_EMIT "elm,action,down,start" ""; - } - program { name: "down,stop"; - signal: "mouse,up,1"; - source: "b"; - action: SIGNAL_EMIT "elm,action,down,stop" ""; - } - program { name: "access_edit_on"; - signal: "elm,state,access,edit,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "access.t"; - target: "access.b"; - } - program { name: "access_edit_off"; - signal: "elm,state,edit,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "access.t"; - target: "access.b"; - } - program { name: "access,up"; - signal: "mouse,down,1"; - source: "access.t"; - action: SIGNAL_EMIT "elm,action,up,start" ""; - } - program { name: "access,up,stop"; - signal: "mouse,up,1"; - source: "access.t"; - action: SIGNAL_EMIT "elm,action,up,stop" ""; - } - program { name: "access,down"; - signal: "mouse,down,1"; - source: "access.b"; - action: SIGNAL_EMIT "elm,action,down,start" ""; - } - program { name: "access,down,stop"; - signal: "mouse,up,1"; - source: "access.b"; - action: SIGNAL_EMIT "elm,action,down,stop" ""; - } - } -} - -group { name: "elm/clock/base-all/default"; - parts { - part { name: "d0"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.0000000 0.0; - rel2.relative: 0.1250000 1.0; - } - } - part { name: "d1"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.1250000 0.0; - rel2.relative: 0.2500000 1.0; - } - } - part { name: "c0"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.2500000 0.0; - rel2.relative: 0.3125000 1.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - text: ":"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - } - part { name: "d2"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.3125000 0.0; - rel2.relative: 0.4375000 1.0; - } - } - part { name: "d3"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.4375000 0.0; - rel2.relative: 0.5625000 1.0; - } - } - // (if seconds) - part { name: "c1"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.5625000 0.0; - rel2.relative: 0.6250000 1.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - text: ":"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - } - // (if seconds) - part { name: "d4"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.6250000 0.0; - rel2.relative: 0.7500000 1.0; - } - } - // (if seconds) - part { name: "d5"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.7500000 0.0; - rel2.relative: 0.8750000 1.0; - } - } - // (if am_pm) - part { name: "ampm"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.8750000 0.0; - rel2.relative: 1.0 1.0; - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/clock/base-seconds/default"; - parts { - part { name: "d0"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.000000000 0.0; - rel2.relative: 0.142857143 1.0; - } - } - part { name: "d1"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.142857143 0.0; - rel2.relative: 0.285714286 1.0; - } - } - part { name: "c0"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.285714286 0.0; - rel2.relative: 0.357142857 1.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - text: ":"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - } - part { name: "d2"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.357142857 0.0; - rel2.relative: 0.500000000 1.0; - } - } - part { name: "d3"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.500000000 0.0; - rel2.relative: 0.642857143 1.0; - } - } - // (if seconds) - part { name: "c1"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.642857143 0.0; - rel2.relative: 0.714285714 1.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - text: ":"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - } - // (if seconds) - part { name: "d4"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.714285714 0.0; - rel2.relative: 0.857142857 1.0; - } - } - // (if seconds) - part { name: "d5"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.857142857 0.0; - rel2.relative: 1.000000000 1.0; - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/clock/base-am_pm/default"; - parts { - part { name: "d0"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.000000000 0.0; - rel2.relative: 0.181818182 1.0; - } - } - part { name: "d1"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.181818182 0.0; - rel2.relative: 0.363636364 1.0; - } - } - part { name: "c0"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.363636364 0.0; - rel2.relative: 0.454545455 1.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - text: ":"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - } - part { name: "d2"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.454545455 0.0; - rel2.relative: 0.636363636 1.0; - } - } - part { name: "d3"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.636363636 0.0; - rel2.relative: 0.818181818 1.0; - } - } - // (if am_pm) - part { name: "ampm"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.818181818 0.0; - rel2.relative: 1.0 1.0; - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/clock/base/default"; - parts { - part { name: "base"; - type: RECT; - scale : 1; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "d0"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.000000000 0.0; - rel2.relative: 0.222222222 1.0; - } - } - part { name: "d1"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.222222222 0.0; - rel2.relative: 0.444444444 1.0; - } - } - part { name: "c0"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.444444444 0.0; - rel2.relative: 0.555555556 1.0; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - text: ":"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - } - part { name: "d2"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.555555556 0.0; - rel2.relative: 0.777777778 1.0; - } - } - part { name: "d3"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.777777778 0.0; - rel2.relative: 1.000000000 1.0; - } - } - } - programs { - program { name: "access_on"; - signal: "elm,state,access,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "base"; - } - program { name: "access_off"; - signal: "elm,state,access,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/colorselector.edc b/legacy/elementary/data/themes/widgets/colorselector.edc deleted file mode 100644 index 7d4e0bca3e..0000000000 --- a/legacy/elementary/data/themes/widgets/colorselector.edc +++ /dev/null @@ -1,503 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/colorselector/palette/default"; - data.item: "horizontal_pad" "10"; - data.item: "vertical_pad" "10"; - parts { - part { name: "elm.picker"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 0 1; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - } - } - part { name: "top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 20; - fixed: 0 1; - rel1.relative: 0.0 1.0; - rel1.to: "elm.picker"; - rel2.to: "elm.picker"; - align: 0.0 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "elm.palette"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to: "top_padding"; - } - rel2 { - relative: 1.0 1.0; - to: "top_padding"; - } - } - } - part{ name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 20; - fixed: 0 1; - rel1.relative: 0.0 1.0; - rel1.to: "elm.palette"; - rel2.to: "elm.palette"; - align: 0.0 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - min: 0 0; - } - } - part { name: "elm.selector"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 1.0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - to: "bottom_padding"; - } - } - } - } - programs { - program { name: "init"; - source: ""; - signal: "load"; - action: STATE_SET "disabled" 0.0; - target: "top_padding"; - } - program { name: "palette"; - source: "elm"; - signal: "elm,state,palette"; - action: STATE_SET "disabled" 0.0; - target: "bottom_padding"; - target: "top_padding"; - } - program { name: "components"; - source: "elm"; - signal: "elm,state,components"; - action: STATE_SET "disabled" 0.0; - target: "bottom_padding"; - target: "top_padding"; - } - program { name: "both"; - source: "elm"; - signal: "elm,state,both"; - action: STATE_SET "default" 0.0; - target: "bottom_padding"; - after: "notop"; - } - program { name: "notop"; - action: STATE_SET "disabled" 0.0; - target: "top_padding"; - } - program { name: "picker"; - source: "elm"; - signal: "elm,state,picker"; - action: STATE_SET "disabled" 0.0; - target: "bottom_padding"; - target: "top_padding"; - } - program { name: "all"; - source: "elm"; - signal: "elm,state,all"; - action: STATE_SET "default" 0.0; - target: "bottom_padding"; - target: "top_padding"; - } - } -} - -group { name: "elm/colorselector/picker/default"; - parts { - part { name: "background"; - type: IMAGE; - description { state: "default" 0.0; - rel1.to: "elm.picker"; - rel2.to: "elm.picker"; - image.normal: "color_picker_alpha_bg.png"; - fill { - type: TILE; - origin.offset: 0 0; - size.offset: 33 33; - } - } - } - part { name: "elm.picker"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 20 20; - } - } - } -} - -group { name: "elm/colorselector/bg/default"; - parts { - part { name: "elm.colorbar_0"; - type: SWALLOW; - description { state: "default" 0.0; - min: 120 30; - rel1.relative: 0.0 0.00653594771; - rel2.relative: 1.0 0.254901961; - } - } - part { name: "elm.colorbar_1"; - type: SWALLOW; - description { state: "default" 0.0; - min: 120 30; - rel1.relative: 0.0 0.254901961; - rel2.relative: 1.0 0.503267974; - } - } - part { name: "elm.colorbar_2"; - type: SWALLOW; - description { state: "default" 0.0; - min: 120 30; - rel1.relative: 0.0 0.503267974; - rel2.relative: 1.0 0.751633987; - } - } - part { name: "elm.colorbar_3"; - type: SWALLOW; - description { state: "default" 0.0; - min: 120 30; - rel1.relative: 0.0 0.751633987; - rel2.relative: 1.0 1.0; - } - } - } -} - -group { name: "elm/colorselector/base/default"; - parts { - part { name: "elm.bar_bg"; - type: SWALLOW; - mouse_events: 0; - description { state: "default" 0.0; - min: 60 22; - rel1 { - relative: 0.0 0.8; - to_x: "elm.arrow_bg"; - to_y: "elm.arrow_icon"; - offset: 0 0; - } - rel2 { - relative: 1.0 0.83; - to_x: "elm.arrow_bg"; - offset: 0 0; - } - } - } - part { name: "elm.bar"; - type: SWALLOW; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.bar_bg"; - rel2.to: "elm.bar_bg"; - } - } - part { name: "elm.arrow_bg"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.17; - offset: 3 0; - to_x: "elm.l_button"; - } - rel2 { - relative: 0.0 0.83; - offset: -4 0; - to_x: "elm.r_button"; - } - } - } - part { name: "elm.arrow"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 1 1; - fixed: 1 1; - align: 0 0; - rel1 { - to_x: "elm.arrow_bg"; - } - rel2 { - relative: 0.0 0.17; - to_x: "elm.arrow_bg"; - } - color: 0 0 0 0; - visible: 0; - } - dragable { - confine: "elm.arrow_bg"; - x: 1 1 0; - y: 0 0 0; - } - } - part { name: "elm.arrow_icon"; - type: SWALLOW; - mouse_events: 0; - description { state: "default" 0.0; - min: 25 15; - max: 25 15; - fixed: 1 1; - align: 0.5 0; - rel1 { - to_x: "elm.arrow"; - } - rel2 { - relative: 1.0 0.0; - offset: 0 10; - to_x: "elm.arrow"; - } - } - } - part { name: "event"; - type: RECT; - description { state: "default" 0.0; - rel1 { - to: "elm.arrow_icon"; - } - rel2 { - to_x: "elm.arrow_icon"; - to_y: "elm.arrow_bg"; - offset: 0 0; - } - color: 0 0 0 0; - } - dragable { - events: "elm.arrow"; - } - } - part { name: "elm.arrow_bg_access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.arrow_bg"; - rel2.to: "elm.arrow_bg"; - color: 0 0 0 0; - } - } - part { name: "elm.l_button"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 24 24; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - to_y: "elm.bar_bg"; - } - rel2 { - relative: 0.0 1.0; - to_y: "elm.bar_bg"; - } - align: 0.0 0.5; - } - } - part { name: "elm.r_button"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 24 24; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - to_y: "elm.bar_bg"; - } - rel2 { - relative: 1.0 1.0; - to_y: "elm.bar_bg"; - } - align: 1.0 0.5; - } - } - } -} - -group{ name: "elm/colorselector/image/colorbar_0/default"; - images { - image: "color_picker_color.png" COMP; - } - parts { - part { name: "colorbar_0_image"; - type: IMAGE; - description { state: "default" 0.0; - rel2.offset: -1 -1; - image.normal: "color_picker_color.png"; - } - } - } -} - -group { name: "elm/colorselector/image/colorbar_1/default"; - images { - image: "color_picker_opacity.png" COMP; - } - parts { - part { name: "colorbar_1_image"; - type: IMAGE; - description { state: "default" 0.0; - rel2.offset: -1 -1; - image.normal: "color_picker_opacity.png"; - } - } - } -} - -group { name: "elm/colorselector/image/colorbar_2/default"; - images { - image: "color_picker_brightness.png" COMP; - } - parts { - part { name: "colorbar_2_image"; - type: IMAGE; - description { state: "default" 0.0; - rel2.offset: -1 -1; - image.normal: "color_picker_brightness.png"; - } - } - } -} - -group { name: "elm/colorselector/image/colorbar_3/default"; - images { - image: "color_picker_alpha.png" COMP; - } - parts { - part { name: "colorbar_3_image"; - type: IMAGE; - description { state: "default" 0.0; - rel2.offset: -1 -1; - image.normal: "color_picker_alpha.png"; - } - } - } -} - -group { name: "elm/colorselector/bg_image/colorbar_3/default"; - images { - image: "color_picker_alpha_bg.png" COMP; - } - parts { - part { name: "colorbar_3_image"; - type: IMAGE; - description { state: "default" 0.0; - rel2.offset: -1 -1; - image.normal: "color_picker_alpha_bg.png"; - } - } - } -} - -group { name: "elm/colorselector/arrow/default"; - images { - image: "icon_arrow_down.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "arrow_image"; - type: IMAGE; - description { state: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - } -} - -group { name: "elm/colorselector/item/default"; - parts { - part { name: "color_bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 40 40; - } - } - part { name: "color_obj"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1.to: "color_bg"; - rel2.to: "color_bg"; - } - } - part { name: "focus_color"; - scale: 1; - type: RECT; - description { state: "default" 0.0; - visible: 0; - min: 38 38; - rel1.to: "color_bg"; - rel2.to: "color_bg"; - color: 255 255 255 80; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "item_focus"; - source: "elm"; - signal: "elm,state,selected"; - action: STATE_SET "focused" 0.0; - target: "focus_color"; - } - program { name: "item_unfocus"; - source: "elm"; - signal: "elm,state,unselected"; - action: STATE_SET "default" 0.0; - target: "focus_color"; - } - program { - name: "item_pressed_anim"; - signal: "elm,anim,activate"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "focus_color"; - after: "item_unpressed_anim"; - } - program { - name: "item_unpressed_anim"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.2; - target: "focus_color"; - } - } -} - -group { name: "elm/colorselector/item/color/default"; - parts { - part { name: "color_rect"; - type: RECT; - scale: 1; - description{ state: "default" 0.0; - } - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/ctxpopup.edc b/legacy/elementary/data/themes/widgets/ctxpopup.edc deleted file mode 100644 index e1fe85f173..0000000000 --- a/legacy/elementary/data/themes/widgets/ctxpopup.edc +++ /dev/null @@ -1,461 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/ctxpopup/bg/noblock"; - parts { - part { name: "ctxpopup_bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } -} -group { name: "elm/ctxpopup/bg/default"; - parts { - part { name: "ctxpopup_bg"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - } - programs { - program { name: "clicked_event"; - signal: "mouse,clicked,1"; - source: "ctxpopup_bg"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "show"; - signal: "elm,state,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "ctxpopup_bg"; - transition: LINEAR 0.25; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "ctxpopup_bg"; - transition: LINEAR 0.25; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/ctxpopup/base/default"; - images { - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - } - parts { - part { name: "arrow_area_left"; - type: RECT; - mouse_events: 0; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - visible: 0; - min: 20 0; - fixed: 1 1; - align: 1 0.5; - rel1 { - to_y: "base"; - } - rel2 { - relative:0 1; - to:"base"; - } - } - } - part { name: "arrow_area_right"; - type: RECT; - mouse_events: 0; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - visible: 0; - min: 20 0; - fixed: 1 1; - align: 0 0.5; - rel1 { - relative: 1 0; - to:"base"; - } - rel2 { - to_y: "base"; - } - } - } - part { name: "arrow_area_up"; - type: RECT; - mouse_events: 0; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - visible: 0; - min: 0 20; - fixed: 1 1; - align: 0.5 1; - rel1 { - to_x: "base"; - } - rel2 { - relative: 1 0; - to:"base"; - } - } - } - part { name: "arrow_area_down"; - type: RECT; - mouse_events: 0; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - visible: 0; - min: 0 20; - fixed: 1 1; - align: 0.5 0; - rel1 { - relative: 0 1; - to:"base"; - } - rel2 { - to_x: "base"; - } - } - } - part { name: "elm.swallow.arrow_up"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - clip_to: "ctxpopup_clip"; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_up"; - } - description { state: "default" 0.0; - min: 36 20; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_down"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - clip_to: "ctxpopup_clip"; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_down"; - } - description { state: "default" 0.0; - min: 36 20; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_left"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - clip_to: "ctxpopup_clip"; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_left"; - } - description { state: "default" 0.0; - min: 20 36; - fixed: 1 1; - visible: 1; - } - } - part { name: "elm.swallow.arrow_right"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - clip_to: "ctxpopup_clip"; - dragable { - x: 1 1 0; - y: 1 1 0; - confine: "arrow_area_right"; - } - description { state: "default" 0.0; - min: 20 36; - fixed: 1 1; - visible: 1; - } - } - part { name: "base"; - scale: 1; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - rel1.offset: -3 -3; - rel2.offset: 3 3; - image { normal: "bt_base2.png"; - border: 7 7 7 7; - } - } - } - part { name: "over1"; - scale: 1; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - image { normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { name: "over2"; - scale: 1; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image { normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "ctxpopup_clip"; - description { state: "default" 0.0; - rel1 { to:"base"; offset: 4 4; } - rel2 { to:"base"; offset: -5 -5; } - } - } - part { name: "event_blocker"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "ctxpopup_clip"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1 { to:"base"; relative: 0 0; } - rel2 { to:"base"; relative: 0 1; } - } - description { state: "show_up" 0.0; - color: 255 255 255 0; - rel1 { to:"arrow_area_down"; relative: 0 1; } - rel2 { to:"arrow_area_down"; relative: 1 1; } - } - description { state: "show_left" 0.0; - color: 255 255 255 0; - rel1 { to:"arrow_area_right"; relative: 1 0; } - rel2 { to:"arrow_area_right"; relative: 1 1; } - } - description { state: "show_right" 0.0; - color: 255 255 255 0; - rel1 { to:"arrow_area_left"; relative: 0 0; } - rel2 { to:"arrow_area_left"; relative: 0 1; } - } - description { state: "show_down" 0.0; - color: 255 255 255 0; - rel1 { to:"arrow_area_up"; relative: 0 0; } - rel2 { to:"arrow_area_up"; relative: 1 0; } - } - description { state: "hide_up" 0.0; - color: 255 255 255 255; - rel1 { to:"arrow_area_down"; relative: 0 1; } - rel2 { to:"arrow_area_down"; relative: 1 1; } - } - description { state: "hide_left" 0.0; - color: 255 255 255 255; - rel1 { to:"arrow_area_right"; relative: 1 0; } - rel2 { to:"arrow_area_right"; relative: 1 1; } - } - description { state: "hide_right" 0.0; - color: 255 255 255 255; - rel1 { to:"arrow_area_left"; relative: 0 0; } - rel2 { to:"arrow_area_left"; relative: 0 1; } - } - description { state: "hide_down" 0.0; - color: 255 255 255 255; - rel1 { to:"arrow_area_up"; relative: 0 0; } - rel2 { to:"arrow_area_up"; relative: 1 0; } - } - description { state: "visible" 0.0; - color: 255 255 255 255; - rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; } - rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; } - } - } - } - programs { - program { name: "show"; - signal: "elm,state,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "ctxpopup_clip"; - target: "event_blocker"; - transition: LINEAR 0.25; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_blocker"; - } - program { name: "show_up"; - signal: "elm,state,show,up"; - source: "elm"; - action: STATE_SET "show_up" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - } - program { name: "show_left"; - signal: "elm,state,show,left"; - source: "elm"; - action: STATE_SET "show_left" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - } - program { name: "show_right"; - signal: "elm,state,show,right"; - source: "elm"; - action: STATE_SET "show_right" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - } - program { name: "show_down"; - signal: "elm,state,show,down"; - source: "elm"; - action: STATE_SET "show_down" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - } - program { name: "hide_up"; - signal: "elm,state,hide,up"; - source: "elm"; - action: STATE_SET "hide_up" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - after: "hide_finished"; - } - program { name: "hide_left"; - signal: "elm,state,hide,left"; - source: "elm"; - action: STATE_SET "hide_left" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - after: "hide_finished"; - } - program { name: "hide_right"; - signal: "elm,state,hide,right"; - source: "elm"; - action: STATE_SET "hide_right" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - after: "hide_finished"; - } - program { name: "hide_down"; - signal: "elm,state,hide,down"; - source: "elm"; - action: STATE_SET "hide_down" 0.0; - transition: LINEAR 0.25; - target: "ctxpopup_clip"; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" ""; - } - - } -} -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/ctxpopup/arrow/default"; - images { - image: "ctxpopup_arrow_left.png" COMP; - image: "ctxpopup_arrow_right.png" COMP; - image: "ctxpopup_arrow_up.png" COMP; - image: "ctxpopup_arrow_down.png" COMP; - } - parts { - part { name: "ctxpopup_arrow"; - type: IMAGE; - scale: 1; - description { - state: "default" 0.0; - min: 36 36; - fixed: 1 1; - visible: 0; - align: 0.5 0.5; - } - description { - state: "left" 0.0; - min: 20 36; - fixed: 1 1; - align: 0.0 0.5; - rel1 { offset: 3 0; } - rel2 { offset: 2 -1; } - image { normal: "ctxpopup_arrow_left.png"; } - } - description { state: "right" 0.0; - min: 20 36; - fixed: 1 1; - align: 1.0 0.5; - rel1 { offset: -5 0; } - rel2 { offset: -6 -1; } - image { normal: "ctxpopup_arrow_right.png"; } - } - description { state: "top" 0.0; - min: 36 20; - fixed: 1 1; - align: 0.5 0.0; - rel1 { offset: 0 5; } - rel2 { offset: -1 4; } - image { normal: "ctxpopup_arrow_up.png"; } - } - description { state: "bottom" 0.0; - min: 36 20; - fixed: 1 1; - align: 0.5 1.0; - rel1 { offset: 0 -5; } - rel2 { offset: -1 -6; } - image { normal: "ctxpopup_arrow_down.png"; } - } - } - } - programs { - program { name: "enable_left_arrow"; - signal: "elm,state,left"; - source: "elm"; - action: STATE_SET "left" 0.0; - target: "ctxpopup_arrow"; - } - program { name: "enable_right_arrow"; - signal: "elm,state,right"; - source: "elm"; - action: STATE_SET "right" 0.0; - target: "ctxpopup_arrow"; - } - program { name: "enable_top_arrow"; - signal: "elm,state,top"; - source: "elm"; - action: STATE_SET "top" 0.0; - target: "ctxpopup_arrow"; - } - program { name: "enable_bottom_arrow"; - signal: "elm,state,bottom"; - source: "elm"; - action: STATE_SET "bottom" 0.0; - target: "ctxpopup_arrow"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/datetime.edc b/legacy/elementary/data/themes/widgets/datetime.edc deleted file mode 100644 index aba6a4c472..0000000000 --- a/legacy/elementary/data/themes/widgets/datetime.edc +++ /dev/null @@ -1,182 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -// datetime -/////////////////////////////////////////////////////////////////////////////// - -#define DATETIME_FIELD(_pos) \ - part {\ - name: "field"#_pos; type: SWALLOW; \ - scale: 1;\ - clip_to: "clipper";\ - description { state: "default" 0.0; \ - visible: 0;\ - min: 0 0;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "separator"#_pos;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "separator"#_pos;\ - }\ - }\ - description { state: "enable" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - min: 13 13;\ - }\ - }\ - programs{\ - program { name: "field_"#_pos"enabled";\ - signal: "field"#_pos",enable";\ - source: "elm";\ - action: STATE_SET "enable" 0.0;\ - target: "field"#_pos;\ - }\ - program { name: "field_"#_pos"disabled";\ - signal: "field"#_pos",disable";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "field"#_pos;\ - }\ - } - -#define DATETIME_SEPARATOR(_pos,_after) \ - part {\ - name: "separator"#_pos; type: TEXT;\ - scale: 1;\ - description { state: "default" 0.0;\ - visible: 0;\ - min: 0 0;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "field"#_after;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "field"#_after;\ - }\ - color: 100 100 100 255;\ - text {\ - font: "Sans,Edje-Vera";\ - size: 10;\ - min: 1 0;\ - align: 0.2 0.5;\ - }\ - }\ - description { state: "enable" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - min: 13 13;\ - }\ - }\ - programs {\ - program { name: "separator"#_pos",enabled";\ - signal: "field"#_after",enable";\ - source: "elm";\ - action: STATE_SET "enable" 0.0;\ - target: "separator"#_pos;\ - }\ - program { name: "separator"#_pos",disabled";\ - signal: "field"#_after",disable";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "separator"#_pos;\ - }\ - } - - -group { name: "elm/datetime/base/default"; - parts { - part { name: "bg"; type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "separator0"; type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 13 13; - align: 0.0 0.5; - fixed: 1 0; - rel2 { - relative: 0.0 1.0; - to: "bg"; - } - } - } - DATETIME_FIELD(0) - DATETIME_SEPARATOR(1,0) - DATETIME_FIELD(1) - DATETIME_SEPARATOR(2,1) - DATETIME_FIELD(2) - DATETIME_SEPARATOR(3,2) - DATETIME_FIELD(3) - DATETIME_SEPARATOR(4,3) - DATETIME_FIELD(4) - DATETIME_SEPARATOR(5,4) - DATETIME_FIELD(5) - DATETIME_SEPARATOR(6,5) - part { name: "clipper"; type: RECT; - description { state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - to: "separator0"; - } - rel2 { - relative: 1.0 1.0; - to: "separator6"; - } - color: 255 255 255 255; - } - description { state: "enable" 0.0; - inherit: "default" 0.0; - color: 255 255 255 127; - } - } - part { name: "disabler"; type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - color: 0 0 0 0; - } - } - } - programs { - program { name: "disble_datetime"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "disabler"; - target: "clipper"; - } - program { name: "enable_datetime"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "clipper"; - } - } -}//end datetime group - -/////////////////////////////////////////////////////////////////////////////// -// end of datetime style -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/dayselector.edc b/legacy/elementary/data/themes/widgets/dayselector.edc deleted file mode 100644 index 0dd028956c..0000000000 --- a/legacy/elementary/data/themes/widgets/dayselector.edc +++ /dev/null @@ -1,476 +0,0 @@ -#define DAYSELECOR_DAY_POS_LEFT 1 -#define DAYSELECOR_DAY_POS_RIGHT 2 -#define DAYSELECOR_DAY_POS_MIDDLE 3 -#define DAYSELECOR_DAY_TYPE_WEEKDAY 1 -#define DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT 2 -#define DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 3 -#define DAYSELECOR_DAY_STATE_DEFAULT 1 -#define DAYSELECOR_DAY_STATE_PRESSED 2 -#define DAYSELECOR_DAY_STATE_SELECTED 3 - -#define DAYSELECTOR_DAY(_pos, _after)\ - part {\ - name: "day"#_pos;\ - type: SWALLOW;\ - scale: 1;\ - clip_to: "clipper";\ - description { state: "default" 0.0;\ - visible: 0;\ - min: 0 0;\ - align: 0.0 0.5;\ - fixed: 1 0;\ - rel1 {\ - relative: 1.0 0.0;\ - to: "day"#_after;\ - offset: 1 0;\ - }\ - rel2 {\ - relative: 1.0 1.0;\ - to: "day"#_after;\ - }\ - }\ - description { state: "visible" 0.0;\ - inherit: "default" 0.0;\ - visible: 1;\ - min: 40 25;\ - }\ - }\ - programs{\ - program {\ - name: "day"#_pos"visible";\ - signal: "day"#_pos",visible";\ - source: "elm";\ - action: STATE_SET "visible" 0.0;\ - target: "day"#_pos;\ - }\ - program {\ - name: "day"#_pos"notvisible";\ - signal: "day"#_pos",default";\ - source: "elm";\ - action: STATE_SET "default" 0.0;\ - target: "day"#_pos;\ - }\ - } - -group { name: "elm/dayselector/base/default"; - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { - state: "default" 0.0; - rel1 { - relative: 0.5 0.0; - to: "day0"; - } - rel2 { - relative: 0.5 1.0; - to: "day6"; - } - color: 199 199 199 255; - } - } - part { - name: "day0"; - type: SWALLOW; - scale: 1; - clip_to: "clipper"; - description { - state: "default" 0.0; - visible: 0; - min: 0 0; - align: 0.0 0.5; - fixed: 1 0; - rel2.relative: 0.0 1.0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: 40 25; - } - } - DAYSELECTOR_DAY(1, 0) - DAYSELECTOR_DAY(2, 1) - DAYSELECTOR_DAY(3, 2) - DAYSELECTOR_DAY(4, 3) - DAYSELECTOR_DAY(5, 4) - DAYSELECTOR_DAY(6, 5) - part { - name: "clipper"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "day0"; - rel2.to: "day6"; - color: 255 255 255 255; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 200 200 200 255; - } - } - part { - name: "disabler"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "disble_dayselector"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "disabler"; - target: "clipper"; - } - program { - name: "enable_dayselector"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - target: "clipper"; - } - program { - name: "day0_visible"; - signal: "day0,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "day0"; - } - program { - name: "day0_default"; - signal: "day0,default"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "day0"; - } - } -} - -group { name: "elm/check/base/dayselector/default"; - images { - image: "seg_single_normal.png" COMP; - image: "seg_left_normal.png" COMP; - image: "seg_left_pressed.png" COMP; - image: "seg_left_selected.png" COMP; - image: "seg_right_normal.png" COMP; - image: "seg_right_pressed.png" COMP; - image: "seg_right_selected.png" COMP; - image: "seg_middle_normal.png" COMP; - image: "seg_middle_pressed.png" COMP; - image: "seg_middle_selected.png" COMP; - } - script { - public check_pos; // Left, Right, Middle. - public check_type; // Weekday, Weekend. - public check_state = DAYSELECOR_DAY_STATE_DEFAULT; // Default, Pressed, Selected. - - public check_bg_show() { - if(get_int(check_pos) == DAYSELECOR_DAY_POS_LEFT) { - if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) - set_state(PART:"bg", "default_left", 0.0); - else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) - set_state(PART:"bg", "pressed_left", 0.0); - else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) - set_state(PART:"bg", "selected_left", 0.0); - } - else if(get_int(check_pos) == DAYSELECOR_DAY_POS_RIGHT) { - if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) - set_state(PART:"bg", "default_right", 0.0); - else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) - set_state(PART:"bg", "pressed_right", 0.0); - else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) - set_state(PART:"bg", "selected_right", 0.0); - } - else if(get_int(check_pos) == DAYSELECOR_DAY_POS_MIDDLE) { - if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT) - set_state(PART:"bg", "default_middle", 0.0); - else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED) - set_state(PART:"bg", "pressed_middle", 0.0); - else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) - set_state(PART:"bg", "selected_middle", 0.0); - } - } - public check_text_show() { - if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) - set_state(PART:"elm.text", "selected", 0.0); - else { - if(get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKDAY) - set_state(PART:"elm.text", "default", 0.0); - else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT) - set_state(PART:"elm.text", "weekend_default", 0.0); - else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1) - set_state(PART:"elm.text", "weekend_style1", 0.0); - } - } - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - image { - normal: "seg_single_normal.png"; - border: 7 7 7 7; - border_scale: 1; - middle: 1; - } - } - description { state: "default_left" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_left_normal.png"; - border: 6 1 7 7; - } - } - description { state: "default_right" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_right_normal.png"; - border: 1 6 7 7; - } - } - description { state: "default_middle" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_middle_normal.png"; - border: 2 2 2 2; - } - } - description { state: "pressed_left" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_left_pressed.png"; - border: 6 1 7 7; - } - } - description { state: "pressed_right" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_right_pressed.png"; - border: 1 6 7 7; - } - } - description { state: "pressed_middle" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_middle_pressed.png"; - border: 1 1 2 2; - } - } - description { state: "selected_left" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_left_selected.png"; - border: 6 3 7 7; - } - } - description { state: "selected_right" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_right_selected.png"; - border: 3 6 7 7; - } - } - description { state: "selected_middle" 0.0; - inherit: "default" 0.0; - image { - normal: "seg_middle_selected.png"; - border: 3 3 3 3; - } - } - } - part { - name: "left_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 5 0; - visible: 0; - fixed: 1 0; - align: 0.0 0.5; - rel2 { - relative: 0.0 1.0; - } - } - } - part { - name: "right_padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 5 0; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - } - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "left_padding"; - relative: 1.0 0.0; - } - rel2 { - to: "right_padding"; - relative: 0.0 1.0; - } - color: 224 224 224 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - } - } - description { - state: "weekend_default" 0.0; - inherit: "default" 0.0; - color: 225 49 8 255; - } - description { - state: "weekend_style1" 0.0; - inherit: "default" 0.0; - color: 60 100 255 255; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 50 50 50 255; - } - } - part { - name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "check,pressed"; - signal: "mouse,down,1"; - source: "events"; - script { - set_int(check_state, DAYSELECOR_DAY_STATE_PRESSED); - check_bg_show(); - } - } - program { - name: "check,toggle"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { - name: "check,on"; - signal: "elm,state,check,on"; - source: "elm"; - script { - set_int(check_state, DAYSELECOR_DAY_STATE_SELECTED); - check_bg_show(); - check_text_show(); - } - } - program { - name: "check,off"; - signal: "elm,state,check,off"; - source: "elm"; - script { - set_int(check_state, DAYSELECOR_DAY_STATE_DEFAULT); - check_bg_show(); - check_text_show(); - } - } - program { name: "check,left"; - signal: "elm,pos,check,left"; - source: "elm"; - script { - set_int(check_pos, DAYSELECOR_DAY_POS_LEFT); - check_bg_show(); - } - } - program { name: "check,right"; - signal: "elm,pos,check,right"; - source: "elm"; - script { - set_int(check_pos, DAYSELECOR_DAY_POS_RIGHT); - check_bg_show(); - } - } - program { name: "check,middle"; - signal: "elm,pos,check,middle"; - source: "elm"; - script { - set_int(check_pos, DAYSELECOR_DAY_POS_MIDDLE); - check_bg_show(); - } - } - program { name: "check,weekday"; - signal: "elm,type,weekday,default"; - source: ""; - script { - set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKDAY); - check_text_show(); - } - } - program { name: "check,weekend,default"; - signal: "elm,type,weekend,default"; - source: ""; - script { - set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT); - check_text_show(); - } - } - program { name: "check,weekend,style1"; - signal: "elm,type,weekend,style1"; - source: ""; - script { - set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1); - check_text_show(); - } - } - } -} - -#undef DAYSELECOR_DAY_POS_LEFT -#undef DAYSELECOR_DAY_POS_RIGHT -#undef DAYSELECOR_DAY_POS_MIDDLE -#undef DAYSELECOR_DAY_TYPE_WEEKDAY -#undef DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT -#undef DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 -#undef DAYSELECOR_DAY_STATE_DEFAULT -#undef DAYSELECOR_DAY_STATE_PRESSED -#undef DAYSELECOR_DAY_STATE_SELECTED -#undef DAYSELECTOR_DAY diff --git a/legacy/elementary/data/themes/widgets/diskselector.edc b/legacy/elementary/data/themes/widgets/diskselector.edc deleted file mode 100644 index 4c3310e953..0000000000 --- a/legacy/elementary/data/themes/widgets/diskselector.edc +++ /dev/null @@ -1,427 +0,0 @@ -group { name: "elm/diskselector/base/default"; - images { - image: "bar_shine.png" COMP; - } - - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 255; - } - } - part { name: "shine_left"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.relative: -0.1 0; - rel2.to: "bg"; - rel2.relative: 0.1 1; - image.normal: "bar_shine.png"; - color: 255 255 255 120; - } - } - part { name: "shine_center"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.relative: 0.2 0; - rel2.to: "bg"; - rel2.relative: 0.8 1; - image.normal: "bar_shine.png"; - color: 255 255 255 180; - } - } - part { name: "shine_right"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.relative: 0.9 0; - rel2.to: "bg"; - rel2.relative: 1.1 1; - image.normal: "bar_shine.png"; - color: 255 255 255 120; - } - } - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 2 2; - rel2.offset: -3 -3; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } -} - -group { name: "elm/diskselector/item/default"; - - data { - item: "len_threshold" "14"; - item: "display_item_num" "3"; - item: "min_height" "-1"; - item: "min_width" "-1"; - } - - parts { - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0 0; - offset: 1 1; - } - rel2 { - relative: 0 1; - offset: 1 -2; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: 10 10; - aspect: 1.0 1.0; - } - description { state: "default_small" 0.0; - inherit: "default" 0.0; - rel1.relative: 0 0.2; - rel2.relative: 0 0.8; - min: 10 10; - aspect: 1.0 1.0; - } - description { state: "left_side" 0.0; - inherit: "default" 0.0; - rel1.relative: 0 0.2; - rel2.relative: 0 0.8; - color: 255 255 255 160; - min: 10 10; - aspect: 1.0 1.0; - } - description { state: "right_side" 0.0; - inherit: "left_side" 0.0; - rel1.relative: 0.4 0.2; - rel2.relative: 0.4 0.8; - color: 255 255 255 160; - min: 10 10; - aspect: 1.0 1.0; - } - description { state: "icon_only" 0.0; - inherit: "default" 0.0; - align: 0.5 0.5; - rel1.relative: 0 0; - rel2.relative: 1 1; - min: 10 10; - aspect: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 1 0.0; - rel1.to_x: "elm.swallow.icon"; - rel2.relative: 1.0 1.0; - visible: 0; - text { - font: "Sans,Edje-Vera"; - size: 10; - align: 0.5 0.5; - min: 0 1; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "default_small" 0.0; - inherit: "default" 0.0; - visible: 1; - text.size: 10; - } - description { state: "left_side" 0.0; - inherit: "default" 0.0; - color: 172 172 172 255; - text.size: 8; - visible: 1; - text.align: 0.2 0.5; - } - description { state: "right_side" 0.0; - inherit: "default" 0.0; - color: 172 172 172 255; - visible: 1; - text.size: 8; - text.align: 0.8 0.5; - } - description { state: "text_only" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.relative: 0 0; - rel2.relative: 1 1; - } - description { state: "text_only_left_side" 0.0; - inherit: "left_side" 0.0; - rel1.relative: 0 0; - rel2.relative: 1 1; - } - description { state: "text_only_right_side" 0.0; - inherit: "right_side" 0.0; - visible: 1; - rel1.relative: 0 0; - rel2.relative: 1 1; - } - } - part { name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - - programs { - script { - public item_style; // 0:icon and text, 1:text only, 2:con only - } - program { name: "center_text"; - signal: "elm,state,center"; - source: "elm"; - script { - if (get_int(item_style) == 1) - set_state(PART:"elm.text", "text_only", 0.0); - else if (get_int(item_style) == 2) - set_state(PART:"elm.swallow.icon", "icon_only", 0.0); - else - { - set_state(PART:"elm.text", "show", 0.0); - set_state(PART:"elm.swallow.icon", "show", 0.0); - } - } - } - program { name: "center_small_text"; - signal: "elm,state,center_small"; - source: "elm"; - action: STATE_SET "default_small" 0.0; - target: "elm.text"; - target: "elm.swallow.icon"; - } - program { name: "l_side_text"; - signal: "elm,state,left_side"; - source: "elm"; - script { - if (get_int(item_style) == 1) - set_state(PART:"elm.text", "text_only_left_side", 0.0); - else if (get_int(item_style) == 2) - set_state(PART:"elm.swallow.icon", "left_side", 0.0); - else - { - set_state(PART:"elm.text", "left_side", 0.0); - set_state(PART:"elm.swallow.icon", "left_side", 0.0); - } - } - } - program { name: "r_side_text"; - signal: "elm,state,right_side"; - source: "elm"; - script { - if (get_int(item_style) == 1) - set_state(PART:"elm.text", "text_only_right_side", 0.0); - else if (get_int(item_style) == 2) - set_state(PART:"elm.swallow.icon", "right_side", 0.0); - else - { - set_state(PART:"elm.text", "right_side", 0.0); - set_state(PART:"elm.swallow.icon", "right_side", 0.0); - } - } - } - program { name: "icon_only"; - signal: "elm,state,icon,only"; - source: "elm"; - script { - set_state(PART:"elm.swallow.icon", "icon_only", 0.0); - set_int(item_style, 2); - } - } - program { name: "text_only"; - signal: "elm,state,text,only"; - source: "elm"; - script { - set_state(PART:"elm.text", "text_only", 0.0); - set_int(item_style, 1); - } - } - program { name: "text_icon"; - signal: "elm,state,text,icon"; - source: "elm"; - script { - set_int(item_style, 0); - } - } - program { name: "field_click"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -// diskselector item : datetime style -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/diskselector/item/datetime/default"; - data { - item: "len_threshold" "10"; - item: "min_height" "-1"; - item: "min_width" "-1"; - } - parts { - part { name: "elm.text"; type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 10 10; - align: 0.0 0.0; - color: 172 172 172 255; - visible: 1; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - } - } - description { state: "center_sel" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "left_side" 0.0; - inherit: "default" 0.0; - color: 152 152 152 255; - text.align: 0.2 0.5; - } - description { state: "left_side_sel" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - text.align: 0.2 0.5; - } - description { state: "right_side" 0.0; - inherit: "default" 0.0; - color: 152 152 152 255; - text.align: 0.8 0.5; - } - description { state: "right_side_sel" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - text.align: 0.8 0.5; - } - } - part { name: "over1"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - script { - public field_pos; // center = 0,left = 1, right =2. - public field_selected; //field is selected(1) or not(0). - - public update_state() { - new pos, is_sel; - pos = get_int(field_pos) - is_sel = get_int(field_selected); - if (is_sel == 1) - { - if (pos == 0) - set_state(PART:"elm.text", "center_sel", 0.0); - else if (pos == 1) - set_state(PART:"elm.text", "left_side_sel", 0.0); - else if (pos == 2) - set_state(PART:"elm.text", "right_side_sel", 0.0); - } - else if (is_sel == 0) - { - if (pos == 0) - set_state(PART:"elm.text", "default", 0.0); - else if (pos == 1) - set_state(PART:"elm.text", "left_side", 0.0); - else if (pos == 2) - set_state(PART:"elm.text", "right_side", 0.0); - } - } - } - program { name: "selected_text"; - signal: "elm,state,selected"; - source: "elm"; - script { - set_int(field_selected, 1); - update_state(); - } - } - program { name: "default_text"; - signal: "elm,state,default"; - source: "elm"; - script { - set_int(field_selected, 0); - update_state(); - } - } - program { name: "center_text"; - signal: "elm,state,center"; - source: "elm"; - script { - set_int(field_pos, 0); - update_state(); - } - } - program { name: "center_small_text"; - signal: "elm,state,center_small"; - source: "elm"; - script { - set_int(field_pos, 0); - update_state(); - } - } - program { name: "l_side_text"; - signal: "elm,state,left_side"; - source: "elm"; - script { - set_int(field_pos, 1); - update_state(); - } - } - program { name: "r_side_text"; - signal: "elm,state,right_side"; - source: "elm"; - script { - set_int(field_pos, 2); - update_state(); - } - } - program { name: "field_click"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/entry.edc b/legacy/elementary/data/themes/widgets/entry.edc deleted file mode 100644 index af440dc62b..0000000000 --- a/legacy/elementary/data/themes/widgets/entry.edc +++ /dev/null @@ -1,1625 +0,0 @@ -group { name: "elm/scroller/entry/default"; - - data { - item: "focus_highlight" "on"; - } - - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - images { - image: "shelf_inset.png" COMP; - image: "bt_sm_base2.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "sl_bt2_2.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 2 2; - rel2.offset: -3 -3; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 2 2; - rel2.offset: -3 -3; - } - } - part { name: "contentclipper"; - type: RECT; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.icon"; - rel1.relative: 1.0 0.0; - rel2.to: "elm.swallow.end"; - rel2.relative: 0.0 1.0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "bg"; - relative: -1.0 0.0; - offset: 0 0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - offset: -1 -1; - } - visible: 0; - } - description { state: "visible" 0.0; - fixed: 1 1; - align: 0.0 1.0; - rel1 { - to: "bg"; - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - to: "bg"; - relative: 0.0 1.0; - offset: -1 -1; - } - visible: 1; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "bg"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - to: "bg"; - relative: 1.0 1.0; - offset: -1 -1; - } - visible: 0; - } - description { state: "visible" 0.0; - fixed: 1 1; - align: 1.0 1.0; - rel1 { - to: "bg"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - to: "bg"; - relative: 1.0 1.0; - offset: -1 -1; - } - visible: 1; - } - } - part { name: "elm.swallow.content"; - clip_to: "contentclipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -5 -5; - } - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: 200 155 0 255; - } - } - part { name: "focus_highlight"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -1 -1; - rel2.offset: 0 0; - image { - normal: "sl_bt2_2.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - color: 200 155 0 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: 200 155 0 255; - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 10 17; - align: 1.0 0.0; - rel1 { - relative: 0.0 0.0; - offset: -2 2; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.end"; - } - rel2 { - relative: 0.0 0.0; - offset: -2 -1; - to_y: "sb_hbar"; - to_x: "elm.swallow.end"; - } - } - } - part { name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 10 17; - max: 10 99999; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 6 6 6 6; - middle: SOLID; - } - } - } - part { name: "sb_vbar_over1"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - } - part { name: "sb_vbar_over2"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - } - - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 17 10; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - offset: 2 0; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_x: "sb_vbar"; - to_y: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - max: 99999 10; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 4 4 4 4; - middle: SOLID; - } - } - } - part { name: "sb_hbar_over1"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "sb_hbar_over2"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_shine.png"; - border: 4 4 4 0; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - } - } - program { name: "icon_show"; - signal: "elm,action,show,icon"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { name: "icon_hide"; - signal: "elm,action,hide,icon"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "end_show"; - signal: "elm,action,show,end"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,action,hide,end"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - target: "conf_over"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - target: "conf_over"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -// emoticon images from: -// Tanya - Latvia -// http://lazycrazy.deviantart.com/ -// http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621 -group { name: "elm/entry/emoticon/angry/default"; images.image: - "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-angry.png"; } } } } -group { name: "elm/entry/emoticon/angry-shout/default"; images.image: - "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-angry-shout.png"; } } } } -group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image: - "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-crazy-laugh.png"; } } } } -group { name: "elm/entry/emoticon/evil-laugh/default"; images.image: - "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-evil-laugh.png"; } } } } -group { name: "elm/entry/emoticon/evil/default"; images.image: - "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-evil.png"; } } } } -group { name: "elm/entry/emoticon/goggle-smile/default"; images.image: - "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-goggle-smile.png"; } } } } -group { name: "elm/entry/emoticon/grumpy/default"; images.image: - "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-grumpy.png"; } } } } -group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image: - "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-grumpy-smile.png"; } } } } -group { name: "elm/entry/emoticon/guilty/default"; images.image: - "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-guilty.png"; } } } } -group { name: "elm/entry/emoticon/guilty-smile/default"; images.image: - "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-guilty-smile.png"; } } } } -group { name: "elm/entry/emoticon/haha/default"; images.image: - "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-haha.png"; } } } } -group { name: "elm/entry/emoticon/half-smile/default"; images.image: - "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-half-smile.png"; } } } } -group { name: "elm/entry/emoticon/happy-panting/default"; images.image: - "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-happy-panting.png"; } } } } -group { name: "elm/entry/emoticon/happy/default"; images.image: - "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-happy.png"; } } } } -group { name: "elm/entry/emoticon/indifferent/default"; images.image: - "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-indifferent.png"; } } } } -group { name: "elm/entry/emoticon/kiss/default"; images.image: - "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-kiss.png"; } } } } -group { name: "elm/entry/emoticon/knowing-grin/default"; images.image: - "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-knowing-grin.png"; } } } } -group { name: "elm/entry/emoticon/laugh/default"; images.image: - "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-laugh.png"; } } } } -group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image: - "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-little-bit-sorry.png"; } } } } -group { name: "elm/entry/emoticon/love-lots/default"; images.image: - "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-love-lots.png"; } } } } -group { name: "elm/entry/emoticon/love/default"; images.image: - "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-love.png"; } } } } -group { name: "elm/entry/emoticon/minimal-smile/default"; images.image: - "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-minimal-smile.png"; } } } } -group { name: "elm/entry/emoticon/not-happy/default"; images.image: - "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-not-happy.png"; } } } } -group { name: "elm/entry/emoticon/not-impressed/default"; images.image: - "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-not-impressed.png"; } } } } -group { name: "elm/entry/emoticon/omg/default"; images.image: - "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-omg.png"; } } } } -group { name: "elm/entry/emoticon/opensmile/default"; images.image: - "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-opensmile.png"; } } } } -group { name: "elm/entry/emoticon/smile/default"; images.image: - "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-smile.png"; } } } } -group { name: "elm/entry/emoticon/sorry/default"; images.image: - "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-sorry.png"; } } } } -group { name: "elm/entry/emoticon/squint-laugh/default"; images.image: - "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-squint-laugh.png"; } } } } -group { name: "elm/entry/emoticon/surprised/default"; images.image: - "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-surprised.png"; } } } } -group { name: "elm/entry/emoticon/suspicious/default"; images.image: - "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-suspicious.png"; } } } } -group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image: - "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-tongue-dangling.png"; } } } } -group { name: "elm/entry/emoticon/tongue-poke/default"; images.image: - "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-tongue-poke.png"; } } } } -group { name: "elm/entry/emoticon/uh/default"; images.image: - "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-uh.png"; } } } } -group { name: "elm/entry/emoticon/unhappy/default"; images.image: - "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-unhappy.png"; } } } } -group { name: "elm/entry/emoticon/very-sorry/default"; images.image: - "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-very-sorry.png"; } } } } -group { name: "elm/entry/emoticon/what/default"; images.image: - "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-what.png"; } } } } -group { name: "elm/entry/emoticon/wink/default"; images.image: - "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-wink.png"; } } } } -group { name: "elm/entry/emoticon/worried/default"; images.image: - "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-worried.png"; } } } } -group { name: "elm/entry/emoticon/wtf/default"; images.image: - "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: - "emo-wtf.png"; } } } } - //------------------------------------------------------------ -group { name: "elm/entry/base/default"; - styles - { - style { name: "entry_textblock_style"; - base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry left_margin=2 right_margin=2"; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_textblock_disabled_style"; - base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry left_margin=2 right_margin=2"; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_textblock_guide_style"; - base: "font=Sans font_size=10 color=#00000040 wrap=word text_class=entry left_margin=2 right_margin=2 ellipsis=0.0"; - tag: "em" "+ font_style=Oblique"; - tag: "hilight" "+ font_weight=Bold"; - } - } - data { - // item: context_menu_orientation "horizontal"; - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale: 1; - entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; - multiline: 1; - source: "elm/entry/selection/default"; // selection under - // source2: "X"; // selection over - // source3: "X"; // cursor under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - // source6: "X"; // anchor over - source7: "elm/entry/handler/start/default"; - source8: "elm/entry/handler/end/default"; - description { state: "default" 0.0; - /* we gotta use 0 0 here, because of scrolled entries */ - fixed: 0 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } - programs { - program { name: "focus"; - signal: "load"; - source: ""; - action: FOCUS_SET; - target: "elm.text"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "gdisable"; - signal: "elm,guide,disabled"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "elm.guide"; - } - program { name: "genable"; - signal: "elm,guide,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.guide"; - } - } -} - -group { name: "elm/entry/base-mixedwrap/default"; - inherit: "elm/entry/base/default"; - styles - { - style { name: "entry_textblock_style_mixedwrap"; - base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry left_margin=2 right_margin=2"; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_textblock_disabled_style_mixedwrap"; - base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry left_margin=2 right_margin=2"; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_textblock_guide_style_mixedwrap"; - base: "font=Sans font_size=10 color=#00000040 wrap=mixed text_class=entry left_margin=2 right_margin=2 ellipsis=0.0"; - tag: "em" "+ font_style=Oblique"; - tag: "hilight" "+ font_weight=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style_mixedwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style_mixedwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_mixedwrap"; - min: 0 1; - } - } - } - } -} - -group { name: "elm/entry/base-charwrap/default"; - inherit: "elm/entry/base/default"; - styles - { - style { name: "entry_textblock_style_charwrap"; - base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry left_margin=2 right_margin=2"; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_textblock_disabled_style_charwrap"; - base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry left_margin=2 right_margin=2"; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_textblock_guide_style_charwrap"; - base: "font=Sans font_size=10 color=#00000040 wrap=char text_class=entry left_margin=2 right_margin=2 ellipsis=0.0"; - tag: "em" "+ font_style=Oblique"; - tag: "hilight" "+ font_weight=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style_charwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style_charwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_charwrap"; - min: 0 1; - } - } - } - } -} - -group { name: "elm/entry/base-nowrap/default"; - inherit: "elm/entry/base/default"; - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_textblock_guide_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - min: 0 1; - } - } - } - } -} - -group { name: "elm/entry/base-single/default"; - inherit: "elm/entry/base/default"; - styles - { - style { name: "entry_single_textblock_style"; - base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry left_margin=2 right_margin=2"; - tag: "br" ""; - tag: "ps" ""; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#800 underline=on underline_color=#8008"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_single_textblock_disabled_style"; - base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry left_margin=2 right_margin=2"; - tag: "br" ""; - tag: "ps" ""; - tag: "em" "+ font_style=Oblique"; - tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; - tag: "hilight" "+ font_weight=Bold"; - tag: "preedit" "+ underline=on underline_color=#000"; - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#FFFFFF"; - } - style { name: "entry_single_textblock_guide_style"; - base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry left_margin=2 right_margin=2 ellipsis=0.0"; - tag: "br" ""; - tag: "ps" ""; - tag: "em" "+ font_style=Oblique"; - tag: "hilight" "+ font_weight=Bold"; - } - } - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - multiline: 0; - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } -} - -group { name: "elm/entry/base-single-noedit/default"; - inherit: "elm/entry/base/default"; - parts { - part { name: "elm.text"; - entry_mode: PLAIN; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - source4: ""; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } -} - -group { name: "elm/entry/base-noedit/default"; - inherit: "elm/entry/base/default"; - parts { - part { name: "elm.text"; - entry_mode: PLAIN; - source: "elm/entry/selection/default"; // selection under - source4: ""; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } -} - -group { name: "elm/entry/base-noedit-mixedwrap/default"; - inherit: "elm/entry/base/default"; - parts { - part { name: "elm.text"; - entry_mode: PLAIN; - source: "elm/entry/selection/default"; // selection under - source4: ""; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style_mixedwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_mixedwrap"; - } - } - } - } -} - -group { name: "elm/entry/base-noedit-charwrap/default"; - inherit: "elm/entry/base/default"; - parts { - part { name: "elm.text"; - entry_mode: PLAIN; - source: "elm/entry/selection/default"; // selection under - source4: ""; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - fixed: 1 0; - text { - style: "entry_textblock_style_charwrap"; - min: 0 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style_charwrap"; - } - } - } - } -} - -group { name: "elm/entry/base-nowrap-noedit/default"; - inherit: "elm/entry/base/default"; - parts { - part { name: "elm.text"; - entry_mode: PLAIN; - source: "elm/entry/selection/default"; // selection under - source4: ""; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_textblock_style"; - min: 1 1; - align: 0.0 0.0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_textblock_disabled_style"; - } - } - } - } -} - -group { name: "elm/entry/base-password/default"; - inherit: "elm/entry/base/default"; - parts { - part { name: "elm.guide"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - text { - style: "entry_single_textblock_guide_style"; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - entry_mode: PASSWORD; - multiline: 0; - source: "elm/entry/selection/default"; // selection under - source4: "elm/entry/cursor/default"; // cursorover - source5: "elm/entry/anchor/default"; // anchor under - description { state: "default" 0.0; - text { - style: "entry_single_textblock_style"; - repch: "*"; - min: 1 1; - max: 0 0; - align: 0.0 0.5; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text { - style: "entry_single_textblock_disabled_style"; - } - } - } - } -} - -group { name: "elm/entry/cursor/default"; - images { - image: "cur_box.png" COMP; - image: "cur_hi.png" COMP; - image: "cur_shad.png" COMP; - image: "cur_shine.png" COMP; - image: "cur_glow.png" COMP; - } - parts { - part { name: "clip2"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "clip"; - rel2.to: "clip"; - visible: 0; - } - description { state: "focused" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "clip"; - type: RECT; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.offset: -10 0; - rel2.offset: 9 9; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "bg"; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.offset: -2 0; - rel2.to: "base"; - rel2.offset: 1 1; - image.border: 2 2 2 2; - image.normal: "cur_shad.png"; - } - } - part { name: "base"; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - min: 2 2; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - rel1.offset: 0 -1; - rel2.relative: 1.0 1.0; - rel2.offset: -1 -1; - image.normal: "cur_box.png"; - } - } - part { name: "hi"; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - image.normal: "cur_hi.png"; - } - } - part { name: "shine"; - mouse_events: 0; - clip_to: "clip"; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.75; - image.border: 2 2 1 0; - image.normal: "cur_shine.png"; - fill.smooth: 0; - } - } - part { name: "glow"; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.relative: 0.0 -2.0; - rel1.offset: -2 0; - rel2.to: "base"; - rel2.relative: 1.0 0.0; - rel2.offset: 1 1; - image.border: 2 2 0 4; - image.normal: "cur_glow.png"; - fill.smooth: 0; - color: 255 255 255 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 55; - visible: 1; - } - } - } - programs { - program { name: "blink"; - action: STATE_SET "visible" 0.0; - in: 0.2 0.0; - target: "clip"; - after: "blink2"; - } - program { name: "blink2"; - action: STATE_SET "visible" 0.0; - in: 0.2 0.0; - target: "glow"; - after: "blink3"; - } - program { name: "blink3"; - action: STATE_SET "default" 0.0; - in: 0.2 0.0; - target: "glow"; - after: "blink4"; - } - program { name: "blink4"; - action: STATE_SET "default" 0.0; - in: 0.2 0.0; - target: "clip"; - after: "blink"; - } - program { name: "noblink"; - action: ACTION_STOP; - target: "blink"; - target: "blink2"; - target: "blink3"; - target: "blink4"; - after: "noblink2"; - } - program { name: "noblink2"; - action: STATE_SET "default" 0.0; - target: "clip"; - target: "glow"; - } - program { name: "focused"; - signal: "elm,action,focus"; - source: "elm"; - action: STATE_SET "focused" 0.0; - target: "clip2"; - after: "blink"; - } - program { name: "unfocused"; - signal: "elm,action,unfocus"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "clip2"; - after: "noblink"; - } - } -} - -group { name: "elm/entry/selection/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 128 128 128; - } - } - } -} - -group { name: "elm/entry/anchor/default"; - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 128 0 0 64; - } - } - } -} -group { name: "elm/entry/handler/start/default"; - images { - image: "handler_start.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - color: 0 0 0 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "handler"; - mouse_events: 1; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 1 0; - fixed: 1 1; - min: 16 22; - image { - normal: "handler_start.png"; - } - rel1 { - to: "bg"; - relative: 0 1; - } - rel2 { - to: "bg"; - relative: 0 1; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,handler,show"; - source: "edje"; - action: STATE_SET "show" 0.0; - target: "bg"; - target: "handler"; - } - program { name: "hide"; - signal: "edje,handler,hide"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "handler"; - } - } -} - -group { name: "elm/entry/handler/end/default"; - images { - image: "handler_end.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - color: 0 0 0 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "handler"; - mouse_events: 1; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0 0; - fixed: 1 1; - min: 16 22; - image { - normal: "handler_end.png"; - } - rel1 { - to: "bg"; - relative: 1 1; - } - rel2 { - to: "bg"; - relative: 1 1; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "show"; - signal: "edje,handler,show"; - source: "edje"; - action: STATE_SET "show" 0.0; - target: "bg"; - target: "handler"; - } - program { name: "hide"; - signal: "edje,handler,hide"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "handler"; - } - } -} - -group { name: "elm/entry/magnifier/default"; - images { - image: "magnifier_bg.png" COMP; - image: "magnifier_line.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 100 55; - fixed: 1 1; - align: 0 0; - image { - normal: "magnifier_bg.png"; - } - image.middle: SOLID; - fill.smooth: 1; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "bg"; - offset: 4 4; - } - rel2 { - to: "bg"; - offset: -8 -8; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "outline"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - image { - normal: "magnifier_line.png"; - } - image.middle: SOLID; - fill.smooth: 1; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - } - programs { - program { name: "magnifier_show"; - signal: "elm,action,show,magnifier"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "elm.swallow.content"; - target: "outline"; - } - program { name: "magnifier_hide"; - signal: "elm,action,hide,magnifier"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "bg"; - target: "elm.swallow.content"; - target: "outline"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/fileselector.edc b/legacy/elementary/data/themes/widgets/fileselector.edc deleted file mode 100644 index 78b5962e60..0000000000 --- a/legacy/elementary/data/themes/widgets/fileselector.edc +++ /dev/null @@ -1,224 +0,0 @@ -group { name: "elm/entry/path/separator/default"; - images.image: "arrow_right.png" COMP; - parts { - part { name: "icon"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "arrow_right.png"; - max: 64 64; - aspect: 1.0 1.0; - } - } - } -} - -group { name: "elm/fileselector/base/default"; - data { - item: "path_separator" ""; - } - parts { - part { name: "elm.swallow.up"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - min: 10 10; - fixed: 1 1; - rel2 { - relative: 0.0 0.0; - offset: 0 0; - } - } - } - part { name: "elm.swallow.home"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - min: 10 10; - fixed: 1 1; - rel1 { - to: "elm.swallow.up"; - relative: 1.0 0.0; - offset: 5 0; - } - rel2 { - to: "elm.swallow.up"; - relative: 1.0 1.0; - offset: 20 -1; - } - } - } - part { name: "elm.spinner.clip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "elm.swallow.spinner"; - rel2.to: "elm.swallow.spinner"; - color: 255 255 255 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.spinner"; - type: SWALLOW; - clip_to: "elm.spinner.clip"; - description { state: "default" 0.0; - align: 1.0 0.0; - min: 10 10; - fixed: 1 1; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 0.0; - } - } - part { name: "elm.swallow.files"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.0; - min: 10 10; - rel1 { - to_y: "elm.swallow.home"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to_y: "elm.swallow.path"; - relative: 1.0 0.0; - offset: -1 -1; - } - } - } - part { name: "elm.swallow.path"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 1 1; - rel1 { - to_y: "elm.swallow.filename"; - relative: 0.0 0.0; - offset: 0 -1; - } - rel2 { - to_y: "elm.swallow.filename"; - relative: 1.0 0.0; - offset: -1 -1; - } - } - } - // TODO: Rename it to elm.swallow.name at elm 2.0. - part { name: "elm.swallow.filename"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 1 1; - rel1 { - to_y: "elm.swallow.filters"; - relative: 0.0 0.0; - offset: 0 -1; - } - rel2 { - to_y: "elm.swallow.filters"; - relative: 1.0 0.0; - offset: -1 -1; - } - } - } - part { name: "elm.swallow.filters"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 1.0; - fixed: 1 1; - rel1 { - to_y: "elm.swallow.ok"; - relative: 1.0 0.0; - offset: 0 -1; - } - rel2 { - to_y: "elm.swallow.ok"; - relative: 1.0 0.0; - offset: -1 -1; - } - } - } - part { name: "elm.swallow.cancel"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 1.0; - fixed: 1 1; - rel1 { - to: "elm.swallow.ok"; - relative: 0.0 0.0; - offset: -3 0; - } - rel2 { - to: "elm.swallow.ok"; - relative: 0.0 1.0; - offset: -3 -1; - } - } - } - part { name: "elm.swallow.ok"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 1.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - programs { - program { name: "spinner_show"; - signal: "elm,action,spinner,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.2; - target: "elm.spinner.clip"; - } - program { name: "spinner_hide"; - signal: "elm,action,spinner,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2 CURRENT; - target: "elm.spinner.clip"; - } - program { name: "save_on"; - signal: "elm,state,save,on"; - source: "elm"; - } - program { name: "save_off"; - signal: "elm,state,save,off"; - source: "elm"; - } - } -} - -group { name: "elm/fileselector_entry/base/default"; - parts { - part { name: "elm.swallow.entry"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - min: 50 10; - rel2 { to_x: "elm.swallow.button"; - relative: 0.0 1.0; - offset: -1 -1; - } - } - } - part { name: "elm.swallow.button"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.0; - min: 10 10; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -21 0; - } - } - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/flipselector.edc b/legacy/elementary/data/themes/widgets/flipselector.edc deleted file mode 100644 index da7e4d8b03..0000000000 --- a/legacy/elementary/data/themes/widgets/flipselector.edc +++ /dev/null @@ -1,516 +0,0 @@ -#define FLIP_PICKER_MAX_LEN (50) -#define FLIP_PICKER_MAX_LEN_STR "50" - -group { name: "elm/flipselector/base/default"; - images { - image: "flip_base.png" COMP; - image: "flip_base_shad.png" COMP; - image: "flip_shad.png" COMP; - image: "arrow_up.png" COMP; - image: "arrow_down.png" COMP; - image: "flip_t.png" COMP; - image: "flip_b.png" COMP; - } - data { - item: "max_len" FLIP_PICKER_MAX_LEN_STR; - } - //FIXME: quick successive clicks on, say, up, lead to nastiness - script { - public cur, prev, next, lock; - -  flip_up(str[]) { - new tmp[FLIP_PICKER_MAX_LEN]; - if (get_int(lock) == 1) { - replace_str(next, 0, str); - return; - } - fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); - - set_text(PART:"bottom_b", tmp); - - set_state(PART:"elm.top", "shrink", 0.0); - set_text(PART:"elm.top", tmp); - set_state(PART:"elm.top", "default", 0.0); - set_text(PART:"elm.top", tmp); - - replace_str(prev, 0, tmp); - - set_state(PART:"elm.bottom", "default", 0.0); - set_text(PART:"elm.bottom", str); - set_state(PART:"elm.bottom", "shrink", 0.0); - set_text(PART:"elm.bottom", str); - - set_text(PART:"top_b", str); - - replace_str(cur, 0, str); - - set_state(PART:"bottom_sheet", "shrink", 0.0); - set_state(PART:"top_sheet", "default", 0.0); - - set_int(lock, 1); - set_state(PART:"shadow", "default", 0.0); - anim(0.2, "animator_top_down", 1); - } -  flip_dn(str[]) { - new tmp[FLIP_PICKER_MAX_LEN]; - if (get_int(lock) == 1) { - replace_str(next, 0, str); - return; - } - - fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN); - - set_text(PART:"top_b", tmp); - - set_state(PART:"elm.bottom", "shrink", 0.0); - set_text(PART:"elm.bottom", tmp); - set_state(PART:"elm.bottom", "default", 0.0); - set_text(PART:"elm.bottom", tmp); - - replace_str(prev, 0, tmp); - - set_state(PART:"elm.top", "default", 0.0); - set_text(PART:"elm.top", str); - set_state(PART:"elm.top", "shrink", 0.0); - set_text(PART:"elm.top", str); - - set_text(PART:"bottom_b", str); - - replace_str(cur, 0, str); - - set_state(PART:"bottom_sheet", "default", 0.0); - set_state(PART:"top_sheet", "shrink", 0.0); - - set_int(lock, 1); - set_state(PART:"shadow", "full", 0.0); - anim(0.2, "animator_bottom_up", 1); - } - public animator_bottom_down(val, Float:pos) { - new tmp[FLIP_PICKER_MAX_LEN]; - - set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0); - set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default", - 0.0); - set_tween_state(PART:"shadow", pos, "half", 0.0, "full", - 0.0); - - if (pos >= 1.0) { - set_state(PART:"shadow", "default", 0.0); - set_int(lock, 0); - - fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); - if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { - replace_str(next, 0, ""); - flip_up(tmp); - } - } - } - public animator_top_down(val, Float:pos) { - set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0); - set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink", - 0.0); - set_tween_state(PART:"shadow", pos, "default", 0.0, "half", - 0.0); - - if (pos >= 1.0) - anim(0.2, "animator_bottom_down", val); - } - public animator_bottom_up(val, Float:pos) { - set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0); - set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink", - 0.0); - set_tween_state(PART:"shadow", pos, "full", 0.0, "half", - 0.0); - - if (pos >= 1.0) - anim(0.2, "animator_top_up", val); - } - public animator_top_up(val, Float:pos) { - new tmp[FLIP_PICKER_MAX_LEN]; - - set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0); - set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default", - 0.0); - set_tween_state(PART:"shadow", pos, "half", 0.0, "default", - 0.0); - - if (pos >= 1.0) { - set_state(PART:"shadow", "default", 0.0); - set_int(lock, 0); - - fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); - if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { - replace_str(next, 0, ""); - flip_dn(tmp); - } - } - } - public message(Msg_Type:type, id, ...) { - /* flip down */ - if ((type == MSG_STRING) && (id == 1)) { - new value[FLIP_PICKER_MAX_LEN]; - snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); - flip_up(value); - } - - /* flip up */ - if ((type == MSG_STRING) && (id == 2)) { - new value[FLIP_PICKER_MAX_LEN]; - snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2)); - flip_dn(value); - } - } - } - parts { - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -4 -4; - rel1.to: "base"; - rel2.offset: 3 3; - rel2.to: "base"; - image { - normal: "flip_base_shad.png"; - border: 8 8 8 8; - } - } - } - part { name: "base"; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - min: 24 48; - image.normal: "flip_base.png"; - } - } - part { name: "b"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.relative: 0.0 0.5; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "t"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - color: 0 0 0 0; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "bottom_sheet_static"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "flip_b.png"; - } - } - part { name: "bottom_b"; - mouse_events: 0; - clip_to: "bottom_clipper"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 255; - color2: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 30; - min: 1 1; - align: 0.5 0.5; - } - } - } - part { name: "shadow"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - rel2.relative: 1.0 0.0; - image.normal: "flip_shad.png"; - } - description { state: "half" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 0.5; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "bottom_sheet"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "flip_b.png"; - } - description { state: "shrink" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2.relative: 1.0 0.0; - } - } - part { name: "elm.bottom"; - mouse_events: 0; - clip_to: "bottom_clipper"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 255; - color2: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 30; - min: 1 1; - align: 0.5 0.5; - } - } - description { state: "shrink" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */ - } - } - part { name: "top_sheet_static"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "flip_t.png"; - } - } - part { name: "top_b"; - mouse_events: 0; - clip_to: "top_clipper"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 255; - color2: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 30; - min: 1 1; - align: 0.5 0.5; - source: "elm.top"; - } - } - } - part { name: "top_sheet"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 1; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "flip_t.png"; - } - description { state: "shrink" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 0; - rel1.relative: 0.0 1.0; - } - } - part { name: "elm.top"; - mouse_events: 0; - clip_to: "top_clipper"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 255; - color2: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 30; - min: 1 1; - align: 0.5 0.5; - } - } - description { state: "shrink" 0.0; - inherit: "default" 0.0; - visible: 0; - rel1.relative: 0.0 0.5; - } - } - part { name: "arrow_top"; - mouse_events: 0; - clip_to: "disclip"; - scale: 1; - description { state: "default" 0.0; - min: 15 15; - max: 15 15; - align: 0.5 0.0; - rel1.to: "t"; - rel2.to: "t"; - image.normal: "arrow_up.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "arrow_bottom"; - mouse_events: 0; - clip_to: "disclip"; - scale: 1; - description { state: "default" 0.0; - min: 15 15; - max: 15 15; - align: 0.5 1.0; - rel1.to: "b"; - rel2.to: "b"; - image.normal: "arrow_down.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - type: RECT; - mouse_events: 0; - name: "top_clipper"; - clip_to: "disclip"; - description { - state: "default" 0.0; - rel1.to: "t"; - rel2.to: "t"; - visible: 1; - } - } - part { - type: RECT; - mouse_events: 0; - name: "bottom_clipper"; - clip_to: "disclip"; - description { - state: "default" 0.0; - rel1.to: "b"; - rel2.to: "b"; - visible: 1; - } - } - part { - type: RECT; - name: "disclip"; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "enabled" 0.0; - color: 100 100 100 100; - } - } - part { - type: RECT; - name: "event_blocker"; - description { - state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { - state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - append_str(cur, ""); - append_str(prev, ""); - append_str(next, ""); - set_int(lock, 0); - } - } - - program { name: "hide_arrows"; - signal: "elm,state,button,hidden"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "arrow_top"; - target: "arrow_bottom"; - target: "t"; - target: "b"; - } - - program { name: "show_arrows"; - signal: "elm,state,button,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow_top"; - target: "arrow_bottom"; - target: "t"; - target: "b"; - } - - program { name: "up"; - signal: "mouse,down,1"; - source: "t"; - action: SIGNAL_EMIT "elm,action,up,start" ""; - } - program { name: "up,stop"; - signal: "mouse,up,1"; - source: "t"; - action: SIGNAL_EMIT "elm,action,up,stop" ""; - } - program { name: "down"; - signal: "mouse,down,1"; - source: "b"; - action: SIGNAL_EMIT "elm,action,down,start" ""; - } - program { name: "down,stop"; - signal: "mouse,up,1"; - source: "b"; - action: SIGNAL_EMIT "elm,action,down,stop" ""; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "disclip"; - target: "event_blocker"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - target: "event_blocker"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/focus_highlight.edc b/legacy/elementary/data/themes/widgets/focus_highlight.edc deleted file mode 100644 index 064e7f592b..0000000000 --- a/legacy/elementary/data/themes/widgets/focus_highlight.edc +++ /dev/null @@ -1,172 +0,0 @@ - group { name: "elm/focus_highlight/top/default"; - images { - image: "emo-unhappy.png" COMP; - } - - data { - item: "animate" "on"; - } - - script { - public s_x, s_y, s_w, s_h; /* source */ - public difx, dify, difw, difh; - public rot_dir; - - public animator1(val, Float:pos) { - new x, y, w, h, dx, dy, dw, dh, Float:rot; - - dx = round(float_mul(float(get_int(difx)), pos)); - x = get_int(s_x) + dx; - dy = round(float_mul(float(get_int(dify)), pos)); - y = get_int(s_y) + dy; - dw = round(float_mul(float(get_int(difw)), pos)); - w = get_int(s_w) + dw; - dy = round(float_mul(float(get_int(difh)), pos)); - h = get_int(s_h) + dh; - - update_offset(x, y, w, h); - - rot = 360.0 * pos * float(get_int(rot_dir)); - set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot); - - if (pos >= 1.0) { - emit("elm,action,focus,anim,end", ""); - set_state(PART:"shine", "default", 0.0); - } - } - - public update_offset(x, y, w, h) { - new x1, y1, x2, y2; - x1 = x + w - 15; - y1 = y - 15; - x2 = x + w + 14; - y2 = y + 14; - set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1); - set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2); - } - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_INT_SET) && (id == 1)) { - new x1, y1, w1, h1; - new x2, y2, w2, h2; - new px1, px2, py1, py2; - new rd; - - x1 = getarg(2); - y1 = getarg(3); - w1 = getarg(4); - h1 = getarg(5); - x2 = getarg(6); - y2 = getarg(7); - w2 = getarg(8); - h2 = getarg(9); - - set_int(s_x, x1); - set_int(s_y, y1); - set_int(s_w, w1); - set_int(s_h, h1); - set_int(difx, x2 - x1); - set_int(dify, y2 - y1); - set_int(difw, w2 - w1); - set_int(difh, h2 - h1); - - px1 = x1 + w1; - px2 = x2 + w2; - py1 = y1 + h1; - py2 = y2 + h2; - if (px2 > px1) { - rd = 1; - } else if (px1 > px2) { - rd = -1; - } else { - if (py2 > py1) { - rd = 1; - } else { - rd = -1; - } - } - set_int(rot_dir, rd); - - custom_state(PART:"shine", "default", 0.0); - set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0); - set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0); - set_state_val(PART:"shine", STATE_MAP_ON, 1); - set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0); - update_offset(x1, y1, w1, h1); - set_state(PART:"shine", "custom", 0.0); - - anim(0.2, "animator1", 1); - } - } - } - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - visible: 0; - } - } - part { name: "shine"; - type: IMAGE; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "emo-unhappy.png"; - } - rel1.to: "base"; - rel1.relative: 1.0 0.0; - rel1.offset: -15 -15; - rel2.to: "base"; - rel2.relative: 1.0 0.0; - rel2.offset: 14 14; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - - program { name: "show"; - signal: "elm,action,focus,show"; - source: "elm"; - action: ACTION_STOP; - target: "hide"; - target: "hide_start"; - target: "hide_end"; - after: "show_start"; - } - program { name: "show_start"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "shine"; - after: "show_end"; - } - program { name: "show_end"; - action: SIGNAL_EMIT "elm,action,focus,show,end" ""; - } - program { name: "hide"; - signal: "elm,action,focus,hide"; - source: "elm"; - action: ACTION_STOP; - target: "show"; - target: "show_start"; - target: "show_end"; - after: "hide_start"; - } - program { name: "hide_start"; - action: STATE_SET "disabled" 0.0; - transition: LINEAR 0.2; - target: "shine"; - after: "hide_end"; - } - program { name: "hide_end"; - action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; - } - } - } diff --git a/legacy/elementary/data/themes/widgets/frame.edc b/legacy/elementary/data/themes/widgets/frame.edc deleted file mode 100644 index 07937fb456..0000000000 --- a/legacy/elementary/data/themes/widgets/frame.edc +++ /dev/null @@ -1,380 +0,0 @@ -group { name: "elm/frame/base/default"; - images { - image: "frame_1.png" COMP; - image: "frame_2.png" COMP; - image: "dia_grad.png" COMP; - } - parts { - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "dia_grad.png"; - rel1.to: "over"; - rel2.to: "over"; - fill { - smooth: 0; - size { - relative: 0.0 1.0; - offset: 64 0; - } - } - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - rel2.to: "elm.swallow.content"; - rel2.offset: 9 9; - image { - normal: "frame_2.png"; - border: 5 5 32 26; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 0 1; - rel1 { - relative: 0.0 0.0; - offset: 6 6; - } - rel2 { - relative: 1.0 0.0; - offset: -7 6; - } - color: 0 0 0 64; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 1 1; - max: 1 1; - align: 0.0 0.0; - } - } - } - part { name: "over"; - mouse_events: 0; - description { state: "default" 0.0; - min: 2 2; - rel1.offset: 4 4; - rel2.to: "clip"; - rel2.offset: 5 5; - image { - normal: "frame_1.png"; - border: 2 2 28 22; - middle: 0; - } - fill.smooth : 0; - } - } - part { - name: "clip"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - to_y: "elm.text"; - relative: 0.0 1.0; - offset: 8 2; - } - rel2.offset: -9 -9; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clip"; - description { state: "default" 0.0; - align: 0.0 1.0; - rel1 { - to_y: "elm.text"; - relative: 0.0 1.0; - offset: 8 2; - } - rel2.offset: -9 -9; - } - description { state: "collapsed" 0.0; - inherit: "default" 0.0; - minmul: 1.0 0.0; - } - } - part { name: "event"; - type: RECT; - mouse_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to_y: "elm.text"; - rel2.to_y: "elm.text"; - } - } - } - programs { - program { name: "collapse"; - action: STATE_SET "collapsed" 0.0; - target: "elm.swallow.content"; - transition: BOUNCE 0.5 1.0 3; - after: "signal"; - } - program { name: "expand"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - transition: BOUNCE 0.5 1.0 3; - after: "signal"; - } - program { name: "click"; - signal: "mouse,up,1"; - source: "event"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - } - program { name: "toggle"; - signal: "elm,action,toggle"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "default")) - run_program(PROGRAM:"collapse"); - else - run_program(PROGRAM:"expand"); - } - } - program { name: "switch"; - signal: "elm,action,switch"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "default")) - set_state(PART:"elm.swallow.content", "collapsed", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - program { name: "signal"; - action: SIGNAL_EMIT "elm,anim,done" "elm"; - } - } -} - -group { name: "elm/frame/base/pad_small"; - parts { - part { name: "b0"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 4 4; - max: 4 4; - align: 0.0 0.0; - } - } - part { name: "b1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 4 4; - max: 4 4; - align: 1.0 1.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "b0"; - relative: 1.0 1.0; - offset: 0 0; - } - rel2 { - to: "b1"; - relative: 0.0 0.0; - offset: -1 -1; - } - } - } - } -} - -group { name: "elm/frame/base/pad_medium"; - parts { - part { name: "b0"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 8 8; - max: 8 8; - align: 0.0 0.0; - } - } - part { name: "b1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 8 8; - max: 8 8; - align: 1.0 1.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "b0"; - relative: 1.0 1.0; - offset: 0 0; - } - rel2 { - to: "b1"; - relative: 0.0 0.0; - offset: -1 -1; - } - } - } - } -} - -group { name: "elm/frame/base/pad_large"; - parts { - part { name: "b0"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 16 16; - max: 16 16; - align: 0.0 0.0; - } - } - part { name: "b1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 16 16; - max: 16 16; - align: 1.0 1.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "b0"; - relative: 1.0 1.0; - offset: 0 0; - } - rel2 { - to: "b1"; - relative: 0.0 0.0; - offset: -1 -1; - } - } - } - } -} - -group { name: "elm/frame/base/pad_huge"; - parts { - part { name: "b0"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 32 32; - max: 32 32; - align: 0.0 0.0; - } - } - part { name: "b1"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "default" 0.0; - visible: 0; - min: 32 32; - max: 32 32; - align: 1.0 1.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to: "b0"; - relative: 1.0 1.0; - offset: 0 0; - } - rel2 { - to: "b1"; - relative: 0.0 0.0; - offset: -1 -1; - } - } - } - } -} - -group { name: "elm/frame/base/outdent_top"; - images { - image: "outdent-top.png" COMP; - } - parts { - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "outdent-top.png"; - image.border: 0 0 0 13; - fill.smooth: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 2 2; - rel2.offset: -3 -13; - } - } - } -} - -group { name: "elm/frame/base/outdent_bottom"; - images { - image: "outdent-bottom.png" COMP; - } - parts { - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "outdent-bottom.png"; - image.border: 0 0 13 0; - fill.smooth: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 2 12; - rel2.offset: -3 -3; - } - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/gengrid.edc b/legacy/elementary/data/themes/widgets/gengrid.edc deleted file mode 100644 index a2e54e0b6f..0000000000 --- a/legacy/elementary/data/themes/widgets/gengrid.edc +++ /dev/null @@ -1,1527 +0,0 @@ -group { name: "elm/gengrid/item/default/default"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -10 -10; - } - rel2 { - relative: 1.0 1.0; - offset: 12 12; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "base_sh"; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 1.0; - offset: 0 -10; - } - rel2 { - to_y: "elm.text"; - relative: 0.0 0.0; - offset: -1 -1; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "elm.swallow.icon.area"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "elm.swallow.icon.area"; - rel2.to: "elm.swallow.icon.area"; - } - } - part { name: "elm.swallow.icon.area"; - clip_to: "disclip"; - type: RECT; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: -1 4; - } - rel2 { - to_y: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.0; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel1 { - relative: 1.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 5 5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.5 0.0; - text_class: "grid_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - } -} - -// TEXTBLOCK version of default style -group { name: "elm/gengrid/item/default_style/default"; - styles - { - style { name: "gengrid_style"; - base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - style { name: "gengrid_selected_style"; - base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - } - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -10 -10; - } - rel2 { - relative: 1.0 1.0; - offset: 12 12; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "base_sh"; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - min: 16 28; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - to_y: "base"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "base"; - relative: 0.0 0.5; - offset: -1 -5; - } - text { - style: "gengrid_style"; - min: 1 1; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - text { - style: "gengrid_selected_style"; - } - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - } -} - -// 'up' icon + text part -group { name: "elm/gengrid/item/up/default"; - data.item: "texts" "elm.text"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "arrow_up.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2.offset: 2 2; - image { normal: "bt_sm_base1.png"; - border: 6 6 6 6; - middle: SOLID; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "image"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - aspect_preference: BOTH; - aspect: 1.0 1.0; - image.normal: "arrow_up.png"; - rel2 { - to_y: "elm.text"; - relative: 1.0 0.0; - offset: -1 -2; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 20 -25; - } - rel2 { - relative: 1.0 1.0; - offset: -21 -3; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.5 0.0; - text_class: "grid_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2 { - relative: 1.0 0.5; - offset: 2 -1; - } - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2.offset: 2 2; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -// 4 icons + 1 floder image + 1 text -group { name: "elm/gengrid/item/album-preview/default"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4"; - data.item: "states" "have_files"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "icon_folder.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2.offset: 2 2; - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - middle: SOLID; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "image"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - aspect_preference: BOTH; - aspect: 1.0 1.0; - image.normal: "icon_folder.png"; - rel2 { - to_y: "elm.text"; - relative: 1.0 0.0; - offset: -1 -2; - } - } - } - part { name: "have-files-clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - visible: 1; - } - } - part { name: "icon_box_margin"; - type: RECT; - mouse_events: 0; - clip_to: "have-files-clipper"; - description { state: "default" 0.0; - color: 0 0 0 255; - rel1 { - to: "icon_box"; - offset: -1 -1; - } - rel2 { - to: "icon_box"; - offset: 0 0; - } - } - } - part { name: "icon_box"; - type: RECT; - mouse_events: 0; - clip_to: "have-files-clipper"; - description { state: "default" 0.0; - color: 255 255 255 255; - align: 1.0 1.0; - min: 32 32; - rel1 { - relative: 0.25 0.25; - offset: 0 0; - } - rel2 { - relative: 1.0 0.0; - offset: -11 -4; - to_y: "elm.text"; - } - } - } - part { name: "elm.swallow.icon.1"; - type: SWALLOW; - mouse_events: 0; - clip_to: "have-files-clipper"; - description { state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - to: "icon_box"; - } - rel2 { - relative: 0.5 0.5; - offset: -1 -1; - to: "icon_box"; - } - } - } - part { name: "elm.swallow.icon.2"; - type: SWALLOW; - mouse_events: 0; - clip_to: "have-files-clipper"; - description { state: "default" 0.0; - rel1 { - relative: 0.5 0.0; - to: "icon_box"; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -1; - to: "icon_box"; - } - } - } - part { name: "elm.swallow.icon.3"; - type: SWALLOW; - mouse_events: 0; - clip_to: "have-files-clipper"; - description { state: "default" 0.0; - rel1 { - relative: 0.0 0.5; - to: "icon_box"; - } - rel2 { - relative: 0.5 1.0; - offset: -1 -1; - to: "icon_box"; - } - } - } - part { name: "elm.swallow.icon.4"; - type: SWALLOW; - mouse_events: 0; - clip_to: "have-files-clipper"; - description { state: "default" 0.0; - rel1 { - relative: 0.5 0.5; - to: "icon_box"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "icon_box"; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 20 -30; - } - rel2 { - relative: 1.0 1.0; - offset: -21 -15; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.5 0.0; - text_class: "grid_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2 { - relative: 1.0 0.5; - offset: 2 -1; - } - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2.offset: 2 2; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - signal: "elm,state,have_files,active"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "have-files-clipper"; - } - } -} - -// thumbnail background image -group { name: "elm/gengrid/item/thumb/default"; - data { - item: "contents" "elm.swallow.icon"; - item: "texts" "elm.text"; - } - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "thumb_shadow.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2.offset: 2 2; - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - middle: SOLID; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "border-shadow"; - type: IMAGE; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "elm.swallow.icon"; - offset: -18 -18; - } - rel2 { - to_x: "elm.swallow.icon"; - to_y: "elm.text"; - offset: 17 17; - } - image { - normal: "thumb_shadow.png"; - border: 17 17 17 17; - middle: NONE; - } - } - } - part { name: "border"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "border-shadow"; - offset: 16 16; - } - rel2 { - to: "border-shadow"; - offset: -15 -15; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - mouse_events: 0; - description { state: "default" 0.0; - aspect_preference: BOTH; - aspect: 1.0 1.0; - rel1.offset: 0 8; - rel2 { - to_y: "elm.text"; - relative: 1.0 0.0; - offset: -1 -2; - } - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 255; - color3: 0 0 0 0; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - offset: 20 -30; - } - rel2 { - relative: 1.0 1.0; - offset: -21 -15; - } - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.5 0.0; - text_class: "grid_item"; - } - } - } - part { name: "fg1"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2 { - relative: 1.0 0.5; - offset: 2 -1; - } - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.offset: -3 -3; - rel2.offset: 2 2; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - } - program { - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - transition: LINEAR 0.1; - } - } -} - -// group index style -group { name: "elm/gengrid/item/group_index/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "group_index.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 0; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "group_index.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/genlist.edc b/legacy/elementary/data/themes/widgets/genlist.edc deleted file mode 100644 index fe1720b664..0000000000 --- a/legacy/elementary/data/themes/widgets/genlist.edc +++ /dev/null @@ -1,12074 +0,0 @@ -group { name: "elm/genlist/item/default/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - data.item: "flips" "elm.text.flip"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 1.0; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.flip"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_y: "elm.text"; - rel2.to_y: "elm.text"; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - set_state(PART:"elm.text", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - set_state(PART:"elm.text", "default", vl); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { name: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "flip_enabled" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - target: "elm.swallow.end"; - } - program { name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - target: "elm.swallow.end"; - } - } -} - -group { name: "elm/genlist/item/full/default"; - alias: "elm/genlist/item_compress/full/default"; - data.item: "selectraise" "on"; - data.item: "contents" "elm.swallow.content"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 1.0; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.content"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - } -} - -group { name: "elm/genlist/item/one_icon/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon"; - data.item: "treesize" "20"; - data.item: "flips" "elm.text.flip"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 1.0; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.flip"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_y: "elm.text"; - rel2.to_y: "elm.text"; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - set_state(PART:"elm.text", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - set_state(PART:"elm.text", "default", vl); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { name: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "flip_enabled" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - } - program { name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - } - } -} - -group { name: "elm/genlist/item/end_icon/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon"; - data.item: "treesize" "20"; - data.item: "flips" "elm.text.flip"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 1.0; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.flip"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_y: "elm.text"; - rel2.to_y: "elm.text"; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - set_state(PART:"elm.text", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - set_state(PART:"elm.text", "default", vl); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { name: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "flip_enabled" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - } - program { name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - } - } -} - -group { name: "elm/genlist/item/no_icon/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "treesize" "20"; - data.item: "flips" "elm.text.flip"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 1.0; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.flip"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_y: "elm.text"; - rel2.to_y: "elm.text"; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - set_state(PART:"elm.text", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - set_state(PART:"elm.text", "default", vl); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { name: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "flip_enabled" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - } - program { name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - } - } -} - -group { name: "elm/genlist/item/group_index/default"; - alias: "elm/genlist/item_compress/group_index/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "group_index.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "group_index.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_compress/message/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.title.1 elm.title.2 elm.text"; - // data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - styles { - style { name: "genlist_textblock_style"; - base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - style { name: "genlist_textblock_style2"; - base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "tab" "\t"; - } - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.title.1"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 0 1; - // min: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - color: 0 0 0 255; - color3: 0 0 0 0; - align: 0.0 0.0; - text { - font: "Sans"; - size: 10; - min: 0 1; - // min: 1 1; - align: 0.0 0.0; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.title.2"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 0 1; - // min: 16 16; - rel1 { - to_y: "elm.title.1"; - relative: 0.0 1.0; - offset: 4 0; - } - rel2 { - to_y: "elm.title.1"; - relative: 1.0 1.0; - offset: -5 0; - } - color: 0 0 0 255; - color3: 0 0 0 0; - align: 0.0 0.0; - text { - font: "Sans"; - size: 10; - min: 0 1; - // min: 1 1; - align: 0.0 0.0; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // fixed: 0 1; - // min: 16 16; - rel1 { - to_y: "elm.title.2"; - relative: 0.0 1.0; - offset: 4 0; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - align: 0.0 0.0; - text { - style: "genlist_textblock_style"; - min: 0 1; - // min: 1 1; - align: 0.0 0.0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - text { - style: "genlist_textblock_style2"; - } - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.title.1"; - target: "elm.title.2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.title.1"; - target: "elm.title.2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -group { name: "elm/genlist/item_compress/default/default"; - inherit: "elm/genlist/item/default/default"; - data.item: "texts" "elm.text"; - parts { - part { name: "elm.text"; - description { state: "default" 0.0; - text.min: 0 1; - } - description { state: "selected" 0.0; - text.min: 0 1; - } - description { state: "flip_enabled" 0.0; - text.min: 0 1; - } - } - } -} - -group { name: "elm/genlist/item_compress/one_icon/default"; - inherit: "elm/genlist/item/one_icon/default"; - data.item: "texts" "elm.text"; - parts { - part { name: "elm.text"; - description { state: "default" 0.0; - text.min: 0 1; - } - description { state: "selected" 0.0; - text.min: 0 1; - } - description { state: "flip_enabled" 0.0; - text.min: 0 1; - } - } - } -} - -group { name: "elm/genlist/item_compress/end_icon/default"; - inherit: "elm/genlist/item/end_icon/default"; - data.item: "texts" "elm.text"; - parts { - part { name: "elm.text"; - description { state: "default" 0.0; - text.min: 0 1; - } - description { state: "selected" 0.0; - text.min: 0 1; - } - description { state: "flip_enabled" 0.0; - text.min: 0 1; - } - } - } -} - -group { name: "elm/genlist/item_compress/no_icon/default"; - inherit: "elm/genlist/item/no_icon/default"; - data.item: "texts" "elm.text"; - parts { - part { name: "elm.text"; - description { state: "default" 0.0; - text.min: 0 1; - } - description { state: "selected" 0.0; - text.min: 0 1; - } - description { state: "flip_enabled" 0.0; - text.min: 0 1; - } - } - } -} - -group { name: "elm/genlist/tree/default/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "icon_arrow_left.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - image.normal: "icon_arrow_left.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - description { state: "active" 0.1; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - set_state(PART:"arrow", "active", vl); - } - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - set_state(PART:"arrow", "default", vl); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - if (vl == 0.0) { - set_state(PART:"arrow", st, 0.1); - } - } - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - if (vl == 0.1) { - set_state(PART:"arrow", st, 0.0); - } - } - } - } -} -group { name: "elm/genlist/tree_compress/default/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "icon_arrow_left.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - image.normal: "icon_arrow_left.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - description { state: "active" 0.1; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - set_state(PART:"arrow", "active", vl); - } - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - set_state(PART:"arrow", "default", vl); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - if (vl == 0.0) { - set_state(PART:"arrow", st, 0.1); - } - } - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - if (vl == 0.1) { - set_state(PART:"arrow", st, 0.0); - } - } - } - } -} -group { name: "elm/genlist/item/default_style/default"; - styles - { - style { name: "genlist_style"; - base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - style { name: "genlist_selected_style"; - base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - } - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 28; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - to_y: "base"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "base"; - relative: 0.0 0.5; - offset: -1 -5; - } - text { - style: "genlist_style"; - min: 1 1; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - text { - style: "genlist_selected_style"; - } - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_odd/default_style/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 28; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - to_y: "base"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "base"; - relative: 0.0 0.5; - offset: -1 -5; - } - text { - style: "genlist_style"; - min: 1 1; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - text { - style: "genlist_selected_style"; - } - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -group { name: "elm/genlist/tree/default_style/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 28; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXTBLOCK; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - to_y: "base"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "base"; - relative: 0.0 0.5; - offset: -1 -5; - } - text { - style: "genlist_style"; - min: 1 1; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - text { - style: "genlist_selected_style"; - } - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} -group { name: "elm/genlist/tree_odd/default_style/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 28; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXTBLOCK; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - to_y: "base"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "base"; - relative: 0.0 0.5; - offset: -1 -5; - } - text { - style: "genlist_style"; - min: 1 1; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - text { - style: "genlist_selected_style"; - } - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} - - -group { name: "elm/genlist/item/double_label/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_compress/double_label/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_odd/double_label/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_compress_odd/double_label/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -group { name: "elm/genlist/tree/double_label/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} -group { name: "elm/genlist/tree_compress/double_label/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} -group { name: "elm/genlist/tree_odd/double_label/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 1 1; - // min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} - -group { name: "elm/genlist/item/icon_top_text_bottom/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 0.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_y: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 0 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_odd/icon_top_text_bottom/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - to_x: "elm.swallow.pad"; - relative: 0.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_y: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 0 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -group { name: "elm/genlist/tree/icon_top_text_bottom/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_y: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 0 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} -group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.5 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_y: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 0 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} - - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/genlist/tree_compress_odd/double_label/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text elm.text.sub"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - // data.item: "states" ""; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.sub"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.5; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - target: "elm.text.sub"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "arrow"; - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} - -group { name: "elm/genlist/item_compress/media/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.title elm.text.album-artist"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.text.title"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.album-artist"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.album-artist"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.album-artist"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_compress_odd/media/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.title elm.text.album-artist"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.text.title"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.album-artist"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.album-artist"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.album-artist"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -group { name: "elm/genlist/item_compress/media-album/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.title elm.text.trackno elm.text.length"; - data.item: "states" "elm.state.trackno"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - script { - public dot_visible; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { - name: "elm.text.trackno"; - type: TEXT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - align: 0.0 0.0; - fixed: 1 0; - rel1 { - to_y: "elm.text.title"; - relative: 0.0 0.0; - offset: 5 0; - } - rel2 { - to_y: "elm.text.title"; - relative: 0.0 1.0; - offset: 20 0; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 1.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { - name: "dot"; - type: TEXT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - visible: 0; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to_x: "elm.text.trackno"; - to_y: "elm.text.title"; - relative: 1.0 0.0; - offset: 1 0; - } - rel2 { - to_x: "elm.text.trackno"; - to_y: "elm.text.title"; - relative: 1.0 1.0; - offset: 1 0; - - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.0 0.5; - text: "."; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - visible: 1; - } - } - programs { - program { - signal: "elm,state,elm.state.trackno,active"; - source: "elm"; - script { - set_state(PART:"dot", "visible", 0.0); - set_int(dot_visible, 1); - } - } - } - part { name: "elm.text.title"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "dot"; - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.length"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.trackno"; - target: "elm.text.length"; - after: "dot_active"; - } - program { - name: "dot_active"; - script { - if (get_int(dot_visible) == 1) - set_state(PART:"dot", "selected", 0.0); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.length"; - target: "elm.text.trackno"; - transition: LINEAR 0.1; - after: "dot_passive"; - } - program { - name: "dot_passive"; - script { - if (get_int(dot_visible) == 1) - set_state(PART:"dot", "visible", 0.0); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_compress_odd/media-album/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.title elm.text.trackno elm.text.length"; - data.item: "states" "elm.state.trackno"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - script { - public dot_visible; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { - name: "elm.text.trackno"; - type: TEXT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - align: 0.0 0.0; - fixed: 1 0; - rel1 { - to_y: "elm.text.title"; - relative: 0.0 0.0; - offset: 5 0; - } - rel2 { - to_y: "elm.text.title"; - relative: 0.0 1.0; - offset: 20 0; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 1.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { - name: "dot"; - type: TEXT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - visible: 0; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to_x: "elm.text.trackno"; - to_y: "elm.text.title"; - relative: 1.0 0.0; - offset: 1 0; - } - rel2 { - to_x: "elm.text.trackno"; - to_y: "elm.text.title"; - relative: 1.0 1.0; - offset: 1 0; - - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.0 0.5; - text: "."; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - visible: 1; - } - } - programs { - program { - signal: "elm,state,elm.state.trackno,active"; - source: "elm"; - script { - set_state(PART:"dot", "visible", 0.0); - set_int(dot_visible, 1); - } - } - } - part { name: "elm.text.title"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "dot"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.length"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.length"; - target: "elm.text.trackno"; - after: "dot_active"; - } - program { - name: "dot_active"; - script { - if (get_int(dot_visible) == 1) - set_state(PART:"dot", "selected", 0.0); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.length"; - target: "elm.text.trackno"; - transition: LINEAR 0.1; - after: "dot_passive"; - } - program { - name: "dot_passive"; - script { - if (get_int(dot_visible) == 1) - set_state(PART:"dot", "visible", 0.0); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -group { name: "elm/genlist/item_compress/media-preview/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.title elm.text.artist"; - data.item: "contents" "elm.swallow.preview"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.preview"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - min: 68 68; - max: 68 68; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.text.title"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.swallow.preview"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.artist"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.swallow.preview"; - relative: 1.0 0.5; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.artist"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.artist"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/genlist/item_compress_odd/media-preview/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.title elm.text.artist"; - data.item: "contents" "elm.swallow.preview"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.preview"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - min: 68 68; - max: 68 68; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - } - part { name: "elm.text.title"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.swallow.preview"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "elm.text.artist"; - clip_to: "disclip"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.swallow.preview"; - relative: 1.0 0.5; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -5; - } - color: 0 0 0 128; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 8; - min: 0 1; - align: 0.0 0.5; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 0 0 0 32; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.artist"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text.title"; - target: "elm.text.artist"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} - -group { name: "elm/genlist/item/mode/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.mode"; - data.item: "contents" "elm.swallow.mode"; - data.item: "mode_part" "elm.swallow.origin"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.text.mode"; - clip_to: "disclip"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel2.relative: 0.5 1.0; - color: 0 0 0 255; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - } - part { name: "elm.swallow.mode"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.5 0.0; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - // Transparent part between base parts and slidable parts - part { name: "event_block_layer"; - type: RECT; - clip_to: "disclip"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "repeat_events" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "pers"; - clip_to: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.relative: 0.0 1.0; - } - } - part { name: "elm.swallow.origin"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - rel1.relative: 1 0; - rel2.relative: 2 1; - } - description { state: "rotate" 0.0; - inherit: "default" 0.0; - map { - perspective: "pers"; - on: 1; - smooth: 1; - perspective_on: 1; - backface_cull: 1; - rotation { - center: "pers"; - x: 0.0; - y: 0.0; - z: 0.0; - } - } - } - description { state: "rotate" 1.0; - inherit: "default" 0.0; - map { - perspective: "pers"; - on: 1; - smooth: 1; - perspective_on: 1; - backface_cull: 1; - rotation { - center: "pers"; - x: 90.0; - y: 0.0; - z: 0.0; - } - } - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "slide_right"; - signal: "elm,state,slide,active"; - source: "elm"; - action: STATE_SET "slide" 0.0; - target: "elm.swallow.origin"; - transition: ACCELERATE 0.5 CURRENT; - after: "unblock_event"; - } - program { - name: "unblock_event"; - action: STATE_SET "repeat_events" 0.0; - target: "event_block_layer"; - } - program { - name: "slide_left"; - signal: "elm,state,slide,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "slide_left2"; - } - program { - name: "slide_left2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - transition: DECELERATE 0.5 CURRENT; - after: "slide_left_finished"; - } - program { - name: "slide_left_finished"; - action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; - } - program { - name: "rotate_on"; - signal: "elm,state,rotate,active"; - source: "elm"; - action: STATE_SET "rotate" 0.0; - target: "elm.swallow.origin"; - after: "rotate_on2"; - } - program { - name: "rotate_on2"; - action: STATE_SET "rotate" 1.0; - target: "elm.swallow.origin"; - transition: LINEAR 0.5; - after: "unblock_event"; - } - program { - name: "rotate_off"; - signal: "elm,state,rotate,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "rotate_off2"; - } - program { - name: "rotate_off2"; - action: STATE_SET "rotate" 0.0; - transition: LINEAR 0.5; - target: "elm.swallow.origin"; - after: "rotate_off3"; - } - program { - name: "rotate_off3"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - after: "rotate_off_finished"; - } - program { - name: "rotate_off_finished"; - action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm"; - } - } -} - -group { name: "elm/genlist/item_odd/mode/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text.mode"; - data.item: "contents" "elm.swallow.mode"; - data.item: "mode_part" "elm.swallow.origin"; - data.item: "treesize" "20"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.text.mode"; - clip_to: "disclip"; - type: TEXT; - scale: 1; - description { state: "default" 0.0; - rel2.relative: 0.5 1.0; - color: 0 0 0 255; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - } - part { name: "elm.swallow.mode"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.5 0.0; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - // Transparent part between base parts and slidable parts - part { name: "event_block_layer"; - type: RECT; - clip_to: "disclip"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 0 0 0 0; - } - description { state: "repeat_events" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "pers"; - clip_to: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.relative: 0.0 1.0; - } - } - part { name: "elm.swallow.origin"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - rel1.relative: 1 0; - rel2.relative: 2 1; - } - description { state: "rotate" 0.0; - inherit: "default" 0.0; - map { - perspective: "pers"; - on: 1; - smooth: 1; - perspective_on: 1; - backface_cull: 1; - rotation { - center: "pers"; - x: 0.0; - y: 0.0; - z: 0.0; - } - } - } - description { state: "rotate" 1.0; - inherit: "default" 0.0; - map { - perspective: "pers"; - on: 1; - smooth: 1; - perspective_on: 1; - backface_cull: 1; - rotation { - center: "pers"; - x: 90.0; - y: 0.0; - z: 0.0; - } - } - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "slide_right"; - signal: "elm,state,slide,active"; - source: "elm"; - action: STATE_SET "slide" 0.0; - target: "elm.swallow.origin"; - transition: ACCELERATE 0.5; - after: "unblock_event"; - } - program { - name: "unblock_event"; - action: STATE_SET "repeat_events" 0.0; - target: "event_block_layer"; - } - program { - name: "slide_left"; - signal: "elm,state,slide,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "slide_left2"; - } - program { - name: "slide_left2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - transition: DECELERATE 0.5; - after: "slide_left_finished"; - } - program { - name: "slide_left_finished"; - action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm"; - } - program { - name: "rotate_on"; - signal: "elm,state,rotate,active"; - source: "elm"; - action: STATE_SET "rotate" 0.0; - target: "elm.swallow.origin"; - after: "rotate_on2"; - } - program { - name: "rotate_on2"; - action: STATE_SET "rotate" 1.0; - target: "elm.swallow.origin"; - transition: LINEAR 0.5; - after: "unblock_event"; - } - program { - name: "rotate_off"; - signal: "elm,state,rotate,passive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "event_block_layer"; - after: "rotate_off2"; - } - program { - name: "rotate_off2"; - action: STATE_SET "rotate" 0.0; - transition: LINEAR 0.5; - target: "elm.swallow.origin"; - after: "rotate_off3"; - } - program { - name: "rotate_off3"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.origin"; - after: "rotate_off_finished"; - } - program { - name: "rotate_off_finished"; - action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm"; - } - } -} -group { name: "elm/genlist/item/edit/default"; - alias: "elm/genlist/tree/edit/default"; - data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - to_x: "elm.padding.right"; - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.padding.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - fixed: 1 0; - visible: 0; - align: 0.0 0.0; - rel2.relative: 0.0 1.0; - } - } - part { name: "elm.padding.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 5 0; - fixed: 1 0; - visible: 0; - align: 1.0 0.0; - rel1.relative: 1.0 0.0; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "elm.edit.icon.1"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - color: 255 255 255 255; - rel1 { - to_x: "elm.padding.left"; - relative: 1.0 0.0; - } - rel2 { - to_x: "elm.padding.left"; - relative: 1.0 1.0; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 0.0 0.5; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.padding.icon1.right"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 5 0; - fixed: 1 0; - visible: 0; - align: 0.0 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.edit.icon.1"; - } - rel2.to_x: "elm.edit.icon.1"; - } - } - part { name: "elm.swallow.decorate.content"; - clip_to: "disclip"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "elm.padding.icon1.right"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.icon2.left"; - } - } - description { state: "flipped" 0.0; - inherit: "default" 0.0; - rel1.to_x: "elm.padding.left"; - rel2 { - relative: 1.3 1.0; - to_x: "elm.padding.right"; - } - } - } - part { name: "elm.padding.icon2.left"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 5 0; - fixed: 1 0; - visible: 0; - color: 255 0 255 255; - align: 0.0 0.0; - rel1 { - relative: 0.0 0.0; - to_x: "elm.edit.icon.2"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.edit.icon.2"; - } - } - } - part { name: "elm.edit.icon.2"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 0.0 0.0; - to_x: "elm.padding.right"; - } - rel2 { - relative: 0.0 1.0; - to_x: "elm.padding.right"; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - } - } - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - // edit mode signal - program { name: "edit_mode_enabled_effect"; - signal: "elm,state,decorate,enabled,effect"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - program { name: "edit_mode_disabled_effect"; - signal: "elm,state,decorate,disabled,effect"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.7; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - program { name: "edit_mode_enabled"; - signal: "elm,state,decorate,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - program { name: "edit_mode_disabled"; - signal: "elm,state,decorate,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - program { - name: "enable_flip_mode"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - after: "enable_flip_mode_next"; - } - program { - name: "enable_flip_mode_next"; - action: STATE_SET "flipped" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - } - program { - name: "disable_flip_mode"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.decorate.content"; - target: "elm.edit.icon.1"; - target: "elm.edit.icon.2"; - } - } -} - -#define GENLIST_PART_MAP_START( param_x, param_y, param_z ) \ -description { state: "map_transition" 0.0; \ - inherit: "default" 0.0; \ - color: 50 50 50 100; \ - map { \ - perspective: "point"; \ - on: 1; \ - smooth: 1; \ - perspective_on: 1; \ - backface_cull: 1; \ - rotation { \ - center: "point"; \ - x: param_x; \ - y: param_y; \ - z: param_z; \ - } \ - } \ -} \ -description { \ - state: "hide" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ -} - -#define GENLIST_PART_MAP_FINISH( param_x, param_y, param_z ) \ -description { \ - state: "map_rotate" 0.0; \ - inherit: "default" 0.0; \ - map { \ - perspective: "point"; \ - on: 1; \ - smooth: 1; \ - perspective_on: 1; \ - backface_cull: 1; \ - rotation { \ - center: "point"; \ - x: param_x; \ - y: param_y; \ - z: param_z; \ - } \ - } \ -} - -group { name: "elm/genlist/tree/tree_effect/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - broadcast_signal: 1; - parts { - alias: "elm.swallow.pad" "group:elm.swallow.pad"; - alias: "elm.swallow.icon" "group:elm.swallow.icon"; - alias: "elm.swallow.end" "group:elm.swallow.end"; - alias: "elm.text" "group:elm.text"; - part { name: "point"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.0; } - } - } - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "group"; - type: GROUP; - source: "elm/genlist/tree/effect_parts/default"; - description { - min: 16 28; - state: "default" 0.0; - } - GENLIST_PART_MAP_START(-90.0, 0, 0) - GENLIST_PART_MAP_FINISH(0, 0, 0) - } - } - programs { - program { - name: "rotaion_transition"; - signal: "flip_item"; - action: STATE_SET "map_transition" 0.0; - after: "rotation"; - target: "group"; - } - program { - name: "rotation"; - action: STATE_SET "map_rotate" 0.0; - transition: LINEAR 0.2; - after: "rotation_end"; - target: "group"; - } - program { - name: "rotation_end"; - action: STATE_SET "default" 0.0; - target: "group"; - } - program { - name: "rotation_transition2"; - signal: "elm,state,contract_flip"; - action: STATE_SET "map_rotate" 0.0; - after: "rotation2"; - target: "group"; - } - program { - name: "rotation2"; - action: STATE_SET "map_transition" 0.0; - transition: LINEAR 0.5; - after: "rotation3"; - target: "group"; - } - program { - name: "rotation3"; - action: STATE_SET "hide" 0.0; - target: "group"; - } - program { - name: "show"; - signal: "elm,state,show"; - action: STATE_SET "default" 0.0; - target: "group"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - action: STATE_SET "hide" 0.0; - target: "group"; - } - program { - name: "expand"; - signal: "mouse,up,1"; - source: "group:arrow"; - action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; - } - } -} - -group { name: "elm/genlist/tree/effect_parts/default"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - image: "icon_arrow_left.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "icon_arrow_down.png" COMP; - } - parts { - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "arrow"; - clip_to: "disclip"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - image.normal: "icon_arrow_right.png"; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - image.normal: "icon_arrow_left.png"; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - description { state: "active" 0.1; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - to_x: "arrow"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "arrow"; - relative: 1.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_expanded"; - signal: "elm,state,expanded"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - set_state(PART:"arrow", "active", vl); - } - } - program { - name: "go_contracted"; - signal: "elm,state,contracted"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - set_state(PART:"arrow", "default", vl); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - if (vl == 0.0) { - set_state(PART:"arrow", st, 0.1); - } - } - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow", st, 30, vl); - if (vl == 0.1) { - set_state(PART:"arrow", st, 0.0); - } - } - } - } -} - -group { name: "elm/genlist/item/tree_effect/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text"; - data.item: "contents" "elm.swallow.icon elm.swallow.end"; - data.item: "treesize" "20"; - data.item: "flips" "elm.text.flip"; - broadcast_signal: 1; - parts { - alias: "elm.swallow.pad" "group:elm.swallow.pad"; - alias: "elm.swallow.icon" "group:elm.swallow.icon"; - alias: "elm.swallow.end" "group:elm.swallow.end"; - alias: "elm.text" "group:elm.text"; - part { name: "point"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.0; } - } - } - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "group"; - type: GROUP; - source: "elm/genlist/item/effect_parts/default"; - description { - min: 16 28; - state: "default" 0.0; - } - GENLIST_PART_MAP_START(-90.0, 0, 0) - GENLIST_PART_MAP_FINISH(0, 0, 0) - } - } - programs { - program { - name: "rotaion_transition"; - signal: "flip_item"; - action: STATE_SET "map_transition" 0.0; - after: "rotation"; - target: "group"; - } - program { - name: "rotation"; - action: STATE_SET "map_rotate" 0.0; - transition: LINEAR 0.2; - after: "rotation_end"; - target: "group"; - } - program { - name: "rotation_end"; - action: STATE_SET "default" 0.0; - target: "group"; - } - program { - name: "rotation_transition2"; - signal: "elm,state,contract_flip"; - action: STATE_SET "map_rotate" 0.0; - after: "rotation2"; - target: "group"; - } - program { - name: "rotation2"; - action: STATE_SET "map_transition" 0.0; - transition: LINEAR 0.5; - after: "rotation3"; - target: "group"; - } - program { - name: "rotation3"; - action: STATE_SET "hide" 0.0; - target: "group"; - } - program { - name: "show"; - signal: "elm,state,show"; - action: STATE_SET "default" 0.0; - target: "group"; - } - program { - name: "hide"; - signal: "elm,state,hide"; - action: STATE_SET "hide" 0.0; - target: "group"; - } - } -} - -group { name: "elm/genlist/item/effect_parts/default"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_2.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "reorder_bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -7 -7; - } - rel2 { - relative: 1.0 1.0; - offset: 9 9; - } - image { - normal: "bt_bases.png"; - border: 6 6 6 6; - } - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image.normal: "ilist_2.png"; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "default" 1.0; - inherit: "default" 0.0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - description { - state: "selected" 1.0; - inherit: "selected" 0.0; - } - } - part { name: "elm.swallow.pad"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - aspect: 1.0 1.0; - rel1 { - to_x: "elm.swallow.pad"; - relative: 1.0 0.0; - offset: -1 4; - } - rel2 { - to_x: "elm.swallow.pad"; - relative: 1.0 1.0; - offset: -1 -5; - } - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - aspect: 1.0 1.0; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 0 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.text.flip"; - clip_to: "disclip"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_y: "elm.text"; - rel2.to_y: "elm.text"; - } - description { state: "flip_enabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "selected" 1.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - // signal: elm,state,%s,active - // a "check" item named %s went active - // signal: elm,state,%s,passive - // a "check" item named %s went passive - // default is passive - program { - name: "odd"; - signal: "elm,state,odd"; - source: "elm"; - action: STATE_SET "default" 1.0; - target: "base_sh"; - target: "base"; - } - program { - name: "even"; - signal: "elm,state,even"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base_sh"; - target: "base"; - } - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "selected", vl); - set_state(PART:"fg1", "selected", vl); - set_state(PART:"fg2", "selected", vl); - set_state(PART:"elm.text", "selected", vl); - } - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"base", st, 30, vl); - set_state(PART:"bg", "default", vl); - set_state(PART:"fg1", "default", vl); - set_state(PART:"fg2", "default", vl); - set_state(PART:"elm.text", "default", vl); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - program { - name: "go_reorder_disabled"; - signal: "elm,state,reorder,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { - name: "go_reorder_enabled"; - signal: "elm,state,reorder,enabled"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - target: "reorder_bg"; - transition: DECELERATE 0.5; - } - program { name: "flip_enabled"; - signal: "elm,state,flip,enabled"; - source: "elm"; - action: STATE_SET "flip_enabled" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - target: "elm.swallow.end"; - } - program { name: "flip_disabled"; - signal: "elm,state,flip,disabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.text.flip"; - target: "elm.swallow.icon"; - target: "elm.swallow.end"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/hover.edc b/legacy/elementary/data/themes/widgets/hover.edc deleted file mode 100644 index 0759d28a08..0000000000 --- a/legacy/elementary/data/themes/widgets/hover.edc +++ /dev/null @@ -1,1659 +0,0 @@ -/* TODO: replicate diagonal swallow slots to the other hover styles */ -group { name: "elm/hover/base/default"; - images { - image: "shad_circ.png" COMP; - } - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.offset"; - rel1.relative: 1.0 1.0; - rel2.to: "elm.swallow.offset"; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 64; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.size"; - rel1.offset: -32 -32; - rel2.to: "elm.swallow.size"; - rel2.offset: 31 31; - fill.smooth: 0; - } - } - part { name: "box"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "elm.swallow.size"; - rel1.offset: -2 -2; - rel2.to: "elm.swallow.size"; - rel2.offset: 1 1; - } - } - part { name: "elm.swallow.slot.left"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 0.0; - rel1.offset: -1 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 0.0 1.0; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.slot.top-left"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 0.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 0.0 0.0; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.slot.top"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 0.0; - rel1.offset: 0 -1; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 1.0 0.0; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.slot.top-right"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 1.0 0.0; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.slot.right"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: 0 -1; - } - } - part { name: "elm.swallow.slot.bottom-right"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 1.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: -1 -1; - } - } - part { name: "elm.swallow.slot.bottom"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: -1 0; - } - } - part { name: "elm.swallow.slot.bottom-left"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 0.0 1.0; - rel2.offset: -1 0; - } - } - part { name: "elm.swallow.slot.middle"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "elm.swallow.size"; - rel2.to: "elm.swallow.size"; - } - } - } - programs { - program { name: "end"; - signal: "mouse,up,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,dismiss" ""; - } - } -} - -group { name: "elm/hover/base/popout"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.offset"; - rel1.relative: 1.0 1.0; - rel2.to: "elm.swallow.offset"; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - part { name: "leftclip"; - type: RECT; - description { state: "default" 0.0; - rel2.to_x: "pop"; - rel2.relative: 0.0 1.0; - rel2.offset: 1 -1; - } - } - part { name: "left"; - clip_to: "leftclip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.left"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.left"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.left"; - type: SWALLOW; - clip_to: "leftclip"; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 0.0; - rel1.offset: -1 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 0.0 1.0; - rel2.offset: -1 -1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: -7 0; - rel2.offset: -7 -1; - align: 1.0 0.5; - } - } - part { name: "leftover"; - clip_to: "leftclip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "left"; - rel2.to: "left"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "rightclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to_x: "pop"; - rel1.relative: 1.0 0.0; - rel1.offset: -2 0; - } - } - part { name: "right"; - clip_to: "rightclip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.right"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.right"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.right"; - type: SWALLOW; - clip_to: "rightclip"; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: 0 -1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 6 0; - rel2.offset: 6 -1; - align: 0.0 0.5; - } - } - part { name: "rightover"; - clip_to: "rightclip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "right"; - rel2.to: "right"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "topclip"; - type: RECT; - description { state: "default" 0.0; - rel2.to_y: "pop"; - rel2.relative: 1.0 0.0; - rel2.offset: -1 1; - } - } - part { name: "top"; - clip_to: "topclip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.top"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.top"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.top"; - type: SWALLOW; - clip_to: "topclip"; - description { state: "default" 0.0; - visible: 1; - align: 0.5 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 0.0; - rel1.offset: 0 -1; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 1.0 0.0; - rel2.offset: -1 -1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 -7; - rel2.offset: -1 -7; - align: 0.5 1.0; - } - } - part { name: "topover"; - clip_to: "topclip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "top"; - rel2.to: "top"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "bottomclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to_y: "pop"; - rel1.relative: 0.0 1.0; - rel1.offset: -1 -2; - } - } - part { name: "bottom"; - clip_to: "bottomclip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.bottom"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.bottom"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.bottom"; - type: SWALLOW; - clip_to: "bottomclip"; - description { state: "default" 0.0; - align: 0.5 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: -1 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 6; - rel2.offset: -1 6; - align: 0.5 0.0; - } - } - part { name: "bottomover"; - clip_to: "bottomclip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bottom"; - rel2.to: "bottom"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.size"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.size"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "elm.swallow.slot.middle"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "elm.swallow.size"; - rel2.to: "elm.swallow.size"; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - } - programs { - program { name: "end"; - signal: "mouse,up,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,dismiss" ""; - } - - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - - program { name: "leftshow"; - signal: "elm,action,slot,left,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "left"; - target: "elm.swallow.slot.left"; - } - program { name: "lefthide"; - signal: "elm,action,slot,left,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "left"; - target: "elm.swallow.slot.left"; - } - program { name: "rightshow"; - signal: "elm,action,slot,right,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "right"; - target: "elm.swallow.slot.right"; - } - program { name: "righthide"; - signal: "elm,action,slot,right,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "right"; - target: "elm.swallow.slot.right"; - } - program { name: "topshow"; - signal: "elm,action,slot,top,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "top"; - target: "elm.swallow.slot.top"; - } - program { name: "tophide"; - signal: "elm,action,slot,top,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "top"; - target: "elm.swallow.slot.top"; - } - program { name: "bottomshow"; - signal: "elm,action,slot,bottom,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - program { name: "bottomhide"; - signal: "elm,action,slot,bottom,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - } -} - -//In the hover used by the menu only the bottom part is used. -group { name: "elm/hover/base/menu"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - } - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.offset"; - rel1.relative: 1.0 1.0; - rel2.to: "elm.swallow.offset"; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - part { name: "elm.swallow.slot.left"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.slot.right"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.slot.top"; - type: SWALLOW; - description { state: "default" 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - } - } - part { name: "bottomclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to_y: "pop"; - rel1.relative: 0.0 1.0; - rel1.offset: -1 -2; - } - } - part { name: "bottom"; - clip_to: "bottomclip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.bottom"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.bottom"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.bottom"; - type: SWALLOW; - clip_to: "bottomclip"; - description { state: "default" 0.0; - align: 0.5 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: -1 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 6; - rel2.offset: -1 6; - align: 0.5 0.0; - } - } - part { name: "pop"; - mouse_events: 1; - repeat_events:1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.slot.middle"; - type: SWALLOW; - repeat_events:1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.size"; - rel2.to: "elm.swallow.size"; - } - } - } - programs { - program { name: "end"; - signal: "mouse,up,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,dismiss" ""; - } - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "bottomshow"; - signal: "elm,action,slot,bottom,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.3; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - program { name: "bottomhide"; - signal: "elm,action,slot,bottom,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - } -} - -//In the hover used by the submenu only the bottom part is used -//and no part should interact except the bottom area -group { name: "elm/hover/base/submenu"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - } - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - repeat_events:1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.offset"; - rel1.relative: 1.0 1.0; - rel2.to: "elm.swallow.offset"; - rel2.relative: 1.0 1.0; - } - } - //here we don't catch events like the hover does - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - } - part { name: "elm.swallow.slot.left"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.slot.right"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.slot.top"; - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "bottomclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to_y: "pop"; - rel1.relative: 0.0 1.0; - rel1.offset: -1 -2; - } - } - part { name: "bottom"; - clip_to: "bottomclip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.bottom"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.bottom"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.bottom"; - type: SWALLOW; - clip_to: "bottomclip"; - description { state: "default" 0.0; - align: 0.5 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: -1 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 6; - rel2.offset: -1 6; - align: 0.5 0.0; - } - } - part { name: "pop"; - mouse_events: 1; - repeat_events:1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.slot.middle"; - type: SWALLOW; - repeat_events:1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.size"; - rel2.to: "elm.swallow.size"; - } - } - } - programs { - program { name: "end"; - signal: "mouse,up,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,dismiss" ""; - } - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "bottomshow"; - signal: "elm,action,slot,bottom,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.3; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - program { name: "bottomhide"; - signal: "elm,action,slot,bottom,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - } -} - -group { name: "elm/hover/base/main_menu"; - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - rel1.offset: 4 0; - fixed: 1 1; - } - } - part { name: "bottomclip"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: -1 -2; - } - } - part { name: "bottom"; - clip_to: "bottomclip"; - type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.bottom"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.bottom"; - rel2.offset: 4 4; - } - } - part { name: "elm.swallow.slot.bottom"; - type: SWALLOW; - clip_to: "bottomclip"; - description { state: "default" 0.0; - align: 0.5 1.0; - rel1.to: "elm.swallow.size"; - rel1.relative: 0.0 1.0; - rel2.to: "elm.swallow.size"; - fixed: 1 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 6; - rel2.offset: -1 6; - align: 0.5 0.0; - } - } - } - programs { - program { name: "bottomshow"; - signal: "elm,action,slot,bottom,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.3; - target: "elm.swallow.slot.bottom"; - } - } -} - -group { name: "elm/hover/base/main_menu_submenu"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - } - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - repeat_events:1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.offset"; - rel1.relative: 1.0 1.0; - rel2.to: "elm.swallow.offset"; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "bottomclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to_y: "pop"; - rel1.relative: 0.0 1.0; - rel1.offset: -1 -2; - } - } - part { name: "bottom"; - clip_to: "bottomclip"; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.slot.bottom"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.bottom"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - middle: SOLID; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.bottom"; - type: SWALLOW; - clip_to: "bottomclip"; - description { state: "default" 0.0; - align: 0.5 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: -1 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 6; - rel2.offset: -1 6; - align: 0.5 0.0; - } - } - part { name: "pop"; - mouse_events: 1; - repeat_events:1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.slot.middle"; - type: SWALLOW; - repeat_events:1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.size"; - rel2.to: "elm.swallow.size"; - } - } - } - programs { - program { name: "end"; - signal: "mouse,up,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,dismiss" ""; - } - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program { name: "bottomshow"; - signal: "elm,action,slot,bottom,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.3; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - program { name: "bottomhide"; - signal: "elm,action,slot,bottom,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "bottom"; - target: "elm.swallow.slot.bottom"; - } - } -} - -group { name: "elm/hover/base/hoversel_vertical/default"; - alias: "elm/hover/base/hoversel_vertical/entry"; - images { - // image: "shad_circ.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "outdent-top.png" COMP; - image: "outdent-bottom.png" COMP; - } - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.offset"; - rel1.relative: 1.0 1.0; - rel2.to: "elm.swallow.offset"; - } - } - /* - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "button_image"; - rel1.offset: -64 -64; - rel2.to: "button_image"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - */ - part { name: "button_image"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to_x: "elm.swallow.slot.top"; - rel1.to_y: "elm.swallow.slot.top"; - rel1.offset: -2 -6; - rel2.to_x: "elm.swallow.slot.top"; - rel2.to_y: "elm.swallow.slot.bottom"; - rel2.offset: 1 5; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "bottom" 0.0; - rel1.to_x: "elm.swallow.slot.bottom"; - rel1.to_y: "elm.swallow.slot.top"; - rel1.offset: -2 -6; - rel2.to_x: "elm.swallow.slot.bottom"; - rel2.to_y: "elm.swallow.slot.bottom"; - rel2.offset: 1 5; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - part { name: "topclip"; - type: RECT; - description { state: "default" 0.0; - rel2.to_y: "edge_top"; - rel2.relative: 1.0 0.0; - rel2.offset: -1 7; - } - } - part { name: "elm.swallow.slot.top"; - type: SWALLOW; - clip_to: "topclip"; - description { state: "default" 0.0; - visible: 1; - align: 0.5 0.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 0.0; - rel1.offset: 0 -1; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 1.0 0.0; - rel2.offset: -1 -1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 -7; - rel2.offset: -1 -7; - align: 0.5 1.0; - } - } - part { name: "bottomclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to_y: "edge_bottom"; - rel1.relative: 0.0 1.0; - rel1.offset: -1 -8; - } - } - part { name: "elm.swallow.slot.bottom"; - type: SWALLOW; - clip_to: "bottomclip"; - description { state: "default" 0.0; - align: 0.5 1.0; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.offset: -1 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 6; - rel2.offset: -1 6; - align: 0.5 0.0; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { name: "edge_top"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1 { - to: "elm.swallow.size"; - offset: 0 -10; - } - rel2 { - to: "elm.swallow.size"; - } - image.normal: "outdent-bottom.png"; - image.border: 0 0 13 0; - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "edge_bottom"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1 { - to: "elm.swallow.size"; - } - rel2 { - to: "elm.swallow.size"; - offset: -1 9; - } - image.normal: "outdent-top.png"; - image.border: 0 0 0 13; - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.middle"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "elm.swallow.size"; - rel2.to: "elm.swallow.size"; - } - } - } - programs { - program { name: "end"; - signal: "mouse,up,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,dismiss" ""; - } - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "topshow"; - signal: "elm,action,slot,top,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "edge_top"; - after: "topshow2"; - } - program { name: "topshow2"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.top"; - } - program { name: "topshow3"; - signal: "elm,action,slot,top,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button_image"; - } - program { name: "tophide"; - signal: "elm,action,slot,top,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.top"; - after: "tophide2"; - } - program { name: "tophide2"; - action: STATE_SET "default" 0.0; - target: "edge_top"; - } - program { name: "bottomshow"; - signal: "elm,action,slot,bottom,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "edge_bottom"; - after: "bottomshow2"; - } - program { name: "bottomshow2"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.bottom"; - } - program { name: "bottomshow3"; - signal: "elm,action,slot,bottom,show"; - source: "elm"; - action: STATE_SET "bottom" 0.0; - target: "button_image"; - } - program { name: "bottomhide"; - signal: "elm,action,slot,bottom,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.bottom"; - after: "bottomhide2"; - } - program { name: "bottomhide2"; - action: STATE_SET "default" 0.0; - target: "edge_bottom"; - } - } -} -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/hover/base/hoversel_horizontal/default"; - alias: "elm/hover/base/hoversel_horizontal/entry"; - images { - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "outdent-top.png" COMP; - image: "outdent-bottom.png" COMP; - //image: "shad_circ.png" COMP; - } - parts { - part { name: "elm.swallow.offset"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 0.0; - } - } - part { name: "elm.swallow.size"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.swallow.offset"; - rel1.relative: 1.0 1.0; - rel2.to: "elm.swallow.offset"; - rel2.relative: 1.0 1.0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - /* part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.size"; - rel1.offset: -32 -32; - rel2.to: "elm.swallow.size"; - rel2.offset: 31 31; - fill.smooth: 0; - } - }*/ - part { name: "button_image"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to_x: "elm.swallow.slot.left"; - rel1.to_y: "elm.swallow.slot.left"; - rel1.offset: -2 -6; - rel2.to_x: "elm.swallow.slot.right"; - rel2.to_y: "elm.swallow.slot.left"; - rel2.offset: 1 5; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "right" 0.0; - rel1.to_x: "elm.swallow.slot.left"; - rel1.to_y: "elm.swallow.slot.left"; - rel1.offset: -2 -6; - rel2.to_x: "elm.swallow.slot.right"; - rel2.to_y: "elm.swallow.slot.right"; - rel2.offset: 1 5; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - } - part { name: "leftclip"; - type: RECT; - description { state: "default" 0.0; - rel2.to_x: "edge_left"; - rel2.relative: 0.0 1.0; - rel2.offset: -1 7; - } - } - part { name: "elm.swallow.slot.left"; - type: SWALLOW; - clip_to: "leftclip"; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 0.0 0.0; - rel1.offset: -1 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 0.0 1.0; - rel2.offset: -1 -1; - } - } - part { name: "rightclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to_x: "edge_right"; - rel1.relative: 1.0 0.0; - rel1.offset: -1 -8; - } - } - part { name: "elm.swallow.slot.right"; - type: SWALLOW; - clip_to: "rightclip"; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1.to: "elm.swallow.slot.middle"; - rel1.relative: 1.0 0.0; - rel1.offset: 0 0; - rel2.to: "elm.swallow.slot.middle"; - rel2.relative: 1.0 1.0; - rel2.offset: 0 -1; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { name: "edge_left"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1 { - to: "elm.swallow.size"; - offset: 0 -10; - } - rel2 { - to: "elm.swallow.size"; - } - image.normal: "outdent-bottom.png"; - image.border: 0 0 13 0; - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "edge_right"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1 { - to: "elm.swallow.size"; - } - rel2 { - to: "elm.swallow.size"; - offset: -1 9; - } - image.normal: "outdent-top.png"; - image.border: 0 0 0 13; - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.slot.middle"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "elm.swallow.size"; - rel2.to: "elm.swallow.size"; - } - } - } - programs { - program { name: "end"; - signal: "mouse,up,1"; - source: "base"; - action: SIGNAL_EMIT "elm,action,dismiss" ""; - } - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "base"; - } - - program { name: "leftshow"; - signal: "elm,action,slot,left,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "edge_left"; - after: "leftshow2"; - } - program { name: "leftshow2"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.left"; - } - program { name: "leftshow3"; - signal: "elm,action,slot,left,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "button_image"; - } - - program { name: "lefthide"; - signal: "elm,action,slot,left,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.left"; - after: "lefthide2"; - } - program { name: "lefthide2"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "edge_left"; - } - program { name: "rightshow"; - signal: "elm,action,slot,right,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "edge_right"; - after: "rightshow2"; - } - program { name: "rightshow2"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.right"; - } - program { name: "rightshow3"; - signal: "elm,action,slot,right,show"; - source: "elm"; - action: STATE_SET "right" 0.0; - transition: DECELERATE 0.5; - target: "button_image"; - } - - program { name: "righthide"; - signal: "elm,action,slot,right,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.swallow.slot.right"; - after: "righthide2"; - } - program { name: "righthide2"; - action: STATE_SET "default" 0.0; - target: "edge_right"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/icon.edc b/legacy/elementary/data/themes/widgets/icon.edc deleted file mode 100644 index 4b1374c642..0000000000 --- a/legacy/elementary/data/themes/widgets/icon.edc +++ /dev/null @@ -1,61 +0,0 @@ -#define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max) \ - group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ - alias: "elm/icon/"##Alias##"/default"; \ - images.image: File COMP; parts { part { name: "base"; \ - description { aspect: 1.0 1.0; aspect_preference: BOTH; \ - image.normal: File; } } } } - -#define GROUP_ICON(Name, File, Min, Max) \ - group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ - images.image: File COMP; parts { part { name: "base"; \ - description { aspect: 1.0 1.0; aspect_preference: BOTH; \ - image.normal: File; } } } } - -group { name: "elm/icon/arrow_down/default"; - alias: "elm/icon/toolbar/arrow_down/default"; - alias: "elm/icon/toolbar/more_menu/default"; min: 32 32; - images.image: "icon_arrow_down.png" COMP; parts { part { name: "base"; - description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH; - image.normal: "icon_arrow_down.png"; } } } } - -GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0); -GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0); -GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0); -GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0); -GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0); -GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0); -GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0); -GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0); -GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0); -GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0); -GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0); -GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0); -GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0); -GROUP_ALIAS_ICON("no_photo", "photo/no_photo", "head.png", 32, 0); - -/////////////////////////////////////////////////////////////////////////////// -GROUP_ICON("menu/home", "icon_home.png", 24, 24); -GROUP_ICON("menu/close", "icon_close.png", 24, 24); -GROUP_ICON("menu/apps", "icon_apps.png", 24, 24); -GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24); -GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24); -GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24); -GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24); -GROUP_ICON("menu/chat", "icon_chat.png", 24, 24); -GROUP_ICON("menu/clock", "icon_clock.png", 24, 24); -GROUP_ICON("menu/delete", "icon_delete.png", 24, 24); -GROUP_ICON("menu/edit", "icon_edit.png", 24, 24); -GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24); -GROUP_ICON("menu/folder", "icon_folder.png", 24, 24); -GROUP_ICON("menu/file", "icon_file.png", 24, 24); - -GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0); -GROUP_ICON("media_player/info", "mp_info.png", 16, 0); -GROUP_ICON("media_player/next", "mp_next.png", 16, 0); -GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0); -GROUP_ICON("media_player/play", "mp_play.png", 16, 0); -GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0); -GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0); -GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0); - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/index.edc b/legacy/elementary/data/themes/widgets/index.edc deleted file mode 100644 index f7b51fdf04..0000000000 --- a/legacy/elementary/data/themes/widgets/index.edc +++ /dev/null @@ -1,817 +0,0 @@ -group { name: "elm/index/base/vertical/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - } - parts { - part { name: "clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "clip2"; - type: RECT; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - clip_to: "clip"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - offset: -1 5; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -6; - } - } - } - part { name: "button_image"; - mouse_events: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1 { - to: "elm.text.body"; - offset: -5 -5; - } - rel2 { - to: "elm.text"; - offset: 4 4; - } - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - } - part { name: "elm.text.body"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to: "elm.text"; - relative: 0.0 0.0; - offset: 5 0; - } - rel2 { - to: "elm.text"; - relative: 0.0 1.0; - offset: 5 -1; - } - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 20; - min: 1 1; - align: 1.0 0.5; - } - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.event.0"; - to_y: "elm.dragable.pointer"; - relative: 0.0 0.5; - offset: -16 0; - } - rel2 { - to_x: "elm.swallow.event.0"; - to_y: "elm.dragable.pointer"; - relative: 0.0 0.5; - offset: -16 -1; - } - color: 255 0 0 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 20; - min: 1 1; - align: 1.0 0.5; - } - } - } - part { name: "over1"; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1 { - to: "button_image"; - } - rel2 { - to: "button_image"; - relative: 1.0 0.5; - } - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1 { - to: "button_image"; - } - rel2 { - to: "button_image"; - } - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { name: "elm.dragable.pointer"; - type: RECT; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 1 1 0; - } - clip_to: "clip"; - description { state: "default" 0.0; - fixed: 1 1; - min: 8 8; - max: 8 8; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - } - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - part { name: "access"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to:"elm.swallow.event.0"; - rel2.to:"elm.swallow.event.0"; - color: 0 0 0 0; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "active2"; - signal: "elm,indicator,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip2"; - } - program { name: "inactive2"; - signal: "elm,indicator,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip2"; - } - } -} - -group { name: "elm/index/item/vertical/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - images { - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - rel1 { - offset: -16 0; - } - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to: "base"; - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - to: "base"; - relative: 0.5 1.0; - offset: -1 -1; - } - color: 0 0 0 128; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 255; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - } -} - -group { name: "elm/index/item_odd/vertical/default"; - data.item: "stacking" "below"; - images { - image: "ilist_2.png" COMP; - } - parts { - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - rel1 { - offset: -16 0; - } - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to: "base"; - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - to: "base"; - relative: 0.5 1.0; - offset: -1 -1; - } - color: 0 0 0 128; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 255; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - } -} -group { name: "elm/index/base/horizontal/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - } - parts { - part { name: "clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "clip2"; - type: RECT; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - clip_to: "clip"; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 1 1; - rel1 { - relative: 0.5 1; - offset: 0 0; - } - rel2 { - relative: 0.5 1; - offset: -1 -1; - } - } - } - part { name: "button_image"; - mouse_events: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1 { - to: "elm.text"; - offset: -5 -5; - } - rel2 { - to: "elm.text"; - offset: 4 4; - } - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - } - part { name: "elm.text.body"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - align: 0.5 1; - fixed: 1 1; - rel1 { - to: "elm.text"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.text"; - relative: 0.1 0.0; - } - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 20; - min: 1 1; - align: 0.5 1; - } - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "clip2"; - description { state: "default" 0.0; - align: 0.5 1; - fixed: 1 1; - rel1 { - to_x: "elm.dragable.pointer"; - to_y: "elm.swallow.event.0"; - relative: 0.5 0; - offset: 0 -16; - } - rel2 { - to_x: "elm.dragable.pointer"; - to_y: "elm.swallow.event.0"; - relative: 0.5 0; - offset: -1 -16; - } - color: 255 0 0 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 20; - min: 1 1; - align: 0.5 1; - } - } - } - part { name: "over1"; - mouse_events: 0; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1 { - to: "button_image"; - } - rel2 { - to: "button_image"; - relative: 0.5 1; - } - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - clip_to: "clip2"; - description { state: "default" 0.0; - rel1 { - to: "button_image"; - } - rel2 { - to: "button_image"; - } - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { name: "elm.dragable.pointer"; - type: RECT; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 1 1 0; - } - clip_to: "clip"; - description { state: "default" 0.0; - fixed: 1 1; - min: 8 8; - max: 8 8; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - } - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - description { state: "default" 0.0; - align: 0.5 1; - fixed: 1 1; - rel1 { - relative: 0.0 1.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "active2"; - signal: "elm,indicator,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip2"; - } - program { name: "inactive2"; - signal: "elm,indicator,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip2"; - } - } -} -group { name: "elm/index/item/horizontal/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - images { - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - rel1 { - offset: 0 -16; - } - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "base"; - relative: 0.25 0.0; - } - rel2 { - to: "base"; - relative: 0.75 1.0; - } - color: 0 0 0 128; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 255; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - } -} -group { name: "elm/index/item_odd/horizontal/default"; - data.item: "stacking" "below"; - images { - image: "ilist_2.png" COMP; - } - parts { - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - rel1 { - offset: 0 -16; - } - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "base"; - relative: 0.25 0.0; - } - rel2 { - to: "base"; - relative: 0.75 1.0; - } - color: 0 0 0 128; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 255; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/label.edc b/legacy/elementary/data/themes/widgets/label.edc deleted file mode 100644 index a0e20b06fa..0000000000 --- a/legacy/elementary/data/themes/widgets/label.edc +++ /dev/null @@ -1,423 +0,0 @@ -#define TEXT_SLIDE_DURATION 10 - -group { name: "elm/label/base/default"; - styles { - style { name: "textblock_style"; - base: "font=Sans font_size=10 color=#000 text_class=label left_margin=2 right_margin=2"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - } - } - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - text { - style: "textblock_style"; - min: 0 1; - } - } - } - } -} - -group { name: "elm/label/base/marker"; - styles { - style { name: "textblock_style2"; - base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label left_margin=2 right_margin=2"; - tag: "hilight" "+ color=#ffff"; - tag: "b" "+ color=#ffff"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - description { state: "default" 0.0; - text { - style: "textblock_style2"; - min: 1 1; - } - } - } - } -} - -group { name: "elm/label/base/slide_long"; - script { - public g_duration, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT_SET) && (id == 0)) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_state(PART:"elm.text", "slide_begin", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script - { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script - { - stop_slide(); - } - } - } -} - - -group { name: "elm/label/base/slide_short"; - script { - public g_duration, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT_SET) && (id == 0)) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin() { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_state(PART:"elm.text", "slide_begin", 0.0); - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script - { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script - { - stop_slide(); - } - } - } -} - -group { name: "elm/label/base/slide_bounce"; - script { - public g_duration, g_stopslide, g_timer_id, g_anim_id; - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT_SET) && (id == 0)) { - new Float:duration; - duration = getfarg(2); - set_float(g_duration, duration); - } - } - public slide_to_end_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_begin", 1); - set_int(g_timer_id, id); - } - } - public slide_to_end() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_end_anim", 1); - set_int(g_anim_id, id); - } - public slide_to_begin_anim(val, Float:pos) { - new stopflag; - new id; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0); - if (pos >= 1.0) { - id = timer(0.5, "slide_to_end", 1); - set_int(g_timer_id, id); - } - } - public slide_to_begin() { - new stopflag; - new id; - new Float:duration; - stopflag = get_int(g_stopslide); - if (stopflag == 1) return; - duration = get_float(g_duration); - id = anim(duration, "slide_to_begin_anim", 1); - set_int(g_anim_id, id); - } - public start_slide() { - set_int(g_stopslide, 0); - set_state(PART:"elm.text", "slide_begin", 0.0); - slide_to_end(); - } - public stop_slide() { - new id; - set_int(g_stopslide, 1); - id = get_int(g_anim_id); - cancel_anim(id); - id = get_int(g_timer_id); - cancel_timer(id); - set_state(PART:"elm.text", "default", 0.0); - } - } - - parts { - part { name: "label.text.clip"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - scale: 1; - clip_to: "label.text.clip"; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 0 1; - } - } - description { state: "slide_end" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - align: 1.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - } - } - description { state: "slide_begin" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - text { - style: "textblock_style"; - min: 1 1; - } - } - } - } - programs { - program { name: "start_slide"; - source: "elm"; - signal: "elm,state,slide,start"; - script - { - start_slide(); - } - } - program { name: "stop_slide"; - source: "elm"; - signal: "elm,state,slide,stop"; - script - { - stop_slide(); - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/layout.edc b/legacy/elementary/data/themes/widgets/layout.edc deleted file mode 100644 index 804d32337d..0000000000 --- a/legacy/elementary/data/themes/widgets/layout.edc +++ /dev/null @@ -1,827 +0,0 @@ -/* application with toolbar and main content area */ -group { name: "elm/layout/application/toolbar-content"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { to_y: "elm.external.toolbar"; - relative: 0.0 1.0; - offset: -1 1; - } - } - } - - part { name: "elm.external.toolbar"; - type: EXTERNAL; - source: "elm/toolbar"; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 0 1; - rel2 { - relative: 1.0 0.0; - offset: -1 47; - } - } - } - } -} - -/* application with toolbar and main content area with a back button and title area */ -group { name: "elm/layout/application/toolbar-content-back"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { to_y: "title_clipper"; - relative: 0.0 1.0; - offset: -1 1; - } - } - } - - part { name: "elm.external.toolbar"; - type: EXTERNAL; - source: "elm/toolbar"; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - rel2 { - relative: 1.0 0.0; - offset: -1 47; - } - } - } - part { name: "title_clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - rel1 { - to_y: "back"; - } - rel2 { - to_y: "back"; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2 { - relative: 1.0 0.0; - } - } - } - part { name: "back_clipper"; - type: RECT; - clip_to: "title_clipper"; - description { state: "default" 0.0; - visible: 1; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "back"; - type: EXTERNAL; - source: "elm/button"; - clip_to: "back_clipper"; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1 { to_y: "elm.external.toolbar"; - relative: 0.0 1.0; - offset: 0 1; - } - rel2 { to_y: "elm.external.toolbar"; - relative: 0.0 1.0; - offset: 50 32; - } - params.string: "label" "Back"; - } - } - programs { - program { - signal: "clicked"; - source: "back"; - action: SIGNAL_EMIT "elm,action,back" ""; - } - program { - signal: "elm,back,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "back_clipper"; - } - program { - signal: "elm,back,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "back_clipper"; - } - program { - signal: "elm,title,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.1; - target: "title_clipper"; - } - program { - signal: "elm,title,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "title_clipper"; - } - } - - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { to_y: "elm.external.toolbar"; - relative: 1.0 1.0; - offset: -2 1; - } - rel2 { to_y: "elm.external.toolbar"; - relative: 1.0 1.0; - offset: -1 32; - } - } - } - - part { name: "elm.text.title"; - type: TEXT; - effect: SOFT_SHADOW; - scale: 1; - description { state: "default" 0.0; - rel1 { to_y: "elm.external.toolbar"; - to_x: "back"; - relative: 1.0 1.0; - offset: 2 1; - } - rel2 { to_y: "back"; - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -3 -1; - } - text { - font: "Sans:style=Bold"; - size: 12; - } - } - } - } -} - -/* application with toolbar and main content area with a back and next buttons and title area */ -group { name: "elm/layout/application/toolbar-content-back-next"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { to_y: "title_clipper"; - relative: 0.0 1.0; - offset: -1 1; - } - } - } - - part { name: "elm.external.toolbar"; - type: EXTERNAL; - source: "elm/toolbar"; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - rel2 { - relative: 1.0 0.0; - offset: -1 47; - } - } - } - part { name: "title_clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - rel1 { - to_y: "back"; - } - rel2 { - to_y: "back"; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2 { - relative: 1.0 0.0; - } - } - } - part { name: "back"; - type: EXTERNAL; - source: "elm/button"; - clip_to: "back_clipper"; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1 { to_y: "elm.external.toolbar"; - relative: 0.0 1.0; - offset: 0 1; - } - rel2 { to_y: "elm.external.toolbar"; - relative: 0.0 1.0; - offset: 50 32; - } - params.string: "label" "Back"; - } - } - part { name: "back_clipper"; - type: RECT; - clip_to: "title_clipper"; - description { state: "default" 0.0; - visible: 1; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "next"; - type: EXTERNAL; - source: "elm/button"; - clip_to: "next_clipper"; - description { state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { to_y: "elm.external.toolbar"; - relative: 1.0 1.0; - offset: -2 1; - } - rel2 { to_y: "elm.external.toolbar"; - relative: 1.0 1.0; - offset: -1 32; - } - params.string: "label" "Next"; - } - } - part { name: "next_clipper"; - type: RECT; - clip_to: "title_clipper"; - description { state: "default" 0.0; - visible: 1; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - programs { - program { - signal: "clicked"; - source: "back"; - action: SIGNAL_EMIT "elm,action,back" ""; - } - program { - signal: "elm,title,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.1; - target: "title_clipper"; - } - program { - signal: "elm,title,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "title_clipper"; - } - program { - signal: "elm,back,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "back_clipper"; - } - program { - signal: "elm,back,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "back_clipper"; - } - program { - signal: "clicked"; - source: "next"; - action: SIGNAL_EMIT "elm,action,next" ""; - } - program { - signal: "elm,next,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "next_clipper"; - } - program { - signal: "elm,next,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "next_clipper"; - } - } - part { name: "elm.text.title"; - type: TEXT; - effect: SOFT_SHADOW; - scale: 1; - clip_to: "title_clipper"; - description { state: "default" 0.0; - rel1 { to_y: "elm.external.toolbar"; - to_x: "back"; - relative: 1.0 1.0; - offset: 2 1; - } - rel2 { to_y: "back"; - to_x: "next"; - relative: 0.0 1.0; - offset: -3 -1; - } - text { - font: "Sans:style=Bold"; - size: 12; - } - } - } - } -} -/* application with a main content area with a back button and title area */ -group { name: "elm/layout/application/content-back"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { to_y: "title_clipper"; - relative: 0.0 1.0; - offset: -1 1; - } - } - } - part { name: "title_clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - rel1 { - to_y: "back"; - } - rel2 { - to_y: "back"; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2 { - relative: 1.0 0.0; - } - } - } - part { name: "back_clipper"; - type: RECT; - clip_to: "title_clipper"; - description { state: "default" 0.0; - visible: 1; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "back"; - type: EXTERNAL; - source: "elm/button"; - clip_to: "back_clipper"; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - offset: 0 1; - } - rel2 { - relative: 0.0 0.0; - offset: 50 32; - } - params.string: "label" "Back"; - } - } - programs { - program { - signal: "clicked"; - source: "back"; - action: SIGNAL_EMIT "elm,action,back" ""; - } - program { - signal: "elm,back,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "back_clipper"; - } - program { - signal: "elm,back,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "back_clipper"; - } - program { - signal: "elm,title,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.1; - target: "title_clipper"; - } - program { - signal: "elm,title,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "title_clipper"; - } - } - - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -2 1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 32; - } - } - } - - part { name: "elm.text.title"; - type: TEXT; - effect: SOFT_SHADOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "back"; - relative: 1.0 0.0; - offset: 2 1; - } - rel2 { to_y: "back"; - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -3 -1; - } - text { - font: "Sans:style=Bold"; - size: 12; - } - } - } - } -} - -/* application with a main content area with a back and next buttons and title area */ -group { name: "elm/layout/application/content-back-next"; - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1 { to_y: "title_clipper"; - relative: 0.0 1.0; - offset: -1 1; - } - } - } - - part { name: "title_clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - rel1 { - to_y: "back"; - } - rel2 { - to_y: "back"; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - rel2 { - relative: 1.0 0.0; - } - } - } - part { name: "back"; - type: EXTERNAL; - source: "elm/button"; - clip_to: "back_clipper"; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - offset: 0 1; - } - rel2 { - relative: 0.0 0.0; - offset: 50 32; - } - params.string: "label" "Back"; - } - } - part { name: "back_clipper"; - type: RECT; - clip_to: "title_clipper"; - description { state: "default" 0.0; - visible: 1; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "next"; - type: EXTERNAL; - source: "elm/button"; - clip_to: "next_clipper"; - description { state: "default" 0.0; - align: 1.0 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -2 1; - } - rel2 { - relative: 1.0 0.0; - offset: -1 32; - } - params.string: "label" "Next"; - } - } - part { name: "next_clipper"; - type: RECT; - clip_to: "title_clipper"; - description { state: "default" 0.0; - visible: 1; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - programs { - program { - signal: "clicked"; - source: "back"; - action: SIGNAL_EMIT "elm,action,back" ""; - } - program { - signal: "elm,title,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.1; - target: "title_clipper"; - } - program { - signal: "elm,title,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "title_clipper"; - } - program { - signal: "elm,back,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "back_clipper"; - } - program { - signal: "elm,back,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "back_clipper"; - } - program { - signal: "clicked"; - source: "next"; - action: SIGNAL_EMIT "elm,action,next" ""; - } - program { - signal: "elm,next,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "next_clipper"; - } - program { - signal: "elm,next,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "next_clipper"; - } - } - part { name: "elm.text.title"; - type: TEXT; - effect: SOFT_SHADOW; - scale: 1; - clip_to: "title_clipper"; - description { state: "default" 0.0; - rel1 { - to_x: "back"; - relative: 1.0 0.0; - offset: 2 1; - } - rel2 { to_y: "back"; - to_x: "next"; - relative: 0.0 1.0; - offset: -3 -1; - } - text { - font: "Sans:style=Bold"; - size: 12; - } - } - } - } -} - -/* application with toolbar and main content area as a vertical box */ -group { name: "elm/layout/application/toolbar-vbox"; - parts { - part { name: "elm.box.content"; - type: BOX; - description { state: "default" 0.0; - rel1 { to_y: "elm.external.toolbar"; - relative: 0.0 1.0; - offset: -1 1; - } - box.layout: "vertical"; - } - } - - part { name: "elm.external.toolbar"; - type: EXTERNAL; - source: "elm/toolbar"; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 0 1; - rel2 { - relative: 1.0 0.0; - offset: -1 47; - } - } - } - } -} - -/* application with toolbar and main content area as a table */ -group { name: "elm/layout/application/toolbar-table"; - parts { - part { name: "elm.table.content"; - type: TABLE; - description { state: "default" 0.0; - rel1 { to_y: "elm.external.toolbar"; - relative: 0.0 1.0; - offset: -1 1; - } - } - } - - part { name: "elm.external.toolbar"; - type: EXTERNAL; - source: "elm/toolbar"; - description { state: "default" 0.0; - align: 0.5 0.0; - fixed: 0 1; - rel2 { - relative: 1.0 0.0; - offset: -1 47; - } - } - } - } -} -/* a simple title layout, with a label and two icons */ -group { name: "elm/layout/application/titlebar"; - images { - image: "toolbar_sel.png" COMP; - } - parts { - part { name: "base"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 0 33; - max: 99999 33; - align: 0.5 0.0; - rel1.offset: -1 0; - rel2.offset: 1 0; - image { - normal: "toolbar_sel.png"; - border: 3 3 0 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.0 0.0; - rel1 { - to: "base"; - relative: 0.0 0.0; - offset: 4 0; - } - rel2 { - to: "base"; - relative: 0.0 1.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 1.0 0.0; - rel1 { - to: "base"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -5 -1; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.icon"; - to_y: "base"; - relative: 1.0 0.0; - } - rel2 { - to_x: "elm.swallow.end"; - to_y: "base"; - relative: 0.0 1.0; - } - text { - font: "Sans"; - size: 12; - min: 0 0; - align: 0.5 0.5; - text_class: "title_bar"; - } - } - } - } - programs { - program { name: "show_icon"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { name: "hide_icon"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "show_end"; - signal: "elm,state,end,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "hide_end"; - signal: "elm,state,end,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/list.edc b/legacy/elementary/data/themes/widgets/list.edc deleted file mode 100644 index 45fbdfc78c..0000000000 --- a/legacy/elementary/data/themes/widgets/list.edc +++ /dev/null @@ -1,1691 +0,0 @@ -group { name: "elm/list/item/default"; - data.item: "stacking" "above"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/list/item_odd/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { - name: "elm.swallow.icon"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { - name: "elm.swallow.end"; - clip_to: "disclip"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { - name: "elm.text"; - clip_to: "disclip"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: -1.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - clip_to: "disclip"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 64; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - } - } -} -group { name: "elm/list/item_compress/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - min: 0 10; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { - name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - } -} -group { name: "elm/list/item_compress_odd/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -5; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -5 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { - name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to_x: "elm.swallow.icon"; - relative: 1.0 0.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 0.0 1.0; - offset: -1 -5; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - // min: 1 1; - min: 0 1; - align: 0.0 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/list/h_item/default"; - data.item: "stacking" "above"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1_h.png" COMP; - image: "ilist_item_shadow_h.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 10 0; - fixed: 1 1; - rel1 { - to: "base"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: 0 -1; - } - image { - normal: "ilist_item_shadow_h.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1_h.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - offset: 4 -5; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 1.0 0.0; - offset: -5 -1; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - } -} -group { name: "elm/list/h_item_odd/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2_h.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2_h.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { - name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - offset: 4 -5; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 0 1; - rel1 { - to_x: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 1.0 0.0; - offset: -5 -1; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - } -} -group { name: "elm/list/h_item_compress/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_1_h.png" COMP; - image: "ilist_item_shadow_h.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base_sh"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.0; - min: 10 0; - rel1 { - to: "base"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: 0 -1; - } - image { - normal: "ilist_item_shadow_h.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1_h.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - offset: 4 -5; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { - name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 1.0 0.0; - offset: -5 -1; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - } -} -group { name: "elm/list/h_item_compress_odd/default"; - data.item: "stacking" "below"; - data.item: "selectraise" "on"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "ilist_2_h.png" COMP; - } - parts { - part { - name: "event"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2_h.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -5; - } - rel2 { - relative: 1.0 1.0; - offset: 4 4; - } - image { - normal: "bt_sm_base1.png"; - border: 6 6 6 6; - } - image.middle: SOLID; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 0.0; - offset: -5 4; - } - } - } - part { name: "elm.swallow.end"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - rel1 { - relative: 0.0 1.0; - offset: 4 -5; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.icon"; - relative: 0.0 1.0; - offset: 4 4; - } - rel2 { - to_x: "elm.swallow.end"; - relative: 1.0 0.0; - offset: -5 -1; - } - color: 0 0 0 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "list_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - } - } - part { name: "fg1"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.relative: 1.0 0.5; - rel2.to: "bg"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "fg2"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - } - program { - name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "fg1"; - target: "fg2"; - target: "elm.text"; - transition: LINEAR 0.1; - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/map.edc b/legacy/elementary/data/themes/widgets/map.edc deleted file mode 100644 index a4edd896e2..0000000000 --- a/legacy/elementary/data/themes/widgets/map.edc +++ /dev/null @@ -1,755 +0,0 @@ -group { name: "elm/map/base/default"; - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - images { - image: "shelf_inset.png" COMP; - image: "bt_sm_base2.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - } - } - part { name: "busy_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "busy"; - clip_to: "busy_clip"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - min: 32 32; - aspect: 1.0 1.0; - align: 1.0 1.0; - aspect_preference: BOTH; - rel1 { - relative: 0.9 0.9; - offset: -9 -9; - } - rel2 { - relative: 0.9 0.9; - offset: -9 -9; - } - image { - normal: "busy-9.png"; - tween: "busy-1.png"; - tween: "busy-2.png"; - tween: "busy-3.png"; - tween: "busy-4.png"; - tween: "busy-5.png"; - tween: "busy-6.png"; - tween: "busy-7.png"; - tween: "busy-8.png"; - } - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 10 17; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: -2 0; - } - rel2 { - relative: 1.0 0.0; - offset: -2 -1; - to_y: "sb_hbar"; - } - } - } - part { name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 10 17; - max: 10 99999; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 6 6 6 6; - middle: SOLID; - } - } - } - part { name: "sb_vbar_over1"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - } - part { name: "sb_vbar_over2"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - } - - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 17 10; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -2; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -2; - to_x: "sb_vbar"; - } - } - } - part { name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - max: 99999 10; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 4 4 4 4; - middle: SOLID; - } - } - } - part { name: "sb_hbar_over1"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "sb_hbar_over2"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_shine.png"; - border: 4 4 4 0; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - } - } - - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "go1"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - } - program { name: "go2"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "busy"; - after: "go2"; - } - program { name: "stop1"; - signal: "elm,state,busy,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - after: "stop2"; - } - program { name: "stop2"; - action: ACTION_STOP; - target: "go2"; - } - } -} -group { name: "elm/map/marker/radio/default"; - data { - item: size_w 24; - item: size_h 24; - item: size_max_w 58; - item: size_max_h 58; - } - images { - image: "map_item.png" COMP; - } - parts { - part { name: "whole"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "base"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image.normal: "map_item.png"; - min: 24 24; - } - } - part { name: "elm.icon"; - type: SWALLOW; - clip_to: "whole"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.relative: 0.27 0.27; - rel2.relative: 0.73 0.73; - min: 24 24; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - color: 224 224 224 255; - color3: 0 0 0 64; - rel1.relative: 0.28 0.25; - rel2.relative: 0.75 0.75; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.5; - } - } - } - } - programs { - program { name: "open"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "open" "elm"; - } - program { name: "bringin"; - signal: "mouse,down,1,double"; - source: "base"; - action: SIGNAL_EMIT "bringin" "elm"; - } - } -} - -group { name: "elm/map/marker/empty/default"; - data { - item: size_w 22; - item: size_h 22; - item: size_max_w 64; - item: size_max_h 64; - } - parts { - part { name: "whole"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "base"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - } - } - part { name: "elm.icon"; - type: SWALLOW; - clip_to: "whole"; - mouse_events: 0; - description { state: "default" 0.0; - min: 24 24; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - color: 224 224 224 255; - color3: 0 0 0 64; - rel1.relative: 0.28 0.25; - rel2.relative: 0.75 0.75; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.5; - } - } - } - } - programs { - program { name: "open"; - signal: "mouse,clicked,1"; - source: "base"; - action: SIGNAL_EMIT "open" "elm"; - } - program { name: "bringin"; - signal: "mouse,down,1,double"; - source: "base"; - action: SIGNAL_EMIT "bringin" "elm"; - } - } -} -group { name: "elm/map/marker_bubble/default"; - images { - image: "bubble.png" COMP; - image: "bubble_shine.png" COMP; - } - data { - item: size_w 400; - item: size_h 100; - } - parts { - part { name: "clipper"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "show" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "base0"; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - image { - normal: "bubble.png"; - border: 11 36 10 19; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image { - normal: "bubble_4.png"; - border: 11 36 18 9; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1 { - offset: 9 8; - } - rel2 { - offset: -10 -17; - } - } - } - part { name: "shine"; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { - to: "base0"; - } - rel2 { - to: "base0"; - relative: 1.0 0.5; - } - image { - normal: "bubble_shine.png"; - border: 5 5 5 0; - } - fill.smooth: 0; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "show" 0.0; - target: "clipper"; - transition: ACCELERATE 0.5; - } - } -} -group { name: "elm/map/circle/base/default"; - images { - image: "map_circle.png" COMP; - } - parts { - part { name: "base"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image.normal: "map_circle.png"; - } - } - } -} -group { name: "elm/map/scale/base/default"; - data { - item: size_w 100; - item: size_h 25; - } - images { - image: "map_scale.png" COMP; - } - parts { - part { name: "base"; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image.normal: "map_scale.png"; - image.border: 10 10 10 10; - } - } - part { name: "elm.text"; - type: TEXT; - ignore_flags: ON_HOLD; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - color: 224 224 224 255; - color3: 0 0 0 64; - rel1 { - relative: 0 0; - offset: 1 1; - } - rel2 { - relative: 1 1; - offset: -1 -1; - } - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.1 0.5; - } - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/menu.edc b/legacy/elementary/data/themes/widgets/menu.edc deleted file mode 100644 index 3de2fdfb23..0000000000 --- a/legacy/elementary/data/themes/widgets/menu.edc +++ /dev/null @@ -1,1146 +0,0 @@ -group { name: "elm/menu/item/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - script { - public menu_text_visible; //0:hide (default), 1:visible - public menu_disable; //0:enable, 1:disable - } - parts { - part { name: "item_image"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "item_image_disabled"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 1; - align: 0.0 0.5; - rel1.offset: 4 4; - rel2.offset: 3 -5; - rel2.relative: 0.0 1.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 4 -5; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 5 7; - rel2.offset: -10 -8; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - align: 0.0 0.5; - text_class: "menu_item"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - color: 254 254 254 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - color: 0 0 0 128; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "over_disabled"; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - // - program { - name: "item_mouse_in"; - signal: "mouse,in"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,activate" ""; - after: "item_mouse_in_2"; - after: "item_mouse_in_3"; - } - program { - name: "item_mouse_in_2"; - transition: DECELERATE 0.5; - script { - new v, d; - v = get_int(menu_text_visible); - d = get_int(menu_disable); - - if (v==1 && d==0) - run_program(PROGRAM:"selected_text"); - } - } - program { - name: "item_mouse_in_3"; - action : STATE_SET "visible" 0.0; - target: "item_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "selected_text"; - action: STATE_SET "selected" 0.0; - target: "elm.text"; - transition: DECELERATE 0.5; - } - // - - // - program { - name: "item_mouse_out"; - signal: "mouse,out"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,inactivate" ""; - after: "item_mouse_out_2"; - after: "item_mouse_out_3"; - } - program { - name: "item_mouse_out_2"; - transition: DECELERATE 0.5; - script { - new v, d; - v = get_int(menu_text_visible); - d = get_int(menu_disable); - - if (v==1 && d==0) - run_program(PROGRAM:"visible_text"); - } - } - program { - name: "item_mouse_out_3"; - action: STATE_SET "default" 0.0; - target: "item_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "visible_text"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - transition: DECELERATE 0.5; - } - // - - program { - name: "item_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: STATE_SET "visible" 0.0; - target: "item_image"; - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "item_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - set_int(menu_text_visible, 1); - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - set_int(menu_text_visible, 0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "item_image"; - target: "item_image_disabled"; - target: "over1"; - target: "over2"; - target: "over_disabled"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new v; - v = get_int(menu_text_visible); - if (v==1) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else if (v==0) - set_state(PART:"elm.text", "disabled", 0.0); - set_int(menu_disable, 1); - } - } - program { name: "item_select"; - signal: "elm,state,selected"; - source: "elm"; - after: "item_mouse_in_2"; - after: "item_mouse_in_3"; - } - program { name: "item_unselect"; - signal: "elm,state,unselected"; - source: "elm"; - after: "item_mouse_out_2"; - after: "item_mouse_out_3"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "item_image"; - target: "item_image_disabled"; - target: "over1"; - target: "over2"; - target: "over_disabled"; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new v; - v = get_int(menu_text_visible); - if (v==1) - set_state(PART:"elm.text", "visible", 0.0); - else if (v==0) - set_state(PART:"elm.text", "default", 0.0); - set_int(menu_disable, 0); - } - } - } -} - -group { name: "elm/menu/item_with_submenu/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - image: "arrow_right.png" COMP; - image: "arrow_left.png" COMP; - } - script { - public menu_text_visible; //0:hide (default), 1:visible - public menu_disable; //0:enable, 1:disable - } - parts { - part { name: "item_image"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "item_image_disabled"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "arrow"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 255; - align: 1.0 0.5; - aspect: 1 1; - aspect_preference: BOTH; - image { - normal: "arrow_right.png"; - } - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image.normal: "arrow_left.png"; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 1; - align: 0.0 0.5; - rel1.offset: 4 4; - rel2.offset: 3 -5; - rel2.relative: 0.0 1.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 4 -5; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 5 7; - rel2.to_x: "arrow"; - rel2.relative: 0.0 1.0; - rel2.offset: -10 -8; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - align: 0.0 0.5; - text_class: "menu_item"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - color: 254 254 254 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - color: 0 0 0 128; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "over_disabled"; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - // - program { - name: "item_mouse_in"; - signal: "mouse,in"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,activate" ""; - after: "item_mouse_in_2"; - after: "item_mouse_in_3"; - } - program { - name: "item_mouse_in_2"; - transition: DECELERATE 0.5; - script { - new v, d; - v = get_int(menu_text_visible); - d = get_int(menu_disable); - - if (v==1 && d==0) - run_program(PROGRAM:"selected_text"); - } - } - program { - name: "item_mouse_in_3"; - action : STATE_SET "visible" 0.0; - target: "item_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "selected_text"; - action: STATE_SET "selected" 0.0; - target: "elm.text"; - transition: DECELERATE 0.5; - } - // - - // - program { - name: "item_mouse_out"; - signal: "mouse,out"; - source: "over2"; - after: "item_mouse_out_2"; - after: "item_mouse_out_3"; - } - program { - name: "item_mouse_out_2"; - transition: DECELERATE 0.5; - script { - new v, d; - v = get_int(menu_text_visible); - d = get_int(menu_disable); - - if (v==1 && d==0) - run_program(PROGRAM:"visible_text"); - } - } - program { - name: "item_mouse_out_3"; - action: STATE_SET "default" 0.0; - target: "item_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "visible_text"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - transition: DECELERATE 0.5; - } - // - - program { - name: "item_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: STATE_SET "visible" 0.0; - target: "item_image"; - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "item_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "menu_open"; - signal: "mouse,in"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,open" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - set_int(menu_text_visible, 1); - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - set_int(menu_text_visible, 0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "item_image"; - target: "item_image_disabled"; - target: "over1"; - target: "over2"; - target: "over_disabled"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else if (!strcmp(st, "default")) - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "item_image"; - target: "item_image_disabled"; - target: "over1"; - target: "over2"; - target: "over_disabled"; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new v; - v = get_int(menu_text_visible); - if (v==1) - set_state(PART:"elm.text", "visible", 0.0); - else if (v==0) - set_state(PART:"elm.text", "default", 0.0); - set_int(menu_disable, 0); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - action: STATE_SET "rtl" 0.0; - target: "arrow"; - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} - -group { name: "elm/menu/main_menu_submenu/default"; - images { - image: "bt_base2.png" COMP; - image: "bt_base1.png" COMP; - image: "bt_dis_base.png" COMP; - image: "arrow_right.png" COMP; - image: "arrow_left.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_dis_hilight.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_shine.png" COMP; - } - script { - public menu_text_visible; //0:hide (default), 1:visible - public menu_disable; //0:enable, 1:disable - } - parts { - part { name: "item_image"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - middle: SOLID; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - image { - normal: "bt_base1.png"; - middle: SOLID; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "item_image_disabled"; - mouse_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - middle: SOLID; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "arrow"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - align: 1.0 0.5; - aspect: 0.8 1; - aspect_preference: BOTH; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 1; - align: 0.0 0.5; - rel1.offset: 4 4; - rel2.offset: 3 -5; - rel2.relative: 0.0 1.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 4 -5; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 5 7; - rel2.to_x: "arrow"; - rel2.relative: 0.0 1.0; - rel2.offset: -10 -8; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - align: 0.0 0.5; - text_class: "menu_item"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - color: 254 254 254 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - inherit: "visible" 0.0; - color: 0 0 0 128; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "over_disabled"; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { - name: "item_mouse_in"; - signal: "mouse,in"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,activate" ""; - after: "item_mouse_in_2"; - after: "item_mouse_in_3"; - } - program { - name: "item_mouse_in_2"; - transition: DECELERATE 0.5; - script { - new v, d; - v = get_int(menu_text_visible); - d = get_int(menu_disable); - - if (v==1 && d==0) - run_program(PROGRAM:"selected_text"); - } - } - program { - name: "item_mouse_in_3"; - action : STATE_SET "visible" 0.0; - target: "item_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "selected_text"; - action: STATE_SET "selected" 0.0; - target: "elm.text"; - transition: DECELERATE 0.5; - } - program { - name: "item_mouse_out"; - signal: "mouse,out"; - source: "over2"; - after: "item_mouse_out_2"; - after: "item_mouse_out_3"; - } - program { - name: "item_mouse_out_2"; - transition: DECELERATE 0.5; - script { - new v, d; - v = get_int(menu_text_visible); - d = get_int(menu_disable); - - if (v==1 && d==0) - run_program(PROGRAM:"visible_text"); - } - } - program { - name: "item_mouse_out_3"; - action: STATE_SET "default" 0.0; - target: "item_image"; - target: "over1"; - transition: DECELERATE 0.5; - } - program { - name: "visible_text"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - transition: DECELERATE 0.5; - } - program { - name: "item_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: STATE_SET "visible" 0.0; - target: "item_image"; - } - program { - name: "item_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "item_unclick3"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - set_int(menu_text_visible, 1); - set_state(PART:"elm.text", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - set_int(menu_text_visible, 0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "item_image"; - target: "item_image_disabled"; - target: "over1"; - target: "over2"; - target: "over_disabled"; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else if (!strcmp(st, "default")) - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "item_image"; - target: "item_image_disabled"; - target: "over1"; - target: "over2"; - target: "over_disabled"; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new v; - v = get_int(menu_text_visible); - if (v==1) - set_state(PART:"elm.text", "visible", 0.0); - else if (v==0) - set_state(PART:"elm.text", "default", 0.0); - set_int(menu_disable, 0); - } - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - action: STATE_SET "rtl" 0.0; - target: "arrow"; - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "arrow"; - } - } -} - -group { name: "elm/menu/separator/default"; - images { - image: "separator_h.png" COMP; - } - parts { - part { name: "separator"; // separator group - description { state: "default" 0.0; - min: 2 2; - rel1.offset: 4 4; - rel2.offset: -5 -5; - image { - normal: "separator_h.png"; - } - fill { - smooth: 0; - } - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/multibuttonentry.edc b/legacy/elementary/data/themes/widgets/multibuttonentry.edc deleted file mode 100644 index f2517c77a0..0000000000 --- a/legacy/elementary/data/themes/widgets/multibuttonentry.edc +++ /dev/null @@ -1,463 +0,0 @@ - group { - name: "elm/multibuttonentry/base/default"; - data.item: "closed_button_type" "image"; /* image, label, default : label */ - data.item: "closed_height" 46; - parts { - part { - name: "elm.base"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - align: 0 0; - color: 0 0 0 0; - } - } - part { - name: "top.left.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min : 6 8; - fixed: 1 1; - rel1 { relative: 0.0 0.0;to:elm.base; } - rel2 { relative: 0.0 0.0;to:elm.base; } - align: 0 0; - color: 0 0 0 0; - } - } - part { - name: "bottom.right.pad"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min : 6 8; - fixed: 1 1; - rel1 { relative: 1.0 1.0;to:elm.base; } - rel2 { relative: 1.0 1.0;to:elm.base; } - align: 1 1; - color: 0 0 0 0; - } - } - part { - name: "box.swallow"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { relative: 1.0 1.0; to: "top.left.pad"; } - rel2 { relative: 0.0 0.0; to: "bottom.right.pad"; } - align: 0.0 0.0; - } - } - } - } - - group { name: "elm/multibuttonentry/guidetext/default"; - parts { - part { - name: "elm.text.bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - } - } - part { - name: "elm.text"; - type: TEXT; - scale: 1; - description { - state: "default" 0.0; - color: 130 130 130 255; - text { - font: "Sans:style=Roman"; - size: 16; - min: 0 1; - align: 0.0 0.5; - } - } - } - } - } - - group { name: "elm/multibuttonentry/btn/default"; - data.item: "button_max_size" 130; - styles { - style { name: "multibuttonentry_textblock_style"; - base: "font=Arial:style=Medium align=0.5 font_size=16 color=#FFFFFF text_class=label ellipsis=1.0"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Sans:style=Bold"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "tab" "\t"; - } - } - parts { - part { - name: "elm.base"; - type: RECT; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - min: 0 33; - max: 3000 33; - fixed: 1 1; - color: 255 255 255 0; - } - } - part{ - name: "top.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min : 3 5; - fixed: 1 1; - rel1 { relative: 0.0 0.0;to:elm.base; } - rel2 { relative: 1.0 0.0;to:elm.base; } - color: 255 0 0 0; - align: 0 0; - } - } - part{ - name: "bottom.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min : 3 5; - fixed: 1 1; - rel1 { relative: 0.0 1.0;to:elm.base; } - rel2 { relative: 1.0 1.0;to:elm.base; } - color: 0 255 0 0; - align: 0 1; - } - } - part { - name: "left.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min : 0 0; - fixed: 0 0; - rel1 { relative: 0.0 0.0; to: "elm.base"; } - rel2 { relative: 0.0 1.0; to: "elm.base"; } - color: 255 0 255 0; - align: 0 0; - } - } - part { - name: "right.padding"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min : 5 0; - fixed: 0 0; - rel1 { relative: 1.0 0.0; to: "elm.base"; } - rel2 { relative: 1.0 1.0; to: "elm.base"; } - color: 0 0 255 0; - align: 1 1.0; - } - } - part { - name: "elm.btn.bg"; - type: RECT; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - min : 10 6; - max : 500 50; - fixed: 0 0; - rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";} - rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";} - color: 80 80 80 255; - } - description { - state: "focused" 0.0; - inherit: "default" 0.0; - color: 170 170 170 255; - } - } - part { - name: "elm.btn.text"; - type: TEXTBLOCK; - mouse_events: 1; - scale:1; - description { - state: "default" 0.0; - min: 6 6; - max: 120 33; - fixed: 0 1; - text { - text: "Auto Resized textblock"; - style: "multibuttonentry_textblock_style"; - min: 1 1; - align: 0.5 0.5; - } - rel1.to:"elm.btn.bg"; - rel2.to:"elm.btn.bg"; - rel1.offset: 10 10; - rel2.offset: -11 -11; - } - } - } - programs { - program { - name: "clicked"; - signal: "mouse,clicked,1"; - source: "elm.btn.bg"; - action: SIGNAL_EMIT "clicked" "elm"; - } - program { - name: "default"; - signal: "default"; - action: STATE_SET "default" 0.0; - target: "elm.btn.bg"; - } - program { - name: "focused"; - signal: "focused"; - action: STATE_SET "focused" 0.0; - target: "elm.btn.bg"; - } - } - } - group { name: "elm/label/base/extended/multibuttonentry_default"; - - styles { - style { - name: "textblock_style_multibuttonentry_default"; - base: "font=Sans:style=Medium font_size=16 color=#000000 wrap=char"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=Sans:style=Bold"; - tag: "b" "+ font=Sans:style=Bold"; - tag: "tab" "\t"; - } - } - parts { - part { - name: "label.swallow.background"; - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - rel1 { relative: 0 0; to: "elm.text"; } - rel2 { relative: 1 1; to: "elm.text"; } - } - } - part { - name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - text { - style: "textblock_style_multibuttonentry_default"; - min: 1 1; - } - } - } - } - } - - group { name: "elm/multibuttonentry/closedbutton/default"; - images { - image: "bt_basew.png" COMP; - image: "bt_base1.png" COMP; - image: "arrow_down.png" COMP; - image: "down.png" COMP; - } - data.item: "closed_button_height" 26; - data.item: "closed_button_width" 26; - - parts { - part { - name: "closed_button_bg"; - scale: 1; - mouse_events: 0; - type: IMAGE; - description { - state: "default" 0.0; - align: 0.5 0.5; - min: 26 26; - visible: 1; - image.normal: "bt_basew.png"; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - } - } - part { - name: "closed_button"; - scale: 1; - mouse_events: 1; - type: IMAGE; - description { - state: "default" 0.0; - align: 0.5 0.5; - min: 26 26; - visible: 1; - image.normal: "arrow_down.png"; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 1.0; } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "down.png"; - } - } - } - - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "closed_button"; - action: STATE_SET "clicked" 0.0; - target: "closed_button_bg"; - target: "closed_button"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "closed_button"; - action: STATE_SET "default" 0.0; - target: "closed_button_bg"; - target: "closed_button"; - } - } - } - - group { name: "elm/multibuttonentry/label/default"; - parts { - part { - name: "mbe.label.bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - color: 0 0 0 0; - min: 0 0; - fixed: 1 1; - } - description { - state: "no_text" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "mbe.label.left.padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - min: 3 0; - fixed: 1 1; - rel1.to: "mbe.label.bg"; - rel2 { - to: "mbe.label.bg"; - relative: 0.0 1.0; - } - align: 0 0.5; - } - description { - state: "no_text" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "mbe.label.right.padding"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - min: 3 0; - fixed: 1 1; - rel1 { - to: "mbe.label.bg"; - relative: 1.0 0.0; - } - rel2.to: "mbe.label.bg"; - align: 1 1.0; - } - description { - state: "no_text" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { - name: "mbe.label"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 255; - min: 0 33; - fixed: 1 1; - text { - font: "Sans:style=Roman"; - size: 16; - min: 1 1; - align: 0.0 0.428; - } - rel1 { relative: 1.0 1.0; to: "mbe.label.left.padding"; } - rel2 { relative: 0.0 0.0; to: "mbe.label.right.padding"; } - } - description { - state: "no_text" 0.0; - inherit: "default" 0.0; - min: 6 33; - } - } - } - programs { - program { - name: "has_text"; - signal: "elm,mbe,set_text"; - source: ""; - action: STATE_SET "default" 0.0; - target: "mbe.label.bg"; - target: "mbe.label.left.padding"; - target: "mbe.label.right.padding"; - target: "mbe.label"; - } - program { - name: "no_text"; - signal: "elm,mbe,clear_text"; - source: ""; - action: STATE_SET "no_text" 0.0; - target: "mbe.label.bg"; - target: "mbe.label.left.padding"; - target: "mbe.label.right.padding"; - target: "mbe.label"; - } - } - } - diff --git a/legacy/elementary/data/themes/widgets/naviframe.edc b/legacy/elementary/data/themes/widgets/naviframe.edc deleted file mode 100644 index 7846e3773b..0000000000 --- a/legacy/elementary/data/themes/widgets/naviframe.edc +++ /dev/null @@ -1,913 +0,0 @@ -group { name: "elm/naviframe/item/basic/default"; - alias: "elm/naviframe/item/basic/pager"; /**< this was remained for the backward compatibility */ - - images { - image: "naviframe-base.jpg" COMP; - } - - script { - public notitle = 0; - public noprev = 0; - public nonext = 0; - - public set_notitle(val) { - if (get_int(notitle) == val) return; - - set_int(notitle, val); - if (val) - set_state(PART:"elm.swallow.icon", "no-title", 0.0); - else - set_state(PART:"elm.swallow.icon", "default", 0.0); - } - - public apply_area() { - new np = get_int(noprev); - new nn = get_int(nonext); - - if ((!np) && (!nn)) - set_state(PART:"elements_area", "default", 0.0); - else if ((np) && (nn)) - set_state(PART:"elements_area", "full", 0.0); - else if (np) - set_state(PART:"elements_area", "no-prev", 0.0); - else if (nn) - set_state(PART:"elements_area", "no-next", 0.0); - } - - public set_noprev(val) { - if (get_int(noprev) == val) return; - - set_int(noprev, val); - if (val) - set_state(PART:"elm.swallow.prev_btn", "hidden", 0.0); - else - set_state(PART:"elm.swallow.prev_btn", "default", 0.0); - apply_area(); - } - - public set_nonext(val) { - if (get_int(nonext) == val) return; - - set_int(nonext, val); - if (val) - set_state(PART:"elm.swallow.next_btn", "hidden", 0.0); - else - set_state(PART:"elm.swallow.next_btn", "default", 0.0); - apply_area(); - } - } - - parts { - part { name: "title_clip"; - type: RECT; - description { state: "default" 0.0; - min: 1 55; - align: 0.0 0.0; - fixed: 0 1; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.0; } - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - align: 0.0 1.0; - visible: 0; - } - } - part { name: "content_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to_y: "title_clip"; - relative: 0.0 1.0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - clip_to: "content_clip"; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "content_clip"; - rel2.to: "content_clip"; - } - description { state: "previous" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "next" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "elements_clip"; - type: RECT; - clip_to: "title_clip"; - description { state: "default" 0.0; - rel1.to: "title_clip"; - rel2.to: "title_clip"; - } - description { state: "previous" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - visible: 0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - visible: 0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "title_base"; - type: IMAGE; - clip_to: "title_clip"; - description { state: "default" 0.0; - rel1.to: "elements_clip"; - rel2.to: "elements_clip"; - image { - normal: "naviframe-base.jpg"; - border: 0 0 0 2; - middle: SOLID; - } - } - } - part { name: "access.title"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "title_base"; - rel2.to: "title_base"; - color: 0 0 0 0; - } - } - part { name: "elements_area"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - color: 0 0 0 0; - fixed: 1 1; - rel1 { - to: "title_clip"; - relative: 0.0 0.0; - offset: 100 0; - } - rel2 { - to: "title_clip"; - relative: 1.0 1.0; - offset: -101 -1; - } - } - description { state: "full" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - description { state: "no-prev" 0.0; - inherit: "default" 0.0; - } - description { state: "no-next" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - min: 40 40; - max: 100 40; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "elements_clip"; - offset: 5 5; - } - rel2 { - to: "elements_clip"; - relative: 0.0 1.0; - offset: 5 -5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.next_btn"; - type: SWALLOW; - scale: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - min: 40 40; - max: 100 40; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to: "elements_clip"; - relative: 1.0 0.0; - offset: -5 5; - } - rel2 { - to: "elements_clip"; - offset: -5 -5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - min: 40 40; - max: 40 40; - fixed: 1 1; - align: 1.0 0.5; - rel1.to: "elm.text.title"; - rel1.relative: 0 0; - rel2.to: "elm.text.title"; - rel2.relative: 0 1; - } - description { state: "no-title" 0.0; - inherit: "default"; - align: 0.5 0.5; - max: 99999 40; - rel1 { - to: "elements_area"; - relative: 0.0 0.0; - } - rel2 { - to: "elements_area"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.text.title"; - type: TEXT; - scale: 1; - repeat_events: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - text { font: "Sans:style=Bold"; - size: 12; - size_range: 9 14; - fit: 1 1; - min: 0 0; - max: 1 0; - align: 0.5 0.5; - ellipsis: 0.0; - } - color: 0 0 0 255; - align: 0.5 0.5; - rel1.to: "elements_area"; - rel2.to: "elements_area"; - } - } - part { name: "elm.text.subtitle"; - type: TEXT; - scale: 1; - repeat_events: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - text { font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - max: 1 0; - align: 0.5 1; - } - rel1 { - to_y: "elm.text.title"; - to_x: "elements_area"; - relative: 0.0 1.0; - offset: 0 -3; - } - rel2 { - to: "elements_area"; - offset: -1 -4; - } - color: 50 50 50 255; - align: 0.5 0.0; - } - } - } - programs { - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "title_clip"; - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "title_clip"; - } - program { name: "title_clicked"; - signal: "mouse,clicked,1"; - source: "title_base"; - action: SIGNAL_EMIT "elm,action,title,clicked" ""; - } - - program { - signal: "elm,state,title_label,show"; - source: "elm"; - script { - set_notitle(0); - } - } - program { - signal: "elm,state,title_label,hide"; - source: "elm"; - script { - set_notitle(1); - } - } - - program { - signal: "elm,state,prev_btn,show"; - source: "elm"; - script { - set_noprev(0); - } - } - program { - signal: "elm,state,prev_btn,hide"; - source: "elm"; - script { - set_noprev(1); - } - } - program { - signal: "elm,state,next_btn,show"; - source: "elm"; - script { - set_nonext(0); - } - } - program { - signal: "elm,state,next_btn,hide"; - source: "elm"; - script { - set_nonext(1); - } - } - - /* current page is being pushed: [previous]<----[current] */ - program { name: "cur_pushed_phase1"; - signal: "elm,state,cur,pushed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "cur_pushed_phase2"; - } - program { name: "cur_pushed_phase2"; - action: STATE_SET "previous" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "cur_pushed_phase3"; - } - program { name: "cur_pushed_phase3"; - action: SIGNAL_EMIT "elm,action,pushed,finished" ""; - } - - /* current page is being popped: [current]---->[next] */ - program { name: "cur_popped_phase1"; - signal: "elm,state,cur,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "cur_popped_phase2"; - } - program { name: "cur_popped_phase2"; - action: STATE_SET "next" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "cur_popped_phase3"; - } - program { name: "cur_popped_phase3"; - action: SIGNAL_EMIT "elm,action,popped,finished" ""; - } - - /* new page is being pushed: [current]<----[next] */ - program { name: "new_pushed_phase1"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "next" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "new_pushed_phase2"; - } - program { name: "new_pushed_phase2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "new_pushed_phase3"; - } - program { name: "new_pushed_phase3"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - - /* previous page is being pushed: [previous]---->[current] */ - program { name: "prev_popped_phase1"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "previous" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "prev_popped_phase2"; - } - program { name: "prev_popped_phase2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "prev_popped_phase3"; - } - program { name: "prev_popped_phase3"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - } -} - - -/* same as elm/naviframe/base/default except: - * - title_base is translucent - * - contents follows below title - */ -group { name: "elm/naviframe/item/overlap/default"; - alias: "elm/naviframe/item/overlap/pager"; /**< this was remained for the backward compatibility */ - - images { - image: "naviframe-base.jpg" COMP; - } - - script { - public notitle = 0; - public noprev = 0; - public nonext = 0; - - public set_notitle(val) { - if (get_int(notitle) == val) return; - - set_int(notitle, val); - if (val) - set_state(PART:"elm.swallow.icon", "no-title", 0.0); - else - set_state(PART:"elm.swallow.icon", "default", 0.0); - } - - public apply_area() { - new np = get_int(noprev); - new nn = get_int(nonext); - - if ((!np) && (!nn)) - set_state(PART:"elements_area", "default", 0.0); - else if ((np) && (nn)) - set_state(PART:"elements_area", "full", 0.0); - else if (np) - set_state(PART:"elements_area", "no-prev", 0.0); - else if (nn) - set_state(PART:"elements_area", "no-next", 0.0); - } - - public set_noprev(val) { - if (get_int(noprev) == val) return; - - set_int(noprev, val); - if (val) - set_state(PART:"elm.swallow.prev_btn", "hidden", 0.0); - else - set_state(PART:"elm.swallow.prev_btn", "default", 0.0); - apply_area(); - } - - public set_nonext(val) { - if (get_int(nonext) == val) return; - - set_int(nonext, val); - if (val) - set_state(PART:"elm.swallow.next_btn", "hidden", 0.0); - else - set_state(PART:"elm.swallow.next_btn", "default", 0.0); - apply_area(); - } - } - - parts { - part { name: "title_clip"; - type: RECT; - description { state: "default" 0.0; - min: 1 55; - align: 0.0 0.0; - fixed: 0 1; -color: 255 0 0 125; - rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.0; } - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - align: 0.0 1.0; - } - } - part { name: "content_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - clip_to: "content_clip"; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "content_clip"; - rel2.to: "content_clip"; - } - description { state: "previous" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "next" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "elements_clip"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "title_clip"; - rel2.to: "title_clip"; - } - description { state: "previous" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - visible: 0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - visible: 0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - } - part { name: "title_base"; - type: IMAGE; - description { state: "default" 0.0; - rel1.to: "elements_clip"; - rel2.to: "elements_clip"; - color: 255 255 255 128; - image { - normal: "naviframe-base.jpg"; - border: 0 0 0 2; - middle: SOLID; - } - } - } - part { name: "access.title"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "title_base"; - rel2.to: "title_base"; - color: 0 0 0 0; - } - } - part { name: "elements_area"; - type: RECT; - mouse_events: 0; - clip_to: "title_clip"; - description { state: "default" 0.0; - color: 0 0 0 0; - fixed: 1 1; - rel1 { - to: "title_clip"; - relative: 0.0 0.0; - offset: 100 0; - } - rel2 { - to: "title_clip"; - relative: 1.0 1.0; - offset: -101 -1; - } - } - description { state: "full" 0.0; - inherit: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - } - description { state: "no-prev" 0.0; - inherit: "default" 0.0; - } - description { state: "no-next" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - min: 40 40; - max: 100 40; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - to: "elements_clip"; - offset: 5 5; - } - rel2 { - to: "elements_clip"; - relative: 0.0 1.0; - offset: 5 -5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.next_btn"; - type: SWALLOW; - scale: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - min: 40 40; - max: 100 40; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to: "elements_clip"; - relative: 1.0 0.0; - offset: -5 5; - } - rel2 { - to: "elements_clip"; - offset: -5 -5; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - min: 40 40; - max: 40 40; - fixed: 1 1; - align: 1.0 0.5; - rel1.to: "elm.text.title"; - rel1.relative: 0 0; - rel2.to: "elm.text.title"; - rel2.relative: 0 1; - } - description { state: "no-title" 0.0; - inherit: "default"; - align: 0.5 0.5; - max: 99999 40; - rel1 { - to: "elements_area"; - relative: 0.0 0.0; - } - rel2 { - to: "elements_area"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.text.title"; - type: TEXT; - scale: 1; - repeat_events: 1; - clip_to: "elements_clip"; - description { state: "default" 0.0; - text { font: "Sans:style=Bold"; - size: 12; - size_range: 9 14; - fit: 1 1; - min: 0 0; - max: 1 0; - align: 0.5 0.5; - ellipsis: 0.0; - } - color: 0 0 0 255; - align: 0.5 0.5; - rel1.to: "elements_area"; - rel2.to: "elements_area"; - } - } - part { name: "elm.text.subtitle"; - type: TEXT; - scale: 1; - repeat_events: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - text { font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - max: 1 0; - align: 0.5 1; - } - rel1 { - to_y: "elm.text.title"; - to_x: "elements_area"; - relative: 0.0 1.0; - offset: 0 -3; - } - rel2 { - to: "elements_area"; - offset: -1 -4; - } - color: 50 50 50 255; - align: 0.5 0.0; - } - } - } - programs { - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "title_clip"; - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "title_clip"; - transition: DECELERATE 0.5; - } - program { name: "title_clicked"; - signal: "mouse,clicked,1"; - source: "title_base"; - action: SIGNAL_EMIT "elm,action,title,clicked" ""; - } - - program { - signal: "elm,state,title_label,show"; - source: "elm"; - script { - set_notitle(0); - } - } - program { - signal: "elm,state,title_label,hide"; - source: "elm"; - script { - set_notitle(1); - } - } - - program { - signal: "elm,state,prev_btn,show"; - source: "elm"; - script { - set_noprev(0); - } - } - program { - signal: "elm,state,prev_btn,hide"; - source: "elm"; - script { - set_noprev(1); - } - } - program { - signal: "elm,state,next_btn,show"; - source: "elm"; - script { - set_nonext(0); - } - } - program { - signal: "elm,state,next_btn,hide"; - source: "elm"; - script { - set_nonext(1); - } - } - - /* current page is being pushed: [previous]<----[current] */ - program { name: "cur_pushed_phase1"; - signal: "elm,state,cur,pushed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "cur_pushed_phase2"; - } - program { name: "cur_pushed_phase2"; - action: STATE_SET "previous" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "cur_pushed_phase3"; - } - program { name: "cur_pushed_phase3"; - action: SIGNAL_EMIT "elm,action,pushed,finished" ""; - } - - /* current page is being popped: [current]---->[next] */ - program { name: "cur_popped_phase1"; - signal: "elm,state,cur,popped"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "cur_popped_phase2"; - } - program { name: "cur_popped_phase2"; - action: STATE_SET "next" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "cur_popped_phase3"; - } - program { name: "cur_popped_phase3"; - action: SIGNAL_EMIT "elm,action,popped,finished" ""; - } - - /* new page is being pushed: [current]<----[next] */ - program { name: "new_pushed_phase1"; - signal: "elm,state,new,pushed"; - source: "elm"; - action: STATE_SET "next" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "new_pushed_phase2"; - } - program { name: "new_pushed_phase2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "new_pushed_phase3"; - } - program { name: "new_pushed_phase3"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - - /* previous page is being pushed: [previous]---->[current] */ - program { name: "prev_popped_phase1"; - signal: "elm,state,prev,popped"; - source: "elm"; - action: STATE_SET "previous" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - after: "prev_popped_phase2"; - } - program { name: "prev_popped_phase2"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "elements_clip"; - transition: DECELERATE 0.5; - after: "prev_popped_phase3"; - } - program { name: "prev_popped_phase3"; - action: SIGNAL_EMIT "elm,action,show,finished" ""; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/notify.edc b/legacy/elementary/data/themes/widgets/notify.edc deleted file mode 100644 index 7aeb0bab56..0000000000 --- a/legacy/elementary/data/themes/widgets/notify.edc +++ /dev/null @@ -1,833 +0,0 @@ -group { name: "elm/notify/block_events/default"; - parts { - part { name: "block_events"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 64; - visible: 1; - } - } - } - programs { - program { - name: "block_clicked"; - signal: "mouse,clicked,1"; - source: "block_events"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - } - } -} -group { name: "elm/notify/top/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} -group { name: "elm/notify/center/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "bt_dis_base.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "pop"; - mouse_events: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0 ; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "clipper"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "clipper"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} - -group { name: "elm/notify/bottom/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} -group { name: "elm/notify/left/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} -group { name: "elm/notify/right/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} -group { name: "elm/notify/top_left/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} -group { name: "elm/notify/top_right/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} -group { name: "elm/notify/bottom_left/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} -group { name: "elm/notify/bottom_right/default"; - //this group is a design similar to the inwin group - data.item: "hide_finished_signal" "on"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.offset: 10 10; - rel2.offset: -10 -10; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - } - } - } - programs { - program { name: "show"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; - transition: LINEAR 0.5; - } - program { name: "hide"; - signal: "elm,state,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: LINEAR 0.5; - after: "hide_finished"; - } - program { name: "hide_finished"; - action: SIGNAL_EMIT "elm,action,hide,finished" "elm"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/panel.edc b/legacy/elementary/data/themes/widgets/panel.edc deleted file mode 100644 index 12135993ab..0000000000 --- a/legacy/elementary/data/themes/widgets/panel.edc +++ /dev/null @@ -1,946 +0,0 @@ -group { name: "elm/panel/left/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "icon_arrow_left.png" COMP; - image: "icon_arrow_right.png" COMP; - image: "frame_2.png" COMP; - } - data { - item: "focus_highlight" "on"; - } - parts { - part { name: "focus_highlight"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - to: "btn"; - offset: -8 -8; - } - rel2 { - to: "btn"; - offset: 7 7; - } - image { - normal: "frame_2.png"; - border: 5 5 32 26; - middle: 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.offset: -1 -1; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel1.offset: 21 0; - rel2.relative: 0.0 1.0; - rel2.offset: 20 -1; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - offset: 4 4; - to: "base"; - } - rel2 { - offset: -5 -5; - to: "base"; - } - } - } - part { name: "btn"; - mouse_events: 1; - description { state: "default" 0.0; - max: 32 48; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -3 0; - to_x: "base"; - } - rel2.to_x: "bg"; - image { - normal: "bt_base1.png"; - border: 0 5 4 12; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - } - } - part { name: "btn_over"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "btn"; - rel2 { - relative: 1.0 0.5; - to: "btn"; - } - image { - normal: "bt_hilight.png"; - border: 0 7 7 0; - } - } - } - part { name: "btn_over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_shine.png"; - border: 0 7 7 7; - } - } - } - part { name: "btn_over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "btn_icon"; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - align: 0.5 0.5; - min: 16 16; - max: 16 16; - image.normal: "icon_arrow_left.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_right.png"; - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel2.offset: -20 -1; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "btn_click"; - signal: "mouse,down,1"; - source: "btn_over2"; - action: STATE_SET "clicked" 0.0; - target: "btn"; - } - program { name: "btn_unclick"; - signal: "mouse,up,1"; - source: "btn_over2"; - action: STATE_SET "default" 0.0; - target: "btn"; - } - program { name: "btn_click2"; - signal: "mouse,down,1"; - source: "btn_over3"; - action: STATE_SET "clicked" 0.0; - target: "btn_over3"; - } - program { name: "btn_unclick2"; - signal: "mouse,up,1"; - source: "btn_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "btn_over3"; - } - program { name: "btn_unclick3"; - signal: "mouse,clicked,1"; - source: "btn_over2"; - action: SIGNAL_EMIT "elm,action,panel,toggle" ""; - } - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - } - } -} - -group { name: "elm/panel/top/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "icon_arrow_up.png" COMP; - image: "icon_arrow_down.png" COMP; - } - data { - item: "focus_highlight" "on"; - } - parts { - part { name: "focus_highlight"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - to: "btn"; - offset: -8 -8; - } - rel2 { - to: "btn"; - offset: 7 7; - } - image { - normal: "frame_2.png"; - border: 5 5 32 26; - middle: 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.offset: -1 -1; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 -1.0; - rel1.offset: 0 20; - rel2.relative: 1.0 0.0; - rel2.offset: -1 20; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - offset: 4 4; - to: "base"; - } - rel2 { - offset: -5 -5; - to: "base"; - } - } - } - part { name: "btn"; - mouse_events: 1; - description { state: "default" 0.0; - max: 48 32; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -6; - to_y: "base"; - } - rel2.to_y: "bg"; - image { - normal: "bt_base1.png"; - border: 12 4 0 5; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - } - } - part { name: "btn_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2 { - relative: 1.0 0.5; - to: "btn"; - } - image { - normal: "bt_hilight.png"; - border: 0 7 7 0; - } - } - } - part { name: "btn_over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_shine.png"; - border: 0 7 7 7; - } - } - } - part { name: "btn_over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "btn_icon"; - repeat_events: 1; - description { - state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - align: 0.5 0.5; - min: 16 16; - max: 16 16; - image.normal: "icon_arrow_up.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_down.png"; - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel2.offset: -1 -20; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "btn_click"; - signal: "mouse,down,1"; - source: "btn_over2"; - action: STATE_SET "clicked" 0.0; - target: "btn"; - } - program { name: "btn_unclick"; - signal: "mouse,up,1"; - source: "btn_over2"; - action: STATE_SET "default" 0.0; - target: "btn"; - } - program { name: "btn_click2"; - signal: "mouse,down,1"; - source: "btn_over3"; - action: STATE_SET "clicked" 0.0; - target: "btn_over3"; - } - program { name: "btn_unclick2"; - signal: "mouse,up,1"; - source: "btn_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "btn_over3"; - } - program { name: "btn_unclick3"; - signal: "mouse,clicked,1"; - source: "btn_over2"; - action: SIGNAL_EMIT "elm,action,panel,toggle" ""; - } - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - } - } -} - -group { name: "elm/panel/bottom/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "icon_arrow_up.png" COMP; - image: "icon_arrow_down.png" COMP; - } - data { - item: "focus_highlight" "on"; - } - parts { - part { name: "focus_highlight"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - to: "btn"; - offset: -8 -8; - } - rel2 { - to: "btn"; - offset: 7 7; - } - image { - normal: "frame_2.png"; - border: 5 5 32 26; - middle: 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel2.offset: -1 -1; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 1.0; - rel1.offset: -1 -24; - rel2.relative: 1.0 2.0; - rel2.offset: 0 -21; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - offset: 4 4; - to: "base"; - } - rel2 { - offset: -5 -5; - to: "base"; - } - } - } - part { name: "btn"; - mouse_events: 1; - description { state: "default" 0.0; - max: 48 32; - fixed: 1 1; - align: 0.5 0.0; - rel1.to_y: "bg"; - rel2 { - relative: 1.0 0.0; - offset: 0 5; - to_y: "base"; - } - image { - normal: "bt_base1.png"; - border: 4 12 5 0; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - } - } - part { name: "btn_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2 { - relative: 1.0 0.5; - to: "btn"; - } - image { - normal: "bt_hilight.png"; - border: 0 7 7 0; - } - } - } - part { name: "btn_over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_shine.png"; - border: 0 7 7 7; - } - } - } - part { name: "btn_over3"; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "btn_icon"; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - align: 0.5 0.5; - min: 16 16; - max: 16 16; - image.normal: "icon_arrow_down.png"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_up.png"; - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.offset: -1 20; - rel2.to: "bg"; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "btn_click"; - signal: "mouse,down,1"; - source: "btn_over2"; - action: STATE_SET "clicked" 0.0; - target: "btn"; - } - program { name: "btn_unclick"; - signal: "mouse,up,1"; - source: "btn_over2"; - action: STATE_SET "default" 0.0; - target: "btn"; - } - program { name: "btn_click2"; - signal: "mouse,down,1"; - source: "btn_over3"; - action: STATE_SET "clicked" 0.0; - target: "btn_over3"; - } - program { name: "btn_unclick2"; - signal: "mouse,up,1"; - source: "btn_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "btn_over3"; - } - program { name: "btn_unclick3"; - signal: "mouse,clicked,1"; - source: "btn_over2"; - action: SIGNAL_EMIT "elm,action,panel,toggle" ""; - } - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - } - } -} - -group { name: "elm/panel/right/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "icon_arrow_left.png" COMP; - image: "icon_arrow_right.png" COMP; - } - parts { - part { name: "focus_highlight"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - to: "btn"; - offset: -8 -8; - } - rel2 { - to: "btn"; - offset: 7 7; - } - image { - normal: "frame_2.png"; - border: 5 5 32 26; - middle: 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.relative: 0.0 0.0; - rel1.offset: 0 0; - rel2.relative: 1.0 1.0; - rel2.offset: -1 -1; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel1.offset: -22 0; - rel2.relative: 2.0 1.0; - rel2.offset: -23 -1; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - offset: 4 4; - to: "base"; - } - rel2 { - offset: -5 -5; - to: "base"; - } - } - } - part { name: "btn"; - mouse_events: 1; - description { state: "default" 0.0; - max: 32 48; - fixed: 1 1; - align: 1 0.5; - rel1.to_x: "bg"; - rel2 { - offset: 2 0; - relative: 0.0 1; - to_x: "base"; - } - image { - normal: "bt_base1.png"; - border: 5 0 4 12; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - } - } - part { name: "btn_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2 { - relative: 1.0 0.5; - to: "btn"; - } - image { - normal: "bt_hilight.png"; - border: 7 0 7 0; - } - } - } - part { name: "btn_over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_shine.png"; - border: 7 0 7 7; - } - } - } - part { name: "btn_over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "btn"; - rel2.to: "btn"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth: 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "btn_icon"; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "btn"; - rel2.to: "btn"; - align: 0.5 0.5; - min: 16 16; - max: 16 16; - image.normal: "icon_arrow_right.png"; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - image.normal: "icon_arrow_left.png"; - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.offset: 20 0; - rel2.to: "bg"; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "bg"; - target: "btn_icon"; - transition: BOUNCE 0.5 1.0 3; - } - program { name: "btn_click"; - signal: "mouse,down,1"; - source: "btn_over2"; - action: STATE_SET "clicked" 0.0; - target: "btn"; - } - program { name: "btn_unclick"; - signal: "mouse,up,1"; - source: "btn_over2"; - action: STATE_SET "default" 0.0; - target: "btn"; - } - program { name: "btn_click2"; - signal: "mouse,down,1"; - source: "btn_over3"; - action: STATE_SET "clicked" 0.0; - target: "btn_over3"; - } - program { name: "btn_unclick2"; - signal: "mouse,up,1"; - source: "btn_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "btn_over3"; - } - program { name: "btn_unclick3"; - signal: "mouse,clicked,1"; - source: "btn_over2"; - action: SIGNAL_EMIT "elm,action,panel,toggle" ""; - } - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/panes.edc b/legacy/elementary/data/themes/widgets/panes.edc deleted file mode 100644 index 9e5cb7b5dc..0000000000 --- a/legacy/elementary/data/themes/widgets/panes.edc +++ /dev/null @@ -1,924 +0,0 @@ -group { name: "elm/panes/vertical/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "arrow_right.png" COMP; - image: "arrow_left.png" COMP; - } - parts { - part { name: "whole"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - } - - //2 contents - part { name: "whole_left"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel2.to_x: "elm.bar"; - rel2.relative: 0.0 1.0; - visible: 1; - } - } - part { name: "elm.swallow.left"; - type: SWALLOW; - clip_to: "whole_left"; - description { state: "default" 0.0; - rel1.to: "whole_left"; - rel2.to: "whole_left"; - } - } - part { name: "whole_right"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to_x: "elm.bar"; - rel1.relative: 1.0 0.0; - visible: 1; - } - } - part { name: "elm.swallow.right"; - type: SWALLOW; - clip_to: "whole_right"; - description { state: "default" 0.0; - rel1.to: "whole_right"; - rel2.to: "whole_right"; - } - } - //BAR - part { name: "elm.bar"; - mouse_events: 1; - dragable { - confine: "whole"; - x: 1 1 1; - y: 0 0 0; - } - description { state: "default" 0.0; - max: 15 9999; - min: 15 100; - fixed: 1 1; - rel1.relative: 0.0 0.5; - rel2.relative: 1.0 0.5; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name:"bar_disabled"; - type: RECT; - description { state:"default" 0.0; - rel1.to_x: "elm.bar"; - rel2.to_x: "elm.bar"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - - //Arrow - part { name: "arrow_right"; - repeat_events: 1; - description { state: "default" 0.0; - min: 45 45; - max: 45 45; - color: 255 255 255 0; - - rel1.relative: 1.0 0.5; - rel1.to_x: "elm.bar"; - rel1.offset: 45/2 -45/2; - - rel2.relative: 1.0 0.5; - rel2.to_x: "elm.bar"; - rel2.offset: 45/2 45/2; - - image.normal: "arrow_right.png"; - - fixed: 1 1; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - image.normal: "arrow_left.png"; - } - description { state: "anim_1" 0.0; - inherit: "default" 0.0; - color: 255 255 255 200; - rel1.offset: (45/2 + 10) -45/2; - rel2.offset: (45/2 +10) 45/2; - } - description { state: "anim_1" 0.1; - inherit: "default" 0.0; - image.normal: "arrow_left.png"; - color: 255 255 255 200; - rel1.offset: (45/2 + 10) -45/2; - rel2.offset: (45/2 +10) 45/2; - } - description { state: "anim_2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - rel1.offset: (45/2 + 20) -45/2; - rel2.offset: (45/2 + 20) 45/2; - } - description { state: "anim_2" 0.1; - inherit: "default" 0.0; - image.normal: "arrow_left.png"; - color: 255 255 255 0; - rel1.offset: (45/2 + 20) -45/2; - rel2.offset: (45/2 + 20) 45/2; - } - } - part { name: "arrow_left"; - repeat_events: 1; - description { state: "default" 0.0; - min: 45 45; - max: 45 45; - color: 255 255 255 0; - - rel1.relative: 0.0 0.5; - rel1.to_x: "elm.bar"; - rel1.offset: -45/2 -45/2; - - rel2.relative: 0.0 0.5; - rel2.to_x: "elm.bar"; - rel2.offset: -45/2 45/2; - - image.normal: "arrow_left.png"; - - fixed: 1 1; - } - description { state: "default" 0.1; - inherit: "default" 0.0; - image.normal: "arrow_right.png"; - } - description { state: "anim_1" 0.0; - inherit: "default" 0.0; - color: 255 255 255 200; - rel1.offset: (-45/2 - 10) -45/2; - rel2.offset: (-45/2 - 10) 45/2; - } - description { state: "anim_1" 0.1; - inherit: "default" 0.0; - image.normal: "arrow_right.png"; - color: 255 255 255 200; - rel1.offset: (-45/2 - 10) -45/2; - rel2.offset: (-45/2 - 10) 45/2; - } - description { state: "anim_2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - rel1.offset: (-45/2 - 20) -45/2; - rel2.offset: (-45/2 - 20) 45/2; - } - description { state: "anim_2" 0.1; - inherit: "default" 0.0; - image.normal: "arrow_right.png"; - color: 255 255 255 0; - rel1.offset: (-45/2 - 20) -45/2; - rel2.offset: (-45/2 - 20) 45/2; - } - } - } - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - after: "arrow_anim_start"; - } - program { - name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "elm.bar"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - after: "arrow_anim_stop"; - } - program { - name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "elm.bar"; - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "button_down_double"; - signal: "mouse,down,1,double"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,click,double" ""; - } - - //arrows animation - program { - name: "arrow_anim_start"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow_left", st, 30, vl); - if (vl == 0.0) { - run_program(PROGRAM:"arrow_anim_start_ltr"); - } - else { - run_program(PROGRAM:"arrow_anim_start_rtl"); - } - } - } - program { - name: "arrow_anim_stop"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow_left", st, 30, vl); - if (vl == 0.0) { - run_program(PROGRAM:"arrow_anim_stop_ltr"); - } - else { - run_program(PROGRAM:"arrow_anim_stop_rtl"); - } - } - } - - program { - name: "arrow_anim_start_ltr"; - action: STATE_SET "anim_1" 0.0; - target: "arrow_right"; - target: "arrow_left"; - transition: LINEAR 0.6; - after: "arrow_anim_1_ltr"; - } - program { - name: "arrow_anim_1_ltr"; - action: STATE_SET "anim_2" 0.0; - target: "arrow_right"; - target: "arrow_left"; - transition: LINEAR 0.6; - after: "arrow_anim_2_ltr"; - } - program { - name: "arrow_anim_2_ltr"; - action: STATE_SET "default" 0.0; - target: "arrow_right"; - target: "arrow_left"; - after: "arrow_anim_start_ltr"; - } - program { - name: "arrow_anim_stop_ltr"; - action: ACTION_STOP; - target: "arrow_anim_start_ltr"; - target: "arrow_anim_1_ltr"; - target: "arrow_anim_2_ltr"; - after: "arrow_anim_stop_1_ltr"; - } - program { - name: "arrow_anim_stop_1_ltr"; - action: STATE_SET "default" 0.0; - target: "arrow_right"; - target: "arrow_left"; - transition: DECELERATE 0.4; - } - program { - name: "arrow_anim_start_rtl"; - action: STATE_SET "anim_1" 0.1; - target: "arrow_right"; - target: "arrow_left"; - transition: LINEAR 0.6; - after: "arrow_anim_1_rtl"; - } - program { - name: "arrow_anim_1_rtl"; - action: STATE_SET "anim_2" 0.1; - target: "arrow_right"; - target: "arrow_left"; - transition: LINEAR 0.6; - after: "arrow_anim_2_rtl"; - } - program { - name: "arrow_anim_2_rtl"; - action: STATE_SET "default" 0.1; - target: "arrow_right"; - target: "arrow_left"; - after: "arrow_anim_start_rtl"; - } - program { - name: "arrow_anim_stop_rtl"; - action: ACTION_STOP; - target: "arrow_anim_start_rtl"; - target: "arrow_anim_1_rtl"; - target: "arrow_anim_2_rtl"; - after: "arrow_anim_stop_1_rtl"; - } - program { - name: "arrow_anim_stop_1_rtl"; - action: STATE_SET "default" 0.1; - target: "arrow_right"; - target: "arrow_left"; - transition: DECELERATE 0.4; - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow_left", st, 30, vl); - if (vl == 0.0) { - set_state(PART:"arrow_left", st, 0.1); - } - get_state(PART:"arrow_right", st, 30, vl); - if (vl == 0.0) { - set_state(PART:"arrow_right", st, 0.1); - } - } - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - script { - new st[31]; - new Float:vl; - get_state(PART:"arrow_left", st, 30, vl); - if (vl == 0.1) { - set_state(PART:"arrow_left", st, 0.0); - } - get_state(PART:"arrow_right", st, 30, vl); - if (vl == 0.1) { - set_state(PART:"arrow_right", st, 0.0); - } - } - } - //fix the pane - program { - name: "panes_fixed"; - signal: "elm,panes,fixed"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.bar"; - target: "over1"; - target: "bar_disabled"; - } - //allow the movement by interaction - program { - name: "panes_unfixed"; - signal: "elm,panes,unfixed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bar"; - target: "over1"; - target: "bar_disabled"; - } - } -} - -group { name: "elm/panes/horizontal/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "arrow_up.png" COMP; - image: "arrow_down.png" COMP; - } - parts { - part { name: "whole"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - } - } - - //2 contents - part { name: "whole_left"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel2.to_y: "elm.bar"; - rel2.relative: 1.0 0.0; - visible: 1; - } - } - part { name: "elm.swallow.left"; - type: SWALLOW; - clip_to: "whole_left"; - description { state: "default" 0.0; - rel1.to: "whole_left"; - rel2.to: "whole_left"; - } - } - part { name: "whole_right"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to_y: "elm.bar"; - rel1.relative: 0.0 1.0; - visible: 1; - } - } - part { name: "elm.swallow.right"; - type: SWALLOW; - clip_to: "whole_right"; - description { state: "default" 0.0; - rel1.to: "whole_right"; - rel2.to: "whole_right"; - } - } - //BAR - part { name: "elm.bar"; - mouse_events: 1; - dragable { - confine: "whole"; - x: 0 0 0; - y: 1 1 1; - } - description { state: "default" 0.0; - max: 999 15; - min: 100 15; - fixed: 1 1; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name:"bar_disabled"; - type: RECT; - description { state:"default" 0.0; - rel1.to_y: "elm.bar"; - rel2.to_y: "elm.bar"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - - //Arrow - part { name: "arrow_right"; - repeat_events: 1; - description { state: "default" 0.0; - min: 45 45; - max: 45 45; - color: 255 255 255 0; - - rel1.relative: 0.5 1.0; - rel1.to_y: "elm.bar"; - rel1.offset: -45/2 45/2; - - rel2.relative: 0.5 1.0; - rel2.to_y: "elm.bar"; - rel2.offset: 45/2 45/2; - - image.normal: "arrow_down.png"; - - fixed: 1 1; - } - description { state: "anim_1" 0.0; - inherit: "default" 0.0; - color: 255 255 255 200; - rel1.offset: -45/2 (45/2 +10); - rel2.offset: 45/2 (45/2 +10); - } - description { state: "anim_2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - rel1.offset: -45/2 (45/2 + 20); - rel2.offset: 45/2 (45/2 + 20); - } - } - part { name: "arrow_left"; - repeat_events: 1; - description { state: "default" 0.0; - min: 45 45; - max: 45 45; - color: 255 255 255 0; - - rel1.relative: 0.5 0.0; - rel1.to_y: "elm.bar"; - rel1.offset: -45/2 -45/2; - - rel2.relative: 0.5 0.0; - rel2.to_y: "elm.bar"; - rel2.offset: 45/2 -45/2; - - image.normal: "arrow_up.png"; - - fixed: 1 1; - } - description { state: "anim_1" 0.0; - inherit: "default" 0.0; - color: 255 255 255 200; - rel1.offset: -45/2 (-45/2 - 10); - rel2.offset: 45/2 (-45/2 - 10); - } - description { state: "anim_2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - rel1.offset: -45/2 (-45/2 - 20); - rel2.offset: 45/2 (-45/2 - 20); - } - } - } - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,press" ""; - after: "button_click_anim"; - after: "arrow_anim_start"; - } - program { - name: "button_click_anim"; - action: STATE_SET "clicked" 0.0; - target: "elm.bar"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,unpress" ""; - after: "button_unclick_anim"; - after: "arrow_anim_stop"; - } - program { - name: "button_unclick_anim"; - action: STATE_SET "default" 0.0; - target: "elm.bar"; - } - program { - name: "button_click2"; - signal: "mouse,down,1"; - source: "over3"; - action: STATE_SET "clicked" 0.0; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,up,1"; - source: "over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "over3"; - } - program { - name: "button_unclick3"; - signal: "mouse,up,1"; - source: "over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "button_down_double"; - signal: "mouse,down,1,double"; - source: "over3"; - action: SIGNAL_EMIT "elm,action,click,double" ""; - } - - //arrows animation - program { - name: "arrow_anim_start"; - action: STATE_SET "anim_1" 0.0; - target: "arrow_right"; - target: "arrow_left"; - transition: LINEAR 0.6; - after: "arrow_anim_1"; - } - program { - name: "arrow_anim_1"; - action: STATE_SET "anim_2" 0.0; - target: "arrow_right"; - target: "arrow_left"; - transition: LINEAR 0.6; - after: "arrow_anim_2"; - } - program { - name: "arrow_anim_2"; - action: STATE_SET "default" 0.0; - target: "arrow_right"; - target: "arrow_left"; - after: "arrow_anim_start"; - } - program { - name: "arrow_anim_stop"; - action: ACTION_STOP; - target: "arrow_anim_start"; - target: "arrow_anim_1"; - target: "arrow_anim_2"; - after: "arrow_anim_stop_1"; - } - program { - name: "arrow_anim_stop_1"; - action: STATE_SET "default" 0.0; - target: "arrow_right"; - target: "arrow_left"; - transition: DECELERATE 0.4; - } - //fix the pane - program { - name: "panes_fixed"; - signal: "elm,panes,fixed"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "elm.bar"; - target: "over1"; - target: "bar_disabled"; - } - //allow the movement by interaction - program { - name: "panes_unfixed"; - signal: "elm,panes,unfixed"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.bar"; - target: "over1"; - target: "bar_disabled"; - } - } -} - -group { name: "elm/panes/vertical/flush"; - parts { - part { name: "whole"; type: SPACER; - description { state: "default" 0.0; - } - } - part { name: "whole_left"; type: RECT; - description { state: "default" 0.0; - rel1.to: "elm.swallow.left"; - rel2.to: "elm.swallow.left"; - } - } - part { name: "whole_right"; type: RECT; - description { state: "default" 0.0; - rel1.to: "elm.swallow.right"; - rel2.to: "elm.swallow.right"; - } - } - part { name: "elm.swallow.left"; type: SWALLOW; - clip_to: "whole_left"; - description { state: "default" 0.0; - rel2.to_x: "elm.bar"; - rel2.relative: 1.0 1.0; - } - } - part { name: "elm.swallow.right"; type: SWALLOW; - clip_to: "whole_right"; - description { state: "default" 0.0; - rel1.to_x: "elm.bar"; - rel1.relative: 0.0 0.0; - } - } - part { name: "elm.bar"; type: SPACER; - dragable { confine: "whole"; - x: 1 1 1; - y: 0 0 0; - } - description { state: "default" 0.0; - max: 0 99999; - min: 0 100; - fixed: 1 1; - rel1.relative: 0.0 0.5; - rel2.relative: 1.0 0.5; - } - } - part { name: "bar"; - dragable.events: "elm.bar"; - description { state: "default" 0.0; - max: 15 99999; - min: 15 100; - fixed: 1 1; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - } - } - } -} - -group { name: "elm/panes/horizontal/flush"; - parts { - part { name: "whole"; type: SPACER; - description { state: "default" 0.0; - } - } - part { name: "whole_left"; type: RECT; - description { state: "default" 0.0; - rel1.to: "elm.swallow.left"; - rel2.to: "elm.swallow.left"; - } - } - part { name: "whole_right"; type: RECT; - description { state: "default" 0.0; - rel1.to: "elm.swallow.right"; - rel2.to: "elm.swallow.right"; - } - } - part { name: "elm.swallow.left"; type: SWALLOW; - clip_to: "whole_left"; - description { state: "default" 0.0; - rel2.to_y: "elm.bar"; - rel2.relative: 1.0 1.0; - } - } - part { name: "elm.swallow.right"; type: SWALLOW; - clip_to: "whole_right"; - description { state: "default" 0.0; - rel1.to_y: "elm.bar"; - rel1.relative: 0.0 0.0; - } - } - part { name: "elm.bar"; type: SPACER; - dragable { confine: "whole"; - x: 0 0 0; - y: 1 1 1; - } - description { state: "default" 0.0; - max: 99999 0; - min: 100 0; - fixed: 1 1; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - } - } - part { name: "bar"; - dragable.events: "elm.bar"; - description { state: "default" 0.0; - max: 99999 15; - min: 100 15; - fixed: 1 1; - rel1.to: "elm.bar"; - rel2.to: "elm.bar"; - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/photo.edc b/legacy/elementary/data/themes/widgets/photo.edc deleted file mode 100644 index f3fadea392..0000000000 --- a/legacy/elementary/data/themes/widgets/photo.edc +++ /dev/null @@ -1,139 +0,0 @@ -group { name: "elm/photo/base/default"; - images { - image: "frame_1.png" COMP; - image: "frame_2.png" COMP; - image: "dia_grad.png" COMP; - } - parts { - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "dia_grad.png"; - rel1.to: "over"; - rel2.to: "over"; - fill { - smooth: 0; - size { - relative: 0.0 1.0; - offset: 64 0; - } - } - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "frame_2.png"; - border: 5 5 32 26; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "clip"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clip"; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - } - } - part { name: "over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - image { - normal: "frame_1.png"; - border: 2 2 28 22; - middle: 0; - } - fill.smooth: 0; - } - } - } -} - -group { name: "elm/photo/base/shadow"; - images { - image: "shadow.png" COMP; - image: "black.png" COMP; - } - script { - public message(Msg_Type:type, id, ...) { - if( (type==MSG_INT_SET) && (id==0) ) - { - new w; - new h; - - custom_state(PART:"size", "default", 0.0); - - w = getarg(2); - h = getarg(3); - set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2); - set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1); - set_state(PART:"size", "custom", 0.0); - } - } - } - parts { - part { name: "size"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.5 0.5; - rel2.relative: 0.5 0.5; - } - } - part { - name: "shadow"; - type: IMAGE; - repeat_events: 1; - description { - state: "default" 0.0; - rel1.to: "size"; - rel2.to: "size"; - rel1.relative: -0.06 -0.06; - rel2.relative: 1.07 1.07; - image.normal: "shadow.png"; - } - } - - - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 3 3; - rel2.offset: -3 -3; - fixed: 1 1; - } - } - - part { - name: "border"; - type: IMAGE; - repeat_events: 1; - description { - state: "default" 0.0; - visible: 1; - color: 0 0 0 255; - rel1.to: "size"; - rel2.to: "size"; - image.normal: "black.png"; - image.border: 1 1 1 1; - image.middle: 0; - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/photocam.edc b/legacy/elementary/data/themes/widgets/photocam.edc deleted file mode 100644 index 8a1e1978a7..0000000000 --- a/legacy/elementary/data/themes/widgets/photocam.edc +++ /dev/null @@ -1,493 +0,0 @@ -group { name: "elm/photocam/base/default"; - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - images { - image: "shelf_inset.png" COMP; - image: "bt_sm_base2.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.offset: -2 -2; - } - } - part { name: "busy_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "busy"; - clip_to: "busy_clip"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - min: 32 32; - aspect: 1.0 1.0; - align: 1.0 1.0; - aspect_preference: BOTH; - rel1 { - relative: 0.9 0.9; - offset: -9 -9; - } - rel2 { - relative: 0.9 0.9; - offset: -9 -9; - } - image { - normal: "busy-9.png"; - tween: "busy-1.png"; - tween: "busy-2.png"; - tween: "busy-3.png"; - tween: "busy-4.png"; - tween: "busy-5.png"; - tween: "busy-6.png"; - tween: "busy-7.png"; - tween: "busy-8.png"; - } - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.offset: -1 -1; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 10 17; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: -2 0; - } - rel2 { - relative: 1.0 0.0; - offset: -2 -1; - to_y: "sb_hbar"; - } - } - } - part { name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 10 17; - max: 10 99999; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 6 6 6 6; - middle: SOLID; - } - } - } - part { name: "sb_vbar_over1"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - } - part { name: "sb_vbar_over2"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - } - - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 17 10; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -2; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -2; - to_x: "sb_vbar"; - } - } - } - part { name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - max: 99999 10; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 4 4 4 4; - middle: SOLID; - } - } - } - part { name: "sb_hbar_over1"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "sb_hbar_over2"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_shine.png"; - border: 4 4 4 0; - } - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - } - } - - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - program { name: "go1"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - } - program { name: "go2"; - signal: "elm,state,busy,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "busy"; - after: "go2"; - } - program { name: "stop1"; - signal: "elm,state,busy,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "busy_clip"; - after: "stop2"; - } - program { name: "stop2"; - action: ACTION_STOP; - target: "go2"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/player.edc b/legacy/elementary/data/themes/widgets/player.edc deleted file mode 100644 index 2a036c9add..0000000000 --- a/legacy/elementary/data/themes/widgets/player.edc +++ /dev/null @@ -1,183 +0,0 @@ -#define BSZ 24 -group { name: "elm/player/base/default"; - min: 20 10; - - parts { - part { name: "media_player/slider"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 0 1; - rel1.offset: 2 2; - rel2.offset: 2 -3; - rel2.relative: 1.0 0.0; - align: 0.5 0.0; - } - } - part { name: "media_player/rewind"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - min: BSZ BSZ; - align: 0.0 1.0; - rel1 { - to_y: "media_player/slider"; - offset: 2 2; - relative: 0.0 1.0; - } - rel2 { - relative: 0.0 1.0; - offset: 2 -3; - } - } - } - part { name: "media_player/prev"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - min: BSZ BSZ; - align: 0.0 1.0; - rel1 { to: "media_player/rewind"; - offset: 2 0; - relative: 1.0 0.0; - } - rel2 { to: "media_player/rewind"; - offset: 2 -1; - relative: 1.0 1.0; - } - } - } - part { name: "media_player/play"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - min: BSZ BSZ; - align: 0.0 1.0; - rel1 { to: "media_player/prev"; - offset: 2 0; - relative: 1.0 0.0; - } - rel2 { to: "media_player/prev"; - offset: 2 -1; - relative: 1.0 1.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "media_player/pause"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "media_player/play"; - rel2.to: "media_player/play"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "media_player/info"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - min: BSZ BSZ; - align: 0.0 1.0; - rel1 { to: "media_player/play"; - offset: 2 0; - relative: 1.0 0.0; - } - rel2 { to: "media_player/play"; - offset: 2 -1; - relative: 1.0 1.0; - } - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "media_player/stop"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - min: BSZ BSZ; - align: 0.0 1.0; - rel1 { to: "media_player/info"; - offset: 2 0; - relative: 1.0 0.0; - } - rel2 { to: "media_player/info"; - offset: 2 -1; - relative: 1.0 1.0; - } - } - } - part { name: "media_player/next"; type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - min: BSZ BSZ; - align: 0.0 1.0; - rel1 { to: "media_player/stop"; - offset: 2 0; - relative: 1.0 0.0; - } - rel2 { to: "media_player/stop"; - offset: 2 -1; - relative: 1.0 1.0; - } - } - } - part { name: "media_player/forward"; type: SWALLOW; - description { state: "default" 0.0; - min: BSZ BSZ; - align: 0.0 1.0; - rel1 { to: "media_player/next"; - offset: 2 0; - relative: 1.0 0.0; - } - rel2.offset: -3 -3; - } - } - } - programs { - program { - signal: "show"; - source: ""; - after: "pause/0"; - } - program { - signal: "elm,player,play"; - source: "elm"; - after: "play/0"; - } - program { - signal: "elm,player,pause"; - source: "elm"; - after: "pause/0"; - } - program { - name: "play/0"; - - action: STATE_SET "hidden" 0.0; - target: "media_player/play"; - - after: "play/1"; - } - program { - name: "play/1"; - - action: STATE_SET "default" 0.0; - target: "media_player/pause"; - } - program { - name: "pause/0"; - - action: STATE_SET "hidden" 0.0; - target: "media_player/pause"; - - after: "pause/1"; - } - program { - name: "pause/1"; - - action: STATE_SET "default" 0.0; - target: "media_player/play"; - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/pointer.edc b/legacy/elementary/data/themes/widgets/pointer.edc deleted file mode 100644 index c0a3cdf2e7..0000000000 --- a/legacy/elementary/data/themes/widgets/pointer.edc +++ /dev/null @@ -1,189 +0,0 @@ - group { name: "elm/pointer/base/default"; - images { - image: "pointer.png" COMP; - image: "pointer_glow.png" COMP; - image: "pointer_glint_01.png" COMP; - image: "pointer_glint_02.png" COMP; - image: "pointer_glint_03.png" COMP; - image: "pointer_glint_04.png" COMP; - image: "pointer_glint_05.png" COMP; - image: "pointer_glint_06.png" COMP; - image: "pointer_glint_07.png" COMP; - image: "pointer_glint_08.png" COMP; - image: "pointer_glint_09.png" COMP; - image: "pointer_glint_10.png" COMP; - image: "pointer_glint_11.png" COMP; - image: "pointer_glint_12.png" COMP; - } - parts { - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 0.71875 0.71875; - min: 23 32; - /* force a specific aspect ratio so - * when it gets scaled it wont squash - * or stretch */ - aspect_preference: BOTH; - /* both axes control aspect - thus it - * will be WITHIN the bounds the axes - * of thre part describe */ - image { - normal: "pointer.png"; - } - } - } - part { - name: "glow"; - /* this overlay is used to put a white glow - * around the pointer, so when the pointer is - * idle every now and again it will pulsate - * with this glow to just remind you where the - * pointer is (if you lose a black-ish - * pointer on a black background) */ - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - visible: 0; - color: 255 255 255 0; - image.normal: "pointer_glow.png"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "glint"; - /* this overlay flips a series of small images - * over the pointer. they look like a white - * light/refelection when put over the pointer - * base image - and produce a "glinting" effect - * when played back fast */ - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - visible: 0; - image.normal: "pointer_glint_12.png"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - image.tween: "pointer_glint_01.png"; - image.tween: "pointer_glint_02.png"; - image.tween: "pointer_glint_03.png"; - image.tween: "pointer_glint_04.png"; - image.tween: "pointer_glint_05.png"; - image.tween: "pointer_glint_06.png"; - image.tween: "pointer_glint_07.png"; - image.tween: "pointer_glint_08.png"; - image.tween: "pointer_glint_09.png"; - image.tween: "pointer_glint_10.png"; - image.tween: "pointer_glint_11.png"; - image.normal: "pointer_glint_12.png"; - } - } - part { - name: "elm.swallow.hotspot"; - /* this is a "fake" swallow part - * that is used by e to determine - * the pointer hotspot - or where - * the actual mouse events get - * reported from on the cursor */ - type: SWALLOW; - description { - state: "default" 0.0; - visible: 0; - rel1 { - /* the hotspot will scale with the cursor here */ - to: "base"; - relative: 0.27 0.125; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 0.27 0.125; - offset: 0 0; - } - } - } - } - programs { - program { - name: "mouse_down"; - /* called every time elm detects a mouse - * press */ - signal: "elm,action,mouse,down"; - source: "elm"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.3; - target: "glint"; - after: "mouse_down2"; - } - program { - name: "mouse_down2"; - action: STATE_SET "default" 0.0; - target: "glint"; - } - program { - name: "mouse_idle"; - /* called when e thinks the mouse went - * idle and isn't moving */ - signal: "elm,state,mouse,idle"; - source: "elm"; - action: STATE_SET "visible" 0.0; - in: 5.0 0.0; - transition: SINUSOIDAL 1.0; - target: "glow"; - after: "mouse_idle2"; - } - program { - name: "mouse_idle2"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 2.0; - target: "glow"; - after: "mouse_idle"; - } - program { - name: "mouse_active"; - /* called when e sees the mouse become - * active again */ - signal: "elm,state,mouse,active"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "glow"; - after: "mouse_active2"; - } - program { - name: "mouse_active2"; - action: ACTION_STOP; - target: "mouse_idle"; - target: "mouse_idle2"; - } - // when mouse button is released. not used here - // program { name: "xx"; - // signal: "e,action,mouse,up"; - // source: "e"; - // } - // when mouse button is moved. not used here - // program { name: "xx"; - // signal: "e,action,mouse,move"; - // source: "e"; - // } - // when mouse wheel is scrolled. not used here - // program { name: "xx"; - // signal: "e,action,mouse,wheel"; - // source: "e"; - // } - } - } - diff --git a/legacy/elementary/data/themes/widgets/popup.edc b/legacy/elementary/data/themes/widgets/popup.edc deleted file mode 100644 index 3fec359e05..0000000000 --- a/legacy/elementary/data/themes/widgets/popup.edc +++ /dev/null @@ -1,924 +0,0 @@ -#define POPUP_ITEM_STATE_ENABLED 0 -#define POPUP_ITEM_STATE_DISABLED 1 - -/*popup widget specific notify style style*/ -group { name: "elm/notify/block_events/popup"; - parts { - part { name: "block_events"; - type: RECT; - description { state: "default" 0.0; - color: 61 59 56 180; - } - } - } - programs { - program { name: "block_clicked"; - signal: "mouse,clicked,1"; - source: "block_events"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - } - } -} - -group { name: "elm/notify/block_events/transparent"; - parts { - part { name: "block_events"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "clicked" 0.0; - color: 0 0 0 50; - } - } - } - programs { - program { name: "block_clicked"; - signal: "mouse,clicked,1"; - source: "block_events"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - after: "deeper_block_color"; - } - program { - name: "deeper_block_color"; - action: STATE_SET "clicked" 0.0; - target: "block_events"; - transition: LINEAR 0.2; - after: "default_block_color"; - } - program { - name: "default_block_color"; - action: STATE_SET "default" 0.0; - target: "block_events"; - transition: LINEAR 0.2; - } - } -} - -group { name: "elm/label/base/popup/default"; - styles - { - style { name: "popup_desc_style"; - base: "font=Sans font_size=10 align=center color=#000000 text_class=label"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - } - parts { - part { name: "left_top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 50 0; - fixed: 1 0; - align: 0.0 0.0; - rel2.relative: 0 0; - } - } - part { name: "right_bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - fixed: 1 0; - align: 1.0 1.0; - rel1.relative: 1 1; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - text { - style: "popup_desc_style"; - min: 0 1; - max: 0 1; - } - rel1 { - relative: 1.0 1.0; - to: left_top_padding; - } - rel2 { - relative: 0.0 0.0; - to: right_bottom_padding; - } - } - } - } -} - -group { name: "elm/popup/base/default"; - styles { - style { name: "popup_title_style"; - base: "font=Sans font_size=15 align=center color=#ffffff wrap=mixed ellipsis=1.0"; - tag: "br" "\n"; - tag: "tab" "\t"; - } - } - parts { - part { name: "base"; - type: RECT; - scale : 1; - description { state: "default" 0.0; - min: 400 0; - color: 237 237 237 255; - align: 0.0 0.0; - } - } - part { name: "elm.bg.title"; - type: RECT; - scale : 1; - description { state: "default" 0.0; - min: 0 50; - fixed : 0 1; - align: 0.5 0.0; - visible: 0; - color: 172 172 172 255; - rel1.to: "base"; - rel2 { - relative: 1.0 0.0; - to: "base"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "left_pad"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - fixed: 1 0; - align: 0.0 0.0; - rel1.to: "elm.bg.title"; - } - } - part { name: "right_pad"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 10 0; - max: 10 0; - fixed: 1 0; - align: 1.0 1.0; - rel2.to: "elm.bg.title"; - } - } - part { name: "elm.swallow.title.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - align: 0.0 0.5; - rel1 { - to: "left_pad"; - relative: 1.0 0.0; - } - rel2 { - to: "right_pad"; - relative: 0.0 1.0; - } - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: 48 48; - max: 48 48; - visible: 1; - } - } - part { name: "elm.text.title"; - type: TEXTBLOCK; - scale:1; - description { state: "default" 0.0; - fixed: 1 1; - text { - style: "popup_title_style"; - min: 0 0; - max: 0 1; - } - color: 255 255 255 255; - visible:0; - rel1 { - relative: 1.0 0.0; - to: "left_pad"; - } - rel2 { - relative: 0.0 1.0; - to: "right_pad"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.title"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.bg.title"; - rel2.to:"elm.bg.title"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - min: 400 0; - fixed: 1 0; - rel1 { - relative: 0.5 0.0; - to: "base"; - } - rel2 { - relative: 0.5 1.0; - to: "base"; - } - } - description { state: "show_title_area" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - to: "elm.bg.title"; - } - } - description { state: "show_action_area" 0.0; - inherit: "default" 0.0; - rel2 { - relative: 0.5 0.0; - to: "elm.bg.action_area"; - } - } - description { state: "show_action_title_area" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - to: "elm.bg.title"; - } - rel2 { - relative: 0.5 0.0; - to: "elm.bg.action_area"; - } - } - } - part { name: "access.body"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.swallow.content"; - rel2.to: "elm.swallow.content"; - color: 0 0 0 0; - } - } - part { name: "elm.bg.action_area"; - type: RECT; - scale : 1; - description { state: "default" 0.0; - min: 400 60; - fixed : 1 1; - align: 0.5 1.0; - visible: 0; - color: 183 183 183 255; - rel1 { - relative: 0.0 1.0; - to: "base"; - } - rel2.to: "base"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.action_area"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel1.to: "elm.bg.action_area"; - rel2.to: "elm.bg.action_area"; - } - } - } - programs { - program { name: show_title_icon; - signal: "elm,state,title,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.title.icon"; - } - program { name: hide_title_icon; - signal: "elm,state,title,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.title.icon"; - } - program { name: show_title_text; - signal: "elm,state,title,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text.title"; - } - program { name: hide_title_text; - signal: "elm,state,title,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.title"; - } - program { name: show_title_area; - signal: "elm,state,title_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.action_area", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); - else - set_state(PART:"elm.swallow.content", "show_title_area", 0.0); - set_state(PART:"elm.bg.title", "visible", 0.0); - } - } - program { name: hide_title_area; - signal: "elm,state,title_area,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.action_area", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "show_action_area", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - set_state(PART:"elm.bg.title", "default", 0.0); - } - } - program { name: show_action_area; - signal: "elm,state,action_area,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.bg.title", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0); - else - set_state(PART:"elm.swallow.content", "show_action_area", 0.0); - set_state(PART:"elm.bg.action_area", "visible", 0.0); - } - } - program { name: hide_action_area; - signal: "elm,state,action_area,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.bg.title", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "show_title_area", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - set_state(PART:"elm.bg.action_area", "default", 0.0); - } - } - } /* end of programs */ -} - -group { name: "elm/popup/content/default"; - parts{ - part { name: "pad_t"; - type: SPACER; - scale : 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 14; - align: 0.5 0.0; - fixed: 0 1; - rel2.relative: 1.0 0.0; - } - } - part { name: "pad_l"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min : 10 0; - fixed: 1 0; - rel2.relative: 0.0 1.0; - align: 0.0 0.0; - } - } - part { name: "pad_r"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min : 10 0; - fixed: 1 0; - rel1.relative: 1.0 0.0; - align: 1.0 0.0; - } - } - part { name: "pad_b"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - min: 0 14; - fixed: 0 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - } - } - part{ name:"elm.swallow.content"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "pad_l"; - to_y: "pad_t"; - } - rel2 { - relative: 0.0 0.0; - to_x: "pad_r"; - to_y: "pad_b"; - } - } - } - } -} - - group { name: "elm/popup/item/popup/default"; - script { - public item_state = POPUP_ITEM_STATE_ENABLED; - } - parts { - part { name: "event_blocker"; - type: RECT; - description { state: "default" 0.0; - } - } - part { name: "bg"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - color: 240 240 240 255; - min: 0 71; - align: 0.5 0.0; - } - description { state: "clicked" 0.0; - color: 190 170 150 255; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: 10 10; - fixed: 1 1; - visible: 0; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: 10 10; - fixed: 1 1; - visible: 0; - } - } - part { name: "separator"; - mouse_events: 0; - type: RECT; - scale: 1; - description { state: "dafault" 0.0; - color: 180 180 180 255; - align: 0.5 1.0; - min: 0 1; - max: 999999 1; - } - } - part { name: "padding_icon_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.0 0.0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content"; - } - rel2.to: "elm.swallow.content"; - fixed: 1 0; - min: 0 0; - visible: 0; - } - description { state: "visible" 0.0; //when icon is visible - inherit: "default" 0.0; - min: 10 0; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - } - description { state: "visible" 0.0; - fixed: 1 0; - min: 40 40; - max: 40 40; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - description { state: "icononly" 0.0; - min: 40 40; - max: 40 40; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 1.0; - to_x: "padding_icon_text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to:"padding_right_bottom"; - } - align: 0.0 0.5; - color: 0 0 0 255; - text { - font: "Sans:style=Bold"; - size: 20; - min: 0 0; - align: 0.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - min: 90 40; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - min: 0 0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - visible: 1; - min: 90 40; - } - } - part { name: "over1"; - type: RECT; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "over2"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disclip"; - type: RECT; - description { state: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - color: 87 87 87 128; - } - } - } - programs { - program { name: "item_unclick"; - signal: "mouse,up,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - } - program { name: "disable"; - signal: "elm,state,item,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disclip"; - after: "disable_text"; - } - program { name: "enable"; - signal: "elm,state,item,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disclip"; - after: "enable_text"; - } - program { name: "item_click2"; - signal: "mouse,down,1"; - source: "over2"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "clicked", 0.0); - set_state(PART:"bg", "clicked", 0.0); - } - } - program { name: "item_unclick2"; - signal: "mouse,up,1"; - source: "over2"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "clicked")) - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - set_int(item_state, POPUP_ITEM_STATE_DISABLED); - } - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - set_int(item_state, POPUP_ITEM_STATE_ENABLED); - } - } - program { name: "text_show"; - signal: "elm,state,item,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - if(get_int(item_state) != POPUP_ITEM_STATE_DISABLED) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "disabled_visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,item,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,item,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - else { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,item,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - } - } - -group { name: "elm/popup/buttons1/popup/default"; - data.item: "action_area_height" "140"; - parts{ - part{ name:"elm.swallow.content.button1"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - min: 252 46; - max: 252 46; - } - } - } -} - -group { name: "elm/popup/buttons2/popup/default"; - data.item: "action_area_height" "140"; - parts{ - part{ name:"elm.swallow.content.button1"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - min: 172 46; - max: 172 46; - fixed : 1 0; - align: 1.0 0.5; - rel1.to: "elm.rect.pad_btn"; - rel2 { - relative: 0.0 1.0; - to: "elm.rect.pad_btn"; - } - } - } - part { name: "elm.rect.pad_btn"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - min: 6 0; - fixed : 1 0; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - } - } - part{ name:"elm.swallow.content.button2"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - min: 172 46; - max: 172 46; - fixed : 1 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to: "elm.rect.pad_btn"; - } - rel2.to: "elm.rect.pad_btn"; - } - } - } -} - -group { name: "elm/popup/buttons3/popup/default"; - data.item: "action_area_height" "140"; - parts{ - part{ name:"elm.swallow.content.button1"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - min: 120 46; - max: 120 46; - fixed : 1 0; - align: 1.0 0.5; - rel1.to: "elm.rect.pad_btn"; - rel2 { - relative: 0.0 1.0; - to: "elm.rect.pad_btn"; - } - } - } - part { name: "elm.rect.pad_btn"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - min: 6 46; - max: 6 46; - fixed : 1 0; - rel1.to: "elm.swallow.content.button2"; - rel2 { - relative: 0.0 1.0; - to: "elm.swallow.content.button2"; - } - } - } - part{ name:"elm.swallow.content.button2"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - min: 120 46; - max: 120 46; - fixed : 1 0; - rel1.relative: 0.5 0.0; - rel2.relative: 0.5 1.0; - } - } - part { name: "elm.rect.pad_btn2"; - type: SPACER; - scale : 1; - description { state: "default" 0.0; - min: 6 46; - max: 6 46; - fixed : 1 0; - rel1 { - relative: 1.0 0.0; - to: "elm.swallow.content.button2"; - } - rel2.to: "elm.swallow.content.button2"; - } - } - part{ name:"elm.swallow.content.button3"; - type: SWALLOW; - scale : 1; - description { state: "default" 0.0; - min: 120 46; - max: 120 46; - fixed : 1 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - to: "elm.rect.pad_btn2"; - } - rel2.to: "elm.rect.pad_btn2"; - } - } - } -} - -#undef POPUP_ITEM_STATE_ENABLED -#undef POPUP_ITEM_STATE_DISABLED diff --git a/legacy/elementary/data/themes/widgets/progressbar.edc b/legacy/elementary/data/themes/widgets/progressbar.edc deleted file mode 100644 index 3772cb0e01..0000000000 --- a/legacy/elementary/data/themes/widgets/progressbar.edc +++ /dev/null @@ -1,1134 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -// FIXME: this doesn't look too hot. need to fix it up -group { name: "elm/progressbar/horizontal/default"; - images { - image: "shelf_inset.png" COMP; - image: "bt_sm_base2.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "bt_sm_shine.png" COMP; - } - parts { - part { name: "elm.background.progressbar"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - type: SWALLOW; - description { - min: 48 28; - max: 99999 28; - state: "default" 0.0; - rel1 { - to_x: "elm.text"; - to_y: "elm.background.progressbar"; - relative: 1.0 0.0; - } - rel2 { - to: "elm.background.progressbar"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - offset: 4 0; - to_y: "elm.background.progressbar"; - } - rel2 { - offset: 3 -1; - relative: 0.0 1.0; - to_y: "elm.background.progressbar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 4 -1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: -1 4; - rel2.to_x: "elm.swallow.content"; - rel2.relative: 1.0 1.0; - rel2.offset: -1 -5; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - rel1.offset: 0 4; - rel2.offset: 0 -5; - } - } - - part { name: "background"; - mouse_events: 0; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - } - } - } - - part { name: "elm.text.status"; - type: TEXT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 1; - rel1 { - to: "background"; - relative: 0.5 0.5; - } - rel2 { - to: "background"; - relative: 0.5 0.5; - } - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 1 1; - align: 0.5 0.0; - } - color: 0 0 0 255; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - text.min: 0 0; - } - } - - part { name: "elm.progress.progressbar"; - mouse_events: 0; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 14 28; - fixed: 1 1; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar"; - offset: -1 -1; - } - image { - normal: "bt_sm_base2.png"; - border: 6 6 6 6; - } - } - description { - state: "invert" 0.0; - inherit: "default" 0.0; - rel1 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar"; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 0.1 1.0; - } - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.9 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - } - part { name: "text-bar"; - type: TEXT; - mouse_events: 0; - clip_to: "progress-rect"; - effect: SOFT_SHADOW; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 1; - visible: 1; - rel1.to: "elm.text.status"; - rel1.offset: -1 -1; - rel2.to: "elm.text.status"; - text { - text_source: "elm.text.status"; - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 1 1; - align: 0.0 0.0; - } - color: 224 224 224 255; - color3: 0 0 0 64; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - text.min: 0 0; - } - } - - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - } - - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - } - - part { name: "elm.cur.progressbar"; - mouse_events: 0; - dragable { - confine: "background"; - x: 1 1 1; - y: 0 0 0; - } - description { state: "default" 0.0; - min: 14 28; - fixed: 1 1; - visible: 0; - rel1 { - to: "background"; - relative: 0 0; - } - rel2.to: "background"; - } - } - part { name: "progress-rect"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - } - } - } - programs { - program { name: "label_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "label_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "text-bar"; - target: "elm.text.status"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "text-bar"; - target: "elm.text.status"; - } - program { name: "slide_to_end"; - action: STATE_SET "state_end" 0.0; - transition: LINEAR 0.5; - target: "elm.progress.progressbar"; - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - signal: "elm,state,slide,begin"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - transition: LINEAR 0.5; - after: "slide_to_end"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - after: "slide_to_end"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - after: "state_pulse"; - } - program { name: "state_pulse"; - signal: "elm,state,pulse"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - after: "units_hide"; - } - program { name: "state_fraction"; - signal: "elm,state,fraction"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "invert" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/progressbar/vertical/default"; - images { - image: "shelf_inset.png" COMP; - image: "bt_sm_base2.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "bt_sm_shine.png" COMP; - } - parts { - part { name: "elm.background.progressbar"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - part { name: "elm.swallow.bar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 28 48; - max: 28 9999; - align: 0.5 1.0; - rel1 { - to_y: "elm.text"; - relative: 0.0 1.0; - offset: 0 2; - } - rel2 { - to_y: "elm.text.box"; - relative: 1.0 0.0; - offset: -1 -3; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.0; - rel1 { - offset: 0 4; - to_x: "elm.swallow.bar"; - } - rel2 { - offset: -1 3; - relative: 1.0 0.0; - to_x: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel2.offset: -1 4; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.5 0.0; - rel1.to_y: "elm.swallow.content"; - rel1.relative: 0.5 1.0; - rel1.offset: 0 -1; - rel2.to_y: "elm.swallow.content"; - rel2.relative: 0.5 1.0; - rel2.offset: -1 -1; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - rel1.offset: 4 0; - rel2.offset: -5 0; - } - } - - part { name: "background"; - mouse_events: 0; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - } - } - } - - part { name: "elm.progress.progressbar"; - mouse_events: 0; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 28 14; - fixed: 1 1; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.bar"; - to_y: "elm.cur.progressbar"; - offset: -1 -1; - } - image { - normal: "bt_sm_base2.png"; - border: 6 6 6 6; - } - } - description { - state: "invert" 0.0; - inherit: "default" 0.0; - rel1 { - to_x: "elm.swallow.bar"; - to_y: "elm.cur.progressbar"; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 0.1; - } - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.9; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - } - - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - } - - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.progress.progressbar"; - rel2.to: "elm.progress.progressbar"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - } - - part { name: "elm.cur.progressbar"; - mouse_events: 0; - dragable { - confine: "background"; - x: 0 0 0; - y: 1 1 1; - } - description { state: "default" 0.0; - min: 28 14; - fixed: 1 1; - visible: 0; - rel1 { - to: "background"; - relative: 0 0; - } - rel2.to: "background"; - } - } - - part { name: "elm.text.box"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1 { - to: "elm.text.status"; - offset: -2 -2; - } - rel2 { - to: "elm.text.status"; - offset: 2 2; - } - color: 255 255 255 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.text.status"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.0 1.0; - rel1.offset: 2 0; - rel2.relative: 1.0 1.0; - rel2.offset: -2 0; - color: 0 0 0 255; - text { - font: "Sans:style=Bold,Edje-Vera-Bold"; - size: 10; - min: 0 0; - align: 0.5 0.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - text.min: 1 1; - rel1.offset: 8 -9; - rel2.offset: -9 -9; - } - } - } - programs { - program { name: "label_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "label_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text.status"; - target: "elm.text.box"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.status"; - target: "elm.text.box"; - } - program { name: "slide_to_end"; - action: STATE_SET "state_end" 0.0; - transition: LINEAR 0.5; - target: "elm.progress.progressbar"; - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - transition: LINEAR 0.5; - after: "slide_to_end"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - after: "slide_to_end"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - after: "state_pulse"; - } - program { name: "state_pulse"; - signal: "elm,state,pulse"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - after: "units_hide"; - } - program { name: "state_fraction"; - signal: "elm,state,fraction"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - } - program { name: "set_invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "invert" 0.0; - target: "elm.progress.progressbar"; - target: "elm.cur.progressbar"; - } - program { name: "set_invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "elm.cur.progressbar"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/progressbar/horizontal/wheel"; - images { - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - } - parts { - part { name: "elm.background.progressbar"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - } - } - part { name: "elm.swallow.bar"; - mouse_events: 0; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - visible: 0; - } - } - part { name: "background"; - mouse_events: 0; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 32 32; - max: 32 32; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image { - normal: "busy-9.png"; - border: 7 7 7 7; - } - } - description { - state: "pulse" 0.0; - inherit: "default" 0.0; - image { - normal: "busy-9.png"; - tween: "busy-1.png"; - tween: "busy-2.png"; - tween: "busy-3.png"; - tween: "busy-4.png"; - tween: "busy-5.png"; - tween: "busy-6.png"; - tween: "busy-7.png"; - tween: "busy-8.png"; - border: 7 7 7 7; - } - } - } - } - programs { - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "pulse" 0.0; - target: "background"; - transition: LINEAR 0.5; - after: "start_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "background"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/progressbar/horizontal/double"; - inherit: "elm/progressbar/horizontal/default"; - images { - image: "bt_double.png" COMP; - } - parts { - part { name: "elm.progress.progressbar1"; - insert_after: "elm.text.status"; - mouse_events: 0; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 14 28; - fixed: 1 1; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar1"; - offset: -1 -1; - } - image { - normal: "bt_double.png"; - border: 6 6 6 6; - } - } - description { - state: "invert" 0.0; - inherit: "default" 0.0; - rel1 { - to_y: "elm.swallow.bar"; - to_x: "elm.cur.progressbar1"; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 0.1 1.0; - } - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.9 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.cur.progressbar1"; - mouse_events: 0; - dragable { - confine: "background"; - x: 1 1 1; - y: 0 0 0; - } - description { state: "default" 0.0; - min: 14 28; - fixed: 1 1; - visible: 0; - rel1 { - to: "background"; - relative: 0 0; - } - rel2.to: "background"; - } - } - } - programs { - program { name: "slide_to_end"; - action: STATE_SET "state_end" 0.0; - transition: LINEAR 0.5; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - signal: "elm,state,slide,begin"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - transition: LINEAR 0.5; - after: "slide_to_end"; - } - program { name: "state_pulse"; - signal: "elm,state,pulse"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - after: "units_hide"; - } - program { name: "state_fraction"; - signal: "elm,state,fraction"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - } - program { name: "set_invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "invert" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - } - program { name: "set_invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/progressbar/vertical/double"; - inherit: "elm/progressbar/vertical/default"; - images { - image: "bt_double.png" COMP; - } - parts { - part { name: "elm.progress.progressbar1"; - insert_after: "background"; - mouse_events: 0; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: 28 14; - fixed: 1 1; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to_x: "elm.swallow.bar"; - to_y: "elm.cur.progressbar1"; - offset: -1 -1; - } - image { - normal: "bt_double.png"; - border: 6 6 6 6; - } - } - description { - state: "invert" 0.0; - inherit: "default" 0.0; - rel1 { - to_x: "elm.swallow.bar"; - to_y: "elm.cur.progressbar1"; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - description { - state: "state_begin" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.0; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 0.1; - } - } - description { - state: "state_end" 0.0; - inherit: "default" 0.0; - rel1 { - to: "elm.swallow.bar"; - relative: 0.0 0.9; - } - rel2 { - to: "elm.swallow.bar"; - relative: 1.0 1.0; - } - } - } - part { name: "elm.cur.progressbar1"; - mouse_events: 0; - dragable { - confine: "background"; - x: 0 0 0; - y: 1 1 1; - } - description { state: "default" 0.0; - min: 28 14; - fixed: 1 1; - visible: 0; - rel1 { - to: "background"; - relative: 0 0; - } - rel2.to: "background"; - } - } - } - programs { - program { name: "slide_to_end"; - action: STATE_SET "state_end" 0.0; - transition: LINEAR 0.5; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - after: "slide_to_begin"; - } - program { name: "slide_to_begin"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - transition: LINEAR 0.5; - after: "slide_to_end"; - } - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - after: "slide_to_end"; - } - program { name: "state_pulse"; - signal: "elm,state,pulse"; - source: "elm"; - action: STATE_SET "state_begin" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - after: "units_hide"; - } - program { name: "state_fraction"; - signal: "elm,state,fraction"; - source: "elm"; - action: ACTION_STOP; - target: "slide_to_begin"; - target: "slide_to_end"; - target: "start_pulse"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "elm.progress.progressbar1"; - } - program { name: "set_invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "invert" 0.0; - target: "elm.progress.progressbar"; - target: "elm.cur.progressbar"; - target: "elm.progress.progressbar1"; - target: "elm.cur.progressbar1"; - } - program { name: "set_invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.progress.progressbar"; - target: "elm.cur.progressbar"; - target: "elm.progress.progressbar1"; - target: "elm.cur.progressbar1"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/radio.edc b/legacy/elementary/data/themes/widgets/radio.edc deleted file mode 100644 index 65ff230d47..0000000000 --- a/legacy/elementary/data/themes/widgets/radio.edc +++ /dev/null @@ -1,215 +0,0 @@ -group { name: "elm/radio/base/default"; - images { - image: "radio_base.png" COMP; - image: "radio.png" COMP; - image: "radio2.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.offset: 1 1; - rel2.relative: 0.0 1.0; - rel2.offset: 1 -2; - align: 0.0 0.5; - min: 16 16; - max: 16 16; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - image.normal: "radio_base.png"; - } - } - part { name: "radio"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - visible: 0; - image.normal: "radio.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel1.offset: 1 1; - rel2.to_x: "bg"; - rel2.relative: 1.0 1.0; - rel2.offset: 1 -2; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - min: 16 16; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 255 255 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 128; - visible: 1; - aspect: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to_x: "elm.swallow.content"; - rel1.relative: 1.0 0.0; - rel1.offset: 1 1; - rel2.relative: 1.0 1.0; - rel2.offset: -2 -2; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: -1.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "click"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,radio,toggle" ""; - } - program { name: "radio_on"; - signal: "elm,state,radio,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "radio"; - } - program { name: "radio_off"; - signal: "elm,state,radio,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "radio"; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); - else - set_state(PART:"elm.swallow.content", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "visible", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - } - } - } -} diff --git a/legacy/elementary/data/themes/widgets/scroller.edc b/legacy/elementary/data/themes/widgets/scroller.edc deleted file mode 100644 index 0be3920228..0000000000 --- a/legacy/elementary/data/themes/widgets/scroller.edc +++ /dev/null @@ -1,523 +0,0 @@ -group { name: "elm/scroller/base/default"; - - alias: "elm/list/base/default"; - alias: "elm/genlist/base/default"; - alias: "elm/gengrid/base/default"; - alias: "elm/scroller/base/map_bubble"; - alias: "elm/genscroller/base/default"; - - data { - item: "focus_highlight" "on"; - } - - script { - public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; - public timer0(val) { - new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - set_int(sbvis_timer, 0); - return 0; - } - } - images { - image: "shelf_inset.png" COMP; - image: "bt_sm_base2.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "sl_bt2_2.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 2 2; - rel2.offset: -3 -3; - color: 255 255 255 0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 2 2; - rel2.offset: -3 -3; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - rel1.offset: 2 2; - rel2.offset: -3 -3; - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: 200 155 0 255; - } - } - part { name: "focus_highlight"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: -1 -1; - rel2.offset: 0 0; - image { - normal: "sl_bt2_2.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - color: 200 155 0 0; - } - description { state: "enabled" 0.0; - inherit: "default" 0.0; - color: 200 155 0 255; - } - } - part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar_clip"; - clip_to: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_vbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 10 17; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 2; - to_y: "elm.swallow.content"; - to_x: "elm.swallow.content"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - to_y: "sb_hbar"; - to_x: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.vbar"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 10 17; - max: 10 99999; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_vbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 6 6 6 6; - middle: SOLID; - } - } - } - part { name: "sb_vbar_over1"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_hilight.png"; - border: 6 6 6 0; - } - } - } - part { name: "sb_vbar_over2"; - clip_to: "sb_vbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.vbar"; - rel2.to: "elm.dragable.vbar"; - image { - normal: "bt_sm_shine.png"; - border: 6 6 6 0; - } - } - } - - part { name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar_clip"; - clip_to: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "sb_hbar"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 17 10; - align: 0.0 1.0; - rel1 { - relative: 0.0 1.0; - offset: 2 0; - to_x: "elm.swallow.content"; - to_y: "elm.swallow.content"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_x: "sb_vbar"; - to_y: "elm.swallow.content"; - } - } - } - part { name: "elm.dragable.hbar"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "sb_hbar"; - } - description { state: "default" 0.0; - fixed: 1 1; - min: 17 10; - max: 99999 10; - rel1 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - rel2 { - relative: 0.5 0.5; - offset: 0 0; - to: "sb_hbar"; - } - image { - normal: "bt_sm_base2.png"; - border: 4 4 4 4; - middle: SOLID; - } - } - } - part { name: "sb_hbar_over1"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.relative: 1.0 0.5; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "sb_hbar_over2"; - clip_to: "sb_hbar_clip"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "elm.dragable.hbar"; - rel2.to: "elm.dragable.hbar"; - image { - normal: "bt_sm_shine.png"; - border: 4 4 4 0; - } - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 128 128 128 128; - } - } - } - programs { - program { name: "load"; - signal: "load"; - source: ""; - script { - set_state(PART:"sb_hbar_clip", "hidden", 0.0); - set_state(PART:"sb_vbar_clip", "hidden", 0.0); - set_int(sbvis_h, 0); - set_int(sbvis_v, 0); - set_int(sbalways_v, 0); - set_int(sbalways_h, 0); - set_int(sbvis_timer, 0); - emit("reload", "elm"); - } - } - - program { name: "vbar_show"; - signal: "elm,action,show,vbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { name: "sb_vbar_show"; - signal: "do-show-vbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_hide"; - signal: "do-hide-vbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_vbar_clip"; - } - program { name: "sb_vbar_press"; - signal: "mouse,down,1"; - source: "elm.dragable.vbar"; - action: SIGNAL_EMIT "elm,vbar,press" "elm"; - } - program { name: "sb_vbar_unpress"; - signal: "mouse,up,1"; - source: "elm.dragable.vbar"; - action: SIGNAL_EMIT "elm,vbar,unpress" "elm"; - } - - program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } - } - } - } - program { name: "sb_hbar_show"; - signal: "do-show-hbar"; - source: ""; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_hide"; - signal: "do-hide-hbar"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "sb_hbar_clip"; - } - program { name: "sb_hbar_press"; - signal: "mouse,down,1"; - source: "elm.dragable.hbar"; - action: SIGNAL_EMIT "elm,hbar,press" "elm"; - } - program { name: "sb_hbar_unpress"; - signal: "mouse,up,1"; - source: "elm.dragable.hbar"; - action: SIGNAL_EMIT "elm,hbar,unpress" "elm"; - } - - program { name: "scroll"; - signal: "elm,action,scroll"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - v = get_int(sbvis_timer); - if (v > 0) cancel_timer(v); - v = timer(1.0, "timer0", 0); - set_int(sbvis_timer, v); - } - } - - program { name: "highlight_show"; - signal: "elm,action,focus_highlight,show"; - source: "elm"; - action: STATE_SET "enabled" 0.0; - transition: ACCELERATE 0.3; - target: "focus_highlight"; - target: "conf_over"; - } - program { name: "highlight_hide"; - signal: "elm,action,focus_highlight,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.3; - target: "focus_highlight"; - target: "conf_over"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "disabler"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "disabler"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/segment_control.edc b/legacy/elementary/data/themes/widgets/segment_control.edc deleted file mode 100644 index 39dfbee154..0000000000 --- a/legacy/elementary/data/themes/widgets/segment_control.edc +++ /dev/null @@ -1,533 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/segment_control/base/default"; - #define SEGMENT_TYPE_SINGLE 1 - #define SEGMENT_TYPE_LEFT 2 - #define SEGMENT_TYPE_MIDDLE 3 - #define SEGMENT_TYPE_RIGHT 4 - #define SEGMENT_STATE_NORMAL 1 - #define SEGMENT_STATE_PRESSED 2 - #define SEGMENT_STATE_SELECTED 3 - #define SEGMENT_STATUS_ENABLED 0 - #define SEGMENT_STATUS_DISABLED 1 - parts { - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - min: 100 40; - } - } - } -} -group { name: "elm/segment_control/item/default"; - images { - image: "seg_single_pressed.png" COMP; - image: "seg_single_selected.png" COMP; - image: "seg_single_normal.png" COMP; - - image: "seg_left_pressed.png" COMP; - image: "seg_left_selected.png" COMP; - image: "seg_left_normal.png" COMP; - - image: "seg_middle_pressed.png" COMP; - image: "seg_middle_selected.png" COMP; - image: "seg_middle_normal.png" COMP; - - image: "seg_right_pressed.png" COMP; - image: "seg_right_selected.png" COMP; - image: "seg_right_normal.png" COMP; - } - parts { - part { name: "segment"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - min: 1 1; - visible: 0; - image { - normal: "seg_single_normal.png"; - border: 7 7 7 7; - border_scale: 1; - middle: 1; - } - } - description { state: "default_single" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_single_normal.png"; - border: 7 7 7 7; - } - } - description { state: "default_left" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_left_normal.png"; - border: 6 1 7 7; - } - } - description { state: "default_right" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_right_normal.png"; - border: 1 6 7 7; - } - } - description { state: "default_middle" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_middle_normal.png"; - border: 2 2 2 2; - } - } - description { state: "pressed_single" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_single_pressed.png"; - border: 7 7 7 7; - } - } - description { state: "pressed_left" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_left_pressed.png"; - border: 6 1 7 7; - } - } - description { state: "pressed_right" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_right_pressed.png"; - border: 1 6 7 7; - } - } - description { state: "pressed_middle" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_middle_pressed.png"; - border: 1 1 2 2; - } - } - description { state: "selected_single" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_single_selected.png"; - border: 7 7 7 7; - } - } - description { state: "selected_left" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_left_selected.png"; - border: 6 3 7 7; - } - } - description { state: "selected_right" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_right_selected.png"; - border: 3 6 7 7; - } - } - description { state: "selected_middle" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_middle_selected.png"; - border: 3 3 3 3; - } - } - } - part { name: "padding_frame"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - /* Add a padding of 2 pxs in all directions */ - rel1.offset: 2 2; - rel2.offset: -3 -3; - } - } - part { name: "icon.bg"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - fixed: 1 0; - rel1.to: "elm.swallow.icon"; - rel2.to: "elm.swallow.icon"; - } - } - part { name: "padding_icon_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - visible: 0; - align: 0.0 0.0; - rel1 { - to: "icon.bg"; - relative: 1.0 0.0; - } - rel2 { - to: "icon.bg"; - relative: 1.0 1.0; - } - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - description { state: "visible" 0.0; //when icon is visible - inherit: "default" 0.0; - rel2.offset: 2 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.5; - rel1.to: "padding_frame"; - rel2.to: "padding_frame"; - rel2.relative: 0.0 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 0.3 1.0; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - visible: 1; - rel2.relative: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 1 1; - rel1 { - to_x: "padding_icon_text"; - relative: 1.0 0.0; - } - rel2.to: "padding_frame"; - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans"; - ellipsis: 0.0; - fit: 1 1; - size: 24; - size_range: 8 36; - min: 0 1; - } - } - description { state: "normal" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 0 0 0 255; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 50 50 50 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 200 200 200 255; - } - } - part { name: "disabler"; - repeat_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: 1 1; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - to: "segment"; - } - rel2 { - relative: 1.0 1.0; - to: "segment"; - } - color: 255 255 255 150; - } - description { state: "disabled_single" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_single_normal.png"; - border: 7 7 7 7; - } - } - description { state: "disabled_left" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_left_normal.png"; - border: 6 1 7 7; - } - } - description { state: "disabled_right" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_right_normal.png"; - border: 1 6 7 7; - } - } - description { state: "disabled_middle" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "seg_middle_normal.png"; - border: 2 2 2 2; - } - } - } - } - programs { - script { - public seg_type; // Single, Left, Middle, Right. - public seg_state; // Normal/Default, Pressed, Selected. - public seg_status;// Enabled/Default, Disabled - - public update_state() { - new type, state, disabled; - type = get_int(seg_type); - state = get_int(seg_state); - disabled = get_int(seg_status); - - if(state == SEGMENT_STATE_NORMAL) - { - if(type == SEGMENT_TYPE_SINGLE) - set_state(PART:"segment", "default_single", 0.0); - else if(type == SEGMENT_TYPE_LEFT) - set_state(PART:"segment", "default_left", 0.0); - else if(type == SEGMENT_TYPE_MIDDLE) - set_state(PART:"segment", "default_middle", 0.0); - else if(type == SEGMENT_TYPE_RIGHT) - set_state(PART:"segment", "default_right", 0.0); - set_state(PART:"elm.text", "normal", 0.0); - } - else if(state == SEGMENT_STATE_PRESSED) - { - if(type == SEGMENT_TYPE_SINGLE) - set_state(PART:"segment", "pressed_single", 0.0); - else if(type == SEGMENT_TYPE_LEFT) - set_state(PART:"segment", "pressed_left", 0.0); - else if(type == SEGMENT_TYPE_MIDDLE) - set_state(PART:"segment", "pressed_middle", 0.0); - else if(type == SEGMENT_TYPE_RIGHT) - set_state(PART:"segment", "pressed_right", 0.0); - set_state(PART:"elm.text", "pressed", 0.0); - } - else if(state == SEGMENT_STATE_SELECTED) - { - if(type == SEGMENT_TYPE_SINGLE) - set_state(PART:"segment", "selected_single", 0.0); - else if(type == SEGMENT_TYPE_LEFT) - set_state(PART:"segment", "selected_left", 0.0); - else if(type == SEGMENT_TYPE_MIDDLE) - set_state(PART:"segment", "selected_middle", 0.0); - else if(type == SEGMENT_TYPE_RIGHT) - set_state(PART:"segment", "selected_right", 0.0); - set_state(PART:"elm.text", "selected", 0.0); - } - if(disabled == SEGMENT_STATUS_DISABLED) - { - if(type == SEGMENT_TYPE_SINGLE) - set_state(PART:"disabler", "disabled_single", 0.0); - else if(type == SEGMENT_TYPE_LEFT) - set_state(PART:"disabler", "disabled_left", 0.0); - else if(type == SEGMENT_TYPE_MIDDLE) - set_state(PART:"disabler", "disabled_middle", 0.0); - else if(type == SEGMENT_TYPE_RIGHT) - set_state(PART:"disabler", "disabled_right", 0.0); - set_state(PART:"elm.text", "disabled", 0.0); - } - else - set_state(PART:"disabler", "default", 0.0); - - } - } - program { - name: "segment_type_s"; - signal: "elm,type,segment,single"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_SINGLE); - update_state(); - } - } - program { - name: "segment_type_l"; - signal: "elm,type,segment,left"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_LEFT); - update_state(); - } - } - program { - name: "segment_type_m"; - signal: "elm,type,segment,middle"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_MIDDLE); - update_state(); - } - } - program { - name: "segment_type_r"; - signal: "elm,type,segment,right"; - source: "elm"; - script { - set_int(seg_type, SEGMENT_TYPE_RIGHT); - update_state(); - } - } - program { - name: "normal_segment"; - signal: "elm,state,segment,normal"; - source: "elm"; - script { - set_int(seg_state, SEGMENT_STATE_NORMAL); - update_state(); - } - } - program { - name: "pressed_segment"; - signal: "elm,state,segment,pressed"; - source: "elm"; - script { - set_int(seg_state, SEGMENT_STATE_PRESSED); - update_state(); - } - } - program { - name: "selected_segment"; - signal: "elm,state,segment,selected"; - source: "elm"; - script { - set_int(seg_state, SEGMENT_STATE_SELECTED); - update_state(); - } - } - program { name: "disable_segment"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_int(seg_status, SEGMENT_STATUS_DISABLED); - update_state(); - } - } - program { name: "enable_segment"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_int(seg_status, SEGMENT_STATUS_ENABLED); - update_state(); - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "selected")) - set_state(PART:"elm.text", "selected", 0.0); - else - set_state(PART:"elm.text", "normal", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if ((!strcmp(st, "normal")) || (!strcmp(st, "selected"))) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"padding_icon_text", "visible", 0.0); - } - else - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"padding_icon_text", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - } - #undef SEGMENT_TYPE_SINGLE - #undef SEGMENT_TYPE_LEFT - #undef SEGMENT_TYPE_MIDDLE - #undef SEGMENT_TYPE_RIGHT - #undef SEGMENT_STATE_NORMAL - #undef SEGMENT_STATE_PRESSED - #undef SEGMENT_STATE_SELECTED - #undef SEGMENT_STATUS_ENABLED - #undef SEGMENT_STATUS_DISABLED -} diff --git a/legacy/elementary/data/themes/widgets/separator.edc b/legacy/elementary/data/themes/widgets/separator.edc deleted file mode 100644 index 0780c532ce..0000000000 --- a/legacy/elementary/data/themes/widgets/separator.edc +++ /dev/null @@ -1,43 +0,0 @@ -group { name: "elm/separator/horizontal/default"; - images { - image: "separator_h.png" COMP; - } - parts { - part { name: "separator"; // separator group - description { state: "default" 0.0; - min: 2 2; - rel1.offset: 4 4; - rel2.offset: -5 -5; - image { - normal: "separator_h.png"; - } - fill { - smooth: 0; - } - } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/separator/vertical/default"; - images { - image: "separator_v.png" COMP; - } - parts { - part { name: "separator"; // separator group - description { state: "default" 0.0; - min: 2 2; - rel1.offset: 4 4; - rel2.offset: -5 -5; - image { - normal: "separator_v.png"; - } - fill { - smooth: 0; - } - } - } - } -} - diff --git a/legacy/elementary/data/themes/widgets/slider.edc b/legacy/elementary/data/themes/widgets/slider.edc deleted file mode 100644 index cf78c1f249..0000000000 --- a/legacy/elementary/data/themes/widgets/slider.edc +++ /dev/null @@ -1,1509 +0,0 @@ -group { name: "elm/slider/hidden/limit"; - parts { - part { name: "elm.units.min"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 1.0 0.5; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - align: 0.0 0.5; - } - } - } - part { name: "elm.units.max"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 1.0 0.5; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - align: 0.0 0.5; - } - } - } - } -} - -group { name: "elm/slider/horizontal/default"; - alias: "elm/slider/horizontal/disabled"; - images { - image: "sl_bg.png" COMP; - image: "sl_bg_over.png" COMP; - image: "sl_units.png" COMP; - } - parts { - alias: "default" "elm.text"; - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - max: 99999 6; - min: 0 6; - rel1 { to: "bg"; - offset: 1 0; - } - rel2 { to: "bg"; - offset: -2 -1; - } - image.normal: "sl_bg.png"; - fill.smooth: 0; - } - } - part { name: "level"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "base"; - rel2 { - to_y: "base"; - to_x: "elm.dragable.slider"; - relative: 0.5 1.0; - } - color: 255 0 0 200; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 0 0 100; - } - description { state: "disabled_inverted" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "level2"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to_y: "base"; - to_x: "elm.dragable.slider"; - relative: 0.5 0.0; - } - rel2.to: "base"; - color: 255 0 0 200; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_inverted" 0.0; - inherit: "default" 0.0; - color: 255 0 0 100; - visible: 1; - } - } - part { - name: "base_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.offset: -1 -1; - rel2.to: "base"; - rel2.offset: 0 0; - image { - normal: "sl_bg_over.png"; - border: 3 3 3 3; - } - fill.smooth: 0; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.bar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 48 24; - max: 99999 24; - align: 1.0 0.5; - rel1 { - to_x: "elm.text"; - relative: 1.0 0.0; - offset: 8 0; - } - rel2 { - to_x: "limits"; - relative: 0.0 1.0; - offset: -10 -1; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - offset: 4 0; - to_y: "elm.swallow.bar"; - } - rel2 { - offset: 3 -1; - relative: 0.0 1.0; - to_y: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: 4 -1; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to_x: "elm.swallow.icon"; - rel1.relative: 1.0 0.0; - rel1.offset: -1 4; - rel2.to_x: "elm.swallow.icon"; - rel2.relative: 1.0 1.0; - rel2.offset: -1 -5; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - rel1.offset: 0 4; - rel2.offset: 0 -5; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 128 128 128; - visible: 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - description { - state: "default" 0.0; - visible: 0; - align: 1.0 0.5; - rel1 { - offset: -4 0; - relative: 1.0 0.0; - to_y: "elm.swallow.bar"; - } - rel2 { - offset: -3 -1; - to_y: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel2.offset: -4 -1; - } - } - part { name: "units"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1 { - to_x: "limits"; - offset: 0 3; - } - rel2 { - to_x: "limits"; - offset: 5 -1; - } - image { - normal: "sl_units.png"; - border: 0 5 3 8; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - alias: "elm.units.min" "limits:elm.units.min"; - alias: "elm.units.max" "limits:elm.units.max"; - part { name: "limits"; - type: GROUP; - source: "elm/slider/hidden/limit"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 1.0 0.5; - min: SOURCE; - fixed: 1 1; - rel1.to_x: "elm.swallow.end"; - rel1.relative: 0.0 0.0; - rel1.offset: 0 8; - rel2.to_x: "elm.swallow.end"; - rel2.relative: 0.0 1.0; - rel2.offset: 0 -9; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.offset: -5 0; - rel2.offset: -5 -1; - } - } - part { name: "elm.units"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1.to_x: "limits"; - rel2.to_x: "limits"; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 1.0 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 128 128 128; - visible: 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "button"; - type: GROUP; - source: "elm/slider/horizontal/indicator/default"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.dragable.slider"; - type: RECT; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - confine: "bg"; - } - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - rel1 { - relative: 0.5 0.0; - to_x: "bg"; - } - rel2 { - relative: 0.5 1.0; - to_x: "bg"; - } - color: 0 0 0 0; - } - } - part { name: "slideevent"; - type: RECT; - mouse_events: 1; - scale: 1; - dragable.events: "elm.dragable.slider"; - description { state: "default" 0.0; - fixed: 1 1; - min: 24 24; - max: 24 24; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - color: 0 0 0 0; - } - } - part { name: "elm.track.slider"; - type: SWALLOW; - mouse_events: 0; - description { state: "default" 0.0; - max: 0 0; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "indicator_show"; - signal: "elm,state,indicator,show"; - source: "elm"; - action: SIGNAL_EMIT "popup,show" "elm"; - after: "popup_show2"; - } - program { name: "indicator_hide"; - signal: "elm,state,indicator,hide"; - source: "elm"; - action: SIGNAL_EMIT "popup,hide" "elm"; - after: "popup_hide2"; - } - program { name: "popup_show"; - signal: "mouse,down,1"; - source: "slideevent"; - action: SIGNAL_EMIT "popup,show" "elm"; - after: "popup_show2"; - } - program { name: "popup_show2"; - action: STATE_SET "hidden" 0.0; - target: "button"; - } - program { name: "popup_hide"; - signal: "mouse,up,1"; - source: "slideevent"; - action: SIGNAL_EMIT "popup,hide" "elm"; - after: "popup_hide2"; - } - program { name: "popup_hide2"; - action: STATE_SET "default" 0.0; - target: "button"; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "end_show"; - signal: "elm,state,end,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,state,end,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.units"; - target: "limits"; - target: "units"; - after: "limits,children,visible"; - } - program { name: "limits,children,visible"; - action: SIGNAL_EMIT "limits:limits,visible" "elm"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.units"; - target: "limits"; - target: "units"; - after: "limits,children,hide"; - } - program { name: "limits,children,hide"; - action: SIGNAL_EMIT "limits:limits,hide" "elm"; - } - program { name: "invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "inverted" 0.0; - target: "level"; - target: "level2"; - } - program { name: "invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "level"; - target: "level2"; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - // target: "button0"; - target: "disabler"; - after: "disable_text"; - after: "disable_ind"; - } - - program { name: "disable_ind"; - action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - get_state(PART:"elm.units", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.units", "disabled_visible", 0.0); - else - set_state(PART:"elm.units", "disabled", 0.0); - - get_state(PART:"level2", st, 30, vl); - if (!strcmp(st, "inverted")) - { - set_state(PART:"level", "disabled_inverted", 0.0); - set_state(PART:"level2", "disabled_inverted", 0.0); - } - else - { - set_state(PART:"level", "disabled", 0.0); - set_state(PART:"level2", "disabled", 0.0); - } - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - // target: "button0"; - target: "disabler"; - after: "enable_text"; - after: "enable_ind"; - } - - program { name: "enable_ind"; - action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm"; - } - - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - get_state(PART:"elm.units", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.units", "visible", 0.0); - else - set_state(PART:"elm.units", "default", 0.0); - - get_state(PART:"level2", st, 30, vl); - if (!strcmp(st, "disabled_inverted")) - { - set_state(PART:"level", "inverted", 0.0); - set_state(PART:"level2", "inverted", 0.0); - } - else - { - set_state(PART:"level", "default", 0.0); - set_state(PART:"level2", "default", 0.0); - } - } - } - } -} - -group { name: "elm/slider/vertical/default"; - images { - image: "slv_bg.png" COMP; - image: "slv_bg_over.png" COMP; - image: "slv_units.png" COMP; - } - parts { - alias: "default" "elm.text"; - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - max: 6 99999; - min: 6 0; - rel1 { to: "bg"; - offset: 1 0; - } - rel2 { to: "bg"; - offset: -2 -1; - } - image.normal: "slv_bg.png"; - fill.smooth: 0; - } - } - part { name: "level"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "base"; - rel2 { - to_x: "base"; - to_y: "elm.dragable.slider"; - relative: 1.0 0.5; - } - color: 255 0 0 200; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 0 0 100; - } - description { state: "disabled_inverted" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "level2"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - rel1 { - to_x: "base"; - to_y: "elm.dragable.slider"; - relative: 0.0 0.5; - } - rel2.to: "base"; - color: 255 0 0 200; - } - description { state: "inverted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 0 0 100; - } - description { state: "disabled_inverted" 0.0; - inherit: "default" 0.0; - color: 255 0 0 100; - visible: 1; - } - } - part { - name: "base_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.offset: -1 -1; - rel2.to: "base"; - rel2.offset: 0 0; - image { - normal: "slv_bg_over.png"; - border: 3 3 3 3; - } - fill.smooth: 0; - } - } - part { name: "bg"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - rel1.to: "elm.swallow.bar"; - rel2.to: "elm.swallow.bar"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.bar"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - min: 24 48; - max: 24 9999; - align: 0.5 1.0; - rel1 { - to_y: "elm.text"; - relative: 0.0 1.0; - offset: 0 10; - } - rel2 { - to_y: "limits"; - relative: 1.0 0.0; - offset: -1 -8; - } - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.0; - rel1 { - offset: 0 4; - to_x: "elm.swallow.bar"; - } - rel2 { - offset: -1 3; - relative: 1.0 0.0; - to_x: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel2.offset: -1 4; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 0 1; - align: 0.5 0.0; - rel1.to_y: "elm.swallow.icon"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 -1; - rel2.to_y: "elm.swallow.icon"; - rel2.relative: 1.0 1.0; - rel2.offset: -1 -1; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - rel1.offset: 4 0; - rel2.offset: -5 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 128 128 128; - visible: 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { - name: "elm.swallow.end"; - type: SWALLOW; - description { - state: "default" 0.0; - visible: 0; - align: 0.5 1.0; - rel1 { - offset: 0 -4; - relative: 0.0 1.0; - to_x: "elm.swallow.bar"; - } - rel2 { - offset: -1 -3; - to_x: "elm.swallow.bar"; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel2.offset: -1 -4; - } - } - part { name: "units"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1 { - to: "limits"; - offset: -8 0; - } - rel2 { - to: "limits"; - offset: 7 8; - } - image { - normal: "slv_units.png"; - border: 8 8 0 9; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "limits"; - type: GROUP; - source: "elm/slider/hidden/limit"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - min: SOURCE; - align: 0.5 1.0; - rel1.to_y: "elm.swallow.end"; - rel1.relative: 0.0 0.0; - rel1.offset: 8 0; - rel2.to_y: "elm.swallow.end"; - rel2.relative: 1.0 0.0; - rel2.offset: -9 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1.offset: 8 -9; - rel2.offset: -9 -9; - } - } - alias: "elm.units.min" "limits:elm.units.min"; - alias: "elm.units.max" "limits:elm.units.max"; - part { name: "elm.units"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - rel1.to: "limits"; - rel2.to: "limits"; - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 255 128 128 128; - visible: 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - color: 0 0 0 128; - color3: 0 0 0 0; - } - } - part { name: "button"; - type: GROUP; - source: "elm/slider/horizontal/indicator/default"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "elm.dragable.slider"; - type: RECT; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "bg"; - } - description { state: "default" 0.0; - min: 0 0; - max: 0 0; - fixed: 1 1; - rel1 { - relative: 0.0 0.5; - to_x: "bg"; - } - rel2 { - relative: 1.0 0.5; - to_x: "bg"; - } - color: 0 0 0 0; - } - } - part { name: "slideevent"; - type: RECT; - mouse_events: 1; - scale: 1; - dragable.events: "elm.dragable.slider"; - description { state: "default" 0.0; - fixed: 1 1; - min: 24 24; - max: 24 24; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - color: 0 0 0 0; - } - } - part { name: "elm.track.slider"; - type: SWALLOW; - mouse_events: 0; - description { state: "default" 0.0; - max: 0 0; - rel1.to: "elm.dragable.slider"; - rel2.to: "elm.dragable.slider"; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - - programs { - program { name: "indicator_show"; - signal: "elm,state,indicator,show"; - source: "elm"; - action: SIGNAL_EMIT "popup,show" "elm"; - after: "popup_show2"; - } - program { name: "indicator_hide"; - signal: "elm,state,indicator,hide"; - source: "elm"; - action: SIGNAL_EMIT "popup,hide" "elm"; - after: "popup_hide2"; - } - program { name: "popup_show"; - signal: "mouse,down,1"; - source: "slideevent"; - action: SIGNAL_EMIT "popup,show" "elm"; - after: "popup_show2"; - } - program { name: "popup_show2"; - action: STATE_SET "hidden" 0.0; - target: "button"; - } - program { name: "popup_hide"; - signal: "mouse,up,1"; - source: "slideevent"; - action: SIGNAL_EMIT "popup,hide" "elm"; - after: "popup_hide2"; - } - program { name: "popup_hide2"; - action: STATE_SET "default" 0.0; - target: "button"; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.icon"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.icon"; - } - program { name: "end_show"; - signal: "elm,state,end,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.end"; - } - program { name: "end_hide"; - signal: "elm,state,end,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.end"; - } - program { name: "units_show"; - signal: "elm,state,units,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.units"; - target: "limits"; - target: "units"; - } - program { name: "units_hide"; - signal: "elm,state,units,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.units"; - target: "limits"; - target: "units"; - after: "limits,children,hide"; - } - program { name: "limits,children,hide"; - action: SIGNAL_EMIT "limits:limits,hide" "elm"; - } - program { name: "invert_on"; - signal: "elm,state,inverted,on"; - source: "elm"; - action: STATE_SET "inverted" 0.0; - target: "level"; - target: "level2"; - } - program { name: "invert_off"; - signal: "elm,state,inverted,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "level"; - target: "level2"; - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - // target: "button0"; - target: "disabler"; - after: "disable_text"; - after: "disable_ind"; - } - - program { name: "disable_ind"; - action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm"; - } - - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - get_state(PART:"elm.units", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.units", "disabled_visible", 0.0); - else - set_state(PART:"elm.units", "disabled", 0.0); - - get_state(PART:"level2", st, 30, vl); - if (!strcmp(st, "inverted")) - { - set_state(PART:"level", "disabled_inverted", 0.0); - set_state(PART:"level2", "disabled_inverted", 0.0); - } - else - { - set_state(PART:"level", "disabled", 0.0); - set_state(PART:"level2", "disabled", 0.0); - } - } - } - - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - // target: "button0"; - target: "disabler"; - after: "enable_text"; - after: "enable_ind"; - } - - program { name: "enable_ind"; - action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - get_state(PART:"elm.units", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.units", "visible", 0.0); - else - set_state(PART:"elm.units", "default", 0.0); - - get_state(PART:"level2", st, 30, vl); - if (!strcmp(st, "disabled_inverted")) - { - set_state(PART:"level", "inverted", 0.0); - set_state(PART:"level2", "inverted", 0.0); - } - else - { - set_state(PART:"level", "default", 0.0); - set_state(PART:"level2", "default", 0.0); - } - } - } - } -} -group { name: "elm/slider/horizontal/indicator/default"; - alias: "elm/slider/horizontal/indicator/disabled"; - alias: "elm/slider/vertical/indicator/default"; - alias: "elm/slider/vertical/indicator/disabled"; - - alias: "elm/slider/horizontal/popup/default"; - alias: "elm/slider/vertical/popup/default"; - - images { - image: "sl_bt_0.png" COMP; - image: "sl_bt_1.png" COMP; - image: "sl_bt_2.png" COMP; - image: "sl_bt_3.png" COMP; - image: "sl_bt2_0_0.png" COMP; - image: "sl_bt2_0_1.png" COMP; - image: "sl_bt2_0_2.png" COMP; - image: "sl_bt2_1.png" COMP; - image: "sl_bt2_2.png" COMP; - } - script { - public value_hide = 0; - public set_value_show() { - set_int(value_hide, 0); - } - public set_value_hide() { - set_int(value_hide, 1); - } - public thumb_down() { - if (get_int(value_hide) == 1) { - set_state(PART:"elm.indicator", "default", 0.0); - set_state(PART:"button3", "default", 0.0); - set_state(PART:"button4", "default", 0.0); - set_state(PART:"button5", "default", 0.0); - set_state(PART:"button6", "default", 0.0); - set_state(PART:"button7", "default", 0.0); - } else { - set_state(PART:"elm.indicator", "visible", 0.0); - set_state(PART:"button3", "visible", 0.0); - set_state(PART:"button4", "visible", 0.0); - set_state(PART:"button5", "visible", 0.0); - set_state(PART:"button6", "visible", 0.0); - set_state(PART:"button7", "visible", 0.0); - } - } - public thumb_up() { - set_state(PART:"elm.indicator", "default", 0.0); - set_state(PART:"button3", "default", 0.0); - set_state(PART:"button4", "default", 0.0); - set_state(PART:"button5", "default", 0.0); - set_state(PART:"button6", "default", 0.0); - set_state(PART:"button7", "default", 0.0); - } - } - parts { - part { name: "button_events"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - min: 16 16; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - color: 0 0 0 0; - } - } - part { name: "button0"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - max: 17 999; - min: 17 24; - image { - normal: "sl_bt_0.png"; - border: 5 5 5 10; - } - fill.smooth: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "sl_bt_3.png"; - border: 5 5 5 10; - } - } - } - part { name: "button1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button0"; - rel2 { - to: "button0"; - relative: 1.0 0.5; - offset: -1 -5; - } - image { - normal: "sl_bt_1.png"; - border: 5 5 5 0; - } - } - } - part { name: "button2"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "button0"; - rel2.to: "button0"; - image { - normal: "sl_bt_2.png"; - border: 5 5 5 10; - } - fill.smooth: 0; - } - } - part { name: "button3"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 8 32; - align: 1.0 0.5; - rel1 { - to_x: "elm.indicator"; - to_y: "button4"; - relative: 0.0 0.0; - offset: -7 0; - } - rel2 { - to: "button4"; - relative: 0.0 1.0; - offset: -1 -1; - } - image { - normal: "sl_bt2_0_0.png"; - border: 6 0 6 12; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "button4"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - max: 15 999; - min: 15 32; - rel1 { - to_x: "button0"; - to_y: "elm.indicator"; - offset: 0 0; - } - rel2.to: "button0"; - image { - normal: "sl_bt2_0_1.png"; - border: 0 0 6 12; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "button5"; - mouse_events: 0; - description { state: "default" 0.0; - fixed: 1 1; - visible: 0; - min: 8 32; - align: 0.0 0.5; - rel1 { - to: "button4"; - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - to_x: "elm.indicator"; - to_y: "button4"; - relative: 1.0 1.0; - offset: 6 -1; - } - image { - normal: "sl_bt2_0_2.png"; - border: 0 6 6 12; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "elm.indicator"; - type: TEXT; - mouse_events: 0; - effect: SOFT_SHADOW; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 1 1; - align: 0.5 1.0; - rel1 { - to: "button0"; - relative: 0.0 -0.25; - offset: 0 0; - } - rel2 { - to_x: "button0"; - relative: 1.0 -0.25; - offset: -1 0; - } - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 0 0; - align: 0.5 0.5; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - rel1.offset: 0 -1; - rel2.offset: -1 -1; - } - } - part { name: "button6"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1.to: "button3"; - rel2 { - to: "button5"; - relative: 1.0 0.3; - offset: -1 -1; - } - image { - normal: "sl_bt2_1.png"; - border: 5 5 5 0; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "button7"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - rel1.to: "button3"; - rel2.to: "button5"; - image { - normal: "sl_bt2_2.png"; - border: 5 5 5 0; - middle: 0; - } - fill.smooth: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "popup_show"; - signal: "popup,show"; - source: "elm"; - script { - thumb_down(); - } - } - program { name: "popup_hide"; - signal: "popup,hide"; - source: "elm"; - action: SIGNAL_EMIT "popup,hide,done" "elm"; - } - program { name: "popup_hide2"; - signal: "popup,hide"; - source: "elm"; - script { - thumb_up(); - } - } - program { name: "set_val_show"; - signal: "elm,state,val,show"; - source: "elm"; - script { - set_value_show(); - } - } - program { name: "set_val_hide"; - signal: "elm,state,val,hide"; - source: "elm"; - script { - set_value_hide(); - } - } - program { name: "val_show"; - signal: "mouse,down,*"; - source: "button_events"; - script { - thumb_down(); - } - } - program { name: "val_hide"; - signal: "mouse,up,*"; - source: "button_events"; - script { - thumb_up(); - } - } - program { name: "indicator_show"; - signal: "elm,state,indicator,show"; - source: "elm"; - script { - thumb_down(); - } - } - program { name: "indicator_hide"; - signal: "elm,state,indicator,hide"; - source: "elm"; - script { - thumb_up(); - } - } - program { - name: "go_disabled"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "button0"; - } - program { - name: "go_enabled"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "button0"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/slideshow.edc b/legacy/elementary/data/themes/widgets/slideshow.edc deleted file mode 100644 index 9581403cd0..0000000000 --- a/legacy/elementary/data/themes/widgets/slideshow.edc +++ /dev/null @@ -1,408 +0,0 @@ -group { name: "elm/slideshow/base/default"; - data { - item: transitions "fade black_fade horizontal vertical square"; - item: layouts "fullscreen not_fullscreen"; - } - parts { - part { name: "whole"; - type: RECT; - description { - state: "default" 0.0; - visible: 1; - color: 20 20 20 255; - } - } - part { name: "image_1_whole"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "fade_prev_next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - } - description { - state: "black_fade_prev_next_init" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "black_fade_prev_next" 0.0; - inherit: "default" 0.0; - color: 0 0 0 255; - } - description { - state: "horizontal_next_init" 0.0; - inherit: "default" 0.0; - } - description { - state: "horizontal_next" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { - state: "horizontal_prev_init" 0.0; - inherit: "default" 0.0; - } - description { - state: "horizontal_prev" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } - description { - state: "vertical_next_init" 0.0; - inherit: "default" 0.0; - } - description { - state: "vertical_next" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - } - description { - state: "vertical_prev_init" 0.0; - inherit: "default" 0.0; - } - description { - state: "vertical_prev" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - } - description { - state: "square_prev_next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - } - } - part { name: "image_2_whole"; - type: RECT; - description { - state: "default" 0.0; - visible: 1; - color: 255 255 255 0; - } - description { - state: "fade_prev_next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "black_fade_prev_next_init" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - description { - state: "black_fade_prev_next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "horizontal_next_init" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - color: 255 255 255 255; - } - description { - state: "horizontal_next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "horizontal_prev_init" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - color: 255 255 255 255; - } - description { - state: "horizontal_prev" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "vertical_next_init" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 1.0; - rel2.relative: 1.0 2.0; - color: 255 255 255 255; - } - description { - state: "vertical_next" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "vertical_prev_init" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 -1.0; - rel2.relative: 1.0 0.0; - color: 255 255 255 255; - } - description { - state: "vertical_prev" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "square_prev_next_init" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.5 0.5; - rel2.relative: 0.5 0.5; - color: 255 255 255 255; - } - description { - state: "square_prev_next" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.1"; - type: SWALLOW; - clip_to: "image_1_whole"; - description { - state: "default" 0.0; - rel1.to: "image_1_whole"; - rel2.to: "image_1_whole"; - } - description { - state: "not_fullscreen" 0.0; - rel1.relative: 0.1 0.1; - rel1.to: "image_1_whole"; - rel2.relative: 0.9 0.9; - rel2.to: "image_1_whole"; - } - } - part { name: "elm.swallow.2"; - type: SWALLOW; - clip_to: "image_2_whole"; - description { - state: "default" 0.0; - rel1.to: "image_2_whole"; - rel2.to: "image_2_whole"; - } - description { - state: "not_fullscreen" 0.0; - rel1.relative: 0.1 0.1; - rel1.to: "image_2_whole"; - rel2.relative: 0.9 0.9; - rel2.to: "image_2_whole"; - } - } - part { name: "events_catcher"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - visible: 1; - color: 0 0 0 0; - } - } - } - programs { - //Substyle - program { name: "layout_fullscreen"; - signal: "layout,fullscreen"; - source: "slideshow"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.1"; - target: "elm.swallow.2"; - transition: SINUSOIDAL 1.0; - } - program { name: "layout_not_fullscreen"; - signal: "layout,not_fullscreen"; - source: "slideshow"; - action: STATE_SET "not_fullscreen" 0.0; - target: "elm.swallow.1"; - target: "elm.swallow.2"; - transition: SINUSOIDAL 1.0; - } - // - program { name: "fade_next"; - signal: "fade,next"; - source: "slideshow"; - action: STATE_SET "default" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "fade_next_2"; - } - program { name: "fade_next_2"; - action: STATE_SET "fade_prev_next" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - transition: SINUSOIDAL 1.5; - after: "end"; - } - program { name: "fade_previous"; - signal: "fade,previous"; - source: "slideshow"; - action: STATE_SET "default" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "fade_previous_2"; - } - program { name: "fade_previous_2"; - action: STATE_SET "fade_prev_next" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - transition: SINUSOIDAL 1.5; - after: "end"; - } - program { name: "black_fade_next"; - signal: "black_fade,next"; - source: "slideshow"; - action: STATE_SET "black_fade_prev_next_init" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "black_fade_next_2"; - } - program { name: "black_fade_next_2"; - action: STATE_SET "black_fade_prev_next" 0.0; - target: "image_1_whole"; - transition: SINUSOIDAL 0.75; - after: "black_fade_next_3"; - } - program { name: "black_fade_next_3"; - action: STATE_SET "black_fade_prev_next" 0.0; - target: "image_2_whole"; - transition: SINUSOIDAL 0.75; - after: "end"; - } - program { name: "black_fade_previous"; - signal: "black_fade,previous"; - source: "slideshow"; - action: STATE_SET "black_fade_prev_next_init" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "black_fade_previous_2"; - } - program { name: "black_fade_previous_2"; - action: STATE_SET "black_fade_prev_next" 0.0; - target: "image_1_whole"; - transition: SINUSOIDAL 0.75; - after: "black_fade_previous_3"; - } - program { name: "black_fade_previous_3"; - action: STATE_SET "black_fade_prev_next" 0.0; - target: "image_2_whole"; - transition: SINUSOIDAL 0.75; - after: "end"; - } - program { name: "horizontal_next"; - signal: "horizontal,next"; - source: "slideshow"; - action: STATE_SET "horizontal_next_init" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "horizontal_next_2"; - } - program { name: "horizontal_next_2"; - action: STATE_SET "horizontal_next" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - transition: SINUSOIDAL 1.5; - after: "end"; - } - program { name: "horizontal_previous"; - signal: "horizontal,previous"; - source: "slideshow"; - action: STATE_SET "horizontal_prev_init" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "horizontal_previous_2"; - } - program { name: "horizontal_previous_2"; - action: STATE_SET "horizontal_prev" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - transition: SINUSOIDAL 1.5; - after: "end"; - } - program { name: "vertical_next"; - signal: "vertical,next"; - source: "slideshow"; - action: STATE_SET "vertical_next_init" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "vertical_next_2"; - } - program { name: "vertical_next_2"; - action: STATE_SET "vertical_next" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - transition: SINUSOIDAL 1.5; - after: "end"; - } - program { name: "vertical_previous"; - signal: "vertical,previous"; - source: "slideshow"; - action: STATE_SET "vertical_prev_init" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "vertical_previous_2"; - } - program { name: "vertical_previous_2"; - action: STATE_SET "vertical_prev" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - transition: SINUSOIDAL 1.5; - after: "end"; - } - program { name: "square_next"; - signal: "square,next"; - source: "slideshow"; - action: STATE_SET "square_prev_next_init" 0.0; - target: "image_2_whole"; - after: "square_next_2"; - } - program { name: "square_next_2"; - action: STATE_SET "square_prev_next" 0.0; - target: "image_2_whole"; - target: "image_1_whole"; - transition: SINUSOIDAL 1.5; - after: "end"; - } - program { name: "square_previous"; - signal: "square,previous"; - source: "slideshow"; - action: STATE_SET "square_prev_next_init" 0.0; - target: "image_2_whole"; - after: "square_next_2"; - } - program { name: "next"; - signal: "none,next"; - source: "slideshow"; - action: STATE_SET "fade_prev_next" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "end"; - } - program { name: "previous"; - signal: "none,previous"; - source: "slideshow"; - action: STATE_SET "fade_prev_next" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - after: "end"; - } - program { name: "end"; - action: SIGNAL_EMIT "end" "slideshow"; - } - program { name: "end_signal"; - signal: "anim,end"; - source: "slideshow"; - action: STATE_SET "default" 0.0; - target: "image_1_whole"; - target: "image_2_whole"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/spinner.edc b/legacy/elementary/data/themes/widgets/spinner.edc deleted file mode 100644 index 3edad88e48..0000000000 --- a/legacy/elementary/data/themes/widgets/spinner.edc +++ /dev/null @@ -1,1066 +0,0 @@ -group { name: "elm/spinner/base/default"; - images { - image: "shelf_inset.png" COMP; - image: "bt_base1.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - image: "sp_bt_l.png" COMP; - image: "sp_bt_r.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - min: 0 30; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "left_bt"; - mouse_events: 1; - description { state: "default" 0.0; - rel1 { to: "bg"; - offset: 3 3; - } - rel2 { to: "bg"; - offset: -4 -4; - } - align: 0.0 0.5; - min: 24 24; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - image { - normal: "bt_base1.png"; - border: 6 6 6 6; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "left_over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "left_bt"; - rel2 { to: "left_bt"; - relative: 1.0 0.5; - } - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "left_over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "left_bt"; - rel2.to: "left_bt"; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "left_over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "left_bt"; - rel2.to: "left_bt"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "right_bt"; - mouse_events: 1; - description { state: "default" 0.0; - rel1 { to: "bg"; - offset: -26 3; - } - rel2 { to: "bg"; - offset: -4 -4; - } - align: 1.0 0.5; - min: 24 24; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - image { - normal: "bt_base1.png"; - border: 5 5 4 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_base1.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "right_over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "right_bt"; - rel2 { to: "right_bt"; - relative: 1.0 0.5; - } - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "right_over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1.to: "right_bt"; - rel2.to: "right_bt"; - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "right_over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "right_bt"; - rel2.to: "right_bt"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "left_bt_icon"; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "left_bt"; - rel1.offset: 4 4; - rel2.to: "left_bt"; - rel2.offset: -5 -5; - align: 0.5 0.5; - min: 16 16; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "sp_bt_l.png"; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image.normal: "sp_bt_r.png"; - } - } - part { name: "right_bt_icon"; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "right_bt"; - rel1.offset: 4 4; - rel2.to: "right_bt"; - rel2.offset: -5 -5; - align: 0.5 0.5; - min: 16 16; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "sp_bt_r.png"; - } - description { state: "rtl" 0.0; - inherit: "default" 0.0; - image.normal: "sp_bt_l.png"; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 1; - align: 0.0 0.5; - rel1 { relative: 1.0 0.0; - offset: 3 2; - to_x: "left_bt"; - to_y: "bg"; - } - rel2 { relative: 0.0 1.0; - offset: -3 -2; - to_x: "right_bt"; - to_y: "bg"; - } - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled_active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - } - part { name: "elm.dragable.slider"; - type: RECT; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - } - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "button_events"; - type: RECT; - dragable { - events: "elm.dragable.slider"; - } - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.entry"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.5; - rel1 { relative: 1.0 0.5; - offset: 3 2; - to_x: "left_bt"; - to_y: "bg"; - } - rel2 { relative: 0.0 0.5; - offset: -3 -2; - to_x: "right_bt"; - to_y: "bg"; - } - fixed: 1 1; - color: 0 0 0 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { state: "disabled_active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.text"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - } - description { state: "disabled" 0.0; - color: 0 0 0 0; - rel1.to: "disabler"; - rel2.to: "disabler"; - } - } - } - programs { - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "dec"; - signal: "mouse,down,1*"; - source: "left_bt"; - action: SIGNAL_EMIT "elm,action,decrement,start" ""; - } - program { name: "dec2"; - signal: "mouse,up,1"; - source: "left_bt"; - action: SIGNAL_EMIT "elm,action,decrement,stop" ""; - } - program { name: "inc"; - signal: "mouse,down,1*"; - source: "right_bt"; - action: SIGNAL_EMIT "elm,action,increment,start" ""; - } - program { name: "inc2"; - signal: "mouse,up,1"; - source: "right_bt"; - action: SIGNAL_EMIT "elm,action,increment,stop" ""; - } - program { - name: "left_bt_click"; - signal: "mouse,down,1*"; - source: "left_over2"; - action: STATE_SET "clicked" 0.0; - target: "left_bt"; - } - program { - name: "left_bt_unclick"; - signal: "mouse,up,1"; - source: "left_over2"; - action: STATE_SET "default" 0.0; - target: "left_bt"; - } - program { - name: "left_bt_click2"; - signal: "mouse,down,1*"; - source: "left_over3"; - action: STATE_SET "clicked" 0.0; - target: "left_over3"; - } - program { - name: "left_bt_unclick2"; - signal: "mouse,up,1"; - source: "left_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "left_over3"; - } - program { - name: "left_bt_unclick3"; - signal: "mouse,up,1"; - source: "left_over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "left_bt_pressed_anim"; - signal: "elm,left,anim,activate"; - source: "elm"; - action: STATE_SET "clicked" 0.0; - target: "left_bt"; - target: "left_over3"; - after: "left_bt_unpressed_anim"; - } - program { - name: "left_bt_unpressed_anim"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "left_bt"; - target: "left_over3"; - } - - program { - name: "right_bt_click"; - signal: "mouse,down,1*"; - source: "right_over2"; - action: STATE_SET "clicked" 0.0; - target: "right_bt"; - } - program { - name: "right_bt_unclick"; - signal: "mouse,up,1"; - source: "right_over2"; - action: STATE_SET "default" 0.0; - target: "right_bt"; - } - program { - name: "right_bt_click2"; - signal: "mouse,down,1*"; - source: "right_over3"; - action: STATE_SET "clicked" 0.0; - target: "right_over3"; - } - program { - name: "right_bt_unclick2"; - signal: "mouse,up,1"; - source: "right_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "right_over3"; - } - program { - name: "right_bt_unclick3"; - signal: "mouse,up,1"; - source: "right_over2"; - action: SIGNAL_EMIT "elm,action,click" ""; - } - program { - name: "right_bt_pressed_anim"; - signal: "elm,right,anim,activate"; - source: "elm"; - action: STATE_SET "clicked" 0.0; - target: "right_bt"; - target: "right_over3"; - after: "right_bt_unpressed_anim"; - } - program { - name: "right_bt_unpressed_anim"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "right_bt"; - target: "right_over3"; - } - - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "left_bt"; - target: "left_over1"; - target: "left_over2"; - target: "right_bt"; - target: "right_over1"; - target: "right_over2"; - target: "disabler"; - target: "access.text"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "active")) - set_state(PART:"elm.text", "disabled_active", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - get_state(PART:"elm.swallow.entry", st, 30, vl); - if (!strcmp(st, "active")) - set_state(PART:"elm.swallow.entry", "disabled_active", 0.0); - else - set_state(PART:"elm.swallow.entry", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "left_bt"; - target: "left_over1"; - target: "left_over2"; - target: "right_bt"; - target: "right_over1"; - target: "right_over2"; - target: "disabler"; - target: "access.text"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_active")) - set_state(PART:"elm.text", "active", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - get_state(PART:"elm.swallow.entry", st, 30, vl); - if (!strcmp(st, "disabled_active")) - set_state(PART:"elm.swallow.entry", "active", 0.0); - else - set_state(PART:"elm.swallow.entry", "default", 0.0); - } - } - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "elm.text"; - target: "elm.swallow.entry"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.swallow.entry"; - } - program { name: "toggle_text"; - signal: "mouse,up,1"; - source: "button_events"; - action: SIGNAL_EMIT "elm,action,entry,toggle" ""; - } - program { name: "to_rtl"; - signal: "edje,state,rtl"; - source: "edje"; - action: STATE_SET "rtl" 0.0; - target: "right_bt_icon"; - target: "left_bt_icon"; - } - program { name: "to_ltr"; - signal: "edje,state,ltr"; - source: "edje"; - action: STATE_SET "default" 0.0; - target: "right_bt_icon"; - target: "left_bt_icon"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// -group { name: "elm/spinner/base/vertical"; - images { - image: "shelf_inset.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - image: "bt_glow.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - image: "up.png" COMP; - image: "down.png" COMP; - image: "bt_spinner_up.png" COMP; - image: "bt_spinner_down.png" COMP; - image: "bt_spinner_hilight.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - description { state: "default" 0.0; - min: 0 30; - rel1.offset: 1 1; - rel2.offset: -2 -2; - color: 255 255 255 0; - } - } - part { name: "conf_over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to: "bg"; - relative: 0.0 0.0; - } - rel2 { - to: "bg"; - } - image { - normal: "shelf_inset.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "down_bt"; - mouse_events: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "up_bt"; - relative: 0 1; - offset: 0 1; - } - rel2 { - to_y: "bg"; - to_x: "up_bt"; - relative: 1 1; - offset: -1 -4; - } - align: 1.0 0.5; - min: 24 16; - image { - normal: "bt_spinner_down.png"; - border: 6 6 6 6; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_spinner_down.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "down_over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "down_bt"; - rel2.to: "down_bt"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "up_bt"; - mouse_events: 1; - description { state: "default" 0.0; - fixed: 1 0; - rel1 { to: "bg"; - relative: 0 0; - offset: 0 2; - } - rel2 { to: "bg"; - relative: 1 0.5; - offset: -3 0; - } - align: 1.0 0.5; - min: 24 16; - aspect: 1.5 1.0; - aspect_preference: BOTH; - image { - normal: "bt_spinner_up.png"; - border: 6 6 6 6; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "bt_spinner_up.png"; - image.middle: SOLID; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { name: "up_over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "up_bt"; - rel2 { to: "up_bt"; - relative: 1.0 0.5; - } - image { - normal: "bt_spinner_hilight.png"; - border: 7 7 7 0; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "up_over3"; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "up_bt"; - rel2.to: "up_bt"; - image { - normal: "bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "down_bt_icon"; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "down_bt"; - rel1.offset: 5 3; - rel2.to: "down_bt"; - rel2.offset: -6 -3; - align: 0.5 0.5; - image.normal: "down.png"; - } - } - part { name: "up_bt_icon"; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "up_bt"; - rel1.offset: 5 3; - rel2.to: "up_bt"; - rel2.offset: -6 -3; - align: 0.5 0.5; - image.normal: "up.png"; - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 1; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; - offset: 3 2; - to_x: "bg"; - to_y: "bg"; - } - rel2 { relative: 0.0 1.0; - offset: -3 -2; - to_x: "down_bt"; - to_y: "bg"; - } - color: 0 0 0 255; - text { - font: "Sans,Edje-Vera"; - size: 10; - min: 1 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled_active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - } - part { name: "elm.dragable.slider"; - type: RECT; - mouse_events: 0; - scale: 1; - dragable { - x: 1 1 0; - y: 0 0 0; - } - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "button_events"; - type: RECT; - dragable { - events: "elm.dragable.slider"; - } - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.entry"; - type: SWALLOW; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.5; - rel1 { relative: 0.0 0.5; - offset: 3 2; - to: "elm.text"; - } - rel2 { relative: 1.0 0.5; - offset: -3 -2; - to: "elm.text"; - } - fixed: 1 1; - color: 0 0 0 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { state: "disabled_active" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "access.text"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - } - description { state: "disabled" 0.0; - color: 0 0 0 0; - rel1.to: "disabler"; - rel2.to: "disabler"; - } - } - } - programs { - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "dec"; - signal: "mouse,down,1*"; - source: "down_bt"; - action: SIGNAL_EMIT "elm,action,decrement,start" ""; - } - program { name: "dec2"; - signal: "mouse,up,1"; - source: "down_bt"; - action: SIGNAL_EMIT "elm,action,decrement,stop" ""; - } - program { name: "inc"; - signal: "mouse,down,1*"; - source: "up_bt"; - action: SIGNAL_EMIT "elm,action,increment,start" ""; - } - program { name: "inc2"; - signal: "mouse,up,1"; - source: "up_bt"; - action: SIGNAL_EMIT "elm,action,increment,stop" ""; - } - program { - name: "down_bt_click2"; - signal: "mouse,down,1*"; - source: "down_over3"; - action: STATE_SET "clicked" 0.0; - target: "down_over3"; - } - program { - name: "down_bt_unclick2"; - signal: "mouse,up,1"; - source: "down_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "down_over3"; - } - program { - name: "up_bt_click2"; - signal: "mouse,down,1*"; - source: "up_over3"; - action: STATE_SET "clicked" 0.0; - target: "up_over3"; - } - program { - name: "up_bt_unclick2"; - signal: "mouse,up,1"; - source: "up_over3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "up_over3"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "down_bt"; - target: "up_bt"; - target: "disabler"; - target: "access.text"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "active")) - set_state(PART:"elm.text", "disabled_active", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - - get_state(PART:"elm.swallow.entry", st, 30, vl); - if (!strcmp(st, "active")) - set_state(PART:"elm.swallow.entry", "disabled_active", 0.0); - else - set_state(PART:"elm.swallow.entry", "disabled", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "down_bt"; - target: "up_bt"; - target: "disabler"; - target: "access.text"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_active")) - set_state(PART:"elm.text", "active", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); - - get_state(PART:"elm.swallow.entry", st, 30, vl); - if (!strcmp(st, "disabled_active")) - set_state(PART:"elm.swallow.entry", "active", 0.0); - else - set_state(PART:"elm.swallow.entry", "default", 0.0); - } - } - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - target: "elm.text"; - target: "elm.swallow.entry"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - target: "elm.swallow.entry"; - } - program { name: "toggle_text"; - signal: "mouse,up,1"; - source: "button_events"; - action: SIGNAL_EMIT "elm,action,entry,toggle" ""; - } - } -} - - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/thumb.edc b/legacy/elementary/data/themes/widgets/thumb.edc deleted file mode 100644 index 5fd0cb4e86..0000000000 --- a/legacy/elementary/data/themes/widgets/thumb.edc +++ /dev/null @@ -1,185 +0,0 @@ -group { name: "elm/thumb/base/default"; - images { - image: "frame_1.png" COMP; - image: "frame_2.png" COMP; - image: "dia_grad.png" COMP; - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - } - parts { - part { name: "base0"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "dia_grad.png"; - rel1.to: "over"; - rel2.to: "over"; - fill { - smooth: 0; - size { - relative: 0.0 1.0; - offset: 64 0; - } - } - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - image { - normal: "frame_2.png"; - border: 5 5 32 26; - middle: 0; - } - fill.smooth : 0; - } - } - part { name: "clip"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clip"; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - } - } - part { name: "progress"; - mouse_events: 0; - - clip_to: "clip"; - description { state: "default" 0.0; - min: 32 32; - max: 32 32; - visible: 0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - description { state: "pulse" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "busy-9.png"; - tween: "busy-1.png"; - tween: "busy-2.png"; - tween: "busy-3.png"; - tween: "busy-4.png"; - tween: "busy-5.png"; - tween: "busy-6.png"; - tween: "busy-7.png"; - tween: "busy-8.png"; - border: 7 7 7 7; - } - } - } - part { name: "over"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - image { - normal: "frame_1.png"; - border: 2 2 28 22; - middle: 0; - } - fill.smooth: 0; - } - } - programs { - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "pulse" 0.0; - target: "progress"; - transition: LINEAR 0.5; - after: "start_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "progress"; - } - } - } -} - -group { name: "elm/thumb/base/noframe"; - images { - image: "busy-1.png" COMP; - image: "busy-2.png" COMP; - image: "busy-3.png" COMP; - image: "busy-4.png" COMP; - image: "busy-5.png" COMP; - image: "busy-6.png" COMP; - image: "busy-7.png" COMP; - image: "busy-8.png" COMP; - image: "busy-9.png" COMP; - } - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - } - } - part { name: "progress"; - mouse_events: 0; - description { state: "default" 0.0; - min: 32 32; - max: 32 32; - visible: 0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - description { state: "pulse" 0.0; - inherit: "default" 0.0; - visible: 1; - image { - normal: "busy-9.png"; - tween: "busy-1.png"; - tween: "busy-2.png"; - tween: "busy-3.png"; - tween: "busy-4.png"; - tween: "busy-5.png"; - tween: "busy-6.png"; - tween: "busy-7.png"; - tween: "busy-8.png"; - border: 7 7 7 7; - } - } - } - programs { - program { name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "pulse" 0.0; - target: "progress"; - transition: LINEAR 0.5; - after: "start_pulse"; - } - program { name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "progress"; - } - } - } -} - - diff --git a/legacy/elementary/data/themes/widgets/toolbar.edc b/legacy/elementary/data/themes/widgets/toolbar.edc deleted file mode 100644 index fbf963cb72..0000000000 --- a/legacy/elementary/data/themes/widgets/toolbar.edc +++ /dev/null @@ -1,1733 +0,0 @@ -#define ITEM_STATE_ENABLED 0 -#define ITEM_STATE_DISABLED 1 - -#define TOOLBAR_ITEM_ICON_SIZE 26 26 - -group { name: "elm/toolbar/base/default"; - images { - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - image: "bt_dis_shine.png" COMP; - image: "arrow_right.png" COMP; - image: "arrow_left.png" COMP; - image: "arrow_up.png" COMP; - image: "arrow_down.png" COMP; - } - parts { - part { name: "base"; - mouse_events: 1; - description { state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - } - rel2.offset: -3 -3; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "base"; - offset: 2 2; - } - rel2 { - to: "base"; - offset: -3 -3; - } - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - part { name: "over2"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image { - normal: "bt_dis_shine.png"; - border: 4 4 4 4; - } - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - color: 255 255 255 128; - } - } - part { name: "event"; type: RECT; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "left_arrow"; - scale: 1; - description { state: "default" 0.0; - image.normal: "arrow_left.png"; - align: 0.0 0.5; - min: 22 22; - max: 22 22; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "right_arrow"; - scale: 1; - description { state: "default" 0.0; - image.normal: "arrow_right.png"; - align: 1.0 0.5; - min: 22 22; - max: 22 22; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "up_arrow"; - scale: 1; - description { state: "default" 0.0; - image.normal: "arrow_up.png"; - align: 0.5 0.0; - min: 22 22; - max: 22 22; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "down_arrow"; - scale: 1; - description { state: "default" 0.0; - image.normal: "arrow_down.png"; - align: 0.5 1.0; - min: 22 22; - max: 22 22; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "left_show"; - signal: "elm,action,show,left"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "left_arrow"; - } - program { name: "left_hide"; - signal: "elm,action,hide,left"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "left_arrow"; - } - program { name: "right_show"; - signal: "elm,action,show,right"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "right_arrow"; - } - program { name: "right_hide"; - signal: "elm,action,hide,right"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "right_arrow"; - } - program { name: "up_show"; - signal: "elm,action,show,up"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "up_arrow"; - } - program { name: "up_hide"; - signal: "elm,action,hide,up"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "up_arrow"; - } - program { name: "down_show"; - signal: "elm,action,show,down"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "down_arrow"; - } - program { name: "down_hide"; - signal: "elm,action,hide,down"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "down_arrow"; - } - program { name: "left_go"; - signal: "mouse,up,1"; - source: "left_arrow"; - action: SIGNAL_EMIT "elm,action,left" "elm"; - } - program { name: "right_go"; - signal: "mouse,up,1"; - source: "right_arrow"; - action: SIGNAL_EMIT "elm,action,right" "elm"; - } - program { name: "up_go"; - signal: "mouse,up,1"; - source: "up_arrow"; - action: SIGNAL_EMIT "elm,action,up" "elm"; - } - program { name: "down_go"; - signal: "mouse,up,1"; - source: "down_arrow"; - action: SIGNAL_EMIT "elm,action,down" "elm"; - } - } -} - -/* this style is used for toolbar more layout background. - * how to test: - * elementary_test -> toolbar 8 -> click 'open' - * the whole expanded layout is elm/toolbar/more/default layout. - */ -group { name: "elm/toolbar/more/default"; - images { - image: "toolbar_separator_h.png" COMP; - } - parts { - part { name: "base"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - description { state: "open" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - } - description { state: "open2" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 2.0; - } - } - part { name: "clipper"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { - to: "base"; - offset: 4 4; - } - rel2 { - to: "base"; - offset: -5 -5; - } - } - description { state: "open" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 1.0; - } - description { state: "open2" 0.0; - inherit: "default" 0.0; - rel2.relative: 1.0 0.5; - rel2.offset: -5 -2; - } - } - part { name: "clipper2"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 0.0 0.5; - to: "base"; - offset: 4 1; - } - rel2 { - to: "base"; - offset: -5 -5; - } - } - description { state: "open" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 1.0; - } - description { state: "open2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.0 0.5; - } - } - part { name: "elm.swallow.content"; - clip_to: "clipper"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 1; - rel1.to: "clipper"; - rel2.to: "clipper"; - } - } - part { name: "elm.swallow.content2"; - clip_to: "clipper2"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 1; - rel1.to: "clipper2"; - rel2.to: "clipper2"; - } - } - part { name: "separator2"; - clip_to: "clipper2"; - description { state: "default" 0.0; - min: 2 3; - max: 9999 3; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - offset: 0 -1; - to: "clipper2"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 0; - to: "clipper2"; - } - image { - normal: "toolbar_separator_h.png"; - border: 1 1 1 1; - } - fill { - smooth: 0; - } - } - } - part { name: "over2"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image { - normal: "bt_dis_shine.png"; - border: 4 4 4 4; - } - } - } - part { name: "over1"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - color: 255 255 255 128; - } - } - } - programs { - program { name: "open"; - signal: "elm,state,open"; - source: "elm"; - action: STATE_SET "open" 0.0; - target: "base"; - target: "clipper"; - target: "clipper2"; - transition: BOUNCE 0.8 1.0 3; - } - program { name: "open2"; - signal: "elm,state,open2"; - source: "elm"; - action: STATE_SET "open2" 0.0; - target: "base"; - target: "clipper"; - target: "clipper2"; - transition: BOUNCE 0.8 1.0 3; - } - program { name: "close"; - signal: "elm,state,close"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - transition: BOUNCE 0.8 1.0 3; - } - } -} - -group { name: "elm/toolbar/item/default"; - images { - image: "toolbar_sel.png" COMP; - image: "item_highlight.png" COMP; - } - data.item: "transition_animation_on" "1"; - parts { - part { name: "label2"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "elm.text.clipper"; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 0 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - color: 0 0 0 255; - text { - font: "Sans"; - text_source: "elm.text"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "label2_new"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "elm.text_new.clipper"; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 0 1; - rel1.to: "elm.text_new"; - rel2.to: "elm.text_new"; - color: 0 0 0 255; - text { - font: "Sans"; - text_source: "elm.text_new"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "bg"; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - image { - normal: "toolbar_sel.png"; - border: 3 3 0 0; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "moving" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 100; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - clip_to: "elm.icon.clipper"; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - } - rel2 { - to_y: "elm.text"; - relative: 1.0 0.0; - offset: -3 -1; - } - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon_new"; - type: SWALLOW; - clip_to: "elm.icon_new.clipper"; - description { state: "default" 0.0; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - } - rel2 { - to_y: "elm.text_new"; - relative: 1.0 0.0; - offset: -3 -1; - } - color: 0 0 0 0; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "elm.text.clipper"; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - visible: 0; - color: 224 224 224 255; - color3: 0 0 0 32; - text { - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "elm.text_new"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - clip_to: "elm.text_new.clipper"; - scale: 1; - description { state: "default" 0.0; - align: 0.5 1.0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - visible: 0; - color: 224 224 224 255; - color3: 0 0 0 32; - text { - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "elm.text.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "animation" 0.0; - color: 255 255 255 0; - } - } - part { name: "elm.text_new.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "animation" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.icon.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "animation" 0.0; - color: 255 255 255 0; - } - } - part { name: "elm.icon_new.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "animation" 0.0; - color: 255 255 255 255; - } - } - part { name: "highlight"; - type: IMAGE; - description { state: "default" 0.0; - visible: 0; - image { - normal: "item_highlight.png"; - border: 3 3 3 3; - } - } - description { state: "highlighted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "event"; - type: RECT; - mouse_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "go_active"; - signal: "elm,state,selected"; - source: "elm"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "elm.text"; - target: "label2"; - target: "elm.text_new"; - target: "label2_new"; - transition: LINEAR 0.2; - } - program { name: "go_passive"; - signal: "elm,state,unselected"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "elm.text"; - target: "label2"; - target: "elm.text_new"; - target: "label2_new"; - transition: LINEAR 0.1; - } - program { name: "moving"; - signal: "elm,state,moving"; - source: "elm"; - action: STATE_SET "moving" 0.0; - target: "bg"; - } - program { name: "go"; - signal: "mouse,clicked,1"; - source: "event"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - } - program { name: "mouse,in"; - signal: "mouse,in"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,in" "elm"; - } - program { name: "mouse,out"; - signal: "mouse,out"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,out" "elm"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "label2"; - target: "label2_new"; - target: "bg"; - after: "disable_text"; - } - program { name: "disable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.text", "disabled_visible", 0.0); - set_state(PART:"elm.text_new", "disabled_visible", 0.0); - } - else - { - set_state(PART:"elm.text", "disabled", 0.0); - set_state(PART:"elm.text_new", "disabled", 0.0); - } - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "label2"; - target: "label2_new"; - target: "bg"; - after: "enable_text"; - } - program { name: "enable_text"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - { - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"elm.text_new", "visible", 0.0); - } - else - { - set_state(PART:"elm.text", "default", 0.0); - set_state(PART:"elm.text_new", "default", 0.0); - } - } - } - program { name: "label_set,animation,forward"; - signal: "elm,state,label_set,forward"; - source: "elm"; - after: "label_set,animation"; - } - program { name: "label_set,animation,backward"; - signal: "elm,state,label_set,backward"; - source: "elm"; - after: "label_set,animation"; - } - program { name: "label_set,animation"; - signal: "elm,state,label_set"; - source: "elm"; - action: STATE_SET "animation" 0.0; - target: "elm.text.clipper"; - target: "elm.text_new.clipper"; - transition: LINEAR 0.2; - after: "label_set,animation,done"; - } - program { name: "label_set,animation,done"; - action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; - } - program { name: "label,reset"; - signal: "elm,state,label,reset"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text.clipper"; - target: "elm.text_new.clipper"; - } - program { name: "icon_set,animation,forward"; - signal: "elm,state,icon_set,forward"; - source: "elm"; - after: "icon_set,animation"; - } - program { name: "icon_set,animation,backward"; - signal: "elm,state,icon_set,backward"; - source: "elm"; - after: "icon_set,animation"; - } - program { name: "icon_set,animation"; - signal: "elm,state,icon_set"; - source: "elm"; - action: STATE_SET "animation" 0.0; - target: "elm.icon.clipper"; - target: "elm.icon_new.clipper"; - transition: LINEAR 0.2; - after: "icon_set,animation,done"; - } - program { name: "icon_set,animation,done"; - action: SIGNAL_EMIT "elm,state,icon_set,done" "elm"; - } - program { name: "icon,reset"; - signal: "elm,state,icon,reset"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.icon.clipper"; - target: "elm.icon_new.clipper"; - } - program { name: "highlight_on"; - signal: "elm,highlight,on"; - source: "elm"; - action: STATE_SET "highlighted" 0.0; - target: "highlight"; - } - program { name: "highlight_off"; - signal: "elm,highlight,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "highlight"; - } - } -} - -group { name: "elm/toolbar/item/item_horizontal"; - inherit: "elm/toolbar/item/default"; - parts { - part { name: "elm.swallow.icon"; - description { state: "default" 0.0; - fixed: 0 0; - aspect: 1 1; - aspect_preference: VERTICAL; - align: 0.0 0.5; - rel1.offset: 3 3; - rel1.relative: 0 0; - rel2.offset: 3 -4; - rel2.relative: 0 1; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon_new"; - description { state: "default" 0.0; - fixed: 1 1; - } - } - part { name: "elm.text"; - description { state: "default" 0.0; - align: 1.0 0.5; - min: 0 1; - fixed: 0 0; - rel1.offset: 1 0; - rel1.relative: 1.0 0.0; - rel1.to_x: "elm.swallow.icon"; - rel2.relative: 1.0 1.0; - text.align: 0 0.5; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "elm.text_new"; - description { state: "default" 0.0; - align: 1.0 0.5; - min: 0 1; - fixed: 0 0; - rel1.offset: 1 0; - rel1.relative: 1.0 0.0; - rel1.to_x: "elm.swallow.icon"; - rel2.relative: 1.0 1.0; - text.align: 0 0.5; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - } -} - -group { name: "elm/toolbar/item/item_centered"; - images { - image: "toolbar_sel.png" COMP; - } - data.item: "transition_animation_on" "1"; - script { - public item_state = ITEM_STATE_ENABLED; - } - parts { - part { name: "label2"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "elm.text.clipper"; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1.to: "elm.text"; - rel2.to: "elm.text"; - color: 0 0 0 255; - text { - font: "Sans"; - text_source: "elm.text"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "label2_new"; - type: TEXT; - mouse_events: 0; - scale: 1; - clip_to: "elm.text_new.clipper"; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1.to: "elm.text_new"; - rel2.to: "elm.text_new"; - color: 0 0 0 255; - text { - font: "Sans"; - text_source: "elm.text_new"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "bg"; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 100 60; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -3; - } - image { - normal: "toolbar_sel.png"; - border: 3 3 3 3; - } - image.middle: SOLID; - fill.smooth: 0; - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { name: "padding_left_top"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: 10 8; - fixed: 1 1; - visible: 1; - color: 0 0 0 0; - } - } - part { name: "padding_right_bottom"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: 10 5; - fixed: 1 1; - visible: 1; - color: 0 0 0 0; - } - } - part { - name: "icon_rect"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 0 0; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - to_y: "padding_left_top"; - } - align: 0.5 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - min: TOOLBAR_ITEM_ICON_SIZE; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - to_y: "padding_left_top"; - } - align: 0.5 0.0; - color: 0 0 0 0; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "padding_after_icon"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.0 0.0; - rel1 { - relative: 0.0 1.0; - to: "icon_rect"; - } - rel2.to: "icon_rect"; - fixed: 0 1; - min: 0 15; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - } - } - part { name: "padding_before_text"; - type: RECT; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; //when only icon or no icon is there - align: 0.5 1.0; - rel1 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "elm.text"; - } - rel2 { - relative: 0.0 0.0; - to_x: "padding_right_bottom"; - to_y: "elm.text"; - } - fixed: 0 1; - min: 0 15; - color: 0 0 0 0; - } - } - part { name: "elm.swallow.icon"; - type: SWALLOW; - scale: 1; - clip_to: "elm.icon.clipper"; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - to_y: "padding_left_top"; - } - fixed: 0 1; - } - description { state: "visible" 0.0; - min: TOOLBAR_ITEM_ICON_SIZE; - max: TOOLBAR_ITEM_ICON_SIZE; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - offset: 0 -3; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - offset: 0 -10; - } - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - description { state: "icononly" 0.0; - min: TOOLBAR_ITEM_ICON_SIZE; - max: TOOLBAR_ITEM_ICON_SIZE; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - } - part { name: "elm.swallow.icon_new"; - type: SWALLOW; - scale: 1; - clip_to: "elm.icon_new.clipper"; - description { state: "default" 0.0; - visible: 0; - align: 0.5 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 1.0; - to_x: "padding_right_bottom"; - to_y: "padding_left_top"; - } - fixed: 0 1; - } - description { state: "visible" 0.0; - min: TOOLBAR_ITEM_ICON_SIZE; - max: TOOLBAR_ITEM_ICON_SIZE; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - offset: 0 -3; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - offset: 0 -10; - } - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - description { state: "icononly" 0.0; - min: TOOLBAR_ITEM_ICON_SIZE; - max: TOOLBAR_ITEM_ICON_SIZE; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "elm.text.clipper"; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to_x: "padding_left_top"; - to_y: "padding_after_icon"; - offset: 0 -3; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - offset: 0 -3; - } - visible: 0; - color: 224 224 224 255; - color3: 0 0 0 32; - text { - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "elm.text_new"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - clip_to: "elm.text_new.clipper"; - scale: 1; - description { state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1 { - relative: 1.0 1.0; - to_x: "padding_left_top"; - to_y: "padding_after_icon"; - offset: 0 -3; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - offset: 0 -3; - } - visible: 0; - color: 224 224 224 255; - color3: 0 0 0 32; - text { - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "toolbar_item"; - } - } - description { state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 128; - color3: 0 0 0 0; - visible: 1; - text.min: 1 1; - } - } - part { name: "elm.text.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "animation" 0.0; - color: 255 255 255 0; - } - description { state: "disabled" 0.0; - color: 255 255 255 153; - } - } - part { name: "elm.text_new.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "animation" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - color: 255 255 255 153; - } - } - part { name: "elm.icon.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "animation" 0.0; - color: 255 255 255 0; - } - description { state: "disabled" 0.0; - color: 255 255 255 153; - } - } - part { name: "elm.icon_new.clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "animation" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - color: 255 255 255 153; - } - } - part { name: "highlight"; - type: IMAGE; - description { state: "default" 0.0; - visible: 0; - image { - normal: "item_highlight.png"; - border: 3 3 3 3; - } - } - description { state: "highlighted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "event"; - type: RECT; - mouse_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - part { name: "event2"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1"; - source: "event"; - script { - if (get_int(item_state) != ITEM_STATE_DISABLED) - { - set_state(PART:"elm.text", "visible", 0.0); - set_state(PART:"elm.text_new", "visible", 0.0); - set_state(PART:"bg", "selected", 0.0); - } - } - transition: LINEAR 0.2; - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event2"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "elm.text"; - target: "elm.text_new"; - transition: LINEAR 0.1; - } - program { name: "go"; - signal: "mouse,clicked,1"; - source: "event"; - action: SIGNAL_EMIT "elm,action,click" "elm"; - } - program { name: "mouse,in"; - signal: "mouse,in"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,in" "elm"; - } - program { name: "mouse,out"; - signal: "mouse,out"; - source: "event"; - action: SIGNAL_EMIT "elm,mouse,out" "elm"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - set_int(item_state, ITEM_STATE_DISABLED); - set_state(PART:"bg", "disabled", 0.0); - set_state(PART:"elm.text.clipper", "disabled", 0.0); - set_state(PART:"elm.icon.clipper", "disabled", 0.0); - run_program(PROGRAM:"label_set,animation,done"); - run_program(PROGRAM:"icon_set,animation,done"); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - set_int(item_state, ITEM_STATE_ENABLED); - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text.clipper", "default", 0.0); - set_state(PART:"elm.icon.clipper", "default", 0.0); - run_program(PROGRAM:"label_set,animation,done"); - run_program(PROGRAM:"icon_set,animation,done"); - } - } - program { name: "label_set,animation,forward"; - signal: "elm,state,label_set,forward"; - source: "elm"; - after: "label_set,animation"; - } - program { name: "label_set,animation,backward"; - signal: "elm,state,label_set,backward"; - source: "elm"; - after: "label_set,animation"; - } - program { name: "label_set,animation"; - signal: "elm,state,label_set"; - source: "elm"; - action: STATE_SET "animation" 0.0; - target: "elm.text.clipper"; - target: "elm.text_new.clipper"; - transition: LINEAR 0.2; - after: "label_set,animation,done"; - } - program { name: "label_set,animation,done"; - action: SIGNAL_EMIT "elm,state,label_set,done" "elm"; - } - program { name: "label,reset"; - signal: "elm,state,label,reset"; - source: "elm"; - script { - set_state(PART:"elm.text_new.clipper", "default", 0.0); - if (get_int(item_state) != ITEM_STATE_DISABLED) - set_state(PART:"elm.text.clipper", "default", 0.0); - else - set_state(PART:"elm.text.clipper", "disabled", 0.0); - } - } - program { name: "icon_set,animation,forward"; - signal: "elm,state,icon_set,forward"; - source: "elm"; - after: "icon_set,animation"; - } - program { name: "icon_set,animation,backward"; - signal: "elm,state,icon_set,backward"; - source: "elm"; - after: "icon_set,animation"; - } - program { name: "icon_set,animation"; - signal: "elm,state,icon_set"; - source: "elm"; - action: STATE_SET "animation" 0.0; - target: "elm.icon.clipper"; - target: "elm.icon_new.clipper"; - transition: LINEAR 0.2; - after: "icon_set,animation,done"; - } - program { name: "icon_set,animation,done"; - action: SIGNAL_EMIT "elm,state,icon_set,done" "elm"; - } - program { name: "icon,reset"; - signal: "elm,state,icon,reset"; - source: "elm"; - script { - set_state(PART:"elm.icon_new.clipper", "default", 0.0); - if (get_int(item_state) != ITEM_STATE_DISABLED) - set_state(PART:"elm.icon.clipper", "default", 0.0); - else - set_state(PART:"elm.icon.clipper", "disabled", 0.0); - } - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - set_state(PART:"padding_after_icon", "visible", 0.0); - } - set_state(PART:"label2", "visible", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.icon", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"icon_rect", "icononly", 0.0); - set_state(PART:"padding_after_icon", "icononly", 0.0); - } - set_state(PART:"label2", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.icon", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - set_state(PART:"padding_after_icon", "visible", 0.0); - } - else - { - set_state(PART:"elm.swallow.icon", "icononly", 0.0); - set_state(PART:"icon_rect", "icononly", 0.0); - set_state(PART:"padding_after_icon", "icononly", 0.0); - } - } - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"label2", "visible", 0.0); - } - set_state(PART:"elm.swallow.icon", "default", 0.0); - set_state(PART:"icon_rect", "default", 0.0); - set_state(PART:"padding_after_icon", "default", 0.0); - } - } - program { name: "highlight_on"; - signal: "elm,highlight,on"; - source: "elm"; - action: STATE_SET "highlighted" 0.0; - target: "highlight"; - } - program { name: "highlight_off"; - signal: "elm,highlight,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "highlight"; - } - } -} - -group { name: "elm/toolbar/separator/default"; - images { - image: "toolbar_separator_v.png" COMP; - } - parts { - part { name: "separator"; // separator group - description { state: "default" 0.0; - min: 2 2; - max: 2 9999; - rel1.offset: 4 4; - rel2.offset: -5 -5; - image { - normal: "toolbar_separator_v.png"; - } - fill { - smooth: 0; - } - } - } - } -} - -group { name: "elm/toolbar/object/default"; - parts { - part { name: "elm.swallow.object"; // object group - type: SWALLOW; - description { state: "default" 0.0; - } - } - part { name: "highlight"; - type: IMAGE; - description { state: "default" 0.0; - visible: 0; - image { - normal: "item_highlight.png"; - border: 3 3 3 3; - } - } - description { state: "highlighted" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - } - programs { - program { name: "highlight_on"; - signal: "elm,highlight,on"; - source: "elm"; - action: STATE_SET "highlighted" 0.0; - target: "highlight"; - } - program { name: "highlight_off"; - signal: "elm,highlight,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "highlight"; - } - } -} diff --git a/legacy/elementary/data/themes/widgets/tooltip.edc b/legacy/elementary/data/themes/widgets/tooltip.edc deleted file mode 100644 index 5a88d49f9e..0000000000 --- a/legacy/elementary/data/themes/widgets/tooltip.edc +++ /dev/null @@ -1,497 +0,0 @@ -group { name: "elm/label/base/tooltip"; - styles { - style { name: "tooltip_style"; - base: "font=Sans font_size=8 color=#666 wrap=word"; - tag: "br" "\n"; - tag: "hilight" "+ font_weight=Bold"; - tag: "b" "+ font_weight=Bold"; - tag: "tab" "\t"; - } - } - parts { - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - text { - style: "tooltip_style"; - min: 1 1; - } - } - } - } -} - -group { name: "elm/tooltip/base/default"; - min: 30 30; - data { - item: "pad_x" "20"; - item: "pad_y" "20"; - item: "pad_border_x" "10"; - item: "pad_border_y" "10"; - item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */ - } - images { - image: "tooltip-base.png" COMP; - image: "tooltip-corner-top-left-tip.png" COMP; - image: "tooltip-corner-top-right-tip.png" COMP; - image: "tooltip-corner-bottom-left-tip.png" COMP; - image: "tooltip-corner-bottom-right-tip.png" COMP; - image: "tooltip-edge-left-tip.png" COMP; - image: "tooltip-edge-right-tip.png" COMP; - image: "tooltip-edge-bottom-tip.png" COMP; - image: "tooltip-edge-top-tip.png" COMP; - } - script { - hide_corners() { - set_state(PART:"corner-top-left", "default", 0.0); - set_state(PART:"corner-top-right", "default", 0.0); - set_state(PART:"corner-bottom-left", "default", 0.0); - set_state(PART:"corner-bottom-right", "default", 0.0); - } - hide_edges() { - set_state(PART:"clipper-edge-left", "default", 0.0); - set_state(PART:"clipper-edge-right", "default", 0.0); - set_state(PART:"clipper-edge-top", "default", 0.0); - set_state(PART:"clipper-edge-bottom", "default", 0.0); - } - - show_corner_top_left() { - set_state(PART:"corner-top-left", "visible", 0.0); - - set_state(PART:"corner-top-right", "default", 0.0); - set_state(PART:"corner-bottom-left", "default", 0.0); - set_state(PART:"corner-bottom-right", "default", 0.0); - hide_edges(); - } - show_corner_top_right() { - set_state(PART:"corner-top-right", "visible", 0.0); - - set_state(PART:"corner-top-left", "default", 0.0); - set_state(PART:"corner-bottom-left", "default", 0.0); - set_state(PART:"corner-bottom-right", "default", 0.0); - hide_edges(); - } - - show_corner_bottom_left() { - set_state(PART:"corner-bottom-left", "visible", 0.0); - - set_state(PART:"corner-bottom-right", "default", 0.0); - set_state(PART:"corner-top-left", "default", 0.0); - set_state(PART:"corner-top-right", "default", 0.0); - hide_edges(); - } - show_corner_bottom_right() { - set_state(PART:"corner-bottom-right", "visible", 0.0); - - set_state(PART:"corner-bottom-left", "default", 0.0); - set_state(PART:"corner-top-left", "default", 0.0); - set_state(PART:"corner-top-right", "default", 0.0); - hide_edges(); - } - - show_edge_left(Float:val) { - set_state(PART:"clipper-edge-left", "visible", 0.0); - set_drag(PART:"edge-drag-left", 0.0, val); - - set_state(PART:"clipper-edge-right", "default", 0.0); - set_state(PART:"clipper-edge-top", "default", 0.0); - set_state(PART:"clipper-edge-bottom", "default", 0.0); - hide_corners(); - } - show_edge_right(Float:val) { - set_state(PART:"clipper-edge-right", "visible", 0.0); - set_drag(PART:"edge-drag-right", 0.0, val); - - set_state(PART:"clipper-edge-left", "default", 0.0); - set_state(PART:"clipper-edge-top", "default", 0.0); - set_state(PART:"clipper-edge-bottom", "default", 0.0); - hide_corners(); - } - - show_edge_top(Float:val) { - set_state(PART:"clipper-edge-top", "visible", 0.0); - set_drag(PART:"edge-drag-top", val, 0.0); - - set_state(PART:"clipper-edge-bottom", "default", 0.0); - set_state(PART:"clipper-edge-left", "default", 0.0); - set_state(PART:"clipper-edge-right", "default", 0.0); - hide_corners(); - } - show_edge_bottom(Float:val) { - set_state(PART:"clipper-edge-bottom", "visible", 0.0); - set_drag(PART:"edge-drag-bottom", val, 0.0); - - set_state(PART:"clipper-edge-top", "default", 0.0); - set_state(PART:"clipper-edge-left", "default", 0.0); - set_state(PART:"clipper-edge-right", "default", 0.0); - hide_corners(); - } - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT_SET) && (id == 1)) { - new Float:x, Float:y; - - x = getfarg(2); - y = getfarg(3); - - if (x < 0.0) - { - if (y < 0.0) show_corner_top_left(); - else if (y > 1.0) show_corner_bottom_left(); - else show_edge_left(y); - } - else if (x > 1.0) - { - if (y < 0.0) show_corner_top_right(); - else if (y > 1.0) show_corner_bottom_right(); - else show_edge_right(y); - } - else - { - if (y < 0.0) show_edge_top(x); - else if (y > 1.0) show_edge_bottom(x); - else - { - hide_corners(); - hide_edges(); - } - } - } - } - } - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "pop"; - mouse_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - min: 30 30; - rel1 { - to: "elm.swallow.content"; - offset: -15 -15; - } - rel2 { - to: "elm.swallow.content"; - offset: 14 14; - } - image { - normal: "tooltip-base.png"; - border: 14 14 14 14; - } - image.middle: SOLID; - } - } - - #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \ - part { name: "corner-"name_; \ - type: IMAGE; \ - mouse_events: 0; \ - clip_to: "clipper"; \ - description { state: "default" 0.0; \ - color: 255 255 255 0; \ - visible: 0; \ - min: 14 14; \ - max: 14 14; \ - align: ax ay; \ - fixed: 1 1; \ - rel1 { \ - relative: rx ry; \ - offset: ox oy; \ - to: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: rx ry; \ - offset: ox oy; \ - to: "elm.swallow.content"; \ - } \ - image.normal: "tooltip-corner-"name_"-tip.png"; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 255; \ - visible: 1; \ - } \ - } - TT_CORNER("top-left", 0, 0, 1, 1, 4, 4); - TT_CORNER("top-right", 1, 0, 0, 1, -5, 4); - TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5); - TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5); - #undef TT_CORNER - - #define TT_EDGE_VERT(name_, rx, ax, ox) \ - part { name: "clipper-edge-"name_; \ - type: RECT; \ - clip_to: "clipper"; \ - description { state: "default" 0.0; \ - color: 255 255 255 0; \ - visible: 0; \ - min: 14 14; \ - align: ax 0.5; \ - fixed: 1 1; \ - rel1 { \ - relative: rx 0.0; \ - offset: ox 0; \ - to: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: rx 1.0; \ - offset: ox 0; \ - to: "elm.swallow.content"; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 255; \ - visible: 1; \ - } \ - } \ - part { name: "edge-area-"name_; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "clipper-edge-"name_; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: 14 14; \ - align: ax 0.5; \ - fixed: 1 1; \ - rel1 { \ - relative: rx 0.0; \ - offset: ox 0; \ - to: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: rx 1.0; \ - offset: ox 0; \ - to: "elm.swallow.content"; \ - } \ - } \ - } \ - part { name: "edge-drag-"name_; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "clipper-edge-"name_; \ - dragable { \ - x: 0 0 0; \ - y: 1 1 0; \ - confine: "edge-area-"name_; \ - } \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: 14 14; \ - rel1.to: "edge-area-"name_; \ - rel2.to: "edge-area-"name_; \ - } \ - } \ - part { name: "edge-img-"name_; \ - type: IMAGE; \ - mouse_events: 0; \ - clip_to: "clipper-edge-"name_; \ - description { state: "default" 0.0; \ - min: 14 14; \ - max: 14 14; \ - align: ax 0.5; \ - fixed: 1 1; \ - rel1.to: "edge-drag-"name_; \ - rel2.to: "edge-drag-"name_; \ - image.normal: "tooltip-edge-"name_"-tip.png"; \ - } \ - } - TT_EDGE_VERT("left", 0, 1, -2); - TT_EDGE_VERT("right", 1, 0, 1); - #undef TT_EDGE_VERT - - #define TT_EDGE_HORIZ(name_, ry, ay, oy) \ - part { name: "clipper-edge-"name_; \ - type: RECT; \ - clip_to: "clipper"; \ - description { state: "default" 0.0; \ - color: 255 255 255 0; \ - visible: 0; \ - min: 14 14; \ - align: 0.5 ay; \ - fixed: 1 1; \ - rel1 { \ - relative: 0.0 ry; \ - offset: 0 oy; \ - to: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: 1.0 ry; \ - offset: 0 oy; \ - to: "elm.swallow.content"; \ - } \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - color: 255 255 255 255; \ - visible: 1; \ - } \ - } \ - part { name: "edge-area-"name_; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "clipper-edge-"name_; \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: 14 14; \ - align: 0.5 ay; \ - fixed: 1 1; \ - rel1 { \ - relative: 0.0 ry; \ - offset: 0 oy; \ - to: "elm.swallow.content"; \ - } \ - rel2 { \ - relative: 1.0 ry; \ - offset: 0 oy; \ - to: "elm.swallow.content"; \ - } \ - } \ - } \ - part { name: "edge-drag-"name_; \ - type: RECT; \ - mouse_events: 0; \ - clip_to: "clipper-edge-"name_; \ - dragable { \ - x: 1 1 0; \ - y: 0 0 0; \ - confine: "edge-area-"name_; \ - } \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - min: 14 14; \ - rel1.to: "edge-area-"name_; \ - rel2.to: "edge-area-"name_; \ - } \ - } \ - part { name: "edge-img-"name_; \ - type: IMAGE; \ - mouse_events: 0; \ - clip_to: "clipper-edge-"name_; \ - description { state: "default" 0.0; \ - min: 14 14; \ - max: 14 14; \ - align: 0.5 ay; \ - fixed: 1 1; \ - rel1.to: "edge-drag-"name_; \ - rel2.to: "edge-drag-"name_; \ - image.normal: "tooltip-edge-"name_"-tip.png"; \ - } \ - } - TT_EDGE_HORIZ("top", 0, 1, -2); - TT_EDGE_HORIZ("bottom", 1, 0, 1); - #undef TT_EDGE_HORIZ - - part { name: "clipper_content"; - type: RECT; - description { state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "clipper_content"; - description { state: "default" 0.0; } - } - programs { - program { - name: "show0"; - signal: "elm,action,show"; - source: "elm"; - action: ACTION_STOP; - target: "hide0"; - target: "hide1"; - target: "hide2"; - target: "hide3"; - after: "show1"; - after: "show2"; - } - program { - name: "show1"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.15; - target: "clipper"; - } - program { - name: "show2"; - in: 0.1 0.0; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.15; - target: "clipper_content"; - } - - program { - name: "hide0"; - signal: "elm,action,hide"; - source: "elm"; - action: ACTION_STOP; - target: "show0"; - target: "show1"; - target: "show2"; - after: "hide1"; - after: "hide2"; - after: "hide3"; - } - program { - name: "hide1"; - script { - hide_corners(); - hide_edges(); - } - } - program { - name: "hide2"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.1; - target: "clipper_content"; - } - program { - name: "hide3"; - in: 0.1 0.0; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.1; - target: "clipper"; - } - } - } -} -group { name: "elm/tooltip/base/transparent"; - data { - item: "pad_x" "10"; - item: "pad_y" "10"; - item: "transparent" "enabled"; - } - parts { - part { name: "elm.swallow.content"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; } - } - } -} - -/////////////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/video.edc b/legacy/elementary/data/themes/widgets/video.edc deleted file mode 100644 index f3a26e9544..0000000000 --- a/legacy/elementary/data/themes/widgets/video.edc +++ /dev/null @@ -1,63 +0,0 @@ -group { name: "elm/video/base/default"; - - parts { - part { - name: "clipper"; - type: RECT; - - description { - color: 255 255 255 255; - } - description { - state: "darker" 0.0; - color: 128 128 128 255; - } - } - part { - name: "elm.swallow.video"; - type: SWALLOW; - - clip_to: "clipper"; - mouse_events: 1; - repeat_events: 1; - - description { - aspect_preference: BOTH; - aspect: 1 1; - } - } - } - - programs { - program { - signal: "elm,video,load"; - source: "elm"; - - action: STATE_SET "darker" 0.0; - target: "clipper"; - } - program { - signal: "elm,video,play"; - source: "elm"; - - action: STATE_SET "default" 0.0; - target: "clipper"; - } - program { - signal: "elm,video,end"; - source: "elm"; - - action: STATE_SET "darker" 0.0; - target: "clipper"; - transition: LINEAR 0.5; - } - program { - signal: "elm,video,pause"; - source: "elm"; - - action: STATE_SET "darker" 0.0; - target: "clipper"; - } - } -} -///////////////////////////////////////////////////////////////////////// diff --git a/legacy/elementary/data/themes/widgets/win.edc b/legacy/elementary/data/themes/widgets/win.edc deleted file mode 100644 index e284ff6714..0000000000 --- a/legacy/elementary/data/themes/widgets/win.edc +++ /dev/null @@ -1,293 +0,0 @@ -group { name: "elm/win/inwin/default"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.relative: 0.1 0.1; - rel2.relative: 0.9 0.9; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - } -} - -group { name: "elm/win/inwin/minimal"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 0.5 0.5; - rel2.relative: 0.5 0.5; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - } -} - -group { name: "elm/win/inwin/minimal_vertical"; - images { - image: "shad_circ.png" COMP; - image: "bt_dis_base.png" COMP; - image: "bt_dis_hilight.png" COMP; - } - parts { - part { name: "base"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - color: 0 0 0 64; - } - } - part { name: "shad"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "shad_circ.png"; - rel1.to: "elm.swallow.content"; - rel1.offset: -64 -64; - rel2.to: "elm.swallow.content"; - rel2.offset: 63 63; - fill.smooth: 0; - } - } - part { name: "pop"; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "elm.swallow.content"; - rel1.offset: -5 -5; - rel2.to: "elm.swallow.content"; - rel2.offset: 4 4; - image { - normal: "bt_dis_base.png"; - border: 4 4 4 4; - } - image.middle: SOLID; - } - } - part { name: "popover"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "pop"; - rel2.to: "pop"; - rel2.relative: 1.0 0.5; - image { - normal: "bt_dis_hilight.png"; - border: 4 4 4 0; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 1; - rel1.relative: 0.1 0.5; - rel2.relative: 0.9 0.5; - } - } - } - programs { - program { name: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - // transition: DECELERATE 0.5; - target: "base"; - } - } -} - -/////////////////////////////////////////////////////////////////////////////// - -group { name: "elm/win/base/default"; - parts { - part { type: RECT; name: "menu_bg"; - description { state: "default" 0.0; - color: 242 242 242 255; - align: 0.5 0; - rel2.to: "elm.swallow.menu"; - } - } - part { type: SWALLOW; name: "elm.swallow.menu"; - description { state: "default" 0.0; - rel2.relative: 1.0 0.0; - visible: 0; - align: 0.5 0; - fixed: 1 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - fixed: 0 1; - } - } - part { type: SWALLOW; name: "elm.swallow.contents"; - description { state: "default" 0.0; - rel1 { - to_y: "elm.swallow.menu"; - relative: 0.0 1.0; - } - } - } - } - programs { - program { name: "show_menu"; - signal: "elm,action,show_menu"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.menu"; - } - program { name: "hide_menu"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.menu"; - } - } -} diff --git a/legacy/elementary/po/ar.po b/legacy/elementary/po/ar.po index 3d3af6ab96..535ada42d5 100644 --- a/legacy/elementary/po/ar.po +++ b/legacy/elementary/po/ar.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # FIRST AUTHOR , 2010. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -18,24 +18,24 @@ msgstr "" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -43,70 +43,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -122,7 +122,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -130,11 +130,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:RTL" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -154,7 +154,7 @@ msgstr "" msgid "Paste" msgstr "" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -162,11 +162,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -186,27 +186,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/az_IR.po b/legacy/elementary/po/az_IR.po index 96a6c8607d..ebaf90689a 100644 --- a/legacy/elementary/po/az_IR.po +++ b/legacy/elementary/po/az_IR.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # FIRST AUTHOR , 2010. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -17,24 +17,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -42,70 +42,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -121,7 +121,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -129,11 +129,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:RTL" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -153,7 +153,7 @@ msgstr "" msgid "Paste" msgstr "" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -161,11 +161,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -185,27 +185,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/ca.po b/legacy/elementary/po/ca.po index 87a9f86e8b..059598b3a9 100644 --- a/legacy/elementary/po/ca.po +++ b/legacy/elementary/po/ca.po @@ -2,12 +2,12 @@ # This file is put in the public domain. # Marc Furtià  i Puig , 2013. # Joan Coll , 2013. -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: Elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-03-22 00:32+0100\n" "Last-Translator: JoanColl \n" "Language-Team: Catalan\n" @@ -16,24 +16,24 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Amunt" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Carpeta personal" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Cancel·la" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "Accepta" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Bombolla " @@ -41,70 +41,70 @@ msgstr "Bombolla " msgid "Clicked" msgstr "Clicat" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Estat: desactivat " -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Botó " -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%Y" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "element de calendari" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "botó decrement de mes" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "botó decrement d'any" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "botó increment de mes" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "botó increment d'any" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "mes del calendari" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "any del calendari" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Estat: activat" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Estat: desactivat" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Estat" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Comprova" @@ -120,7 +120,7 @@ msgstr "botó decrement de rellotge per am,pm" msgid "State: Editable" msgstr "Estat: Editable " -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Rellotge" @@ -128,11 +128,11 @@ msgstr "Rellotge" msgid "color selector palette item" msgstr "paleta de selecció de color" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "Per defecte: LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "selector de disc" @@ -152,7 +152,7 @@ msgstr "Selecciona" msgid "Paste" msgstr "Enganxa " -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Entrada" @@ -160,11 +160,11 @@ msgstr "Entrada" msgid "Gengrid Item" msgstr "Quadrícula genèrica" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Índex" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Element d'índex" @@ -184,27 +184,27 @@ msgstr "estat: tancat" msgid "panel button" msgstr "botó del tauler" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "barra de progrés " -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Opció" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "control lliscant" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "botó d'increment del spinner" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "botó de decrement del spinner" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "spinner" diff --git a/legacy/elementary/po/cs.po b/legacy/elementary/po/cs.po index ca2196085b..f09b143d89 100644 --- a/legacy/elementary/po/cs.po +++ b/legacy/elementary/po/cs.po @@ -2,12 +2,12 @@ # # Vít Pelčák , 2011. # Tomáš Čech , 2012. -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2012-12-16 21:59+0100\n" "Last-Translator: Tomáš Čech \n" "Language-Team: Czech \n" @@ -18,24 +18,24 @@ msgstr "" "X-Generator: Lokalize 1.4\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Nahoru" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Domů" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Zrušit" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "OK" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Bublina" @@ -43,75 +43,75 @@ msgstr "Bublina" msgid "Clicked" msgstr "Kliknuto" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Stav: Zakázáno" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Tlačítko" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "položka kalendáře" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 #, fuzzy msgid "calendar decrement month button" msgstr "odečítací tlačítko kalendáře" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 #, fuzzy msgid "calendar decrement year button" msgstr "odečítací tlačítko kalendáře" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 #, fuzzy msgid "calendar increment month button" msgstr "přičítací tlačítko kalendáře" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 #, fuzzy msgid "calendar increment year button" msgstr "přičítací tlačítko kalendáře" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "kalendářní měsíc" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 #, fuzzy msgid "calendar year" msgstr "položka kalendáře" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Stav: Zapnuto" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Stav: Vypnuto" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Stav" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Ověřit" @@ -127,7 +127,7 @@ msgstr "odečítací tlačítko hodin pro am,pm" msgid "State: Editable" msgstr "Stav: Upravitelný" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Hodiny" @@ -135,11 +135,11 @@ msgstr "Hodiny" msgid "color selector palette item" msgstr "položka výběru barvy z palety" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "výchozí:LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "položka výběru disků" @@ -159,7 +159,7 @@ msgstr "Vybrat" msgid "Paste" msgstr "Vložit" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Vstup" @@ -167,11 +167,11 @@ msgstr "Vstup" msgid "Gengrid Item" msgstr "Položka mřížky" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Index" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Položka indexu" @@ -191,27 +191,27 @@ msgstr "stav: zavřeno" msgid "panel button" msgstr "tlačítko panelu" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "ukazatel průběhu" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Přepínač" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "šoupátko" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "přičítací tlačítko spinneru" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "odečítací tlačítko spinneru" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "spinner" diff --git a/legacy/elementary/po/de.po b/legacy/elementary/po/de.po index a321018ff2..d3bc60f6a2 100644 --- a/legacy/elementary/po/de.po +++ b/legacy/elementary/po/de.po @@ -4,12 +4,12 @@ # This file is distributed under the same license as the elementary package. # Fabian Nowak , 2011. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary 0.7.0.57309\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2011-02-25 20:22+0100\n" "Last-Translator: Fabian Nowak \n" "Language-Team: German\n" @@ -19,24 +19,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Aufwärts" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Persönlicher Ordner" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Abbrechen" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "OK" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -44,70 +44,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -123,7 +123,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -131,11 +131,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "Standard: LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -155,7 +155,7 @@ msgstr "Auswählen" msgid "Paste" msgstr "Einfügen" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -163,11 +163,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -187,27 +187,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/el.po b/legacy/elementary/po/el.po index 1bc7002107..a9e7e2a2a4 100644 --- a/legacy/elementary/po/el.po +++ b/legacy/elementary/po/el.po @@ -4,12 +4,12 @@ # Alex-P. Natsios 2012. # Efstathios Iosifidis , 2012. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2012-12-19 15:58+0200\n" "Last-Translator: Efstathios Iosifidis \n" "Language-Team: Ελληνικά, Σύγχρονα \n" @@ -20,24 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n!=1);\n" "X-Generator: Gtranslator 2.91.5\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Πάνω" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Αρχική" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Άκυρο" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "Εντάξει" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 #, fuzzy msgid "Bubble" msgstr "Πλαίσιο" @@ -46,75 +46,75 @@ msgstr "Πλαίσιο" msgid "Clicked" msgstr "Επιλεγμένο" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Κατάσταση: Απενεργοποιημένο" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Κουμπί" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "αντικείμενο ημερολογίου" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 #, fuzzy msgid "calendar decrement month button" msgstr "Προηγούμενο Ημερολόγιο" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 #, fuzzy msgid "calendar decrement year button" msgstr "Προηγούμενο Ημερολόγιο" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 #, fuzzy msgid "calendar increment month button" msgstr "Επόμενο Ημερολόγιο" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 #, fuzzy msgid "calendar increment year button" msgstr "Επόμενο Ημερολόγιο" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "Μηνας Ημερολογίου" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 #, fuzzy msgid "calendar year" msgstr "αντικείμενο ημερολογίου" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Κατάσταση: Ενεργό" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Κατάσταση: Ανενεργό" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Κατάσταση" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Επιλογή" @@ -132,7 +132,7 @@ msgstr "προηγούμενο κουμπί ρολογιού για πμ,μμ" msgid "State: Editable" msgstr "Κατάσταση: Επεξεργάσιμο" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Ρολοι" @@ -140,11 +140,11 @@ msgstr "Ρολοι" msgid "color selector palette item" msgstr "παλέτα επιλογής χρώματος" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "επιλογή δίσκου" @@ -164,7 +164,7 @@ msgstr "Επιλογή" msgid "Paste" msgstr "Επικόλληση" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Καταχώριση" @@ -172,11 +172,11 @@ msgstr "Καταχώριση" msgid "Gengrid Item" msgstr "Αντικείμενο Gengrid" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Κατάλογος" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Αντικείμενο Καταλόγου" @@ -196,29 +196,29 @@ msgstr "Κατάσταση: Κλειστό" msgid "panel button" msgstr "κουμπί πινακα" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "Μπάρα Προόδου" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Επιλογή" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "μπάρα κύλισης" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 #, fuzzy msgid "spinner increment button" msgstr "κουμπί spinner επόμενο" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 #, fuzzy msgid "spinner decrement button" msgstr "κουμπί spinner προηγούμενο" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 #, fuzzy msgid "spinner" msgstr "spinner" diff --git a/legacy/elementary/po/eo.po b/legacy/elementary/po/eo.po index 30492a6fb8..0d6aab0b15 100644 --- a/legacy/elementary/po/eo.po +++ b/legacy/elementary/po/eo.po @@ -3,12 +3,12 @@ # This file is distributed under the same license as the enlightenment package. # FIRST AUTHOR , 2012. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: enlightenment\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-01-23 05:24+0000\n" "Last-Translator: Eliovir \n" "Language-Team: Esperanto \n" @@ -19,24 +19,24 @@ msgstr "" "X-Launchpad-Export-Date: 2013-05-24 05:46+0000\n" "X-Generator: Launchpad (build 16640)\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Supren" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Hejmo" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Nuligi" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "Bone" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Veziko" @@ -44,70 +44,70 @@ msgstr "Veziko" msgid "Clicked" msgstr "Alklakita" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Stato: malŝaltita" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Butono" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%V" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "kalendarero" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "Dekrementa butono de monata kalendaro" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "Dekrementa butono de jara kalendaro" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "Alkrementa butono de monata kalendaro" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "Alkrementa butono de jara kalendaro" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "monato de kalendaro" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "jara kalendaro" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Stato: enŝaltita" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Stato: malŝaltita" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Stato" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Kontroli" @@ -123,7 +123,7 @@ msgstr "Dekrementa butono de ĥorloĝo por m,ptm" msgid "State: Editable" msgstr "Stato: redaktebla" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Horloĝo" @@ -131,11 +131,11 @@ msgstr "Horloĝo" msgid "color selector palette item" msgstr "ero de elektilo de kolorpaletro" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "ero de diskelektilo" @@ -155,7 +155,7 @@ msgstr "Elekti" msgid "Paste" msgstr "Alglui" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Ero" @@ -163,11 +163,11 @@ msgstr "Ero" msgid "Gengrid Item" msgstr "Ero de komuna krado" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Indekso" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Indeksero" @@ -187,27 +187,27 @@ msgstr "stato: fermita" msgid "panel button" msgstr "butono de panelo" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "progresbreto" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Radiobutono" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "ŝovilo" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "alkrementa sago-butono" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "dekrementa sago-butono" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "sago-butono" diff --git a/legacy/elementary/po/es.po b/legacy/elementary/po/es.po index 1ca19450e7..893c19658b 100644 --- a/legacy/elementary/po/es.po +++ b/legacy/elementary/po/es.po @@ -2,12 +2,12 @@ # Copyright (C) YEAR Enlightenment development team # This file is distributed under the same license as the PACKAGE package. # Aníbal Garrido , 2012. -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-01-04 14:42+0100\n" "Last-Translator: Adrián Arévalo \n" "Language-Team: Enlightenment Team\n" @@ -17,24 +17,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Arriba" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Carpeta personal" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Cancelar" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "Aceptar" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Burbuja" @@ -42,70 +42,70 @@ msgstr "Burbuja" msgid "Clicked" msgstr "Clickado" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Estado: Desactivado" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Botón" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%Y" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "elemento de calendario" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "Botón de decremento del mes" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "Botón de decremento del año" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "Botón de incremento del mes" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "Botón de incremento del año" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "mes del calendario" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "año del calendario" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Estado: Conectado" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Estado: Desconectado" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Estado" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Comprobar" @@ -121,7 +121,7 @@ msgstr "Botón de decremento del reloj para am,pm" msgid "State: Editable" msgstr "Estado: Editable" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Reloj" @@ -129,11 +129,11 @@ msgstr "Reloj" msgid "color selector palette item" msgstr "Paleta de selección de color" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "Predeterminado: LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "Selector de disco" @@ -153,7 +153,7 @@ msgstr "Seleccionar" msgid "Paste" msgstr "Pegar" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Entrada" @@ -161,11 +161,11 @@ msgstr "Entrada" msgid "Gengrid Item" msgstr "Cuadrícula genérica" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Índice" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Elemento del índice" @@ -185,27 +185,27 @@ msgstr "estado: cerrado" msgid "panel button" msgstr "botón del panel" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "barra de progreso" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Radio" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "barra de desplazamiento" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "botón de incremento del spinner" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "botón de decremento del spinner" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "spinner" diff --git a/legacy/elementary/po/fa.po b/legacy/elementary/po/fa.po index 96a6c8607d..ebaf90689a 100644 --- a/legacy/elementary/po/fa.po +++ b/legacy/elementary/po/fa.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # FIRST AUTHOR , 2010. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -17,24 +17,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -42,70 +42,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -121,7 +121,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -129,11 +129,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:RTL" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -153,7 +153,7 @@ msgstr "" msgid "Paste" msgstr "" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -161,11 +161,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -185,27 +185,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/fr.po b/legacy/elementary/po/fr.po index 980fde27c3..540b48756b 100644 --- a/legacy/elementary/po/fr.po +++ b/legacy/elementary/po/fr.po @@ -3,12 +3,12 @@ # batden , 2011. # dazibao , 2011. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: Elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-06-20 07:08+0000\n" "Last-Translator: Eliovir \n" "Language-Team: French \n" @@ -22,24 +22,24 @@ msgstr "" "X-Poedit-Language: French\n" "X-Poedit-SourceCharset: utf-8\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Monter" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Home" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Annuler" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "OK" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Bulle" @@ -47,70 +47,70 @@ msgstr "Bulle" msgid "Clicked" msgstr "Cliqué" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "État : désactivé" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Bouton" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%Y" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "élément du calendrier" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "bouton du mois précédent" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "bouton de l'année précédente" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "bouton du mois suivant" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "bouton de l'année suivante" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "État : activé" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "État : désactivé" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "État" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "À cocher" @@ -126,7 +126,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Horloge" @@ -134,11 +134,11 @@ msgstr "Horloge" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "LTR par défaut" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -158,7 +158,7 @@ msgstr "Sélectionner" msgid "Paste" msgstr "Coller" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -166,11 +166,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -190,27 +190,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "barre de progression" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Radio" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "curseur" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/gl.po b/legacy/elementary/po/gl.po index 554efa1724..7b96055cf8 100644 --- a/legacy/elementary/po/gl.po +++ b/legacy/elementary/po/gl.po @@ -2,12 +2,12 @@ # This file is put in the public domain. # Aníbal Garrido , 2012. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2012-11-16 21:51+0100\n" "Last-Translator: Aníbal Garrido \n" "Language-Team: http://trasno.net/ \n" @@ -16,24 +16,24 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Arriba" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Cartafol persoal" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Cancelar" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "Aceptar" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Burbulla" @@ -41,75 +41,75 @@ msgstr "Burbulla" msgid "Clicked" msgstr "Premido" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Estado: Desactivado" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Botón" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "calendario" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 #, fuzzy msgid "calendar decrement month button" msgstr "Botón de diminución do calendario" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 #, fuzzy msgid "calendar decrement year button" msgstr "Botón de diminución do calendario" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 #, fuzzy msgid "calendar increment month button" msgstr "Botón de aumento do calendario" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 #, fuzzy msgid "calendar increment year button" msgstr "Botón de aumento do calendario" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "mes do calendario" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 #, fuzzy msgid "calendar year" msgstr "calendario" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Estado: Conectado" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Estado: Desconectado" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Estado" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Comprobar" @@ -125,7 +125,7 @@ msgstr "Botón de diminución do reloxo para am,pm" msgid "State: Editable" msgstr "Estado: Editable" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Reloxo" @@ -133,11 +133,11 @@ msgstr "Reloxo" msgid "color selector palette item" msgstr "Paleta de selección de cor" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "Predeterminado: LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "Selector de disco" @@ -157,7 +157,7 @@ msgstr "Seleccionar" msgid "Paste" msgstr "Pegar" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Entrada" @@ -165,11 +165,11 @@ msgstr "Entrada" msgid "Gengrid Item" msgstr "Grella xenérica" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Índice" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Elemento do índice" @@ -189,27 +189,27 @@ msgstr "Estado: pechado" msgid "panel button" msgstr "botón do panel" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "barra de progreso" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Radio" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "Barra de desprazamento" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "botón de aumento" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "botón de disminución" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "botón de spinner" diff --git a/legacy/elementary/po/he.po b/legacy/elementary/po/he.po index 804bbba5c2..48e91dd151 100644 --- a/legacy/elementary/po/he.po +++ b/legacy/elementary/po/he.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # FIRST AUTHOR , 2010. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Aharon Hillel \n" "Language-Team: General\n" @@ -17,24 +17,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "בטל" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "אשר" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -42,70 +42,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -121,7 +121,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -129,11 +129,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:RTL" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -153,7 +153,7 @@ msgstr "התחל בחירה" msgid "Paste" msgstr "הדבק" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -161,11 +161,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -185,27 +185,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/it.po b/legacy/elementary/po/it.po index 913a5115dd..53e3eb2fd1 100644 --- a/legacy/elementary/po/it.po +++ b/legacy/elementary/po/it.po @@ -1,12 +1,12 @@ # Italian translation for Elementary. # This file is put in the public domain. # Massimo Maiurana , 2011. -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: Elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-01-04 22:08+0100\n" "Last-Translator: Massimo Maiurana \n" "Language-Team: none\n" @@ -15,24 +15,24 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Su" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Home" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Annulla" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "OK" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Bolla" @@ -40,70 +40,70 @@ msgstr "Bolla" msgid "Clicked" msgstr "Cliccato" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Stato: disabilitato" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Bottone" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%Y" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "voce del calendario" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "bottone di diminuzione del mese" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "bottone di diminuzione dell'anno" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "bottone di aumento del mese" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "bottone di aumento dell'anno" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "mese del calendario" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "anno del calendario" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Stato: attivo" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Stato: inattivo" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Stato" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Controllo" @@ -119,7 +119,7 @@ msgstr "bottone di diminuzione dell'orologio per am-pm" msgid "State: Editable" msgstr "Stato: modificabile" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Orologio" @@ -127,11 +127,11 @@ msgstr "Orologio" msgid "color selector palette item" msgstr "palette selezione colore" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "predefintito: LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "selettore disco" @@ -151,7 +151,7 @@ msgstr "Seleziona" msgid "Paste" msgstr "Incolla" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Voce" @@ -159,11 +159,11 @@ msgstr "Voce" msgid "Gengrid Item" msgstr "Voce della griglia generica" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Indice" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Voce dell'indice" @@ -183,27 +183,27 @@ msgstr "Stato: chiuso" msgid "panel button" msgstr "bottone del pannello" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "barra avanzamento" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Opzione" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "cursore" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "bottone di aumento" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "bottone di diminuzione" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "spinner bottoni" diff --git a/legacy/elementary/po/ko_KR.po b/legacy/elementary/po/ko_KR.po index d867f90001..46b708af92 100644 --- a/legacy/elementary/po/ko_KR.po +++ b/legacy/elementary/po/ko_KR.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # Daniel Juyung Seo , 2011. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-04-04 13:05+0900\n" "Last-Translator: Daniel Juyung Seo \n" "Language-Team: General\n" @@ -17,24 +17,24 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "위로" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "홈" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "취소" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "확인" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "버블" @@ -42,70 +42,70 @@ msgstr "버블" msgid "Clicked" msgstr "클릭 됨" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "상태 : 비활성화" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "버튼" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%Y년 %B" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%Y" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "달력 항목" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "달력 월 감소 버튼" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "달력 년 감소 버튼" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "달력 월 증가 버튼" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "달력 년 증가 버튼" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "달력 월" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "달력 년" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "상태 : 켬" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "상태 : 끔" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "상태" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "체크" @@ -121,7 +121,7 @@ msgstr "시계 am,pm 감소 버튼" msgid "State: Editable" msgstr "상태 : 수정 가능" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "시계" @@ -129,11 +129,11 @@ msgstr "시계" msgid "color selector palette item" msgstr "색상 선택기 팔레트 항목" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "디스크셀렉터 항목" @@ -153,7 +153,7 @@ msgstr "선택" msgid "Paste" msgstr "붙여넣기" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "엔트리" @@ -161,11 +161,11 @@ msgstr "엔트리" msgid "Gengrid Item" msgstr "젠그리드 항목" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "인덱스" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "인덱스 항목" @@ -185,27 +185,27 @@ msgstr "상태 : 닫힘" msgid "panel button" msgstr "패널 버튼" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "프로그레스바" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "라디오 버튼" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "슬라이더" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "스피너 증가 버튼" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "스피너 감소 버튼" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "스피너" diff --git a/legacy/elementary/po/nl.po b/legacy/elementary/po/nl.po index 616ed6ae69..1875f474ee 100644 --- a/legacy/elementary/po/nl.po +++ b/legacy/elementary/po/nl.po @@ -4,12 +4,12 @@ # This file is distributed under the same license as the elementary package. # Fabian Nowak , 2011. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary 0.7.0.57309\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2011-06-19 16:41+0100\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: Dutch \n" @@ -21,24 +21,24 @@ msgstr "" "X-Poedit-Language: Dutch\n" "X-Poedit-Country: NETHERLANDS\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Omhoog" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Persoonlijke map" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Annuleren" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "OK" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -46,70 +46,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -125,7 +125,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -133,11 +133,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "Standaard: LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -157,7 +157,7 @@ msgstr "Selecteren" msgid "Paste" msgstr "Plakken" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -165,11 +165,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -189,27 +189,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/ps.po b/legacy/elementary/po/ps.po index 97bae94044..bf84e2e758 100644 --- a/legacy/elementary/po/ps.po +++ b/legacy/elementary/po/ps.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # FIRST AUTHOR , 2010. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -16,24 +16,24 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -41,70 +41,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -120,7 +120,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -128,11 +128,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:RTL" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -152,7 +152,7 @@ msgstr "" msgid "Paste" msgstr "" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -160,11 +160,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -184,27 +184,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/pt.po b/legacy/elementary/po/pt.po index 8fe3a2d490..54212eed2e 100644 --- a/legacy/elementary/po/pt.po +++ b/legacy/elementary/po/pt.po @@ -1,12 +1,12 @@ # Portuguese translation for Elementary. # This file is put in the public domain. # Sérgio Marques , 2011. -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: Elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-01-06 01:24+0100\n" "Last-Translator: Sérgio Marques \n" "Language-Team: \n" @@ -17,24 +17,24 @@ msgstr "" "X-Launchpad-Export-Date: 2012-12-07 16:20+0000\n" "X-Generator: Poedit 1.5.4\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Para cima" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Pasta pessoal" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Cancelar" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "Aceitar" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Balão" @@ -42,70 +42,70 @@ msgstr "Balão" msgid "Clicked" msgstr "Clicado" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Estado: inativo" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Botão" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%Y" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "item do calendário" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "botão de redução do mês de calendário" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "botão de redução do ano de calendário" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "botão de aumento do mês de calendário" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "botão de aumento do ano de calendário" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "mês do calendário" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "ano do calendário" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Estado: ligado" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Estado: desligado" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Estado" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Seleção" @@ -121,7 +121,7 @@ msgstr "botão de redução do relógio para am, pm" msgid "State: Editable" msgstr "Estado: editável" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Relógio" @@ -129,11 +129,11 @@ msgstr "Relógio" msgid "color selector palette item" msgstr "item do seletor de cor" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "padrão: LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "item do seletor de disco" @@ -153,7 +153,7 @@ msgstr "Selecionar" msgid "Paste" msgstr "Colar" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Entrada" @@ -161,11 +161,11 @@ msgstr "Entrada" msgid "Gengrid Item" msgstr "Item da grelha genérica" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Índice" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Item do índice" @@ -185,27 +185,27 @@ msgstr "estado: fechado" msgid "panel button" msgstr "botão do painel" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "barra de progresso" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Opção" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "barra deslizante" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "botão de aumento do spinner" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "botão de diminuição do spinner" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "spinner" diff --git a/legacy/elementary/po/ru.po b/legacy/elementary/po/ru.po index 6eb5de42f9..312ebcf2fd 100644 --- a/legacy/elementary/po/ru.po +++ b/legacy/elementary/po/ru.po @@ -5,12 +5,12 @@ # Automatically generated, 2012. # Danny Moshnakov , 2012. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary 1.7.99.76688\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2012-09-14 22:20+0300\n" "Last-Translator: Danny Moshnakov \n" "Language-Team: ru \n" @@ -21,24 +21,24 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Вверх" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Дом" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Отмена" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "ОК" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -46,75 +46,75 @@ msgstr "" msgid "Clicked" msgstr "Нажато" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Состояние: Отключено" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Кнопка" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "элемент календаря" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 #, fuzzy msgid "calendar decrement month button" msgstr "кнопка уменьшения календаря" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 #, fuzzy msgid "calendar decrement year button" msgstr "кнопка уменьшения календаря" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 #, fuzzy msgid "calendar increment month button" msgstr "кнопка увеличения календаря" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 #, fuzzy msgid "calendar increment year button" msgstr "кнопка увеличения календаря" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "месяц календаря" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 #, fuzzy msgid "calendar year" msgstr "элемент календаря" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Состояния: Включено" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Состояние: Выключено" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Состояние" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Флажок" @@ -133,7 +133,7 @@ msgstr "кнопка уменьшения календаря" msgid "State: Editable" msgstr "Состояние: Отключено" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -141,11 +141,11 @@ msgstr "" msgid "color selector palette item" msgstr "элемент выбора цвета палитры" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "по умолчанию: ЛНП" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "элемент диска выбора" @@ -165,7 +165,7 @@ msgstr "Выбрать" msgid "Paste" msgstr "Вставить" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Запись" @@ -173,11 +173,11 @@ msgstr "Запись" msgid "Gengrid Item" msgstr "Элемент сетки" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Алфавитный указатель" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Элемент алфавитного указателя" @@ -199,27 +199,27 @@ msgstr "Состояние: Отключено" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "индикатор прогресса" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Радио флажок" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "бегунок" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "кнопка увеличения счетчика" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "кнопка уменьшения счетчика" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "счетчик" diff --git a/legacy/elementary/po/sr.po b/legacy/elementary/po/sr.po index 5b9ce10cd1..6771799f08 100644 --- a/legacy/elementary/po/sr.po +++ b/legacy/elementary/po/sr.po @@ -1,12 +1,12 @@ # # Саша Петровић , 2012. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: а\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2013-04-11 16:30+0000\n" "Last-Translator: Саша Петровић \n" "Language-Team: српски \n" @@ -17,24 +17,24 @@ msgstr "" "X-Launchpad-Export-Date: 2013-04-25 05:27+0000\n" "X-Generator: Launchpad (build 16580)\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "Горе" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "Лична фасцикла" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "Откажи" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "У реду" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "Мехур" @@ -42,70 +42,70 @@ msgstr "Мехур" msgid "Clicked" msgstr "Кликнуто" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "Стање: онемогућено" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "Дугме" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "%B" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "%Y" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "ставка календара" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "дугме померања месеца календара уназад" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "дугме померања година календара уназад" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "дугме померања месеца календара унапред" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "дугме померања година календара унапред" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "месечни календар" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "година календара" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "Стање : укључен" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "Стање: искључен" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "Стање" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "Провера" @@ -121,7 +121,7 @@ msgstr "дугме за смањивање часовника са am,pm" msgid "State: Editable" msgstr "Стање: уредиво" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "Сат" @@ -129,11 +129,11 @@ msgstr "Сат" msgid "color selector palette item" msgstr "ставка избирача палете боја" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "задато:слева на десно" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "ставка одабира диска" @@ -153,7 +153,7 @@ msgstr "Изаберите" msgid "Paste" msgstr "Прилепи" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "Улаз" @@ -161,11 +161,11 @@ msgstr "Улаз" msgid "Gengrid Item" msgstr "Ставка родне мреже" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "Садржина" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "Ставка садржине" @@ -185,27 +185,27 @@ msgstr "стање: затворено" msgid "panel button" msgstr "дугме плоче" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "трака напретка" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "Радио" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "клизач" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "стрелица избирача увећaња" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "стрелица избирача смањења" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "избирач са стрелицама" diff --git a/legacy/elementary/po/ur.po b/legacy/elementary/po/ur.po index 97bae94044..bf84e2e758 100644 --- a/legacy/elementary/po/ur.po +++ b/legacy/elementary/po/ur.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # FIRST AUTHOR , 2010. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -16,24 +16,24 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -41,70 +41,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -120,7 +120,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -128,11 +128,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:RTL" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -152,7 +152,7 @@ msgstr "" msgid "Paste" msgstr "" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -160,11 +160,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -184,27 +184,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/yi.po b/legacy/elementary/po/yi.po index 97bae94044..bf84e2e758 100644 --- a/legacy/elementary/po/yi.po +++ b/legacy/elementary/po/yi.po @@ -2,12 +2,12 @@ # This file is distributed under the same license as the Elementary package. # FIRST AUTHOR , 2010. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2010-12-26 10:05+0200\n" "Last-Translator: Tom Hacohen \n" "Language-Team: General\n" @@ -16,24 +16,24 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "" @@ -41,70 +41,70 @@ msgstr "" msgid "Clicked" msgstr "" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 msgid "calendar decrement month button" msgstr "" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 msgid "calendar decrement year button" msgstr "" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 msgid "calendar increment month button" msgstr "" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 msgid "calendar increment year button" msgstr "" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 msgid "calendar year" msgstr "" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "" @@ -120,7 +120,7 @@ msgstr "" msgid "State: Editable" msgstr "" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "" @@ -128,11 +128,11 @@ msgstr "" msgid "color selector palette item" msgstr "" -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:RTL" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "" @@ -152,7 +152,7 @@ msgstr "" msgid "Paste" msgstr "" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "" @@ -160,11 +160,11 @@ msgstr "" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "" @@ -184,27 +184,27 @@ msgstr "" msgid "panel button" msgstr "" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr "" diff --git a/legacy/elementary/po/zh_CN.po b/legacy/elementary/po/zh_CN.po index 75039a6ad3..00eeb3a348 100644 --- a/legacy/elementary/po/zh_CN.po +++ b/legacy/elementary/po/zh_CN.po @@ -3,12 +3,12 @@ # This file is put in the public domain. # Aron Xu , 2012. # -#: src/lib/elm_config.c:2413 +#: src/lib/elm_config.c:2415 msgid "" msgstr "" "Project-Id-Version: elementary\n" "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2013-09-24 02:44+0900\n" +"POT-Creation-Date: 2013-10-17 16:33+0900\n" "PO-Revision-Date: 2012-12-22 03:55+0800\n" "Last-Translator: Aron Xu \n" "Language-Team: Chinese (simplified)\n" @@ -17,24 +17,24 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: src/lib/elc_fileselector.c:939 +#: src/lib/elc_fileselector.c:1153 msgid "Up" msgstr "向上" -#: src/lib/elc_fileselector.c:954 +#: src/lib/elc_fileselector.c:1168 msgid "Home" msgstr "主目录" -#: src/lib/elc_fileselector.c:1169 src/lib/elm_entry.c:1269 +#: src/lib/elc_fileselector.c:1406 src/lib/elm_entry.c:1269 #: src/lib/elm_entry.c:1294 msgid "Cancel" msgstr "取消" -#: src/lib/elc_fileselector.c:1178 +#: src/lib/elc_fileselector.c:1415 msgid "OK" msgstr "确定" -#: src/lib/elm_bubble.c:219 +#: src/lib/elm_bubble.c:216 msgid "Bubble" msgstr "气泡" @@ -42,75 +42,75 @@ msgstr "气泡" msgid "Clicked" msgstr "点击" -#: src/lib/elm_button.c:281 src/lib/elm_check.c:219 src/lib/elm_gengrid.c:702 -#: src/lib/elm_genlist.c:1452 src/lib/elm_list.c:1492 src/lib/elm_radio.c:264 -#: src/lib/elm_spinner.c:550 src/lib/elm_toolbar.c:1996 +#: src/lib/elm_button.c:281 src/lib/elm_check.c:218 src/lib/elm_gengrid.c:702 +#: src/lib/elm_genlist.c:1461 src/lib/elm_list.c:1492 src/lib/elm_radio.c:263 +#: src/lib/elm_spinner.c:542 src/lib/elm_toolbar.c:1996 msgid "State: Disabled" msgstr "状态:已禁用" -#: src/lib/elm_button.c:307 +#: src/lib/elm_button.c:306 msgid "Button" msgstr "按钮" -#: src/lib/elm_calendar.c:142 +#: src/lib/elm_calendar.c:141 msgid "%B %Y" msgstr "%B %Y" -#: src/lib/elm_calendar.c:151 +#: src/lib/elm_calendar.c:150 msgid "%B" msgstr "" -#: src/lib/elm_calendar.c:160 +#: src/lib/elm_calendar.c:159 msgid "%Y" msgstr "" -#: src/lib/elm_calendar.c:274 +#: src/lib/elm_calendar.c:273 msgid "calendar item" msgstr "日历条目" -#: src/lib/elm_calendar.c:300 +#: src/lib/elm_calendar.c:299 #, fuzzy msgid "calendar decrement month button" msgstr "日历减量按钮" -#: src/lib/elm_calendar.c:305 +#: src/lib/elm_calendar.c:304 #, fuzzy msgid "calendar decrement year button" msgstr "日历减量按钮" -#: src/lib/elm_calendar.c:310 +#: src/lib/elm_calendar.c:309 #, fuzzy msgid "calendar increment month button" msgstr "日历增量按钮" -#: src/lib/elm_calendar.c:315 +#: src/lib/elm_calendar.c:314 #, fuzzy msgid "calendar increment year button" msgstr "日历增量按钮" -#: src/lib/elm_calendar.c:320 +#: src/lib/elm_calendar.c:319 msgid "calendar month" msgstr "日历月" -#: src/lib/elm_calendar.c:325 +#: src/lib/elm_calendar.c:324 #, fuzzy msgid "calendar year" msgstr "日历条目" -#: src/lib/elm_check.c:51 src/lib/elm_check.c:232 src/lib/elm_radio.c:91 -#: src/lib/elm_radio.c:265 +#: src/lib/elm_check.c:51 src/lib/elm_check.c:231 src/lib/elm_radio.c:91 +#: src/lib/elm_radio.c:264 msgid "State: On" msgstr "状态:开启" -#: src/lib/elm_check.c:57 src/lib/elm_check.c:244 src/lib/elm_radio.c:267 +#: src/lib/elm_check.c:57 src/lib/elm_check.c:243 src/lib/elm_radio.c:266 msgid "State: Off" msgstr "状态:关闭" -#: src/lib/elm_check.c:228 src/lib/elm_check.c:241 +#: src/lib/elm_check.c:227 src/lib/elm_check.c:240 msgid "State" msgstr "状态" -#: src/lib/elm_check.c:310 +#: src/lib/elm_check.c:308 msgid "Check" msgstr "检查" @@ -126,7 +126,7 @@ msgstr "上下午的时钟减量按钮" msgid "State: Editable" msgstr "状态:可编辑" -#: src/lib/elm_clock.c:695 +#: src/lib/elm_clock.c:694 msgid "Clock" msgstr "时钟" @@ -135,11 +135,11 @@ msgid "color selector palette item" msgstr "色彩选择器项目" # Don't change it! -#: src/lib/elm_config.c:2429 +#: src/lib/elm_config.c:2431 msgid "default:LTR" msgstr "default:LTR" -#: src/lib/elm_diskselector.c:671 +#: src/lib/elm_diskselector.c:670 msgid "diskselector item" msgstr "磁盘选择器项目" @@ -159,7 +159,7 @@ msgstr "选择" msgid "Paste" msgstr "粘贴" -#: src/lib/elm_entry.c:3123 +#: src/lib/elm_entry.c:3122 msgid "Entry" msgstr "条目" @@ -167,11 +167,11 @@ msgstr "条目" msgid "Gengrid Item" msgstr "" -#: src/lib/elm_index.c:102 +#: src/lib/elm_index.c:101 msgid "Index" msgstr "索引" -#: src/lib/elm_index.c:129 +#: src/lib/elm_index.c:128 msgid "Index Item" msgstr "索引条目" @@ -191,27 +191,27 @@ msgstr "状态:已关闭" msgid "panel button" msgstr "面板按钮" -#: src/lib/elm_progressbar.c:297 +#: src/lib/elm_progressbar.c:295 msgid "progressbar" msgstr "进度条" -#: src/lib/elm_radio.c:296 +#: src/lib/elm_radio.c:294 msgid "Radio" msgstr "无线电" -#: src/lib/elm_slider.c:864 +#: src/lib/elm_slider.c:868 msgid "slider" msgstr "滑块" -#: src/lib/elm_spinner.c:639 +#: src/lib/elm_spinner.c:631 msgid "spinner increment button" msgstr "" -#: src/lib/elm_spinner.c:648 +#: src/lib/elm_spinner.c:640 msgid "spinner decrement button" msgstr "" -#: src/lib/elm_spinner.c:656 +#: src/lib/elm_spinner.c:648 msgid "spinner" msgstr ""