From da087e436dad757641e80ab117cc8730c74470c7 Mon Sep 17 00:00:00 2001 From: xenith Date: Mon, 10 Jan 2005 02:53:01 +0000 Subject: [PATCH] Theme patch from that Arlo guy. SVN revision: 12853 --- data/themes/Makefile.am | 14 +- data/themes/default.edc | 5732 +-------------------------- data/themes/default_background.edc | 33 + data/themes/default_battery.edc | 247 ++ data/themes/default_border.edc | 1665 ++++++++ data/themes/default_clock.edc | 535 +++ data/themes/default_ibar.edc | 2089 ++++++++++ data/themes/default_menu.edc | 846 ++++ data/themes/default_pager.edc | 133 + data/themes/default_temperature.edc | 176 + 10 files changed, 5745 insertions(+), 5725 deletions(-) create mode 100644 data/themes/default_background.edc create mode 100644 data/themes/default_battery.edc create mode 100644 data/themes/default_border.edc create mode 100644 data/themes/default_clock.edc create mode 100644 data/themes/default_ibar.edc create mode 100644 data/themes/default_menu.edc create mode 100644 data/themes/default_pager.edc create mode 100644 data/themes/default_temperature.edc diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 172a9541c..76961e11c 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -12,13 +12,21 @@ filesdir = $(datadir)/enlightenment/data/themes files_DATA = \ default.eet -EXTRA_DIST = default.edc +EXTRA_DIST = \ +default.edc \ +default_background.edc \ +default_battery.edc \ +default_border.edc \ +default_clock.edc \ +default_ibar.edc \ +default_menu.edc \ +default_pager.edc \ +default_temperature.edc -default.eet: Makefile default.edc +default.eet: Makefile $(EXTRA_DIST) $(EDJE_CC) $(EDJE_FLAGS) \ $(top_srcdir)/data/themes/default.edc \ $(top_builddir)/data/themes/default.eet clean-local: rm -f *.eet - diff --git a/data/themes/default.edc b/data/themes/default.edc index 6f6da65ae..05874d986 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -18,5729 +18,17 @@ fonts { font: "Vera.ttf" "Edje Vera"; -// font: "kochi-gothic.ttf" "Edje Vera"; -// font: "VeraBd.ttf" "Edje Vera Bold"; -} - -images { - image: "e17_brushed.png" COMP; - image: "e17_"SM"reflection_shadow_overlay.png" LOSSY 70; - - image: "e17_menu_arrow.png" COMP; - image: "e17_menu_bg.png" COMP; - image: "e17_menu_check1.png" COMP; - image: "e17_menu_check2.png" COMP; - image: "e17_menu_radio1.png" COMP; - image: "e17_menu_radio2.png" COMP; - image: "e17_menu_separator.png" COMP; - - image: "e17_border1.png" COMP; - image: "e17_border2.png" COMP; - image: "e17_border3.png" COMP; - image: "e17_border4.png" COMP; - image: "e17_border5.png" COMP; - image: "e17_border6.png" COMP; - image: "e17_border7.png" COMP; - image: "e17_titlebar_outline.png" COMP; - image: "e17_titlebar.png" COMP; - image: "e17_titlebar_shadow1.png" COMP; - image: "e17_titlebar_shadow2.png" COMP; - image: "e17_titlebar_glint1.png" COMP; - image: "e17_titlebar_glint2.png" COMP; - image: "e17_titlebar_glint3.png" COMP; - image: "e17_button_detail_close.png" COMP; - image: "e17_button_detail_maximize.png" COMP; - image: "e17_button_detail_minimize.png" COMP; - image: "e17_mini_button.png" COMP; - image: "e17_mini_button_shadow1.png" COMP; - image: "e17_mini_button_shadow2.png" COMP; - - image: "e17_ibar_arrow_d.png" COMP; - image: "e17_ibar_arrow_l.png" COMP; - image: "e17_ibar_arrow_r.png" COMP; - image: "e17_ibar_arrow_u.png" COMP; - image: "e17_ibar_bg_h.png" COMP; - image: "e17_ibar_bg_v.png" COMP; - image: "e17_ibar_handle_h.png" COMP; - image: "e17_ibar_handle_h2.png" COMP; - image: "e17_ibar_handle_thumb_h.png" COMP; - image: "e17_ibar_handle_thumb_v.png" COMP; - image: "e17_ibar_handle_v.png" COMP; - image: "e17_ibar_handle_v2.png" COMP; - image: "e17_ibar_lamp_d.png" COMP; - image: "e17_ibar_lamp_l.png" COMP; - image: "e17_ibar_lamp_r.png" COMP; - image: "e17_ibar_lamp_u.png" COMP; - image: "e17_ibar_over_h.png" COMP; - image: "e17_ibar_over_v.png" COMP; - - image: "e17_clock_bg.png" COMP; - image: "e17_clock_fg.png" COMP; - image: "e17_clock_seconds_00.png" COMP; - image: "e17_clock_seconds_01.png" COMP; - image: "e17_clock_seconds_02.png" COMP; - image: "e17_clock_seconds_03.png" COMP; - image: "e17_clock_seconds_04.png" COMP; - image: "e17_clock_seconds_05.png" COMP; - image: "e17_clock_seconds_06.png" COMP; - image: "e17_clock_seconds_07.png" COMP; - image: "e17_clock_seconds_08.png" COMP; - image: "e17_clock_seconds_09.png" COMP; - image: "e17_clock_seconds_10.png" COMP; - image: "e17_clock_seconds_11.png" COMP; - image: "e17_clock_seconds_12.png" COMP; - image: "e17_clock_seconds_13.png" COMP; - image: "e17_clock_seconds_14.png" COMP; - image: "e17_clock_seconds_15.png" COMP; - image: "e17_clock_seconds_16.png" COMP; - image: "e17_clock_seconds_17.png" COMP; - image: "e17_clock_seconds_18.png" COMP; - image: "e17_clock_seconds_19.png" COMP; - image: "e17_clock_seconds_20.png" COMP; - image: "e17_clock_seconds_21.png" COMP; - image: "e17_clock_seconds_22.png" COMP; - image: "e17_clock_seconds_23.png" COMP; - image: "e17_clock_seconds_24.png" COMP; - image: "e17_clock_seconds_25.png" COMP; - image: "e17_clock_seconds_26.png" COMP; - image: "e17_clock_seconds_27.png" COMP; - image: "e17_clock_seconds_28.png" COMP; - image: "e17_clock_seconds_29.png" COMP; - image: "e17_clock_seconds_30.png" COMP; - image: "e17_clock_seconds_31.png" COMP; - image: "e17_clock_seconds_32.png" COMP; - image: "e17_clock_seconds_33.png" COMP; - image: "e17_clock_seconds_34.png" COMP; - image: "e17_clock_seconds_35.png" COMP; - image: "e17_clock_seconds_36.png" COMP; - image: "e17_clock_seconds_37.png" COMP; - image: "e17_clock_seconds_38.png" COMP; - image: "e17_clock_seconds_39.png" COMP; - image: "e17_clock_seconds_40.png" COMP; - image: "e17_clock_seconds_41.png" COMP; - image: "e17_clock_seconds_42.png" COMP; - image: "e17_clock_seconds_43.png" COMP; - image: "e17_clock_seconds_44.png" COMP; - image: "e17_clock_seconds_45.png" COMP; - image: "e17_clock_seconds_46.png" COMP; - image: "e17_clock_seconds_47.png" COMP; - image: "e17_clock_seconds_48.png" COMP; - image: "e17_clock_seconds_49.png" COMP; - image: "e17_clock_seconds_50.png" COMP; - image: "e17_clock_seconds_51.png" COMP; - image: "e17_clock_seconds_52.png" COMP; - image: "e17_clock_seconds_53.png" COMP; - image: "e17_clock_seconds_54.png" COMP; - image: "e17_clock_seconds_55.png" COMP; - image: "e17_clock_seconds_56.png" COMP; - image: "e17_clock_seconds_57.png" COMP; - image: "e17_clock_seconds_58.png" COMP; - image: "e17_clock_seconds_59.png" COMP; - image: "e17_clock_hour_00.png" COMP; - image: "e17_clock_hour_01.png" COMP; - image: "e17_clock_hour_02.png" COMP; - image: "e17_clock_hour_03.png" COMP; - image: "e17_clock_hour_04.png" COMP; - image: "e17_clock_hour_05.png" COMP; - image: "e17_clock_hour_06.png" COMP; - image: "e17_clock_hour_07.png" COMP; - image: "e17_clock_hour_08.png" COMP; - image: "e17_clock_hour_09.png" COMP; - image: "e17_clock_hour_10.png" COMP; - image: "e17_clock_hour_11.png" COMP; - image: "e17_clock_hour_12.png" COMP; - image: "e17_clock_hour_13.png" COMP; - image: "e17_clock_hour_14.png" COMP; - image: "e17_clock_hour_15.png" COMP; - image: "e17_clock_hour_16.png" COMP; - image: "e17_clock_hour_17.png" COMP; - image: "e17_clock_hour_18.png" COMP; - image: "e17_clock_hour_19.png" COMP; - image: "e17_clock_hour_20.png" COMP; - image: "e17_clock_hour_21.png" COMP; - image: "e17_clock_hour_22.png" COMP; - image: "e17_clock_hour_23.png" COMP; - image: "e17_clock_hour_24.png" COMP; - image: "e17_clock_hour_25.png" COMP; - image: "e17_clock_hour_26.png" COMP; - image: "e17_clock_hour_27.png" COMP; - image: "e17_clock_hour_28.png" COMP; - image: "e17_clock_hour_29.png" COMP; - image: "e17_clock_hour_30.png" COMP; - image: "e17_clock_hour_31.png" COMP; - image: "e17_clock_hour_32.png" COMP; - image: "e17_clock_hour_33.png" COMP; - image: "e17_clock_hour_34.png" COMP; - image: "e17_clock_hour_35.png" COMP; - image: "e17_clock_hour_36.png" COMP; - image: "e17_clock_hour_37.png" COMP; - image: "e17_clock_hour_38.png" COMP; - image: "e17_clock_hour_39.png" COMP; - image: "e17_clock_hour_40.png" COMP; - image: "e17_clock_hour_41.png" COMP; - image: "e17_clock_hour_42.png" COMP; - image: "e17_clock_hour_43.png" COMP; - image: "e17_clock_hour_44.png" COMP; - image: "e17_clock_hour_45.png" COMP; - image: "e17_clock_hour_46.png" COMP; - image: "e17_clock_hour_47.png" COMP; - image: "e17_clock_hour_48.png" COMP; - image: "e17_clock_hour_49.png" COMP; - image: "e17_clock_hour_50.png" COMP; - image: "e17_clock_hour_51.png" COMP; - image: "e17_clock_hour_52.png" COMP; - image: "e17_clock_hour_53.png" COMP; - image: "e17_clock_hour_54.png" COMP; - image: "e17_clock_hour_55.png" COMP; - image: "e17_clock_hour_56.png" COMP; - image: "e17_clock_hour_57.png" COMP; - image: "e17_clock_hour_58.png" COMP; - image: "e17_clock_hour_59.png" COMP; - image: "e17_clock_minutes_00.png" COMP; - image: "e17_clock_minutes_01.png" COMP; - image: "e17_clock_minutes_02.png" COMP; - image: "e17_clock_minutes_03.png" COMP; - image: "e17_clock_minutes_04.png" COMP; - image: "e17_clock_minutes_05.png" COMP; - image: "e17_clock_minutes_06.png" COMP; - image: "e17_clock_minutes_07.png" COMP; - image: "e17_clock_minutes_08.png" COMP; - image: "e17_clock_minutes_09.png" COMP; - image: "e17_clock_minutes_10.png" COMP; - image: "e17_clock_minutes_11.png" COMP; - image: "e17_clock_minutes_12.png" COMP; - image: "e17_clock_minutes_13.png" COMP; - image: "e17_clock_minutes_14.png" COMP; - image: "e17_clock_minutes_15.png" COMP; - image: "e17_clock_minutes_16.png" COMP; - image: "e17_clock_minutes_17.png" COMP; - image: "e17_clock_minutes_18.png" COMP; - image: "e17_clock_minutes_19.png" COMP; - image: "e17_clock_minutes_20.png" COMP; - image: "e17_clock_minutes_21.png" COMP; - image: "e17_clock_minutes_22.png" COMP; - image: "e17_clock_minutes_23.png" COMP; - image: "e17_clock_minutes_24.png" COMP; - image: "e17_clock_minutes_25.png" COMP; - image: "e17_clock_minutes_26.png" COMP; - image: "e17_clock_minutes_27.png" COMP; - image: "e17_clock_minutes_28.png" COMP; - image: "e17_clock_minutes_29.png" COMP; - image: "e17_clock_minutes_30.png" COMP; - image: "e17_clock_minutes_31.png" COMP; - image: "e17_clock_minutes_32.png" COMP; - image: "e17_clock_minutes_33.png" COMP; - image: "e17_clock_minutes_34.png" COMP; - image: "e17_clock_minutes_35.png" COMP; - image: "e17_clock_minutes_36.png" COMP; - image: "e17_clock_minutes_37.png" COMP; - image: "e17_clock_minutes_38.png" COMP; - image: "e17_clock_minutes_39.png" COMP; - image: "e17_clock_minutes_40.png" COMP; - image: "e17_clock_minutes_41.png" COMP; - image: "e17_clock_minutes_42.png" COMP; - image: "e17_clock_minutes_43.png" COMP; - image: "e17_clock_minutes_44.png" COMP; - image: "e17_clock_minutes_45.png" COMP; - image: "e17_clock_minutes_46.png" COMP; - image: "e17_clock_minutes_47.png" COMP; - image: "e17_clock_minutes_48.png" COMP; - image: "e17_clock_minutes_49.png" COMP; - image: "e17_clock_minutes_50.png" COMP; - image: "e17_clock_minutes_51.png" COMP; - image: "e17_clock_minutes_52.png" COMP; - image: "e17_clock_minutes_53.png" COMP; - image: "e17_clock_minutes_54.png" COMP; - image: "e17_clock_minutes_55.png" COMP; - image: "e17_clock_minutes_56.png" COMP; - image: "e17_clock_minutes_57.png" COMP; - image: "e17_clock_minutes_58.png" COMP; - image: "e17_clock_minutes_59.png" COMP; - - image: "e17_battery_000.png" COMP; - image: "e17_battery_010.png" COMP; - image: "e17_battery_020.png" COMP; - image: "e17_battery_030.png" COMP; - image: "e17_battery_040.png" COMP; - image: "e17_battery_050.png" COMP; - image: "e17_battery_060.png" COMP; - image: "e17_battery_070.png" COMP; - image: "e17_battery_080.png" COMP; - image: "e17_battery_090.png" COMP; - image: "e17_battery_100.png" COMP; - image: "e17_battery_ac.png" COMP; - - image: "e17_temperature_base.png" COMP; - image: "e17_temperature_mid.png" COMP; - image: "e17_temperature_overlay.png" COMP; - - image: "e17_pager_screen.png" COMP; - image: "e17_pager_desk.png" COMP; - image: "e17_pager_window.png" COMP; + // font: "kochi-gothic.ttf" "Edje Vera"; + // font: "VeraBd.ttf" "Edje Vera Bold"; } collections { - group { - name: "desktop/background"; - parts { - part { - name: "background_image"; - description { - state: "default" 0.0; - image { - normal: "e17_brushed.png"; - } - fill { - size { - relative: 0 0; - offset: 400 300; - } - } - } - } - part { - name: "reflection_shadow_overlay"; - description { - state: "default" 0.0; - image { - normal: "e17_"SM"reflection_shadow_overlay.png"; - } - } - } - } - } - group { - name: "widgets/border/default/border"; - data { -// item: "client_inset" "4 4 24 4"; - } - parts { - part { - name: "title2"; - type: TEXT; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 7; - } - rel2 { - relative: 0.0 0.0; - offset: 0 7; - } - text { - text_source: "title_text"; - source: "title_text"; - min: 0 1; - } - } - } - part { - name: "t1"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 1.0; - offset: 0 5; - to_y: "title2"; - } - image { - normal: "e17_border1.png"; - border: 6 2 3 3; - } - } - } - part { - name: "t2"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 0 1; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to: "t1"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to: "t3"; - } - image { - normal: "e17_border2.png"; - border: 2 2 3 3; - } - } - } - part { - name: "t3"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to_x: "button_2"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 5; - to_y: "title2"; - } - image { - normal: "e17_border3.png"; - border: 3 6 3 3; - } - } - } - part { - name: "b1"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - offset: -4 0; - to_y: "t3"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - to_y: "b2"; - } - image { - normal: "e17_border4.png"; - } - fill { - smooth: 0; - } - } - } - part { - name: "b2"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - offset: -4 -4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_border5.png"; - } - } - } - part { - name: "b3"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to: "b4"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to: "b2"; - } - image { - normal: "e17_border6.png"; - } - fill { - smooth: 0; - } - } - } - part { - name: "b4"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -4; - } - rel2 { - relative: 0.0 1.0; - offset: 3 -1; - } - image { - normal: "e17_border7.png"; - } - } - } - part { - name: "b5"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to_y: "t1"; - } - rel2 { - relative: 0.0 0.0; - offset: 3 -1; - to_y: "b4"; - } - image { - normal: "e17_border4.png"; - } - fill { - smooth: 0; - } - } - } - part { - name: "title_outline"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 14 14; - visible: 1; - rel1 { - relative: 1.0 0.0; - offset: 0 -7; - to_x: "t1"; - to_y: "title2"; - } - rel2 { - relative: 0.0 1.0; - offset: -2 4; - to_x: "t3"; - to_y: "title2"; - } - image { - normal: "e17_titlebar_outline.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - description { - state: "active" 0.0; - min: 14 14; - visible: 0; - rel1 { - relative: 1.0 0.0; - offset: 0 -7; - to_x: "t1"; - to_y: "title2"; - } - rel2 { - relative: 0.0 1.0; - offset: -2 4; - to_x: "t3"; - to_y: "title2"; - } - image { - normal: "e17_titlebar_outline.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "title_shadow2"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - description { - state: "active" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - } - part { - name: "title_shadow1"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - description { - state: "active" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - } - part { - name: "title_bar"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - description { - state: "active" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - } - part { - name: "title_text"; - type: TEXT; - effect: SHADOW; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: 9 7; - to_x: "t1"; - } - rel2 { - relative: 0.0 0.0; - offset: -10 7; - to_x: "t3"; - } - color: 0 0 0 255; - color3: 255 255 255 128; - text { - text: ""; - font: "Edje Vera"; - size: 10; - min: 0 1; - align: 0.0 0.5; - } - } - } - part { - name: "title_glint_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - offset: 3 3; - to: "title_bar"; - } - rel2 { - offset: -4 -4; - to: "title_bar"; - } - color: 255 255 255 255; - } - } - part { - name: "title_glint_1"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - align: 0.0 0.0; - max: 34 13; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - to: "title_bar"; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - to: "title_bar"; - } - image { - normal: "e17_titlebar_glint1.png"; - border: 5 0 5 0; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "title_glint_2"; - mouse_events: 0; - clip_to: "title_glint_clip"; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - max: 0 0; - align: 1.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 3 3; - to: "title_bar"; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -4; - to: "title_bar"; - } - image { - normal: "e17_titlebar_glint2.png"; - border: 0 0 5 5; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - max: 169 9999; - min: 169 8; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: 3 3; - } - rel2 { - relative: 0.0 1.0; - offset: 3 -4; - } - } - description { - state: "active2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 128; - max: 169 9999; - min: 169 8; - align: 0.5 0.5; - rel1 { - relative: 1.0 0.0; - offset: -4 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - } - } - description { - state: "active3" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 255 255 255 0; - max: 169 9999; - min: 169 8; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -4 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - } - } - } - part { - name: "title_glint_3"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - align: 1.0 1.0; - max: 34 13; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - to: "title_bar"; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - to: "title_bar"; - } - image { - normal: "e17_titlebar_glint3.png"; - border: 0 5 0 5; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "button_0_shadow2"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_0_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_0_bg"; - } - image { - normal: "e17_mini_button_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - description { - state: "active" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_0_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_0_bg"; - } - image { - normal: "e17_mini_button_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "button_1_shadow2"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_1_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_1_bg"; - } - image { - normal: "e17_mini_button_shadow2.png"; - border: 8 8 8 8; - } - } - description { - state: "active" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_1_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_1_bg"; - } - image { - normal: "e17_mini_button_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "button_2_shadow2"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_2_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_2_bg"; - } - image { - normal: "e17_mini_button_shadow2.png"; - border: 8 8 8 8; - } - } - description { - state: "active" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_2_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_2_bg"; - } - image { - normal: "e17_mini_button_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "button_0_shadow1"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_0_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_0_bg"; - } - image { - normal: "e17_mini_button_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - description { - state: "active" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_0_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_0_bg"; - } - image { - normal: "e17_mini_button_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "button_1_shadow1"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_1_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_1_bg"; - } - image { - normal: "e17_mini_button_shadow1.png"; - border: 8 8 8 8; - } - } - description { - state: "active" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_1_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_1_bg"; - } - image { - normal: "e17_mini_button_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "button_2_shadow1"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_2_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_2_bg"; - } - image { - normal: "e17_mini_button_shadow1.png"; - border: 8 8 8 8; - } - } - description { - state: "active" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_2_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_2_bg"; - } - image { - normal: "e17_mini_button_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "button_0_bg"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_0"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_0"; - } - image { - normal: "e17_mini_button.png"; - border: 8 8 8 8; - } - } - description { - state: "active" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 1 1; - to: "button_0"; - } - rel2 { - relative: 1.0 1.0; - offset: 0 0; - to: "button_0"; - } - image { - normal: "e17_mini_button.png"; - border: 8 8 8 8; - } - } - } - part { - name: "button_1_bg"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_1"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_1"; - } - image { - normal: "e17_mini_button.png"; - border: 8 8 8 8; - } - } - description { - state: "active" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 1 1; - to: "button_1"; - } - rel2 { - relative: 1.0 1.0; - offset: 0 0; - to: "button_1"; - } - image { - normal: "e17_mini_button.png"; - border: 8 8 8 8; - } - } - } - part { - name: "button_2_bg"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "button_2"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "button_2"; - } - image { - normal: "e17_mini_button.png"; - border: 8 8 8 8; - } - } - description { - state: "active" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 1 1; - to: "button_2"; - } - rel2 { - relative: 1.0 1.0; - offset: 0 0; - to: "button_2"; - } - image { - normal: "e17_mini_button.png"; - border: 8 8 8 8; - } - } - } - part { - name: "button_0_detail"; - mouse_events: 0; - description { - state: "default" 0.0; - max: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - to: "button_0_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - to: "button_0_bg"; - } - image { - normal: "e17_button_detail_close.png"; - } - } - } - part { - name: "button_1_detail"; - mouse_events: 0; - description { - state: "default" 0.0; - max: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - to: "button_1_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - to: "button_1_bg"; - } - image { - normal: "e17_button_detail_maximize.png"; - } - } - } - part { - name: "button_2_detail"; - mouse_events: 0; - description { - state: "default" 0.0; - max: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - to: "button_2_bg"; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - to: "button_2_bg"; - } - image { - normal: "e17_button_detail_minimize.png"; - } - } - } - part { - name: "client"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 4 0; - to: "t1"; - } - rel2 { - relative: 0.0 0.0; - offset: -1 -1; - to: "b2"; - } - color: 0 0 0 0; - } - } - part { - name: "icon_swallow"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - to: "t1"; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -3; - to: "t1"; - } - color: 0 0 0 0; - } - } - part { - name: "resize_l"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to_y: "t1"; - } - rel2 { - relative: 0.0 1.0; - offset: 3 -1; - } - color: 0 0 0 0; - } - } - part { - name: "resize_r"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - offset: -4 0; - to_y: "t3"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "resize_b"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -4; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "resize_bl"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -24; - } - rel2 { - relative: 0.0 1.0; - offset: 23 -1; - } - color: 0 0 0 0; - } - } - part { - name: "resize_br"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - offset: -24 -24; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "icon"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - to: "icon_swallow"; - } - rel2 { - to: "icon_swallow"; - } - color: 0 0 0 0; - } - } - part { - name: "button_0"; - type: RECT; - description { - state: "default" 0.0; - align: 1.0 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: 0 5; - to_y: "title2"; - } - color: 0 0 0 0; - } - } - part { - name: "button_1"; - type: RECT; - description { - state: "default" 0.0; - align: 1.0 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 0.0 0.0; - offset: 3 0; - to: "button_0"; - } - rel2 { - relative: 0.0 1.0; - offset: 3 -1; - to: "button_0"; - } - color: 0 0 0 0; - } - } - part { - name: "button_2"; - type: RECT; - description { - state: "default" 0.0; - align: 1.0 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - relative: 0.0 0.0; - offset: 3 0; - to: "button_1"; - } - rel2 { - relative: 0.0 1.0; - offset: 3 -1; - to: "button_1"; - } - color: 0 0 0 0; - } - } - part { - name: "title"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - to: "title_bar"; - } - rel2 { - to: "title_bar"; - } - color: 0 0 0 0; - } - } - } - programs { -/* - program { - name: "TESTIES"; - signal: "show"; - source: ""; - action: SIGNAL_EMIT "active" ""; - } - */ - program { - name: "move_window1"; - signal: "mouse,down,1"; - source: "title"; - action: SIGNAL_EMIT "move_start" "mouse,1"; - } - program { - name: "move_window2"; - signal: "mouse,up,1"; - source: "title"; - action: SIGNAL_EMIT "move_stop" "mouse,1"; - } - program { - name: "resize_window_tl1"; - signal: "mouse,down,1"; - source: "resize_tl"; - action: SIGNAL_EMIT "resize_tl_start" "mouse,1"; - } - program { - name: "resize_window_tl2"; - signal: "mouse,up,1"; - source: "resize_tl"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "resize_window_t1"; - signal: "mouse,down,1"; - source: "resize_t"; - action: SIGNAL_EMIT "resize_t_start" "mouse,1"; - } - program { - name: "resize_window_t2"; - signal: "mouse,up,1"; - source: "resize_t"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "resize_window_tr1"; - signal: "mouse,down,1"; - source: "resize_tr"; - action: SIGNAL_EMIT "resize_tr_start" "mouse,1"; - } - program { - name: "resize_window_tr2"; - signal: "mouse,up,1"; - source: "resize_tr"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "resize_window_r1"; - signal: "mouse,down,1"; - source: "resize_r"; - action: SIGNAL_EMIT "resize_r_start" "mouse,1"; - } - program { - name: "resize_window_r2"; - signal: "mouse,up,1"; - source: "resize_r"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "resize_window_br1"; - signal: "mouse,down,1"; - source: "resize_br"; - action: SIGNAL_EMIT "resize_br_start" "mouse,1"; - } - program { - name: "resize_window_br2"; - signal: "mouse,up,1"; - source: "resize_br"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "resize_window_b1"; - signal: "mouse,down,1"; - source: "resize_b"; - action: SIGNAL_EMIT "resize_b_start" "mouse,1"; - } - program { - name: "resize_window_b2"; - signal: "mouse,up,1"; - source: "resize_b"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "resize_window_bl1"; - signal: "mouse,down,1"; - source: "resize_bl"; - action: SIGNAL_EMIT "resize_bl_start" "mouse,1"; - } - program { - name: "resize_window_bl2"; - signal: "mouse,up,1"; - source: "resize_bl"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "resize_window_l1"; - signal: "mouse,down,1"; - source: "resize_l"; - action: SIGNAL_EMIT "resize_l_start" "mouse,1"; - } - program { - name: "resize_window_l2"; - signal: "mouse,up,1"; - source: "resize_l"; - action: SIGNAL_EMIT "resize_stop" "mouse,1"; - } - program { - name: "menu_action"; - signal: "mouse,clicked,1"; - source: "icon"; - action: SIGNAL_EMIT "action" "menu"; - } - program { - name: "close_action"; - signal: "mouse,clicked,1"; - source: "button_0"; - action: SIGNAL_EMIT "action" "close"; - } - program { - name: "maximize_action"; - signal: "mouse,clicked,1"; - source: "button_1"; - action: SIGNAL_EMIT "action" "maximize"; - } - program { - name: "iconify_action"; - signal: "mouse,clicked,1"; - source: "button_2"; - action: SIGNAL_EMIT "action" "iconify"; - } - program { - name: "shade_action"; - signal: "mouse,down,1,double"; - source: "title"; - action: SIGNAL_EMIT "action" "shade"; - } - - program { - name: "go_active_pre"; - signal: "active"; - source: ""; - action: STATE_SET "default" 0.0; - target: "title_outline"; - target: "title_bar"; - target: "title_shadow1"; - target: "title_shadow2"; - after: "go_active"; - } - program { - name: "go_active"; - action: STATE_SET "active" 0.0; - target: "title_outline"; - target: "title_bar"; - transition: LINEAR 0.05; - after: "go_active2"; - } - program { - name: "go_active2"; - action: STATE_SET "active" 0.0; - target: "title_shadow1"; - transition: LINEAR 0.05; - after: "go_active3"; - after: "go_active3b"; - } - program { - name: "go_active3"; - action: STATE_SET "active" 0.0; - target: "title_shadow2"; - transition: LINEAR 0.05; - } - program { - name: "go_active3b"; - action: STATE_SET "active" 0.0; - target: "title_glint_1"; - target: "title_glint_2"; - transition: LINEAR 0.05; - after: "go_active4"; - after: "go_active4b"; - } - program { - name: "go_active4"; - action: STATE_SET "active2" 0.0; - target: "title_glint_2"; - transition: LINEAR 0.2; - after: "go_active5"; - after: "go_active5b"; - } - program { - name: "go_active4b"; - action: STATE_SET "active" 0.0; - target: "title_glint_3"; - transition: LINEAR 0.2; - } - program { - name: "go_active5"; - action: STATE_SET "active3" 0.0; - target: "title_glint_2"; - transition: LINEAR 0.05; - } - program { - name: "go_active5b"; - action: STATE_SET "default" 0.0; - target: "title_glint_3"; - transition: LINEAR 0.1; - after: "go_active6"; - } - program { - name: "go_active6"; - action: STATE_SET "default" 0.0; - target: "title_glint_1"; - target: "title_glint_2"; - target: "title_glint_3"; - } - - program { - name: "go_passive_pre"; - signal: "passive"; - source: ""; - action: STATE_SET "active" 0.0; - target: "title_outline"; - target: "title_bar"; - target: "title_shadow1"; - target: "title_shadow2"; - after: "go_passive"; - } - program { - name: "go_passive"; - action: STATE_SET "default" 0.0; - target: "title_shadow2"; - transition: LINEAR 0.1; - after: "go_passive2"; - } - program { - name: "go_passive2"; - action: STATE_SET "default" 0.0; - target: "title_shadow1"; - transition: LINEAR 0.1; - after: "go_passive3"; - } - program { - name: "go_passive3"; - action: STATE_SET "default" 0.0; - target: "title_outline"; - target: "title_bar"; - transition: LINEAR 0.1; - } - - program { - name: "button_0_active_pre"; - signal: "mouse,down,1"; - source: "button_0"; - action: STATE_SET "default" 0.0; - target: "button_0_shadow1"; - target: "button_0_shadow2"; - target: "button_0_bg"; - target: "button_0_detail"; - after: "button_0_active"; - after: "button_0_active_p"; - } - program { - name: "button_0_active"; - action: STATE_SET "active" 0.0; - target: "button_0_shadow2"; - transition: LINEAR 0.05; - after: "button_0_active2"; - } - program { - name: "button_0_active2"; - action: STATE_SET "active" 0.0; - target: "button_0_shadow1"; - transition: LINEAR 0.05; - } - program { - name: "button_0_active_p"; - action: STATE_SET "active" 0.0; - target: "button_0_bg"; - target: "button_0_detail"; - transition: LINEAR 0.1; - } - program { - name: "button_0_passive_pre"; - signal: "mouse,up,1"; - source: "button_0"; - action: STATE_SET "active" 0.0; - target: "button_0_shadow1"; - target: "button_0_shadow2"; - target: "button_0_bg"; - target: "button_0_detail"; - after: "button_0_passive"; - after: "button_0_passive_p"; - } - program { - name: "button_0_passive"; - action: STATE_SET "default" 0.0; - target: "button_0_shadow2"; - transition: LINEAR 0.1; - after: "button_0_passive2"; - } - program { - name: "button_0_passive2"; - action: STATE_SET "default" 0.0; - target: "button_0_shadow1"; - transition: LINEAR 0.1; - } - program { - name: "button_0_passive_p"; - action: STATE_SET "default" 0.0; - target: "button_0_bg"; - target: "button_0_detail"; - transition: LINEAR 0.2; - } - - - program { - name: "button_1_active_pre"; - signal: "mouse,down,1"; - source: "button_1"; - action: STATE_SET "default" 0.0; - target: "button_1_shadow1"; - target: "button_1_shadow2"; - target: "button_1_bg"; - target: "button_1_detail"; - after: "button_1_active"; - after: "button_1_active_p"; - } - program { - name: "button_1_active"; - action: STATE_SET "active" 0.0; - target: "button_1_shadow2"; - transition: LINEAR 0.05; - after: "button_1_active2"; - } - program { - name: "button_1_active2"; - action: STATE_SET "active" 0.0; - target: "button_1_shadow1"; - transition: LINEAR 0.05; - } - program { - name: "button_1_active_p"; - action: STATE_SET "active" 0.0; - target: "button_1_bg"; - target: "button_1_detail"; - transition: LINEAR 0.1; - } - program { - name: "button_1_passive_pre"; - signal: "mouse,up,1"; - source: "button_1"; - action: STATE_SET "active" 0.0; - target: "button_1_shadow1"; - target: "button_1_shadow2"; - target: "button_1_bg"; - target: "button_1_detail"; - after: "button_1_passive"; - after: "button_1_passive_p"; - } - program { - name: "button_1_passive"; - action: STATE_SET "default" 0.0; - target: "button_1_shadow2"; - transition: LINEAR 0.1; - after: "button_1_passive2"; - } - program { - name: "button_1_passive2"; - action: STATE_SET "default" 0.0; - target: "button_1_shadow1"; - transition: LINEAR 0.1; - } - program { - name: "button_1_passive_p"; - action: STATE_SET "default" 0.0; - target: "button_1_bg"; - target: "button_1_detail"; - transition: LINEAR 0.2; - } - - program { - name: "button_2_active_pre"; - signal: "mouse,down,1"; - source: "button_2"; - action: STATE_SET "default" 0.0; - target: "button_2_shadow1"; - target: "button_2_shadow2"; - target: "button_2_bg"; - target: "button_2_detail"; - after: "button_2_active"; - after: "button_2_active_p"; - } - program { - name: "button_2_active"; - action: STATE_SET "active" 0.0; - target: "button_2_shadow2"; - transition: LINEAR 0.05; - after: "button_2_active2"; - } - program { - name: "button_2_active2"; - action: STATE_SET "active" 0.0; - target: "button_2_shadow1"; - transition: LINEAR 0.05; - } - program { - name: "button_2_active_p"; - action: STATE_SET "active" 0.0; - target: "button_2_bg"; - target: "button_2_detail"; - transition: LINEAR 0.1; - } - program { - name: "button_2_passive_pre"; - signal: "mouse,up,1"; - source: "button_2"; - action: STATE_SET "active" 0.0; - target: "button_2_shadow1"; - target: "button_2_shadow2"; - target: "button_2_bg"; - target: "button_2_detail"; - after: "button_2_passive"; - after: "button_2_passive_p"; - } - program { - name: "button_2_passive"; - action: STATE_SET "default" 0.0; - target: "button_2_shadow2"; - transition: LINEAR 0.1; - after: "button_2_passive2"; - } - program { - name: "button_2_passive2"; - action: STATE_SET "default" 0.0; - target: "button_2_shadow1"; - transition: LINEAR 0.1; - } - program { - name: "button_2_passive_p"; - action: STATE_SET "default" 0.0; - target: "button_2_bg"; - target: "button_2_detail"; - transition: LINEAR 0.2; - } - } - } - group { - name: "widgets/menu/default/background"; - parts { - part { - name: "base"; - 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; - } - image { - normal: "e17_menu_bg.png"; - border: 3 3 3 3; - } - } - } - part { - name: "items"; - mouse_events: 0; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 1 1; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -2; - } - color: 0 0 0 0; - } - } - } - } - group { - name: "widgets/menu/default/separator"; - parts { - part { - name: "separator"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 20 2; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - } - image { - normal: "e17_menu_separator.png"; - border: 3 3 0 0; - } - } - } - } - } - group { - name: "widgets/menu/default/item_bg"; - parts { - part { - name: "item"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - } - group { - name: "widgets/menu/default/submenu_bg"; - parts { - part { - name: "item"; - type: SWALLOW; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - } - group { - name: "widgets/menu/default/check"; - parts { - part { - name: "background"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - min: 18 18; - max: 18 18; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "outline"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 16; - max: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_menu_check1.png"; - } - } - } - part { - name: "item1"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 16; - max: 16 16; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_menu_check2.png"; - } - } - description { - state: "active" 0.0; - min: 16 16; - max: 16 16; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_menu_check2.png"; - } - } - } - } - programs { - program { - name: "turn_on1"; - signal: "toggle_on"; - source: ""; - action: STATE_SET "active" 0.0; - target: "item1"; - } - program { - name: "turn_off1"; - signal: "toggle_off"; - source: ""; - action: STATE_SET "default" 0.0; - target: "item1"; - } - } - } - group { - name: "widgets/menu/default/radio"; - parts { - part { - name: "background"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - min: 18 18; - max: 18 18; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "outline"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 16; - max: 16 16; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_menu_radio1.png"; - } - } - } - part { - name: "item1"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 16; - max: 16 16; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_menu_radio2.png"; - } - } - description { - state: "active" 0.0; - min: 16 16; - max: 16 16; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_menu_radio2.png"; - } - } - } - } - programs { - program { - name: "turn_on1"; - signal: "toggle_on"; - source: ""; - action: STATE_SET "active" 0.0; - target: "item1"; - } - program { - name: "turn_off1"; - signal: "toggle_off"; - source: ""; - action: STATE_SET "default" 0.0; - target: "item1"; - } - } - } - group { - name: "widgets/menu/default/icon"; - parts { - part { - name: "item"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - } - } - } - } - } - group { - name: "widgets/menu/default/label"; - parts { - part { - name: "title_outline"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 14 14; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: -1 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_titlebar_outline.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - description { - state: "active" 0.0; - min: 14 14; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: -1 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_titlebar_outline.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - } - part { - name: "title_shadow2"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - description { - state: "active" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow2.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - } - part { - name: "title_shadow1"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - description { - state: "active" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar_shadow1.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - } - part { - name: "title_bar"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar.png"; - border: 8 8 8 8; - } - color: 255 255 255 0; - } - description { - state: "active" 0.0; - visible: 1; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "title_outline"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "title_outline"; - } - image { - normal: "e17_titlebar.png"; - border: 8 8 8 8; - } - color: 255 255 255 255; - } - } - part { - name: "label"; - type: TEXT; - effect: SHADOW; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 8 6; - } - rel2 { - relative: 1.0 1.0; - offset: -8 -6; - } - color: 0 0 0 255; - color3: 255 255 255 128; - text { - text: "Item Label"; - font: "Edje Vera"; - size: 10; - min: 1 1; - align: 0.0 0.5; - } - } - } - part { - name: "title_glint_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - offset: 3 3; - to: "title_bar"; - } - rel2 { - offset: -4 -4; - to: "title_bar"; - } - color: 255 255 255 255; - } - } - part { - name: "title_glint_1"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - align: 0.0 0.0; - max: 34 13; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - to: "title_bar"; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - to: "title_bar"; - } - image { - normal: "e17_titlebar_glint1.png"; - border: 5 0 5 0; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "title_glint_2"; - mouse_events: 0; - clip_to: "title_glint_clip"; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - align: 1.0 0.5; - max: 0 0; - rel1 { - relative: 0.0 0.0; - offset: 3 3; - to: "title_bar"; - } - rel2 { - relative: 0.0 1.0; - offset: 3 -4; - to: "title_bar"; - } - image { - normal: "e17_titlebar_glint2.png"; - border: 0 0 5 5; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - max: 169 9999; - min: 169 8; - align: 0.5 0.5; - rel1 { - relative: 0.0 0.0; - offset: 3 3; - } - rel2 { - relative: 0.0 1.0; - offset: 3 -4; - } - } - description { - state: "active2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 128; - max: 169 9999; - min: 169 8; - align: 0.5 0.5; - rel1 { - relative: 1.0 0.0; - offset: -4 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - } - } - description { - state: "active3" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 255 255 255 0; - max: 169 9999; - min: 169 8; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: -4 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - } - } - } - part { - name: "title_glint_3"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - align: 1.0 1.0; - max: 34 13; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - to: "title_bar"; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - to: "title_bar"; - } - image { - normal: "e17_titlebar_glint3.png"; - border: 0 5 0 5; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go_active_pre"; - signal: "active"; - source: ""; - action: STATE_SET "default" 0.0; - target: "title_outline"; - target: "title_bar"; - target: "title_shadow1"; - target: "title_shadow2"; - after: "go_active"; - } - program { - name: "go_active"; - action: STATE_SET "active" 0.0; - target: "title_outline"; - target: "title_bar"; - transition: LINEAR 0.05; - after: "go_active2"; - } - program { - name: "go_active2"; - action: STATE_SET "active" 0.0; - target: "title_shadow1"; - transition: LINEAR 0.05; - after: "go_active3"; - after: "go_active3b"; - } - program { - name: "go_active3"; - action: STATE_SET "active" 0.0; - target: "title_shadow2"; - transition: LINEAR 0.05; - } - program { - name: "go_active3b"; - action: STATE_SET "active" 0.0; - target: "title_glint_1"; - target: "title_glint_2"; - transition: LINEAR 0.05; - after: "go_active4"; - after: "go_active4b"; - } - program { - name: "go_active4"; - action: STATE_SET "active2" 0.0; - target: "title_glint_2"; - transition: LINEAR 0.2; - after: "go_active5"; - after: "go_active5b"; - } - program { - name: "go_active4b"; - action: STATE_SET "active" 0.0; - target: "title_glint_3"; - transition: LINEAR 0.2; - } - program { - name: "go_active5"; - action: STATE_SET "active3" 0.0; - target: "title_glint_2"; - transition: LINEAR 0.05; - } - program { - name: "go_active5b"; - action: STATE_SET "default" 0.0; - target: "title_glint_3"; - transition: LINEAR 0.1; - after: "go_active6"; - } - program { - name: "go_active6"; - action: STATE_SET "default" 0.0; - target: "title_glint_1"; - target: "title_glint_2"; - target: "title_glint_3"; - } - - program { - name: "go_passive_pre"; - signal: "passive"; - source: ""; - action: STATE_SET "active" 0.0; - target: "title_outline"; - target: "title_bar"; - target: "title_shadow1"; - target: "title_shadow2"; - after: "go_passive"; - } - program { - name: "go_passive"; - action: STATE_SET "default" 0.0; - target: "title_shadow2"; - transition: LINEAR 0.1; - after: "go_passive2"; - } - program { - name: "go_passive2"; - action: STATE_SET "default" 0.0; - target: "title_shadow1"; - transition: LINEAR 0.1; - after: "go_passive3"; - } - program { - name: "go_passive3"; - action: STATE_SET "default" 0.0; - target: "title_outline"; - target: "title_bar"; - transition: LINEAR 0.1; - } - } - } - group { - name: "widgets/menu/default/submenu"; - parts { - part { - name: "background"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - min: 12 12; - max: 12 12; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "arrow"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 6 12; - max: 6 12; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "background"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "background"; - } - image { - normal: "e17_menu_arrow.png"; - } - } - } - } - } - group { - name: "modules/ibar/main"; - data { -// item: "item_list", "item item2 item3"; - } - script { - public orient; - } - parts { - part { - name: "background"; - mouse_events: 1; - clip_to: "items_clip"; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - to: "overlay"; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - to: "overlay"; - } - image { - normal: "e17_ibar_bg_h.png"; - } - fill { - smooth: 0; - } - } - description { - state: "vert" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - to: "overlay"; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - to: "overlay"; - } - image { - normal: "e17_ibar_bg_v.png"; - } - fill { - smooth: 0; - } - } - } - part { - name: "items_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "background"; - } - rel2 { - to: "background"; - } - color: 255 255 255 255; - } - } - part { - name: "items"; - type: SWALLOW; - mouse_events: 0; - clip_to: "items_clip"; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_x: "h1"; - to_y: "h3"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to_x: "h2"; - } - color: 0 0 0 0; - } - description { - state: "top" 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to_x: "h1"; - } - rel2 { - relative: 0.0 0.0; - offset: -1 -1; - to_x: "h2"; - to_y: "h3"; - } - color: 0 0 0 0; - } - description { - state: "left" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to_y: "h1"; - } - rel2 { - relative: 0.0 0.0; - offset: -1 -1; - to_y: "h2"; - to_x: "h3"; - } - color: 0 0 0 0; - } - description { - state: "right" 0.0; - rel1 { - relative: 1.0 1.0; - offset: 0 0; - to_y: "h1"; - to_x: "h3"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - to_y: "h2"; - } - color: 0 0 0 0; - } - } - part { - name: "overlay"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 18 0; - to_y: "h3"; - } - rel2 { - relative: 1.0 1.0; - offset: -19 -1; - } - image { - normal: "e17_ibar_over_h.png"; - border: 25 25 25 25; - } - fill { - smooth: 0; - } - } - description { - state: "top" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 18 0; - } - rel2 { - relative: 1.0 0.0; - offset: -19 -1; - to_y: "h3"; - } - image { - normal: "e17_ibar_over_h.png"; - border: 25 25 25 25; - } - fill { - smooth: 0; - } - } - description { - state: "left" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 18; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -19; - to_x: "h3"; - } - image { - normal: "e17_ibar_over_v.png"; - border: 25 25 25 25; - } - fill { - smooth: 0; - } - } - description { - state: "right" 0.0; - rel1 { - relative: 1.0 0.0; - offset: 0 18; - to_x: "h3"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -19; - } - image { - normal: "e17_ibar_over_v.png"; - border: 25 25 25 25; - } - fill { - smooth: 0; - } - } - } - part { - name: "h1a1"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -1 0; - to: "h1"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to: "h1"; - } - image { - normal: "e17_ibar_arrow_l.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 1.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: 0 -1; - to: "h1"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - to: "h1"; - } - image { - normal: "e17_ibar_arrow_u.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h1a2"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -1 0; - to: "h1a1"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to: "h1a1"; - } - image { - normal: "e17_ibar_arrow_l.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 1.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: 0 -1; - to: "h1a1"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - to: "h1a1"; - } - image { - normal: "e17_ibar_arrow_u.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h1a3"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -1 0; - to: "h1a2"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to: "h1a2"; - } - image { - normal: "e17_ibar_arrow_l.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 1.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: 0 -1; - to: "h1a2"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - to: "h1a2"; - } - image { - normal: "e17_ibar_arrow_u.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h1a4"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -1 0; - to: "h1a3"; - } - rel2 { - relative: 0.0 1.0; - offset: -1 -1; - to: "h1a3"; - } - image { - normal: "e17_ibar_arrow_l.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 1.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: 0 -1; - to: "h1a3"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -1; - to: "h1a3"; - } - image { - normal: "e17_ibar_arrow_u.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h1"; - mouse_events: 1; - clip_to: "clp"; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 18 36; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to_y: "overlay"; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -1; - } - image { - normal: "e17_ibar_handle_h.png"; - border: 0 0 19 19; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - image { - normal: "e17_ibar_handle_h2.png"; - } - } - description { - state: "top" 0.0; - align: 0.0 0.5; - min: 18 36; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -1; - to_y: "overlay"; - } - image { - normal: "e17_ibar_handle_h.png"; - border: 0 0 19 19; - } - } - description { - state: "top2" 0.0; - inherit: "top" 0.0; - image { - normal: "e17_ibar_handle_h2.png"; - } - } - description { - state: "left" 0.0; - align: 0.5 0.0; - min: 36 18; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 0.0; - offset: -1 0; - to_x: "overlay"; - } - image { - normal: "e17_ibar_handle_v.png"; - border: 19 19 0 0; - } - } - description { - state: "left2" 0.0; - inherit: "left" 0.0; - image { - normal: "e17_ibar_handle_v2.png"; - } - } - description { - state: "right" 0.0; - align: 0.5 0.0; - min: 36 18; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to_x: "overlay"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 0; - } - image { - normal: "e17_ibar_handle_v.png"; - border: 19 19 0 0; - } - } - description { - state: "right2" 0.0; - inherit: "right" 0.0; - image { - normal: "e17_ibar_handle_v2.png"; - } - } - } - part { - name: "h1th"; - mouse_events: 0; - clip_to: "clp"; - description { - state: "default" 0.0; - max: 6 16; - rel1 { - offset: -1 -1; - to: "h1"; - } - rel2 { - offset: -2 -2; - to: "h1"; - } - image { - normal: "e17_ibar_handle_thumb_h.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - rel1 { - offset: 0 0; - } - rel2 { - offset: -1 -1; - } - } - description { - state: "vert" 0.0; - max: 16 6; - rel1 { - offset: -1 -1; - to: "h1"; - } - rel2 { - offset: -2 -2; - to: "h1"; - } - image { - normal: "e17_ibar_handle_thumb_v.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - rel1 { - offset: 0 0; - } - rel2 { - offset: -1 -1; - } - } - } - part { - name: "h2a1"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to: "h2"; - } - rel2 { - relative: 1.0 1.0; - offset: 0 -1; - to: "h2"; - } - image { - normal: "e17_ibar_arrow_r.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 0.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to: "h2"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 0; - to: "h2"; - } - image { - normal: "e17_ibar_arrow_d.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h2a2"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to: "h2a1"; - } - rel2 { - relative: 1.0 1.0; - offset: 0 -1; - to: "h2a1"; - } - image { - normal: "e17_ibar_arrow_r.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 0.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to: "h2a1"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 0; - to: "h2a1"; - } - image { - normal: "e17_ibar_arrow_d.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h2a3"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to: "h2a2"; - } - rel2 { - relative: 1.0 1.0; - offset: 0 -1; - to: "h2a2"; - } - image { - normal: "e17_ibar_arrow_r.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 0.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to: "h2a2"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 0; - to: "h2a2"; - } - image { - normal: "e17_ibar_arrow_d.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h2a4"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 21 29; - max: 21 29; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 1.0 0.0; - offset: 0 0; - to: "h2a3"; - } - rel2 { - relative: 1.0 1.0; - offset: 0 -1; - to: "h2a3"; - } - image { - normal: "e17_ibar_arrow_r.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "vert" 0.0; - align: 0.5 0.0; - min: 29 21; - max: 29 21; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 1.0; - offset: 0 0; - to: "h2a3"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 0; - to: "h2a3"; - } - image { - normal: "e17_ibar_arrow_d.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "h2"; - mouse_events: 1; - clip_to: "clp"; - description { - state: "default" 0.0; - align: 1.0 0.5; - min: 18 36; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - to_y: "overlay"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_ibar_handle_h.png"; - border: 0 0 19 19; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - image { - normal: "e17_ibar_handle_h2.png"; - } - } - description { - state: "top" 0.0; - align: 1.0 0.5; - min: 18 36; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to_y: "overlay"; - } - image { - normal: "e17_ibar_handle_h.png"; - border: 0 0 19 19; - } - } - description { - state: "top2" 0.0; - inherit: "top" 0.0; - image { - normal: "e17_ibar_handle_h2.png"; - } - } - description { - state: "left" 0.0; - align: 0.5 1.0; - min: 36 18; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to_x: "overlay"; - } - image { - normal: "e17_ibar_handle_v.png"; - border: 19 19 0 0; - } - } - description { - state: "left2" 0.0; - inherit: "left" 0.0; - image { - normal: "e17_ibar_handle_v2.png"; - } - } - description { - state: "right" 0.0; - align: 0.5 1.0; - min: 36 18; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - to_x: "overlay"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_ibar_handle_v.png"; - border: 19 19 0 0; - } - } - description { - state: "right2" 0.0; - inherit: "right" 0.0; - image { - normal: "e17_ibar_handle_v2.png"; - } - } - } - part { - name: "h2th"; - mouse_events: 0; - clip_to: "clp"; - description { - state: "default" 0.0; - max: 6 16; - rel1 { - offset: -1 -1; - to: "h2"; - } - rel2 { - offset: -2 -2; - to: "h2"; - } - image { - normal: "e17_ibar_handle_thumb_h.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - rel1 { - offset: 0 0; - } - rel2 { - offset: -1 -1; - } - } - description { - state: "vert" 0.0; - max: 16 6; - rel1 { - offset: -1 -1; - to: "h2"; - } - rel2 { - offset: -2 -2; - to: "h2"; - } - image { - normal: "e17_ibar_handle_thumb_v.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - rel1 { - offset: 0 0; - } - rel2 { - offset: -1 -1; - } - } - } - part { - name: "h3"; - mouse_events: 1; - clip_to: "clp"; - description { - state: "default" 0.0; - align: 0.5 0.0; - min: 36 18; - max: 60 18; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 0.0; - offset: -1 0; - } - image { - normal: "e17_ibar_handle_v.png"; - border: 19 19 0 0; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - image { - normal: "e17_ibar_handle_v2.png"; - } - } - description { - state: "top" 0.0; - align: 0.5 1.0; - min: 36 18; - max: 60 18; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_ibar_handle_v.png"; - border: 19 19 0 0; - } - } - description { - state: "top2" 0.0; - inherit: "top" 0.0; - image { - normal: "e17_ibar_handle_v2.png"; - } - } - description { - state: "left" 0.0; - align: 1.0 0.5; - min: 18 36; - max: 18 60; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - image { - normal: "e17_ibar_handle_h.png"; - border: 0 0 19 19; - } - } - description { - state: "left2" 0.0; - inherit: "left" 0.0; - image { - normal: "e17_ibar_handle_h2.png"; - } - } - description { - state: "right" 0.0; - align: 0.0 0.5; - min: 18 36; - max: 18 60; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -1; - } - image { - normal: "e17_ibar_handle_h.png"; - border: 0 0 19 19; - } - } - description { - state: "right2" 0.0; - inherit: "right" 0.0; - image { - normal: "e17_ibar_handle_h2.png"; - } - } - } - part { - name: "h3th"; - mouse_events: 0; - clip_to: "clp"; - description { - state: "default" 0.0; - max: 16 6; - rel1 { - offset: -1 -1; - to: "h3"; - } - rel2 { - offset: -2 -2; - to: "h3"; - } - image { - normal: "e17_ibar_handle_thumb_v.png"; - } - } - description { - state: "default2" 0.0; - inherit: "default" 0.0; - rel1 { - offset: 0 0; - } - rel2 { - offset: -1 -1; - } - } - description { - state: "vert" 0.0; - max: 6 16; - rel1 { - offset: -1 -1; - to: "h3"; - } - rel2 { - offset: -2 -2; - to: "h3"; - } - image { - normal: "e17_ibar_handle_thumb_h.png"; - } - } - description { - state: "vert2" 0.0; - inherit: "vert" 0.0; - rel1 { - offset: 0 0; - } - rel2 { - offset: -1 -1; - } - } - } - part { - name: "clp"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { - state: "on" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "inn"; - type: RECT; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "orient"; - signal: "set_orientation"; - source: "*"; - script { // sig, src - if (!strcmp(src, "left")) { - set_int(orient, 0); - set_state(PART:"background", "vert", 0.0); - set_state(PART:"overlay", "left", 0.0); - set_state(PART:"items", "left", 0.0); - set_state(PART:"h1", "left", 0.0); - set_state(PART:"h2", "left", 0.0); - set_state(PART:"h1th", "vert", 0.0); - set_state(PART:"h2th", "vert", 0.0); - set_state(PART:"h1a1", "vert", 0.0); - set_state(PART:"h1a2", "vert", 0.0); - set_state(PART:"h1a3", "vert", 0.0); - set_state(PART:"h1a4", "vert", 0.0); - set_state(PART:"h2a1", "vert", 0.0); - set_state(PART:"h2a2", "vert", 0.0); - set_state(PART:"h2a3", "vert", 0.0); - set_state(PART:"h2a4", "vert", 0.0); - set_state(PART:"h3", "left", 0.0); - set_state(PART:"h3th", "vert", 0.0); - } - else if (!strcmp(src, "right")) { - set_int(orient, 1); - set_state(PART:"background", "vert", 0.0); - set_state(PART:"overlay", "right", 0.0); - set_state(PART:"items", "right", 0.0); - set_state(PART:"h1", "right", 0.0); - set_state(PART:"h2", "right", 0.0); - set_state(PART:"h1th", "vert", 0.0); - set_state(PART:"h2th", "vert", 0.0); - set_state(PART:"h1a1", "vert", 0.0); - set_state(PART:"h1a2", "vert", 0.0); - set_state(PART:"h1a3", "vert", 0.0); - set_state(PART:"h1a4", "vert", 0.0); - set_state(PART:"h2a1", "vert", 0.0); - set_state(PART:"h2a2", "vert", 0.0); - set_state(PART:"h2a3", "vert", 0.0); - set_state(PART:"h2a4", "vert", 0.0); - set_state(PART:"h3", "right", 0.0); - set_state(PART:"h3th", "vert", 0.0); - } - else if (!strcmp(src, "top")) { - set_int(orient, 2); - set_state(PART:"background", "default", 0.0); - set_state(PART:"overlay", "top", 0.0); - set_state(PART:"items", "top", 0.0); - set_state(PART:"h1", "top", 0.0); - set_state(PART:"h2", "top", 0.0); - set_state(PART:"h1th", "default", 0.0); - set_state(PART:"h2th", "default", 0.0); - set_state(PART:"h1a1", "default", 0.0); - set_state(PART:"h1a2", "default", 0.0); - set_state(PART:"h1a3", "default", 0.0); - set_state(PART:"h1a4", "default", 0.0); - set_state(PART:"h2a1", "default", 0.0); - set_state(PART:"h2a2", "default", 0.0); - set_state(PART:"h2a3", "default", 0.0); - set_state(PART:"h2a4", "default", 0.0); - set_state(PART:"h3", "top", 0.0); - set_state(PART:"h3th", "default", 0.0); - } - else if (!strcmp(src, "bottom")) { - set_int(orient, 3); - set_state(PART:"background", "default", 0.0); - set_state(PART:"overlay", "default", 0.0); - set_state(PART:"items", "default", 0.0); - set_state(PART:"h1", "default", 0.0); - set_state(PART:"h2", "default", 0.0); - set_state(PART:"h1th", "default", 0.0); - set_state(PART:"h2th", "default", 0.0); - set_state(PART:"h1a1", "default", 0.0); - set_state(PART:"h1a2", "default", 0.0); - set_state(PART:"h1a3", "default", 0.0); - set_state(PART:"h1a4", "default", 0.0); - set_state(PART:"h2a1", "default", 0.0); - set_state(PART:"h2a2", "default", 0.0); - set_state(PART:"h2a3", "default", 0.0); - set_state(PART:"h2a4", "default", 0.0); - set_state(PART:"h3", "default", 0.0); - set_state(PART:"h3th", "default", 0.0); - } - } - } - - program { - name: "inn_in"; - signal: "mouse,in"; - source: "inn"; - action: STATE_SET "on" 0.0; - transition: SINUSOIDAL 0.25; - target: "clp"; - } - program { - name: "inn_out"; - signal: "mouse,out"; - source: "inn"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "clp"; - } - - program { - name: "h1_in"; - signal: "mouse,in"; - source: "h1"; - script { - new ori = get_int(orient); - if ((ori == 0) || (ori == 1)) { - emit("h1_v_pulse", ""); - } - else { - emit("h1_h_pulse", ""); - } - } - } - program { - name: "h1_out"; - signal: "mouse,out"; - source: "h1"; - action: ACTION_STOP; - target: "h1_h_in1a"; - target: "h1_h_in1b"; - target: "h1_h_in2a"; - target: "h1_h_in2b"; - target: "h1_h_in3a"; - target: "h1_h_in3b"; - target: "h1_h_in4a"; - target: "h1_h_in4b"; - target: "h1_v_in1a"; - target: "h1_v_in1b"; - target: "h1_v_in2a"; - target: "h1_v_in2b"; - target: "h1_v_in3a"; - target: "h1_v_in3b"; - target: "h1_v_in4a"; - target: "h1_v_in4b"; - after: "h1_out2"; - } - program { - name: "h1_out2"; - script { - new ori = get_int(orient); - if ((ori == 0) || (ori == 1)) { - set_state(PART:"h1a1", "vert", 0.0); - set_state(PART:"h1a2", "vert", 0.0); - set_state(PART:"h1a3", "vert", 0.0); - set_state(PART:"h1a4", "vert", 0.0); - } - else { - set_state(PART:"h1a1", "default", 0.0); - set_state(PART:"h1a2", "default", 0.0); - set_state(PART:"h1a3", "default", 0.0); - set_state(PART:"h1a4", "default", 0.0); - } - } - } - - program { - name: "h1_h_0"; - signal: "h1_h_pulse"; - source: ""; - after: "h1_h_in1a"; - } - program { - name: "h1_h_in1a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a1"; - after: "h1_h_in2a"; - after: "h1_h_in2b"; - } - program { - name: "h1_h_in1b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h1a4"; - } - - program { - name: "h1_h_in2a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a2"; - after: "h1_h_in3a"; - after: "h1_h_in3b"; - } - program { - name: "h1_h_in2b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h1a1"; - } - - program { - name: "h1_h_in3a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a3"; - after: "h1_h_in4a"; - after: "h1_h_in4b"; - } - program { - name: "h1_h_in3b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h1a2"; - } - - program { - name: "h1_h_in4a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a4"; - after: "h1_h_in1a"; - after: "h1_h_in1b"; - } - program { - name: "h1_h_in4b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h1a3"; - } - - program { - name: "h1_v_0"; - signal: "h1_v_pulse"; - source: ""; - after: "h1_v_in1a"; - } - program { - name: "h1_v_in1a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a1"; - after: "h1_v_in2a"; - after: "h1_v_in2b"; - } - program { - name: "h1_v_in1b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h1a4"; - } - - program { - name: "h1_v_in2a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a2"; - after: "h1_v_in3a"; - after: "h1_v_in3b"; - } - program { - name: "h1_v_in2b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h1a1"; - } - - program { - name: "h1_v_in3a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a3"; - after: "h1_v_in4a"; - after: "h1_v_in4b"; - } - program { - name: "h1_v_in3b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h1a2"; - } - - program { - name: "h1_v_in4a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h1a4"; - after: "h1_v_in1a"; - after: "h1_v_in1b"; - } - program { - name: "h1_v_in4b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h1a3"; - } - - program { - name: "h1_click1"; - signal: "mouse,down,1"; - source: "h1"; - script { - new ori = get_int(orient); - if (ori == 0) { - set_state(PART:"h1", "left2", 0.0); - set_state(PART:"h1th", "vert2", 0.0); - } - else if (ori == 1) { - set_state(PART:"h1", "right2", 0.0); - set_state(PART:"h1th", "vert2", 0.0); - } - else if (ori == 2) { - set_state(PART:"h1", "top2", 0.0); - set_state(PART:"h1th", "default2", 0.0); - } - else { - set_state(PART:"h1", "default2", 0.0); - set_state(PART:"h1th", "default2", 0.0); - } - emit("resize1_start", ""); - } - } - program { - name: "h1_click2"; - signal: "mouse,up,1"; - source: "h1"; - script { - new ori = get_int(orient); - if (ori == 0) { - set_state(PART:"h1", "left", 0.0); - set_state(PART:"h1th", "vert", 0.0); - } - else if (ori == 1) { - set_state(PART:"h1", "right", 0.0); - set_state(PART:"h1th", "vert", 0.0); - } - else if (ori == 2) { - set_state(PART:"h1", "top", 0.0); - set_state(PART:"h1th", "default", 0.0); - } - else { - set_state(PART:"h1", "default", 0.0); - set_state(PART:"h1th", "default", 0.0); - } - emit("resize1_stop", ""); - } - } - - program { - name: "h2_in"; - signal: "mouse,in"; - source: "h2"; - script { - new ori = get_int(orient); - if ((ori == 0) || (ori == 1)) { - emit("h2_v_pulse", ""); - } - else { - emit("h2_h_pulse", ""); - } - } - } - program { - name: "h2_out"; - signal: "mouse,out"; - source: "h2"; - action: ACTION_STOP; - target: "h2_h_in1a"; - target: "h2_h_in1b"; - target: "h2_h_in2a"; - target: "h2_h_in2b"; - target: "h2_h_in3a"; - target: "h2_h_in3b"; - target: "h2_h_in4a"; - target: "h2_h_in4b"; - target: "h2_v_in1a"; - target: "h2_v_in1b"; - target: "h2_v_in2a"; - target: "h2_v_in2b"; - target: "h2_v_in3a"; - target: "h2_v_in3b"; - target: "h2_v_in4a"; - target: "h2_v_in4b"; - after: "h2_out2"; - } - program { - name: "h2_out2"; - script { - new ori = get_int(orient); - if ((ori == 0) || (ori == 1)) { - set_state(PART:"h2a1", "vert", 0.0); - set_state(PART:"h2a2", "vert", 0.0); - set_state(PART:"h2a3", "vert", 0.0); - set_state(PART:"h2a4", "vert", 0.0); - } - else { - set_state(PART:"h2a1", "default", 0.0); - set_state(PART:"h2a2", "default", 0.0); - set_state(PART:"h2a3", "default", 0.0); - set_state(PART:"h2a4", "default", 0.0); - } - } - } - - program { - name: "h2_h_0"; - signal: "h2_h_pulse"; - source: ""; - after: "h2_h_in1a"; - } - program { - name: "h2_h_in1a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a1"; - after: "h2_h_in2a"; - after: "h2_h_in2b"; - } - program { - name: "h2_h_in1b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h2a4"; - } - - program { - name: "h2_h_in2a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a2"; - after: "h2_h_in3a"; - after: "h2_h_in3b"; - } - program { - name: "h2_h_in2b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h2a1"; - } - - program { - name: "h2_h_in3a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a3"; - after: "h2_h_in4a"; - after: "h2_h_in4b"; - } - program { - name: "h2_h_in3b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h2a2"; - } - - program { - name: "h2_h_in4a"; - action: STATE_SET "default2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a4"; - after: "h2_h_in1a"; - after: "h2_h_in1b"; - } - program { - name: "h2_h_in4b"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.75; - target: "h2a3"; - } - - program { - name: "h2_v_0"; - signal: "h2_v_pulse"; - source: ""; - after: "h2_v_in1a"; - } - program { - name: "h2_v_in1a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a1"; - after: "h2_v_in2a"; - after: "h2_v_in2b"; - } - program { - name: "h2_v_in1b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h2a4"; - } - - program { - name: "h2_v_in2a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a2"; - after: "h2_v_in3a"; - after: "h2_v_in3b"; - } - program { - name: "h2_v_in2b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h2a1"; - } - - program { - name: "h2_v_in3a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a3"; - after: "h2_v_in4a"; - after: "h2_v_in4b"; - } - program { - name: "h2_v_in3b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h2a2"; - } - - program { - name: "h2_v_in4a"; - action: STATE_SET "vert2" 0.0; - transition: SINUSOIDAL 0.25; - target: "h2a4"; - after: "h2_v_in1a"; - after: "h2_v_in1b"; - } - program { - name: "h2_v_in4b"; - action: STATE_SET "vert" 0.0; - transition: DECELERATE 0.75; - target: "h2a3"; - } - - program { - name: "h2_click1"; - signal: "mouse,down,1"; - source: "h2"; - script { - new ori = get_int(orient); - if (ori == 0) { - set_state(PART:"h2", "left2", 0.0); - set_state(PART:"h2th", "vert2", 0.0); - } - else if (ori == 1) { - set_state(PART:"h2", "right2", 0.0); - set_state(PART:"h2th", "vert2", 0.0); - } - else if (ori == 2) { - set_state(PART:"h2", "top2", 0.0); - set_state(PART:"h2th", "default2", 0.0); - } - else { - set_state(PART:"h2", "default2", 0.0); - set_state(PART:"h2th", "default2", 0.0); - } - emit("resize2_start", ""); - } - } - program { - name: "h2_click2"; - signal: "mouse,up,1"; - source: "h2"; - script { - new ori = get_int(orient); - if (ori == 0) { - set_state(PART:"h2", "left", 0.0); - set_state(PART:"h2th", "vert", 0.0); - } - else if (ori == 1) { - set_state(PART:"h2", "right", 0.0); - set_state(PART:"h2th", "vert", 0.0); - } - else if (ori == 2) { - set_state(PART:"h2", "top", 0.0); - set_state(PART:"h2th", "default", 0.0); - } - else { - set_state(PART:"h2", "default", 0.0); - set_state(PART:"h2th", "default", 0.0); - } - emit("resize2_stop", ""); - } - } - - - program { - name: "h3_click1"; - signal: "mouse,down,1"; - source: "h3"; - script { - new ori = get_int(orient); - if (ori == 0) { - set_state(PART:"h3", "left2", 0.0); - set_state(PART:"h3th", "vert2", 0.0); - } - else if (ori == 1) { - set_state(PART:"h3", "right2", 0.0); - set_state(PART:"h3th", "vert2", 0.0); - } - else if (ori == 2) { - set_state(PART:"h3", "top2", 0.0); - set_state(PART:"h3th", "default2", 0.0); - } - else { - set_state(PART:"h3", "default2", 0.0); - set_state(PART:"h3th", "default2", 0.0); - } - emit("move_start", ""); - } - } - program { - name: "h3_click2"; - signal: "mouse,up,1"; - source: "h3"; - script { - new ori = get_int(orient); - if (ori == 0) { - set_state(PART:"h3", "left", 0.0); - set_state(PART:"h3th", "vert", 0.0); - } - else if (ori == 1) { - set_state(PART:"h3", "right", 0.0); - set_state(PART:"h3th", "vert", 0.0); - } - else if (ori == 2) { - set_state(PART:"h3", "top", 0.0); - set_state(PART:"h3th", "default", 0.0); - } - else { - set_state(PART:"h3", "default", 0.0); - set_state(PART:"h3th", "default", 0.0); - } - emit("move_stop", ""); - } - } - } - } - group { - name: "modules/ibar/follower"; - min: 56 56; - data { -// item: "item_list", "item item2 item3"; - } - parts { - part { - name: "top"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 -13; - } - rel2 { - relative: 1.0 0.0; - offset: -1 27; - } - image { - normal: "e17_ibar_lamp_d.png"; - } - } - description { - state: "top" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -27; - } - rel2 { - relative: 1.0 1.0; - offset: -1 13; - } - image { - normal: "e17_ibar_lamp_u.png"; - } - } - description { - state: "right" 0.0; - rel1 { - relative: 0.0 0.0; - offset: -13 0; - } - rel2 { - relative: 0.0 1.0; - offset: 27 -1; - } - image { - normal: "e17_ibar_lamp_r.png"; - } - } - description { - state: "left" 0.0; - rel1 { - relative: 1.0 0.0; - offset: -27 0; - } - rel2 { - relative: 1.0 1.0; - offset: 13 -1; - } - image { - normal: "e17_ibar_lamp_l.png"; - } - } - } - program { - name: "orient"; - signal: "set_orientation"; - source: "bottom"; - action: STATE_SET "default" 0.0; - target: "top"; - } - program { - name: "orient2"; - signal: "set_orientation"; - source: "top"; - action: STATE_SET "top" 0.0; - target: "top"; - } - program { - name: "orient3"; - signal: "set_orientation"; - source: "left"; - action: STATE_SET "left" 0.0; - target: "top"; - } - program { - name: "orient4"; - signal: "set_orientation"; - source: "right"; - action: STATE_SET "right" 0.0; - target: "top"; - } - } - } - group { - name: "modules/ibar/icon"; - data { - item: "raise_on_hilight" "0"; // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it -// item: "item_list" "item item2 item3"; - } - parts { - part { - name: "item"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 0 0 0 0; - } - } - } - } - group { - name: "modules/ibar/icon_overlay"; - data { -// item: "item_list", "item item2 item3"; - } - parts { - part { - name: "base"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 255 255 255 0; - } - } - part { - name: "background"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "base"; - } - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "base"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "base"; - } - color: 255 255 255 255; - } - description { - state: "hidden" 0.0; - rel1 { - relative: -0.5 -0.5; - offset: 0 0; - to: "base"; - } - rel2 { - relative: 1.5 1.5; - offset: -1 -1; - to: "base"; - } - color: 255 255 255 0; - } - } - part { - name: "item"; - type: SWALLOW; - mouse_events: 0; - clip_to: "background"; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "background"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "background"; - } - color: 0 0 0 0; - } - } - } - programs { - program { - name: "go_active"; - signal: "active"; - source: ""; - action: STATE_SET "visible" 0.0; - target: "background"; - after: "go_active2"; - } - program { - name: "go_active2"; - signal: ""; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "background"; - after: "go_active"; - } - program { - name: "go_passive"; - signal: "passive"; - source: ""; - action: ACTION_STOP; - target: "go_active"; - target: "go_active2"; - after: "go_passive2"; - } - program { - name: "go_passive2"; - signal: ""; - source: ""; - action: STATE_SET "default" 0.0; - target: "background"; - } - } - } - group { - name: "modules/clock/main"; - script { - public clock_cb(val) { - new buf[11]; - new year, month, day, yearday, weekday, hour, minute; - new Float:second; - new v; - - date(year, month, day, yearday, weekday, hour, minute, second); - v = round(second); -#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA - timer(1.0 - (second - v), "clock_cb", 1); -#else - timer(10.0 - (second - v), "clock_cb", 1); -#endif -#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA - buf[0] = 0; - if (v < 10) {snprintf(buf, 10, "0%i", v);} - else {snprintf(buf, 10, "%i", v);} - set_state(PART:"seconds", buf, 0.0); -#endif - v = minute; - buf[0] = 0; - if (v < 10) {snprintf(buf, 10, "0%i", v);} - else {snprintf(buf, 10, "%i", v);} - set_state(PART:"minutes", buf, 0.0); - v = ((hour % 12) * 5) + ((minute * 5) / 60); - buf[0] = 0; - if (v < 10) {snprintf(buf, 10, "0%i", v);} - else {snprintf(buf, 10, "%i", v);} - set_state(PART:"hour", buf, 0.0); - } - } - parts { - part { - name: "bg"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - image { - normal: "e17_clock_bg.png"; - } - } - } -#ifdef IND -#undef IND -#endif -#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA -#define IND "seconds" - part { - name: IND; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - rel1 { - relative: 0.1 0.1; - } - rel2 { - relative: 0.9 0.9; - } - image { - normal: "e17_clock_"IND"_00.png"; - } - } -#ifdef HAND -#undef HAND -#endif -#define HAND(num) \ - description { \ - state: num 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "e17_clock_"IND"_"num".png"; \ - } \ - } - HAND("00") - HAND("01") - HAND("02") - HAND("03") - HAND("04") - HAND("05") - HAND("06") - HAND("07") - HAND("08") - HAND("09") - HAND("10") - HAND("11") - HAND("12") - HAND("13") - HAND("14") - HAND("15") - HAND("16") - HAND("17") - HAND("18") - HAND("19") - HAND("20") - HAND("21") - HAND("22") - HAND("23") - HAND("24") - HAND("25") - HAND("26") - HAND("27") - HAND("28") - HAND("29") - HAND("30") - HAND("31") - HAND("32") - HAND("33") - HAND("34") - HAND("35") - HAND("36") - HAND("37") - HAND("38") - HAND("39") - HAND("40") - HAND("41") - HAND("42") - HAND("43") - HAND("44") - HAND("45") - HAND("46") - HAND("47") - HAND("48") - HAND("49") - HAND("50") - HAND("51") - HAND("52") - HAND("53") - HAND("54") - HAND("55") - HAND("56") - HAND("57") - HAND("58") - HAND("59") - } -#endif -#ifdef IND -#undef IND -#endif -#define IND "minutes" - part { - name: IND; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - rel1 { - relative: 0.1 0.1; - } - rel2 { - relative: 0.9 0.9; - } - image { - normal: "e17_clock_"IND"_00.png"; - } - } -#ifdef HAND -#undef HAND -#endif -#define HAND(num) \ - description { \ - state: num 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "e17_clock_"IND"_"num".png"; \ - } \ - } - HAND("00") - HAND("01") - HAND("02") - HAND("03") - HAND("04") - HAND("05") - HAND("06") - HAND("07") - HAND("08") - HAND("09") - HAND("10") - HAND("11") - HAND("12") - HAND("13") - HAND("14") - HAND("15") - HAND("16") - HAND("17") - HAND("18") - HAND("19") - HAND("20") - HAND("21") - HAND("22") - HAND("23") - HAND("24") - HAND("25") - HAND("26") - HAND("27") - HAND("28") - HAND("29") - HAND("30") - HAND("31") - HAND("32") - HAND("33") - HAND("34") - HAND("35") - HAND("36") - HAND("37") - HAND("38") - HAND("39") - HAND("40") - HAND("41") - HAND("42") - HAND("43") - HAND("44") - HAND("45") - HAND("46") - HAND("47") - HAND("48") - HAND("49") - HAND("50") - HAND("51") - HAND("52") - HAND("53") - HAND("54") - HAND("55") - HAND("56") - HAND("57") - HAND("58") - HAND("59") - } -#ifdef IND -#undef IND -#endif -#define IND "hour" - part { - name: IND; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - rel1 { - relative: 0.2 0.2; - } - rel2 { - relative: 0.8 0.8; - } - image { - normal: "e17_clock_"IND"_00.png"; - } - } -#ifdef HAND -#undef HAND -#endif -#define HAND(num) \ - description { \ - state: num 0.0; \ - inherit: "default" 0.0; \ - image { \ - normal: "e17_clock_"IND"_"num".png"; \ - } \ - } - HAND("00") - HAND("01") - HAND("02") - HAND("03") - HAND("04") - HAND("05") - HAND("06") - HAND("07") - HAND("08") - HAND("09") - HAND("10") - HAND("11") - HAND("12") - HAND("13") - HAND("14") - HAND("15") - HAND("16") - HAND("17") - HAND("18") - HAND("19") - HAND("20") - HAND("21") - HAND("22") - HAND("23") - HAND("24") - HAND("25") - HAND("26") - HAND("27") - HAND("28") - HAND("29") - HAND("30") - HAND("31") - HAND("32") - HAND("33") - HAND("34") - HAND("35") - HAND("36") - HAND("37") - HAND("38") - HAND("39") - HAND("40") - HAND("41") - HAND("42") - HAND("43") - HAND("44") - HAND("45") - HAND("46") - HAND("47") - HAND("48") - HAND("49") - HAND("50") - HAND("51") - HAND("52") - HAND("53") - HAND("54") - HAND("55") - HAND("56") - HAND("57") - HAND("58") - HAND("59") - } - part { - name: "fg"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "bg"; - } - rel2 { - to: "bg"; - } - image { - normal: "e17_clock_fg.png"; - } - } - } - } - programs { - program { - name: "init"; - signal: "load"; - source: ""; - script { - clock_cb(0); - } - } - } - } - group { - name: "modules/battery/main"; - max: 128 128; - script { - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT) && (id == 1)) { - new Float:val; - val = getfarg(2); - set_state(PART:"battery", "default", val); - } - } - } - parts { - part { - name: "battery"; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - aspect: 0.669291339 0.669291339; - align: 0.0 0.5; - max: 85 127; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - image { - normal: "e17_battery_000.png"; - } - } - description { - state: "default" 0.1; - inherit: "default" 0.0; - image { - normal: "e17_battery_010.png"; - } - } - description { - state: "default" 0.2; - inherit: "default" 0.0; - image { - normal: "e17_battery_020.png"; - } - } - description { - state: "default" 0.3; - inherit: "default" 0.0; - image { - normal: "e17_battery_030.png"; - } - } - description { - state: "default" 0.4; - inherit: "default" 0.0; - image { - normal: "e17_battery_040.png"; - } - } - description { - state: "default" 0.5; - inherit: "default" 0.0; - image { - normal: "e17_battery_050.png"; - } - } - description { - state: "default" 0.6; - inherit: "default" 0.0; - image { - normal: "e17_battery_060.png"; - } - } - description { - state: "default" 0.7; - inherit: "default" 0.0; - image { - normal: "e17_battery_070.png"; - } - } - description { - state: "default" 0.8; - inherit: "default" 0.0; - image { - normal: "e17_battery_080.png"; - } - } - description { - state: "default" 0.9; - inherit: "default" 0.0; - image { - normal: "e17_battery_090.png"; - } - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - image { - normal: "e17_battery_100.png"; - } - } - } - part { - name: "reading"; - type: TEXT; - effect: SOFT_SHADOW; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "battery"; - } - rel2 { - relative: 1.0 0.0; - } - color: 255 255 255 255; - color3: 0 0 0 32; - text { - text: "100%"; - font: "Edje Vera"; - size: 7; - min: 1 1; - align: 1.0 0.0; - } - } - } - part { - name: "time"; - type: TEXT; - effect: SOFT_SHADOW; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1 { - relative: 1.0 1.0; - to_x: "battery"; - to_y: "reading"; - } - rel2 { - relative: 1.0 1.0; - to_y: "reading"; - } - color: 255 255 255 255; - color3: 0 0 0 32; - text { - text: "00:00"; - font: "Edje Vera"; - size: 7; - min: 1 1; - align: 1.0 0.0; - } - } - } - part { - name: "ac"; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - aspect: 0.975609756 0.975609756; - align: 1.0 1.0; - max: 40 41; - visible: 0; - rel1 { - relative: 0.5 0.5; - } - rel2 { - relative: 1.0 1.0; - } - image { - normal: "e17_battery_ac.png"; - } - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "fade_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "faded" 0.0; - color: 255 255 255 128; - } - } - } - programs { - program { - name: "charge"; - signal: "charge"; - source: ""; - action: STATE_SET "default" 0.0; - target: "fade_clip"; - } - program { - name: "charge2"; - signal: "charge"; - source: ""; - action: STATE_SET "active" 0.0; - target: "ac"; - } - program { - name: "discharge"; - signal: "discharge"; - source: ""; - action: STATE_SET "default" 0.0; - target: "fade_clip"; - } - program { - name: "discharge2"; - signal: "discharge"; - source: ""; - action: STATE_SET "default" 0.0; - target: "ac"; - } - program { - name: "unknown"; - signal: "unknown"; - source: ""; - action: STATE_SET "faded" 0.0; - target: "fade_clip"; - } - } - } - group { - name: "modules/temperature/main"; - max: 128 128; - script { - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT) && (id == 1)) { - new Float:val; - val = getfarg(2); - set_drag(PART:"temp_top", 0.0, val); - } - } - } - parts { - part { - name: "base"; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - aspect: 0.387 0.387; - align: 0.0 0.5; - max: 48 124; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - image { - normal: "e17_temperature_base.png"; - } - } - } - part { - name: "temp"; - clip_to: "temp_clip"; - description { - state: "default" 0.0; - rel1 { - to: "base"; - } - rel2 { - to: "base"; - } - image { - normal: "e17_temperature_mid.png"; - } - } - } - part { - name: "overlay"; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - rel1 { - to: "base"; - } - rel2 { - to: "base"; - } - image { - normal: "e17_temperature_overlay.png"; - } - } - } - part { - name: "reading"; - type: TEXT; - effect: SOFT_SHADOW; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "temp"; - } - rel2 { - relative: 1.0 0.0; - } - color: 255 255 255 255; - color3: 0 0 0 32; - text { - text: "99^C"; - font: "Edje Vera"; - size: 7; - min: 1 1; - align: 0.0 0.0; - } - } - } - part { - name: "fade_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "faded" 0.0; - color: 255 255 255 128; - } - } - part { -// +10 -46 / 124 - name: "temp_clip"; - type: RECT; - clip_to: "fade_clip"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to_x: "base"; - to_y: "temp_top"; - } - rel2 { - to: "base"; - } - } - } - part { -// +10 -46 / 124 - name: "temp_top"; - type: RECT; - dragable { - x: 0 0 0; - y: -1 1 0; - confine: "temp_limit"; - } - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - } - } - part { -// +10 -46 / 124 - name: "temp_limit"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.081; - to: "base"; - } - rel2 { - relative: 1.0 0.637; - to: "base"; - } - } - } - } - programs { - program { - name: "known"; - signal: "known"; - source: ""; - action: STATE_SET "default" 0.0; - target: "fade_clip"; - } - program { - name: "unknown"; - signal: "unknown"; - source: ""; - action: STATE_SET "faded" 0.0; - target: "fade_clip"; - } - } - } - - group { - name: "modules/pager/screen"; - parts { - part { - name: "background"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - min: 18 18; - max: 18 18; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "overlay"; - 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; - } - image { - normal: "e17_pager_screen.png"; - border: 7 7 7 7; - } - } - } - } - } - group { - name: "modules/pager/desk"; - parts { - part { - name: "background"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "overlay"; - 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; - } - image { - normal: "e17_pager_desk.png"; - border: 2 2 2 2; - } - } - } - } - } - group { - name: "modules/pager/window"; - parts { - part { - name: "background"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 0; - } - } - part { - name: "overlay"; - 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; - } - image { - normal: "e17_pager_window.png"; - border: 4 4 4 4; - } - } - } - } - } +#include "default_background.edc" +#include "default_border.edc" +#include "default_menu.edc" +#include "default_ibar.edc" +#include "default_clock.edc" +#include "default_battery.edc" +#include "default_temperature.edc" +#include "default_pager.edc" } diff --git a/data/themes/default_background.edc b/data/themes/default_background.edc new file mode 100644 index 000000000..78d91c68e --- /dev/null +++ b/data/themes/default_background.edc @@ -0,0 +1,33 @@ +images { + image: "e17_brushed.png" COMP; + image: "e17_"SM"reflection_shadow_overlay.png" LOSSY 70; +} +group { + name: "desktop/background"; + parts { + part { + name: "background_image"; + description { + state: "default" 0.0; + image { + normal: "e17_brushed.png"; + } + fill { + size { + relative: 0 0; + offset: 400 300; + } + } + } + } + part { + name: "reflection_shadow_overlay"; + description { + state: "default" 0.0; + image { + normal: "e17_"SM"reflection_shadow_overlay.png"; + } + } + } + } +} diff --git a/data/themes/default_battery.edc b/data/themes/default_battery.edc new file mode 100644 index 000000000..106181cf8 --- /dev/null +++ b/data/themes/default_battery.edc @@ -0,0 +1,247 @@ +images { + image: "e17_battery_000.png" COMP; + image: "e17_battery_010.png" COMP; + image: "e17_battery_020.png" COMP; + image: "e17_battery_030.png" COMP; + image: "e17_battery_040.png" COMP; + image: "e17_battery_050.png" COMP; + image: "e17_battery_060.png" COMP; + image: "e17_battery_070.png" COMP; + image: "e17_battery_080.png" COMP; + image: "e17_battery_090.png" COMP; + image: "e17_battery_100.png" COMP; + image: "e17_battery_ac.png" COMP; +} +group { + name: "modules/battery/main"; + max: 128 128; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT) && (id == 1)) { + new Float:val; + val = getfarg(2); + set_state(PART:"battery", "default", val); + } + } + } + parts { + part { + name: "battery"; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + aspect: 0.669291339 0.669291339; + align: 0.0 0.5; + max: 85 127; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + image { + normal: "e17_battery_000.png"; + } + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + image { + normal: "e17_battery_010.png"; + } + } + description { + state: "default" 0.2; + inherit: "default" 0.0; + image { + normal: "e17_battery_020.png"; + } + } + description { + state: "default" 0.3; + inherit: "default" 0.0; + image { + normal: "e17_battery_030.png"; + } + } + description { + state: "default" 0.4; + inherit: "default" 0.0; + image { + normal: "e17_battery_040.png"; + } + } + description { + state: "default" 0.5; + inherit: "default" 0.0; + image { + normal: "e17_battery_050.png"; + } + } + description { + state: "default" 0.6; + inherit: "default" 0.0; + image { + normal: "e17_battery_060.png"; + } + } + description { + state: "default" 0.7; + inherit: "default" 0.0; + image { + normal: "e17_battery_070.png"; + } + } + description { + state: "default" 0.8; + inherit: "default" 0.0; + image { + normal: "e17_battery_080.png"; + } + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + image { + normal: "e17_battery_090.png"; + } + } + description { + state: "default" 1.0; + inherit: "default" 0.0; + image { + normal: "e17_battery_100.png"; + } + } + } + part { + name: "reading"; + type: TEXT; + effect: SOFT_SHADOW; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "battery"; + } + rel2 { + relative: 1.0 0.0; + } + color: 255 255 255 255; + color3: 0 0 0 32; + text { + text: "100%"; + font: "Edje Vera"; + size: 7; + min: 1 1; + align: 1.0 0.0; + } + } + } + part { + name: "time"; + type: TEXT; + effect: SOFT_SHADOW; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1 { + relative: 1.0 1.0; + to_x: "battery"; + to_y: "reading"; + } + rel2 { + relative: 1.0 1.0; + to_y: "reading"; + } + color: 255 255 255 255; + color3: 0 0 0 32; + text { + text: "00:00"; + font: "Edje Vera"; + size: 7; + min: 1 1; + align: 1.0 0.0; + } + } + } + part { + name: "ac"; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + aspect: 0.975609756 0.975609756; + align: 1.0 1.0; + max: 40 41; + visible: 0; + rel1 { + relative: 0.5 0.5; + } + rel2 { + relative: 1.0 1.0; + } + image { + normal: "e17_battery_ac.png"; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "fade_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "faded" 0.0; + color: 255 255 255 128; + } + } + } + programs { + program { + name: "charge"; + signal: "charge"; + source: ""; + action: STATE_SET "default" 0.0; + target: "fade_clip"; + } + program { + name: "charge2"; + signal: "charge"; + source: ""; + action: STATE_SET "active" 0.0; + target: "ac"; + } + program { + name: "discharge"; + signal: "discharge"; + source: ""; + action: STATE_SET "default" 0.0; + target: "fade_clip"; + } + program { + name: "discharge2"; + signal: "discharge"; + source: ""; + action: STATE_SET "default" 0.0; + target: "ac"; + } + program { + name: "unknown"; + signal: "unknown"; + source: ""; + action: STATE_SET "faded" 0.0; + target: "fade_clip"; + } + } +} \ No newline at end of file diff --git a/data/themes/default_border.edc b/data/themes/default_border.edc new file mode 100644 index 000000000..3ba76d046 --- /dev/null +++ b/data/themes/default_border.edc @@ -0,0 +1,1665 @@ +images { + image: "e17_border1.png" COMP; + image: "e17_border2.png" COMP; + image: "e17_border3.png" COMP; + image: "e17_border4.png" COMP; + image: "e17_border5.png" COMP; + image: "e17_border6.png" COMP; + image: "e17_border7.png" COMP; + image: "e17_titlebar_outline.png" COMP; + image: "e17_titlebar.png" COMP; + image: "e17_titlebar_shadow1.png" COMP; + image: "e17_titlebar_shadow2.png" COMP; + image: "e17_titlebar_glint1.png" COMP; + image: "e17_titlebar_glint2.png" COMP; + image: "e17_titlebar_glint3.png" COMP; + image: "e17_button_detail_close.png" COMP; + image: "e17_button_detail_maximize.png" COMP; + image: "e17_button_detail_minimize.png" COMP; + image: "e17_mini_button.png" COMP; + image: "e17_mini_button_shadow1.png" COMP; + image: "e17_mini_button_shadow2.png" COMP; +} +group { + name: "widgets/border/default/border"; + data { + // item: "client_inset" "4 4 24 4"; + } + parts { + part { + name: "title2"; + type: TEXT; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 7; + } + rel2 { + relative: 0.0 0.0; + offset: 0 7; + } + text { + text_source: "title_text"; + source: "title_text"; + min: 0 1; + } + } + } + part { + name: "t1"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 1.0; + offset: 0 5; + to_y: "title2"; + } + image { + normal: "e17_border1.png"; + border: 6 2 3 3; + } + } + } + part { + name: "t2"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 0 1; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to: "t1"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to: "t3"; + } + image { + normal: "e17_border2.png"; + border: 2 2 3 3; + } + } + } + part { + name: "t3"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to_x: "button_2"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 5; + to_y: "title2"; + } + image { + normal: "e17_border3.png"; + border: 3 6 3 3; + } + } + } + part { + name: "b1"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + offset: -4 0; + to_y: "t3"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to_y: "b2"; + } + image { + normal: "e17_border4.png"; + } + fill { + smooth: 0; + } + } + } + part { + name: "b2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + offset: -4 -4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_border5.png"; + } + } + } + part { + name: "b3"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to: "b4"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to: "b2"; + } + image { + normal: "e17_border6.png"; + } + fill { + smooth: 0; + } + } + } + part { + name: "b4"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -4; + } + rel2 { + relative: 0.0 1.0; + offset: 3 -1; + } + image { + normal: "e17_border7.png"; + } + } + } + part { + name: "b5"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_y: "t1"; + } + rel2 { + relative: 0.0 0.0; + offset: 3 -1; + to_y: "b4"; + } + image { + normal: "e17_border4.png"; + } + fill { + smooth: 0; + } + } + } + part { + name: "title_outline"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 14 14; + visible: 1; + rel1 { + relative: 1.0 0.0; + offset: 0 -7; + to_x: "t1"; + to_y: "title2"; + } + rel2 { + relative: 0.0 1.0; + offset: -2 4; + to_x: "t3"; + to_y: "title2"; + } + image { + normal: "e17_titlebar_outline.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + description { + state: "active" 0.0; + min: 14 14; + visible: 0; + rel1 { + relative: 1.0 0.0; + offset: 0 -7; + to_x: "t1"; + to_y: "title2"; + } + rel2 { + relative: 0.0 1.0; + offset: -2 4; + to_x: "t3"; + to_y: "title2"; + } + image { + normal: "e17_titlebar_outline.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "title_shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + description { + state: "active" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + } + part { + name: "title_shadow1"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + description { + state: "active" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + } + part { + name: "title_bar"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + description { + state: "active" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + } + part { + name: "title_text"; + type: TEXT; + effect: SHADOW; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + offset: 9 7; + to_x: "t1"; + } + rel2 { + relative: 0.0 0.0; + offset: -10 7; + to_x: "t3"; + } + color: 0 0 0 255; + color3: 255 255 255 128; + text { + text: ""; + font: "Edje Vera"; + size: 10; + min: 0 1; + align: 0.0 0.5; + } + } + } + part { + name: "title_glint_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + offset: 3 3; + to: "title_bar"; + } + rel2 { + offset: -4 -4; + to: "title_bar"; + } + color: 255 255 255 255; + } + } + part { + name: "title_glint_1"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + align: 0.0 0.0; + max: 34 13; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + to: "title_bar"; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + to: "title_bar"; + } + image { + normal: "e17_titlebar_glint1.png"; + border: 5 0 5 0; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "title_glint_2"; + mouse_events: 0; + clip_to: "title_glint_clip"; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + max: 0 0; + align: 1.0 0.5; + rel1 { + relative: 0.0 0.0; + offset: 3 3; + to: "title_bar"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -4; + to: "title_bar"; + } + image { + normal: "e17_titlebar_glint2.png"; + border: 0 0 5 5; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + max: 169 9999; + min: 169 8; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 3 3; + } + rel2 { + relative: 0.0 1.0; + offset: 3 -4; + } + } + description { + state: "active2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 128; + max: 169 9999; + min: 169 8; + align: 0.5 0.5; + rel1 { + relative: 1.0 0.0; + offset: -4 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + } + } + description { + state: "active3" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + max: 169 9999; + min: 169 8; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + offset: -4 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + } + } + } + part { + name: "title_glint_3"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + align: 1.0 1.0; + max: 34 13; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + to: "title_bar"; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + to: "title_bar"; + } + image { + normal: "e17_titlebar_glint3.png"; + border: 0 5 0 5; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "button_0_shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_0_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_0_bg"; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + description { + state: "active" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_0_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_0_bg"; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "button_1_shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_1_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_1_bg"; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 8 8 8 8; + } + } + description { + state: "active" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_1_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_1_bg"; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "button_2_shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_2_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_2_bg"; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 8 8 8 8; + } + } + description { + state: "active" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_2_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_2_bg"; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "button_0_shadow1"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_0_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_0_bg"; + } + image { + normal: "e17_mini_button_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + description { + state: "active" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_0_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_0_bg"; + } + image { + normal: "e17_mini_button_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "button_1_shadow1"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_1_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_1_bg"; + } + image { + normal: "e17_mini_button_shadow1.png"; + border: 8 8 8 8; + } + } + description { + state: "active" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_1_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_1_bg"; + } + image { + normal: "e17_mini_button_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "button_2_shadow1"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_2_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_2_bg"; + } + image { + normal: "e17_mini_button_shadow1.png"; + border: 8 8 8 8; + } + } + description { + state: "active" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_2_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_2_bg"; + } + image { + normal: "e17_mini_button_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "button_0_bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_0"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_0"; + } + image { + normal: "e17_mini_button.png"; + border: 8 8 8 8; + } + } + description { + state: "active" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 1 1; + to: "button_0"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 0; + to: "button_0"; + } + image { + normal: "e17_mini_button.png"; + border: 8 8 8 8; + } + } + } + part { + name: "button_1_bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_1"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_1"; + } + image { + normal: "e17_mini_button.png"; + border: 8 8 8 8; + } + } + description { + state: "active" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 1 1; + to: "button_1"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 0; + to: "button_1"; + } + image { + normal: "e17_mini_button.png"; + border: 8 8 8 8; + } + } + } + part { + name: "button_2_bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "button_2"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "button_2"; + } + image { + normal: "e17_mini_button.png"; + border: 8 8 8 8; + } + } + description { + state: "active" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 1 1; + to: "button_2"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 0; + to: "button_2"; + } + image { + normal: "e17_mini_button.png"; + border: 8 8 8 8; + } + } + } + part { + name: "button_0_detail"; + mouse_events: 0; + description { + state: "default" 0.0; + max: 16 16; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + to: "button_0_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + to: "button_0_bg"; + } + image { + normal: "e17_button_detail_close.png"; + } + } + } + part { + name: "button_1_detail"; + mouse_events: 0; + description { + state: "default" 0.0; + max: 16 16; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + to: "button_1_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + to: "button_1_bg"; + } + image { + normal: "e17_button_detail_maximize.png"; + } + } + } + part { + name: "button_2_detail"; + mouse_events: 0; + description { + state: "default" 0.0; + max: 16 16; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + to: "button_2_bg"; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + to: "button_2_bg"; + } + image { + normal: "e17_button_detail_minimize.png"; + } + } + } + part { + name: "client"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 4 0; + to: "t1"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to: "b2"; + } + color: 0 0 0 0; + } + } + part { + name: "icon_swallow"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + to: "t1"; + } + rel2 { + relative: 1.0 1.0; + offset: -2 -3; + to: "t1"; + } + color: 0 0 0 0; + } + } + part { + name: "resize_l"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_y: "t1"; + } + rel2 { + relative: 0.0 1.0; + offset: 3 -1; + } + color: 0 0 0 0; + } + } + part { + name: "resize_r"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + offset: -4 0; + to_y: "t3"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "resize_b"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -4; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "resize_bl"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -24; + } + rel2 { + relative: 0.0 1.0; + offset: 23 -1; + } + color: 0 0 0 0; + } + } + part { + name: "resize_br"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + offset: -24 -24; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "icon"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + to: "icon_swallow"; + } + rel2 { + to: "icon_swallow"; + } + color: 0 0 0 0; + } + } + part { + name: "button_0"; + type: RECT; + description { + state: "default" 0.0; + align: 1.0 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: 0 5; + to_y: "title2"; + } + color: 0 0 0 0; + } + } + part { + name: "button_1"; + type: RECT; + description { + state: "default" 0.0; + align: 1.0 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 0.0 0.0; + offset: 3 0; + to: "button_0"; + } + rel2 { + relative: 0.0 1.0; + offset: 3 -1; + to: "button_0"; + } + color: 0 0 0 0; + } + } + part { + name: "button_2"; + type: RECT; + description { + state: "default" 0.0; + align: 1.0 0.0; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + rel1 { + relative: 0.0 0.0; + offset: 3 0; + to: "button_1"; + } + rel2 { + relative: 0.0 1.0; + offset: 3 -1; + to: "button_1"; + } + color: 0 0 0 0; + } + } + part { + name: "title"; + type: RECT; + description { + state: "default" 0.0; + rel1 { + to: "title_bar"; + } + rel2 { + to: "title_bar"; + } + color: 0 0 0 0; + } + } + } + programs { +/* + program { + name: "TESTIES"; + signal: "show"; + source: ""; + action: SIGNAL_EMIT "active" ""; + } + */ + program { + name: "move_window1"; + signal: "mouse,down,1"; + source: "title"; + action: SIGNAL_EMIT "move_start" "mouse,1"; + } + program { + name: "move_window2"; + signal: "mouse,up,1"; + source: "title"; + action: SIGNAL_EMIT "move_stop" "mouse,1"; + } + program { + name: "resize_window_tl1"; + signal: "mouse,down,1"; + source: "resize_tl"; + action: SIGNAL_EMIT "resize_tl_start" "mouse,1"; + } + program { + name: "resize_window_tl2"; + signal: "mouse,up,1"; + source: "resize_tl"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "resize_window_t1"; + signal: "mouse,down,1"; + source: "resize_t"; + action: SIGNAL_EMIT "resize_t_start" "mouse,1"; + } + program { + name: "resize_window_t2"; + signal: "mouse,up,1"; + source: "resize_t"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "resize_window_tr1"; + signal: "mouse,down,1"; + source: "resize_tr"; + action: SIGNAL_EMIT "resize_tr_start" "mouse,1"; + } + program { + name: "resize_window_tr2"; + signal: "mouse,up,1"; + source: "resize_tr"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "resize_window_r1"; + signal: "mouse,down,1"; + source: "resize_r"; + action: SIGNAL_EMIT "resize_r_start" "mouse,1"; + } + program { + name: "resize_window_r2"; + signal: "mouse,up,1"; + source: "resize_r"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "resize_window_br1"; + signal: "mouse,down,1"; + source: "resize_br"; + action: SIGNAL_EMIT "resize_br_start" "mouse,1"; + } + program { + name: "resize_window_br2"; + signal: "mouse,up,1"; + source: "resize_br"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "resize_window_b1"; + signal: "mouse,down,1"; + source: "resize_b"; + action: SIGNAL_EMIT "resize_b_start" "mouse,1"; + } + program { + name: "resize_window_b2"; + signal: "mouse,up,1"; + source: "resize_b"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "resize_window_bl1"; + signal: "mouse,down,1"; + source: "resize_bl"; + action: SIGNAL_EMIT "resize_bl_start" "mouse,1"; + } + program { + name: "resize_window_bl2"; + signal: "mouse,up,1"; + source: "resize_bl"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "resize_window_l1"; + signal: "mouse,down,1"; + source: "resize_l"; + action: SIGNAL_EMIT "resize_l_start" "mouse,1"; + } + program { + name: "resize_window_l2"; + signal: "mouse,up,1"; + source: "resize_l"; + action: SIGNAL_EMIT "resize_stop" "mouse,1"; + } + program { + name: "menu_action"; + signal: "mouse,clicked,1"; + source: "icon"; + action: SIGNAL_EMIT "action" "menu"; + } + program { + name: "close_action"; + signal: "mouse,clicked,1"; + source: "button_0"; + action: SIGNAL_EMIT "action" "close"; + } + program { + name: "maximize_action"; + signal: "mouse,clicked,1"; + source: "button_1"; + action: SIGNAL_EMIT "action" "maximize"; + } + program { + name: "iconify_action"; + signal: "mouse,clicked,1"; + source: "button_2"; + action: SIGNAL_EMIT "action" "iconify"; + } + program { + name: "shade_action"; + signal: "mouse,down,1,double"; + source: "title"; + action: SIGNAL_EMIT "action" "shade"; + } + + program { + name: "go_active_pre"; + signal: "active"; + source: ""; + action: STATE_SET "default" 0.0; + target: "title_outline"; + target: "title_bar"; + target: "title_shadow1"; + target: "title_shadow2"; + after: "go_active"; + } + program { + name: "go_active"; + action: STATE_SET "active" 0.0; + target: "title_outline"; + target: "title_bar"; + transition: LINEAR 0.05; + after: "go_active2"; + } + program { + name: "go_active2"; + action: STATE_SET "active" 0.0; + target: "title_shadow1"; + transition: LINEAR 0.05; + after: "go_active3"; + after: "go_active3b"; + } + program { + name: "go_active3"; + action: STATE_SET "active" 0.0; + target: "title_shadow2"; + transition: LINEAR 0.05; + } + program { + name: "go_active3b"; + action: STATE_SET "active" 0.0; + target: "title_glint_1"; + target: "title_glint_2"; + transition: LINEAR 0.05; + after: "go_active4"; + after: "go_active4b"; + } + program { + name: "go_active4"; + action: STATE_SET "active2" 0.0; + target: "title_glint_2"; + transition: LINEAR 0.2; + after: "go_active5"; + after: "go_active5b"; + } + program { + name: "go_active4b"; + action: STATE_SET "active" 0.0; + target: "title_glint_3"; + transition: LINEAR 0.2; + } + program { + name: "go_active5"; + action: STATE_SET "active3" 0.0; + target: "title_glint_2"; + transition: LINEAR 0.05; + } + program { + name: "go_active5b"; + action: STATE_SET "default" 0.0; + target: "title_glint_3"; + transition: LINEAR 0.1; + after: "go_active6"; + } + program { + name: "go_active6"; + action: STATE_SET "default" 0.0; + target: "title_glint_1"; + target: "title_glint_2"; + target: "title_glint_3"; + } + + program { + name: "go_passive_pre"; + signal: "passive"; + source: ""; + action: STATE_SET "active" 0.0; + target: "title_outline"; + target: "title_bar"; + target: "title_shadow1"; + target: "title_shadow2"; + after: "go_passive"; + } + program { + name: "go_passive"; + action: STATE_SET "default" 0.0; + target: "title_shadow2"; + transition: LINEAR 0.1; + after: "go_passive2"; + } + program { + name: "go_passive2"; + action: STATE_SET "default" 0.0; + target: "title_shadow1"; + transition: LINEAR 0.1; + after: "go_passive3"; + } + program { + name: "go_passive3"; + action: STATE_SET "default" 0.0; + target: "title_outline"; + target: "title_bar"; + transition: LINEAR 0.1; + } + + program { + name: "button_0_active_pre"; + signal: "mouse,down,1"; + source: "button_0"; + action: STATE_SET "default" 0.0; + target: "button_0_shadow1"; + target: "button_0_shadow2"; + target: "button_0_bg"; + target: "button_0_detail"; + after: "button_0_active"; + after: "button_0_active_p"; + } + program { + name: "button_0_active"; + action: STATE_SET "active" 0.0; + target: "button_0_shadow2"; + transition: LINEAR 0.05; + after: "button_0_active2"; + } + program { + name: "button_0_active2"; + action: STATE_SET "active" 0.0; + target: "button_0_shadow1"; + transition: LINEAR 0.05; + } + program { + name: "button_0_active_p"; + action: STATE_SET "active" 0.0; + target: "button_0_bg"; + target: "button_0_detail"; + transition: LINEAR 0.1; + } + program { + name: "button_0_passive_pre"; + signal: "mouse,up,1"; + source: "button_0"; + action: STATE_SET "active" 0.0; + target: "button_0_shadow1"; + target: "button_0_shadow2"; + target: "button_0_bg"; + target: "button_0_detail"; + after: "button_0_passive"; + after: "button_0_passive_p"; + } + program { + name: "button_0_passive"; + action: STATE_SET "default" 0.0; + target: "button_0_shadow2"; + transition: LINEAR 0.1; + after: "button_0_passive2"; + } + program { + name: "button_0_passive2"; + action: STATE_SET "default" 0.0; + target: "button_0_shadow1"; + transition: LINEAR 0.1; + } + program { + name: "button_0_passive_p"; + action: STATE_SET "default" 0.0; + target: "button_0_bg"; + target: "button_0_detail"; + transition: LINEAR 0.2; + } + + program { + name: "button_1_active_pre"; + signal: "mouse,down,1"; + source: "button_1"; + action: STATE_SET "default" 0.0; + target: "button_1_shadow1"; + target: "button_1_shadow2"; + target: "button_1_bg"; + target: "button_1_detail"; + after: "button_1_active"; + after: "button_1_active_p"; + } + program { + name: "button_1_active"; + action: STATE_SET "active" 0.0; + target: "button_1_shadow2"; + transition: LINEAR 0.05; + after: "button_1_active2"; + } + program { + name: "button_1_active2"; + action: STATE_SET "active" 0.0; + target: "button_1_shadow1"; + transition: LINEAR 0.05; + } + program { + name: "button_1_active_p"; + action: STATE_SET "active" 0.0; + target: "button_1_bg"; + target: "button_1_detail"; + transition: LINEAR 0.1; + } + program { + name: "button_1_passive_pre"; + signal: "mouse,up,1"; + source: "button_1"; + action: STATE_SET "active" 0.0; + target: "button_1_shadow1"; + target: "button_1_shadow2"; + target: "button_1_bg"; + target: "button_1_detail"; + after: "button_1_passive"; + after: "button_1_passive_p"; + } + program { + name: "button_1_passive"; + action: STATE_SET "default" 0.0; + target: "button_1_shadow2"; + transition: LINEAR 0.1; + after: "button_1_passive2"; + } + program { + name: "button_1_passive2"; + action: STATE_SET "default" 0.0; + target: "button_1_shadow1"; + transition: LINEAR 0.1; + } + program { + name: "button_1_passive_p"; + action: STATE_SET "default" 0.0; + target: "button_1_bg"; + target: "button_1_detail"; + transition: LINEAR 0.2; + } + + program { + name: "button_2_active_pre"; + signal: "mouse,down,1"; + source: "button_2"; + action: STATE_SET "default" 0.0; + target: "button_2_shadow1"; + target: "button_2_shadow2"; + target: "button_2_bg"; + target: "button_2_detail"; + after: "button_2_active"; + after: "button_2_active_p"; + } + program { + name: "button_2_active"; + action: STATE_SET "active" 0.0; + target: "button_2_shadow2"; + transition: LINEAR 0.05; + after: "button_2_active2"; + } + program { + name: "button_2_active2"; + action: STATE_SET "active" 0.0; + target: "button_2_shadow1"; + transition: LINEAR 0.05; + } + program { + name: "button_2_active_p"; + action: STATE_SET "active" 0.0; + target: "button_2_bg"; + target: "button_2_detail"; + transition: LINEAR 0.1; + } + program { + name: "button_2_passive_pre"; + signal: "mouse,up,1"; + source: "button_2"; + action: STATE_SET "active" 0.0; + target: "button_2_shadow1"; + target: "button_2_shadow2"; + target: "button_2_bg"; + target: "button_2_detail"; + after: "button_2_passive"; + after: "button_2_passive_p"; + } + program { + name: "button_2_passive"; + action: STATE_SET "default" 0.0; + target: "button_2_shadow2"; + transition: LINEAR 0.1; + after: "button_2_passive2"; + } + program { + name: "button_2_passive2"; + action: STATE_SET "default" 0.0; + target: "button_2_shadow1"; + transition: LINEAR 0.1; + } + program { + name: "button_2_passive_p"; + action: STATE_SET "default" 0.0; + target: "button_2_bg"; + target: "button_2_detail"; + transition: LINEAR 0.2; + } + } +} \ No newline at end of file diff --git a/data/themes/default_clock.edc b/data/themes/default_clock.edc new file mode 100644 index 000000000..fcb60780c --- /dev/null +++ b/data/themes/default_clock.edc @@ -0,0 +1,535 @@ +images { + image: "e17_clock_bg.png" COMP; + image: "e17_clock_fg.png" COMP; + image: "e17_clock_seconds_00.png" COMP; + image: "e17_clock_seconds_01.png" COMP; + image: "e17_clock_seconds_02.png" COMP; + image: "e17_clock_seconds_03.png" COMP; + image: "e17_clock_seconds_04.png" COMP; + image: "e17_clock_seconds_05.png" COMP; + image: "e17_clock_seconds_06.png" COMP; + image: "e17_clock_seconds_07.png" COMP; + image: "e17_clock_seconds_08.png" COMP; + image: "e17_clock_seconds_09.png" COMP; + image: "e17_clock_seconds_10.png" COMP; + image: "e17_clock_seconds_11.png" COMP; + image: "e17_clock_seconds_12.png" COMP; + image: "e17_clock_seconds_13.png" COMP; + image: "e17_clock_seconds_14.png" COMP; + image: "e17_clock_seconds_15.png" COMP; + image: "e17_clock_seconds_16.png" COMP; + image: "e17_clock_seconds_17.png" COMP; + image: "e17_clock_seconds_18.png" COMP; + image: "e17_clock_seconds_19.png" COMP; + image: "e17_clock_seconds_20.png" COMP; + image: "e17_clock_seconds_21.png" COMP; + image: "e17_clock_seconds_22.png" COMP; + image: "e17_clock_seconds_23.png" COMP; + image: "e17_clock_seconds_24.png" COMP; + image: "e17_clock_seconds_25.png" COMP; + image: "e17_clock_seconds_26.png" COMP; + image: "e17_clock_seconds_27.png" COMP; + image: "e17_clock_seconds_28.png" COMP; + image: "e17_clock_seconds_29.png" COMP; + image: "e17_clock_seconds_30.png" COMP; + image: "e17_clock_seconds_31.png" COMP; + image: "e17_clock_seconds_32.png" COMP; + image: "e17_clock_seconds_33.png" COMP; + image: "e17_clock_seconds_34.png" COMP; + image: "e17_clock_seconds_35.png" COMP; + image: "e17_clock_seconds_36.png" COMP; + image: "e17_clock_seconds_37.png" COMP; + image: "e17_clock_seconds_38.png" COMP; + image: "e17_clock_seconds_39.png" COMP; + image: "e17_clock_seconds_40.png" COMP; + image: "e17_clock_seconds_41.png" COMP; + image: "e17_clock_seconds_42.png" COMP; + image: "e17_clock_seconds_43.png" COMP; + image: "e17_clock_seconds_44.png" COMP; + image: "e17_clock_seconds_45.png" COMP; + image: "e17_clock_seconds_46.png" COMP; + image: "e17_clock_seconds_47.png" COMP; + image: "e17_clock_seconds_48.png" COMP; + image: "e17_clock_seconds_49.png" COMP; + image: "e17_clock_seconds_50.png" COMP; + image: "e17_clock_seconds_51.png" COMP; + image: "e17_clock_seconds_52.png" COMP; + image: "e17_clock_seconds_53.png" COMP; + image: "e17_clock_seconds_54.png" COMP; + image: "e17_clock_seconds_55.png" COMP; + image: "e17_clock_seconds_56.png" COMP; + image: "e17_clock_seconds_57.png" COMP; + image: "e17_clock_seconds_58.png" COMP; + image: "e17_clock_seconds_59.png" COMP; + image: "e17_clock_hour_00.png" COMP; + image: "e17_clock_hour_01.png" COMP; + image: "e17_clock_hour_02.png" COMP; + image: "e17_clock_hour_03.png" COMP; + image: "e17_clock_hour_04.png" COMP; + image: "e17_clock_hour_05.png" COMP; + image: "e17_clock_hour_06.png" COMP; + image: "e17_clock_hour_07.png" COMP; + image: "e17_clock_hour_08.png" COMP; + image: "e17_clock_hour_09.png" COMP; + image: "e17_clock_hour_10.png" COMP; + image: "e17_clock_hour_11.png" COMP; + image: "e17_clock_hour_12.png" COMP; + image: "e17_clock_hour_13.png" COMP; + image: "e17_clock_hour_14.png" COMP; + image: "e17_clock_hour_15.png" COMP; + image: "e17_clock_hour_16.png" COMP; + image: "e17_clock_hour_17.png" COMP; + image: "e17_clock_hour_18.png" COMP; + image: "e17_clock_hour_19.png" COMP; + image: "e17_clock_hour_20.png" COMP; + image: "e17_clock_hour_21.png" COMP; + image: "e17_clock_hour_22.png" COMP; + image: "e17_clock_hour_23.png" COMP; + image: "e17_clock_hour_24.png" COMP; + image: "e17_clock_hour_25.png" COMP; + image: "e17_clock_hour_26.png" COMP; + image: "e17_clock_hour_27.png" COMP; + image: "e17_clock_hour_28.png" COMP; + image: "e17_clock_hour_29.png" COMP; + image: "e17_clock_hour_30.png" COMP; + image: "e17_clock_hour_31.png" COMP; + image: "e17_clock_hour_32.png" COMP; + image: "e17_clock_hour_33.png" COMP; + image: "e17_clock_hour_34.png" COMP; + image: "e17_clock_hour_35.png" COMP; + image: "e17_clock_hour_36.png" COMP; + image: "e17_clock_hour_37.png" COMP; + image: "e17_clock_hour_38.png" COMP; + image: "e17_clock_hour_39.png" COMP; + image: "e17_clock_hour_40.png" COMP; + image: "e17_clock_hour_41.png" COMP; + image: "e17_clock_hour_42.png" COMP; + image: "e17_clock_hour_43.png" COMP; + image: "e17_clock_hour_44.png" COMP; + image: "e17_clock_hour_45.png" COMP; + image: "e17_clock_hour_46.png" COMP; + image: "e17_clock_hour_47.png" COMP; + image: "e17_clock_hour_48.png" COMP; + image: "e17_clock_hour_49.png" COMP; + image: "e17_clock_hour_50.png" COMP; + image: "e17_clock_hour_51.png" COMP; + image: "e17_clock_hour_52.png" COMP; + image: "e17_clock_hour_53.png" COMP; + image: "e17_clock_hour_54.png" COMP; + image: "e17_clock_hour_55.png" COMP; + image: "e17_clock_hour_56.png" COMP; + image: "e17_clock_hour_57.png" COMP; + image: "e17_clock_hour_58.png" COMP; + image: "e17_clock_hour_59.png" COMP; + image: "e17_clock_minutes_00.png" COMP; + image: "e17_clock_minutes_01.png" COMP; + image: "e17_clock_minutes_02.png" COMP; + image: "e17_clock_minutes_03.png" COMP; + image: "e17_clock_minutes_04.png" COMP; + image: "e17_clock_minutes_05.png" COMP; + image: "e17_clock_minutes_06.png" COMP; + image: "e17_clock_minutes_07.png" COMP; + image: "e17_clock_minutes_08.png" COMP; + image: "e17_clock_minutes_09.png" COMP; + image: "e17_clock_minutes_10.png" COMP; + image: "e17_clock_minutes_11.png" COMP; + image: "e17_clock_minutes_12.png" COMP; + image: "e17_clock_minutes_13.png" COMP; + image: "e17_clock_minutes_14.png" COMP; + image: "e17_clock_minutes_15.png" COMP; + image: "e17_clock_minutes_16.png" COMP; + image: "e17_clock_minutes_17.png" COMP; + image: "e17_clock_minutes_18.png" COMP; + image: "e17_clock_minutes_19.png" COMP; + image: "e17_clock_minutes_20.png" COMP; + image: "e17_clock_minutes_21.png" COMP; + image: "e17_clock_minutes_22.png" COMP; + image: "e17_clock_minutes_23.png" COMP; + image: "e17_clock_minutes_24.png" COMP; + image: "e17_clock_minutes_25.png" COMP; + image: "e17_clock_minutes_26.png" COMP; + image: "e17_clock_minutes_27.png" COMP; + image: "e17_clock_minutes_28.png" COMP; + image: "e17_clock_minutes_29.png" COMP; + image: "e17_clock_minutes_30.png" COMP; + image: "e17_clock_minutes_31.png" COMP; + image: "e17_clock_minutes_32.png" COMP; + image: "e17_clock_minutes_33.png" COMP; + image: "e17_clock_minutes_34.png" COMP; + image: "e17_clock_minutes_35.png" COMP; + image: "e17_clock_minutes_36.png" COMP; + image: "e17_clock_minutes_37.png" COMP; + image: "e17_clock_minutes_38.png" COMP; + image: "e17_clock_minutes_39.png" COMP; + image: "e17_clock_minutes_40.png" COMP; + image: "e17_clock_minutes_41.png" COMP; + image: "e17_clock_minutes_42.png" COMP; + image: "e17_clock_minutes_43.png" COMP; + image: "e17_clock_minutes_44.png" COMP; + image: "e17_clock_minutes_45.png" COMP; + image: "e17_clock_minutes_46.png" COMP; + image: "e17_clock_minutes_47.png" COMP; + image: "e17_clock_minutes_48.png" COMP; + image: "e17_clock_minutes_49.png" COMP; + image: "e17_clock_minutes_50.png" COMP; + image: "e17_clock_minutes_51.png" COMP; + image: "e17_clock_minutes_52.png" COMP; + image: "e17_clock_minutes_53.png" COMP; + image: "e17_clock_minutes_54.png" COMP; + image: "e17_clock_minutes_55.png" COMP; + image: "e17_clock_minutes_56.png" COMP; + image: "e17_clock_minutes_57.png" COMP; + image: "e17_clock_minutes_58.png" COMP; + image: "e17_clock_minutes_59.png" COMP; +} +group { + name: "modules/clock/main"; + script { + public clock_cb(val) { + new buf[11]; + new year, month, day, yearday, weekday, hour, minute; + new Float:second; + new v; + + date(year, month, day, yearday, weekday, hour, minute, second); + v = round(second); +#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA + timer(1.0 - (second - v), "clock_cb", 1); +#else + timer(10.0 - (second - v), "clock_cb", 1); +#endif +#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA + buf[0] = 0; + if (v < 10) {snprintf(buf, 10, "0%i", v);} + else {snprintf(buf, 10, "%i", v);} + set_state(PART:"seconds", buf, 0.0); +#endif + v = minute; + buf[0] = 0; + if (v < 10) {snprintf(buf, 10, "0%i", v);} + else {snprintf(buf, 10, "%i", v);} + set_state(PART:"minutes", buf, 0.0); + v = ((hour % 12) * 5) + ((minute * 5) / 60); + buf[0] = 0; + if (v < 10) {snprintf(buf, 10, "0%i", v);} + else {snprintf(buf, 10, "%i", v);} + set_state(PART:"hour", buf, 0.0); + } + } + parts { + part { + name: "bg"; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + image { + normal: "e17_clock_bg.png"; + } + } + } +#ifdef IND +# undef IND +#endif +#if E17_PROFILE != HIRES_PDA && E17_PROFILE != LOWRES_PDA && E17_PROFILE != MEDIUMRES_PDA +# define IND "seconds" + part { + name: IND; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + rel1 { + relative: 0.1 0.1; + } + rel2 { + relative: 0.9 0.9; + } + image { + normal: "e17_clock_"IND"_00.png"; + } + } +# ifdef HAND +# undef HAND +# endif +# define HAND(num) \ + description { \ + state: num 0.0; \ + inherit: "default" 0.0; \ + image { \ + normal: "e17_clock_"IND"_"num".png"; \ + } \ + } + HAND("00") + HAND("01") + HAND("02") + HAND("03") + HAND("04") + HAND("05") + HAND("06") + HAND("07") + HAND("08") + HAND("09") + HAND("10") + HAND("11") + HAND("12") + HAND("13") + HAND("14") + HAND("15") + HAND("16") + HAND("17") + HAND("18") + HAND("19") + HAND("20") + HAND("21") + HAND("22") + HAND("23") + HAND("24") + HAND("25") + HAND("26") + HAND("27") + HAND("28") + HAND("29") + HAND("30") + HAND("31") + HAND("32") + HAND("33") + HAND("34") + HAND("35") + HAND("36") + HAND("37") + HAND("38") + HAND("39") + HAND("40") + HAND("41") + HAND("42") + HAND("43") + HAND("44") + HAND("45") + HAND("46") + HAND("47") + HAND("48") + HAND("49") + HAND("50") + HAND("51") + HAND("52") + HAND("53") + HAND("54") + HAND("55") + HAND("56") + HAND("57") + HAND("58") + HAND("59") + } +#endif +#ifdef IND +# undef IND +#endif +#define IND "minutes" + part { + name: IND; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + rel1 { + relative: 0.1 0.1; + } + rel2 { + relative: 0.9 0.9; + } + image { + normal: "e17_clock_"IND"_00.png"; + } + } +#ifdef HAND +# undef HAND +#endif +#define HAND(num) \ + description { \ + state: num 0.0; \ + inherit: "default" 0.0; \ + image { \ + normal: "e17_clock_"IND"_"num".png"; \ + } \ + } + HAND("00") + HAND("01") + HAND("02") + HAND("03") + HAND("04") + HAND("05") + HAND("06") + HAND("07") + HAND("08") + HAND("09") + HAND("10") + HAND("11") + HAND("12") + HAND("13") + HAND("14") + HAND("15") + HAND("16") + HAND("17") + HAND("18") + HAND("19") + HAND("20") + HAND("21") + HAND("22") + HAND("23") + HAND("24") + HAND("25") + HAND("26") + HAND("27") + HAND("28") + HAND("29") + HAND("30") + HAND("31") + HAND("32") + HAND("33") + HAND("34") + HAND("35") + HAND("36") + HAND("37") + HAND("38") + HAND("39") + HAND("40") + HAND("41") + HAND("42") + HAND("43") + HAND("44") + HAND("45") + HAND("46") + HAND("47") + HAND("48") + HAND("49") + HAND("50") + HAND("51") + HAND("52") + HAND("53") + HAND("54") + HAND("55") + HAND("56") + HAND("57") + HAND("58") + HAND("59") + } +#ifdef IND +# undef IND +#endif +#define IND "hour" + part { + name: IND; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + rel1 { + relative: 0.2 0.2; + } + rel2 { + relative: 0.8 0.8; + } + image { + normal: "e17_clock_"IND"_00.png"; + } + } +#ifdef HAND +# undef HAND +#endif +#define HAND(num) \ + description { \ + state: num 0.0; \ + inherit: "default" 0.0; \ + image { \ + normal: "e17_clock_"IND"_"num".png"; \ + } \ + } + HAND("00") + HAND("01") + HAND("02") + HAND("03") + HAND("04") + HAND("05") + HAND("06") + HAND("07") + HAND("08") + HAND("09") + HAND("10") + HAND("11") + HAND("12") + HAND("13") + HAND("14") + HAND("15") + HAND("16") + HAND("17") + HAND("18") + HAND("19") + HAND("20") + HAND("21") + HAND("22") + HAND("23") + HAND("24") + HAND("25") + HAND("26") + HAND("27") + HAND("28") + HAND("29") + HAND("30") + HAND("31") + HAND("32") + HAND("33") + HAND("34") + HAND("35") + HAND("36") + HAND("37") + HAND("38") + HAND("39") + HAND("40") + HAND("41") + HAND("42") + HAND("43") + HAND("44") + HAND("45") + HAND("46") + HAND("47") + HAND("48") + HAND("49") + HAND("50") + HAND("51") + HAND("52") + HAND("53") + HAND("54") + HAND("55") + HAND("56") + HAND("57") + HAND("58") + HAND("59") + } + part { + name: "fg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "bg"; + } + rel2 { + to: "bg"; + } + image { + normal: "e17_clock_fg.png"; + } + } + } + } + programs { + program { + name: "init"; + signal: "load"; + source: ""; + script { + clock_cb(0); + } + } + } +} \ No newline at end of file diff --git a/data/themes/default_ibar.edc b/data/themes/default_ibar.edc new file mode 100644 index 000000000..3aec44128 --- /dev/null +++ b/data/themes/default_ibar.edc @@ -0,0 +1,2089 @@ +images { + image: "e17_ibar_arrow_d.png" COMP; + image: "e17_ibar_arrow_l.png" COMP; + image: "e17_ibar_arrow_r.png" COMP; + image: "e17_ibar_arrow_u.png" COMP; + image: "e17_ibar_bg_h.png" COMP; + image: "e17_ibar_bg_v.png" COMP; + image: "e17_ibar_handle_h.png" COMP; + image: "e17_ibar_handle_h2.png" COMP; + image: "e17_ibar_handle_thumb_h.png" COMP; + image: "e17_ibar_handle_thumb_v.png" COMP; + image: "e17_ibar_handle_v.png" COMP; + image: "e17_ibar_handle_v2.png" COMP; + image: "e17_ibar_lamp_d.png" COMP; + image: "e17_ibar_lamp_l.png" COMP; + image: "e17_ibar_lamp_r.png" COMP; + image: "e17_ibar_lamp_u.png" COMP; + image: "e17_ibar_over_h.png" COMP; + image: "e17_ibar_over_v.png" COMP; +} +group { + name: "modules/ibar/main"; + data { + // item: "item_list", "item item2 item3"; + } + script { + public orient; + } + parts { + part { + name: "background"; + mouse_events: 1; + clip_to: "items_clip"; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + to: "overlay"; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + to: "overlay"; + } + image { + normal: "e17_ibar_bg_h.png"; + } + fill { + smooth: 0; + } + } + description { + state: "vert" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + to: "overlay"; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + to: "overlay"; + } + image { + normal: "e17_ibar_bg_v.png"; + } + fill { + smooth: 0; + } + } + } + part { + name: "items_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "background"; + } + rel2 { + to: "background"; + } + color: 255 255 255 255; + } + } + part { + name: "items"; + type: SWALLOW; + mouse_events: 0; + clip_to: "items_clip"; + description { + state: "default" 0.0; + rel1 { + relative: 1.0 1.0; + offset: 0 0; + to_x: "h1"; + to_y: "h3"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to_x: "h2"; + } + color: 0 0 0 0; + } + description { + state: "top" 0.0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to_x: "h1"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to_x: "h2"; + to_y: "h3"; + } + color: 0 0 0 0; + } + description { + state: "left" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to_y: "h1"; + } + rel2 { + relative: 0.0 0.0; + offset: -1 -1; + to_y: "h2"; + to_x: "h3"; + } + color: 0 0 0 0; + } + description { + state: "right" 0.0; + rel1 { + relative: 1.0 1.0; + offset: 0 0; + to_y: "h1"; + to_x: "h3"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to_y: "h2"; + } + color: 0 0 0 0; + } + } + part { + name: "overlay"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 18 0; + to_y: "h3"; + } + rel2 { + relative: 1.0 1.0; + offset: -19 -1; + } + image { + normal: "e17_ibar_over_h.png"; + border: 25 25 25 25; + } + fill { + smooth: 0; + } + } + description { + state: "top" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 18 0; + } + rel2 { + relative: 1.0 0.0; + offset: -19 -1; + to_y: "h3"; + } + image { + normal: "e17_ibar_over_h.png"; + border: 25 25 25 25; + } + fill { + smooth: 0; + } + } + description { + state: "left" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 18; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -19; + to_x: "h3"; + } + image { + normal: "e17_ibar_over_v.png"; + border: 25 25 25 25; + } + fill { + smooth: 0; + } + } + description { + state: "right" 0.0; + rel1 { + relative: 1.0 0.0; + offset: 0 18; + to_x: "h3"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -19; + } + image { + normal: "e17_ibar_over_v.png"; + border: 25 25 25 25; + } + fill { + smooth: 0; + } + } + } + part { + name: "h1a1"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -1 0; + to: "h1"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to: "h1"; + } + image { + normal: "e17_ibar_arrow_l.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 1.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: 0 -1; + to: "h1"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to: "h1"; + } + image { + normal: "e17_ibar_arrow_u.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h1a2"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -1 0; + to: "h1a1"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to: "h1a1"; + } + image { + normal: "e17_ibar_arrow_l.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 1.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: 0 -1; + to: "h1a1"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to: "h1a1"; + } + image { + normal: "e17_ibar_arrow_u.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h1a3"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -1 0; + to: "h1a2"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to: "h1a2"; + } + image { + normal: "e17_ibar_arrow_l.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 1.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: 0 -1; + to: "h1a2"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to: "h1a2"; + } + image { + normal: "e17_ibar_arrow_u.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h1a4"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: -1 0; + to: "h1a3"; + } + rel2 { + relative: 0.0 1.0; + offset: -1 -1; + to: "h1a3"; + } + image { + normal: "e17_ibar_arrow_l.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 1.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 0.0; + offset: 0 -1; + to: "h1a3"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 -1; + to: "h1a3"; + } + image { + normal: "e17_ibar_arrow_u.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h1"; + mouse_events: 1; + clip_to: "clp"; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 18 36; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to_y: "overlay"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -1; + } + image { + normal: "e17_ibar_handle_h.png"; + border: 0 0 19 19; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + image { + normal: "e17_ibar_handle_h2.png"; + } + } + description { + state: "top" 0.0; + align: 0.0 0.5; + min: 18 36; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -1; + to_y: "overlay"; + } + image { + normal: "e17_ibar_handle_h.png"; + border: 0 0 19 19; + } + } + description { + state: "top2" 0.0; + inherit: "top" 0.0; + image { + normal: "e17_ibar_handle_h2.png"; + } + } + description { + state: "left" 0.0; + align: 0.5 0.0; + min: 36 18; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 0.0; + offset: -1 0; + to_x: "overlay"; + } + image { + normal: "e17_ibar_handle_v.png"; + border: 19 19 0 0; + } + } + description { + state: "left2" 0.0; + inherit: "left" 0.0; + image { + normal: "e17_ibar_handle_v2.png"; + } + } + description { + state: "right" 0.0; + align: 0.5 0.0; + min: 36 18; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to_x: "overlay"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 0; + } + image { + normal: "e17_ibar_handle_v.png"; + border: 19 19 0 0; + } + } + description { + state: "right2" 0.0; + inherit: "right" 0.0; + image { + normal: "e17_ibar_handle_v2.png"; + } + } + } + part { + name: "h1th"; + mouse_events: 0; + clip_to: "clp"; + description { + state: "default" 0.0; + max: 6 16; + rel1 { + offset: -1 -1; + to: "h1"; + } + rel2 { + offset: -2 -2; + to: "h1"; + } + image { + normal: "e17_ibar_handle_thumb_h.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + rel1 { + offset: 0 0; + } + rel2 { + offset: -1 -1; + } + } + description { + state: "vert" 0.0; + max: 16 6; + rel1 { + offset: -1 -1; + to: "h1"; + } + rel2 { + offset: -2 -2; + to: "h1"; + } + image { + normal: "e17_ibar_handle_thumb_v.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + rel1 { + offset: 0 0; + } + rel2 { + offset: -1 -1; + } + } + } + part { + name: "h2a1"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to: "h2"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 -1; + to: "h2"; + } + image { + normal: "e17_ibar_arrow_r.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 0.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to: "h2"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 0; + to: "h2"; + } + image { + normal: "e17_ibar_arrow_d.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h2a2"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to: "h2a1"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 -1; + to: "h2a1"; + } + image { + normal: "e17_ibar_arrow_r.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 0.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to: "h2a1"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 0; + to: "h2a1"; + } + image { + normal: "e17_ibar_arrow_d.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h2a3"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to: "h2a2"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 -1; + to: "h2a2"; + } + image { + normal: "e17_ibar_arrow_r.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 0.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to: "h2a2"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 0; + to: "h2a2"; + } + image { + normal: "e17_ibar_arrow_d.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h2a4"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.5; + min: 21 29; + max: 21 29; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 1.0 0.0; + offset: 0 0; + to: "h2a3"; + } + rel2 { + relative: 1.0 1.0; + offset: 0 -1; + to: "h2a3"; + } + image { + normal: "e17_ibar_arrow_r.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + description { + state: "vert" 0.0; + align: 0.5 0.0; + min: 29 21; + max: 29 21; + visible: 0; + color: 255 255 255 0; + rel1 { + relative: 0.0 1.0; + offset: 0 0; + to: "h2a3"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 0; + to: "h2a3"; + } + image { + normal: "e17_ibar_arrow_d.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "h2"; + mouse_events: 1; + clip_to: "clp"; + description { + state: "default" 0.0; + align: 1.0 0.5; + min: 18 36; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + to_y: "overlay"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_ibar_handle_h.png"; + border: 0 0 19 19; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + image { + normal: "e17_ibar_handle_h2.png"; + } + } + description { + state: "top" 0.0; + align: 1.0 0.5; + min: 18 36; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to_y: "overlay"; + } + image { + normal: "e17_ibar_handle_h.png"; + border: 0 0 19 19; + } + } + description { + state: "top2" 0.0; + inherit: "top" 0.0; + image { + normal: "e17_ibar_handle_h2.png"; + } + } + description { + state: "left" 0.0; + align: 0.5 1.0; + min: 36 18; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to_x: "overlay"; + } + image { + normal: "e17_ibar_handle_v.png"; + border: 19 19 0 0; + } + } + description { + state: "left2" 0.0; + inherit: "left" 0.0; + image { + normal: "e17_ibar_handle_v2.png"; + } + } + description { + state: "right" 0.0; + align: 0.5 1.0; + min: 36 18; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + to_x: "overlay"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_ibar_handle_v.png"; + border: 19 19 0 0; + } + } + description { + state: "right2" 0.0; + inherit: "right" 0.0; + image { + normal: "e17_ibar_handle_v2.png"; + } + } + } + part { + name: "h2th"; + mouse_events: 0; + clip_to: "clp"; + description { + state: "default" 0.0; + max: 6 16; + rel1 { + offset: -1 -1; + to: "h2"; + } + rel2 { + offset: -2 -2; + to: "h2"; + } + image { + normal: "e17_ibar_handle_thumb_h.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + rel1 { + offset: 0 0; + } + rel2 { + offset: -1 -1; + } + } + description { + state: "vert" 0.0; + max: 16 6; + rel1 { + offset: -1 -1; + to: "h2"; + } + rel2 { + offset: -2 -2; + to: "h2"; + } + image { + normal: "e17_ibar_handle_thumb_v.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + rel1 { + offset: 0 0; + } + rel2 { + offset: -1 -1; + } + } + } + part { + name: "h3"; + mouse_events: 1; + clip_to: "clp"; + description { + state: "default" 0.0; + align: 0.5 0.0; + min: 36 18; + max: 60 18; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 0.0; + offset: -1 0; + } + image { + normal: "e17_ibar_handle_v.png"; + border: 19 19 0 0; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + image { + normal: "e17_ibar_handle_v2.png"; + } + } + description { + state: "top" 0.0; + align: 0.5 1.0; + min: 36 18; + max: 60 18; + rel1 { + relative: 0.0 1.0; + offset: 0 -1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_ibar_handle_v.png"; + border: 19 19 0 0; + } + } + description { + state: "top2" 0.0; + inherit: "top" 0.0; + image { + normal: "e17_ibar_handle_v2.png"; + } + } + description { + state: "left" 0.0; + align: 1.0 0.5; + min: 18 36; + max: 18 60; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_ibar_handle_h.png"; + border: 0 0 19 19; + } + } + description { + state: "left2" 0.0; + inherit: "left" 0.0; + image { + normal: "e17_ibar_handle_h2.png"; + } + } + description { + state: "right" 0.0; + align: 0.0 0.5; + min: 18 36; + max: 18 60; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 1.0; + offset: 0 -1; + } + image { + normal: "e17_ibar_handle_h.png"; + border: 0 0 19 19; + } + } + description { + state: "right2" 0.0; + inherit: "right" 0.0; + image { + normal: "e17_ibar_handle_h2.png"; + } + } + } + part { + name: "h3th"; + mouse_events: 0; + clip_to: "clp"; + description { + state: "default" 0.0; + max: 16 6; + rel1 { + offset: -1 -1; + to: "h3"; + } + rel2 { + offset: -2 -2; + to: "h3"; + } + image { + normal: "e17_ibar_handle_thumb_v.png"; + } + } + description { + state: "default2" 0.0; + inherit: "default" 0.0; + rel1 { + offset: 0 0; + } + rel2 { + offset: -1 -1; + } + } + description { + state: "vert" 0.0; + max: 6 16; + rel1 { + offset: -1 -1; + to: "h3"; + } + rel2 { + offset: -2 -2; + to: "h3"; + } + image { + normal: "e17_ibar_handle_thumb_h.png"; + } + } + description { + state: "vert2" 0.0; + inherit: "vert" 0.0; + rel1 { + offset: 0 0; + } + rel2 { + offset: -1 -1; + } + } + } + part { + name: "clp"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { + state: "on" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "inn"; + type: RECT; + repeat_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + } + programs { + program { + name: "orient"; + signal: "set_orientation"; + source: "*"; + script { + // sig, src + if (!strcmp(src, "left")) { + set_int(orient, 0); + set_state(PART:"background", "vert", 0.0); + set_state(PART:"overlay", "left", 0.0); + set_state(PART:"items", "left", 0.0); + set_state(PART:"h1", "left", 0.0); + set_state(PART:"h2", "left", 0.0); + set_state(PART:"h1th", "vert", 0.0); + set_state(PART:"h2th", "vert", 0.0); + set_state(PART:"h1a1", "vert", 0.0); + set_state(PART:"h1a2", "vert", 0.0); + set_state(PART:"h1a3", "vert", 0.0); + set_state(PART:"h1a4", "vert", 0.0); + set_state(PART:"h2a1", "vert", 0.0); + set_state(PART:"h2a2", "vert", 0.0); + set_state(PART:"h2a3", "vert", 0.0); + set_state(PART:"h2a4", "vert", 0.0); + set_state(PART:"h3", "left", 0.0); + set_state(PART:"h3th", "vert", 0.0); + } + else if (!strcmp(src, "right")) { + set_int(orient, 1); + set_state(PART:"background", "vert", 0.0); + set_state(PART:"overlay", "right", 0.0); + set_state(PART:"items", "right", 0.0); + set_state(PART:"h1", "right", 0.0); + set_state(PART:"h2", "right", 0.0); + set_state(PART:"h1th", "vert", 0.0); + set_state(PART:"h2th", "vert", 0.0); + set_state(PART:"h1a1", "vert", 0.0); + set_state(PART:"h1a2", "vert", 0.0); + set_state(PART:"h1a3", "vert", 0.0); + set_state(PART:"h1a4", "vert", 0.0); + set_state(PART:"h2a1", "vert", 0.0); + set_state(PART:"h2a2", "vert", 0.0); + set_state(PART:"h2a3", "vert", 0.0); + set_state(PART:"h2a4", "vert", 0.0); + set_state(PART:"h3", "right", 0.0); + set_state(PART:"h3th", "vert", 0.0); + } + else if (!strcmp(src, "top")) { + set_int(orient, 2); + set_state(PART:"background", "default", 0.0); + set_state(PART:"overlay", "top", 0.0); + set_state(PART:"items", "top", 0.0); + set_state(PART:"h1", "top", 0.0); + set_state(PART:"h2", "top", 0.0); + set_state(PART:"h1th", "default", 0.0); + set_state(PART:"h2th", "default", 0.0); + set_state(PART:"h1a1", "default", 0.0); + set_state(PART:"h1a2", "default", 0.0); + set_state(PART:"h1a3", "default", 0.0); + set_state(PART:"h1a4", "default", 0.0); + set_state(PART:"h2a1", "default", 0.0); + set_state(PART:"h2a2", "default", 0.0); + set_state(PART:"h2a3", "default", 0.0); + set_state(PART:"h2a4", "default", 0.0); + set_state(PART:"h3", "top", 0.0); + set_state(PART:"h3th", "default", 0.0); + } + else if (!strcmp(src, "bottom")) { + set_int(orient, 3); + set_state(PART:"background", "default", 0.0); + set_state(PART:"overlay", "default", 0.0); + set_state(PART:"items", "default", 0.0); + set_state(PART:"h1", "default", 0.0); + set_state(PART:"h2", "default", 0.0); + set_state(PART:"h1th", "default", 0.0); + set_state(PART:"h2th", "default", 0.0); + set_state(PART:"h1a1", "default", 0.0); + set_state(PART:"h1a2", "default", 0.0); + set_state(PART:"h1a3", "default", 0.0); + set_state(PART:"h1a4", "default", 0.0); + set_state(PART:"h2a1", "default", 0.0); + set_state(PART:"h2a2", "default", 0.0); + set_state(PART:"h2a3", "default", 0.0); + set_state(PART:"h2a4", "default", 0.0); + set_state(PART:"h3", "default", 0.0); + set_state(PART:"h3th", "default", 0.0); + } + } + } + + program { + name: "inn_in"; + signal: "mouse,in"; + source: "inn"; + action: STATE_SET "on" 0.0; + transition: SINUSOIDAL 0.25; + target: "clp"; + } + program { + name: "inn_out"; + signal: "mouse,out"; + source: "inn"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "clp"; + } + + program { + name: "h1_in"; + signal: "mouse,in"; + source: "h1"; + script { + new ori = get_int(orient); + if ((ori == 0) || (ori == 1)) { + emit("h1_v_pulse", ""); + } + else { + emit("h1_h_pulse", ""); + } + } + } + program { + name: "h1_out"; + signal: "mouse,out"; + source: "h1"; + action: ACTION_STOP; + target: "h1_h_in1a"; + target: "h1_h_in1b"; + target: "h1_h_in2a"; + target: "h1_h_in2b"; + target: "h1_h_in3a"; + target: "h1_h_in3b"; + target: "h1_h_in4a"; + target: "h1_h_in4b"; + target: "h1_v_in1a"; + target: "h1_v_in1b"; + target: "h1_v_in2a"; + target: "h1_v_in2b"; + target: "h1_v_in3a"; + target: "h1_v_in3b"; + target: "h1_v_in4a"; + target: "h1_v_in4b"; + after: "h1_out2"; + } + program { + name: "h1_out2"; + script { + new ori = get_int(orient); + if ((ori == 0) || (ori == 1)) { + set_state(PART:"h1a1", "vert", 0.0); + set_state(PART:"h1a2", "vert", 0.0); + set_state(PART:"h1a3", "vert", 0.0); + set_state(PART:"h1a4", "vert", 0.0); + } + else { + set_state(PART:"h1a1", "default", 0.0); + set_state(PART:"h1a2", "default", 0.0); + set_state(PART:"h1a3", "default", 0.0); + set_state(PART:"h1a4", "default", 0.0); + } + } + } + + program { + name: "h1_h_0"; + signal: "h1_h_pulse"; + source: ""; + after: "h1_h_in1a"; + } + program { + name: "h1_h_in1a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a1"; + after: "h1_h_in2a"; + after: "h1_h_in2b"; + } + program { + name: "h1_h_in1b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h1a4"; + } + + program { + name: "h1_h_in2a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a2"; + after: "h1_h_in3a"; + after: "h1_h_in3b"; + } + program { + name: "h1_h_in2b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h1a1"; + } + + program { + name: "h1_h_in3a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a3"; + after: "h1_h_in4a"; + after: "h1_h_in4b"; + } + program { + name: "h1_h_in3b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h1a2"; + } + + program { + name: "h1_h_in4a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a4"; + after: "h1_h_in1a"; + after: "h1_h_in1b"; + } + program { + name: "h1_h_in4b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h1a3"; + } + + program { + name: "h1_v_0"; + signal: "h1_v_pulse"; + source: ""; + after: "h1_v_in1a"; + } + program { + name: "h1_v_in1a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a1"; + after: "h1_v_in2a"; + after: "h1_v_in2b"; + } + program { + name: "h1_v_in1b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h1a4"; + } + + program { + name: "h1_v_in2a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a2"; + after: "h1_v_in3a"; + after: "h1_v_in3b"; + } + program { + name: "h1_v_in2b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h1a1"; + } + + program { + name: "h1_v_in3a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a3"; + after: "h1_v_in4a"; + after: "h1_v_in4b"; + } + program { + name: "h1_v_in3b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h1a2"; + } + + program { + name: "h1_v_in4a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h1a4"; + after: "h1_v_in1a"; + after: "h1_v_in1b"; + } + program { + name: "h1_v_in4b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h1a3"; + } + + program { + name: "h1_click1"; + signal: "mouse,down,1"; + source: "h1"; + script { + new ori = get_int(orient); + if (ori == 0) { + set_state(PART:"h1", "left2", 0.0); + set_state(PART:"h1th", "vert2", 0.0); + } + else if (ori == 1) { + set_state(PART:"h1", "right2", 0.0); + set_state(PART:"h1th", "vert2", 0.0); + } + else if (ori == 2) { + set_state(PART:"h1", "top2", 0.0); + set_state(PART:"h1th", "default2", 0.0); + } + else { + set_state(PART:"h1", "default2", 0.0); + set_state(PART:"h1th", "default2", 0.0); + } + emit("resize1_start", ""); + } + } + program { + name: "h1_click2"; + signal: "mouse,up,1"; + source: "h1"; + script { + new ori = get_int(orient); + if (ori == 0) { + set_state(PART:"h1", "left", 0.0); + set_state(PART:"h1th", "vert", 0.0); + } + else if (ori == 1) { + set_state(PART:"h1", "right", 0.0); + set_state(PART:"h1th", "vert", 0.0); + } + else if (ori == 2) { + set_state(PART:"h1", "top", 0.0); + set_state(PART:"h1th", "default", 0.0); + } + else { + set_state(PART:"h1", "default", 0.0); + set_state(PART:"h1th", "default", 0.0); + } + emit("resize1_stop", ""); + } + } + + program { + name: "h2_in"; + signal: "mouse,in"; + source: "h2"; + script { + new ori = get_int(orient); + if ((ori == 0) || (ori == 1)) { + emit("h2_v_pulse", ""); + } + else { + emit("h2_h_pulse", ""); + } + } + } + program { + name: "h2_out"; + signal: "mouse,out"; + source: "h2"; + action: ACTION_STOP; + target: "h2_h_in1a"; + target: "h2_h_in1b"; + target: "h2_h_in2a"; + target: "h2_h_in2b"; + target: "h2_h_in3a"; + target: "h2_h_in3b"; + target: "h2_h_in4a"; + target: "h2_h_in4b"; + target: "h2_v_in1a"; + target: "h2_v_in1b"; + target: "h2_v_in2a"; + target: "h2_v_in2b"; + target: "h2_v_in3a"; + target: "h2_v_in3b"; + target: "h2_v_in4a"; + target: "h2_v_in4b"; + after: "h2_out2"; + } + program { + name: "h2_out2"; + script { + new ori = get_int(orient); + if ((ori == 0) || (ori == 1)) { + set_state(PART:"h2a1", "vert", 0.0); + set_state(PART:"h2a2", "vert", 0.0); + set_state(PART:"h2a3", "vert", 0.0); + set_state(PART:"h2a4", "vert", 0.0); + } + else { + set_state(PART:"h2a1", "default", 0.0); + set_state(PART:"h2a2", "default", 0.0); + set_state(PART:"h2a3", "default", 0.0); + set_state(PART:"h2a4", "default", 0.0); + } + } + } + + program { + name: "h2_h_0"; + signal: "h2_h_pulse"; + source: ""; + after: "h2_h_in1a"; + } + program { + name: "h2_h_in1a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a1"; + after: "h2_h_in2a"; + after: "h2_h_in2b"; + } + program { + name: "h2_h_in1b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h2a4"; + } + + program { + name: "h2_h_in2a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a2"; + after: "h2_h_in3a"; + after: "h2_h_in3b"; + } + program { + name: "h2_h_in2b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h2a1"; + } + + program { + name: "h2_h_in3a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a3"; + after: "h2_h_in4a"; + after: "h2_h_in4b"; + } + program { + name: "h2_h_in3b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h2a2"; + } + + program { + name: "h2_h_in4a"; + action: STATE_SET "default2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a4"; + after: "h2_h_in1a"; + after: "h2_h_in1b"; + } + program { + name: "h2_h_in4b"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.75; + target: "h2a3"; + } + + program { + name: "h2_v_0"; + signal: "h2_v_pulse"; + source: ""; + after: "h2_v_in1a"; + } + program { + name: "h2_v_in1a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a1"; + after: "h2_v_in2a"; + after: "h2_v_in2b"; + } + program { + name: "h2_v_in1b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h2a4"; + } + + program { + name: "h2_v_in2a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a2"; + after: "h2_v_in3a"; + after: "h2_v_in3b"; + } + program { + name: "h2_v_in2b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h2a1"; + } + + program { + name: "h2_v_in3a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a3"; + after: "h2_v_in4a"; + after: "h2_v_in4b"; + } + program { + name: "h2_v_in3b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h2a2"; + } + + program { + name: "h2_v_in4a"; + action: STATE_SET "vert2" 0.0; + transition: SINUSOIDAL 0.25; + target: "h2a4"; + after: "h2_v_in1a"; + after: "h2_v_in1b"; + } + program { + name: "h2_v_in4b"; + action: STATE_SET "vert" 0.0; + transition: DECELERATE 0.75; + target: "h2a3"; + } + + program { + name: "h2_click1"; + signal: "mouse,down,1"; + source: "h2"; + script { + new ori = get_int(orient); + if (ori == 0) { + set_state(PART:"h2", "left2", 0.0); + set_state(PART:"h2th", "vert2", 0.0); + } + else if (ori == 1) { + set_state(PART:"h2", "right2", 0.0); + set_state(PART:"h2th", "vert2", 0.0); + } + else if (ori == 2) { + set_state(PART:"h2", "top2", 0.0); + set_state(PART:"h2th", "default2", 0.0); + } + else { + set_state(PART:"h2", "default2", 0.0); + set_state(PART:"h2th", "default2", 0.0); + } + emit("resize2_start", ""); + } + } + program { + name: "h2_click2"; + signal: "mouse,up,1"; + source: "h2"; + script { + new ori = get_int(orient); + if (ori == 0) { + set_state(PART:"h2", "left", 0.0); + set_state(PART:"h2th", "vert", 0.0); + } + else if (ori == 1) { + set_state(PART:"h2", "right", 0.0); + set_state(PART:"h2th", "vert", 0.0); + } + else if (ori == 2) { + set_state(PART:"h2", "top", 0.0); + set_state(PART:"h2th", "default", 0.0); + } + else { + set_state(PART:"h2", "default", 0.0); + set_state(PART:"h2th", "default", 0.0); + } + emit("resize2_stop", ""); + } + } + + program { + name: "h3_click1"; + signal: "mouse,down,1"; + source: "h3"; + script { + new ori = get_int(orient); + if (ori == 0) { + set_state(PART:"h3", "left2", 0.0); + set_state(PART:"h3th", "vert2", 0.0); + } + else if (ori == 1) { + set_state(PART:"h3", "right2", 0.0); + set_state(PART:"h3th", "vert2", 0.0); + } + else if (ori == 2) { + set_state(PART:"h3", "top2", 0.0); + set_state(PART:"h3th", "default2", 0.0); + } + else { + set_state(PART:"h3", "default2", 0.0); + set_state(PART:"h3th", "default2", 0.0); + } + emit("move_start", ""); + } + } + program { + name: "h3_click2"; + signal: "mouse,up,1"; + source: "h3"; + script { + new ori = get_int(orient); + if (ori == 0) { + set_state(PART:"h3", "left", 0.0); + set_state(PART:"h3th", "vert", 0.0); + } + else if (ori == 1) { + set_state(PART:"h3", "right", 0.0); + set_state(PART:"h3th", "vert", 0.0); + } + else if (ori == 2) { + set_state(PART:"h3", "top", 0.0); + set_state(PART:"h3th", "default", 0.0); + } + else { + set_state(PART:"h3", "default", 0.0); + set_state(PART:"h3th", "default", 0.0); + } + emit("move_stop", ""); + } + } + } +} +group { + name: "modules/ibar/follower"; + min: 56 56; + data { + // item: "item_list", "item item2 item3"; + } + parts { + part { + name: "top"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 -13; + } + rel2 { + relative: 1.0 0.0; + offset: -1 27; + } + image { + normal: "e17_ibar_lamp_d.png"; + } + } + description { + state: "top" 0.0; + rel1 { + relative: 0.0 1.0; + offset: 0 -27; + } + rel2 { + relative: 1.0 1.0; + offset: -1 13; + } + image { + normal: "e17_ibar_lamp_u.png"; + } + } + description { + state: "right" 0.0; + rel1 { + relative: 0.0 0.0; + offset: -13 0; + } + rel2 { + relative: 0.0 1.0; + offset: 27 -1; + } + image { + normal: "e17_ibar_lamp_r.png"; + } + } + description { + state: "left" 0.0; + rel1 { + relative: 1.0 0.0; + offset: -27 0; + } + rel2 { + relative: 1.0 1.0; + offset: 13 -1; + } + image { + normal: "e17_ibar_lamp_l.png"; + } + } + } + program { + name: "orient"; + signal: "set_orientation"; + source: "bottom"; + action: STATE_SET "default" 0.0; + target: "top"; + } + program { + name: "orient2"; + signal: "set_orientation"; + source: "top"; + action: STATE_SET "top" 0.0; + target: "top"; + } + program { + name: "orient3"; + signal: "set_orientation"; + source: "left"; + action: STATE_SET "left" 0.0; + target: "top"; + } + program { + name: "orient4"; + signal: "set_orientation"; + source: "right"; + action: STATE_SET "right" 0.0; + target: "top"; + } + } +} +group { + name: "modules/ibar/icon"; + data { + item: "raise_on_hilight" "0"; // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it + // item: "item_list" "item item2 item3"; + } + parts { + part { + name: "item"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 0 0 0 0; + } + } + } +} +group { + name: "modules/ibar/icon_overlay"; + data { + // item: "item_list", "item item2 item3"; + } + parts { + part { + name: "base"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + relative: 1.0 1.0; + offset: -5 -5; + } + color: 255 255 255 0; + } + } + part { + name: "background"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "base"; + } + color: 255 255 255 0; + } + description { + state: "visible" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "base"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "base"; + } + color: 255 255 255 255; + } + description { + state: "hidden" 0.0; + rel1 { + relative: -0.5 -0.5; + offset: 0 0; + to: "base"; + } + rel2 { + relative: 1.5 1.5; + offset: -1 -1; + to: "base"; + } + color: 255 255 255 0; + } + } + part { + name: "item"; + type: SWALLOW; + mouse_events: 0; + clip_to: "background"; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "background"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "background"; + } + color: 0 0 0 0; + } + } + } + programs { + program { + name: "go_active"; + signal: "active"; + source: ""; + action: STATE_SET "visible" 0.0; + target: "background"; + after: "go_active2"; + } + program { + name: "go_active2"; + signal: ""; + source: ""; + action: STATE_SET "hidden" 0.0; + transition: LINEAR 0.5; + target: "background"; + after: "go_active"; + } + program { + name: "go_passive"; + signal: "passive"; + source: ""; + action: ACTION_STOP; + target: "go_active"; + target: "go_active2"; + after: "go_passive2"; + } + program { + name: "go_passive2"; + signal: ""; + source: ""; + action: STATE_SET "default" 0.0; + target: "background"; + } + } +} \ No newline at end of file diff --git a/data/themes/default_menu.edc b/data/themes/default_menu.edc new file mode 100644 index 000000000..2c6844af3 --- /dev/null +++ b/data/themes/default_menu.edc @@ -0,0 +1,846 @@ +images { + image: "e17_menu_arrow.png" COMP; + image: "e17_menu_bg.png" COMP; + image: "e17_menu_check1.png" COMP; + image: "e17_menu_check2.png" COMP; + image: "e17_menu_radio1.png" COMP; + image: "e17_menu_radio2.png" COMP; + image: "e17_menu_separator.png" COMP; +} +group { + name: "widgets/menu/default/background"; + parts { + part { + name: "base"; + 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; + } + image { + normal: "e17_menu_bg.png"; + border: 3 3 3 3; + } + } + } + part { + name: "items"; + mouse_events: 0; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 1 1; + } + rel2 { + relative: 1.0 1.0; + offset: -2 -2; + } + color: 0 0 0 0; + } + } + } +} +group { + name: "widgets/menu/default/separator"; + parts { + part { + name: "separator"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 20 2; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + image { + normal: "e17_menu_separator.png"; + border: 3 3 0 0; + } + } + } + } +} +group { + name: "widgets/menu/default/item_bg"; + parts { + part { + name: "item"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } +} +group { + name: "widgets/menu/default/submenu_bg"; + parts { + part { + name: "item"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } +} +group { + name: "widgets/menu/default/check"; + parts { + part { + name: "background"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + min: 18 18; + max: 18 18; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "outline"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 16; + max: 16 16; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_menu_check1.png"; + } + } + } + part { + name: "item1"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 16; + max: 16 16; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_menu_check2.png"; + } + } + description { + state: "active" 0.0; + min: 16 16; + max: 16 16; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_menu_check2.png"; + } + } + } + } + programs { + program { + name: "turn_on1"; + signal: "toggle_on"; + source: ""; + action: STATE_SET "active" 0.0; + target: "item1"; + } + program { + name: "turn_off1"; + signal: "toggle_off"; + source: ""; + action: STATE_SET "default" 0.0; + target: "item1"; + } + } +} +group { + name: "widgets/menu/default/radio"; + parts { + part { + name: "background"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + min: 18 18; + max: 18 18; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "outline"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 16; + max: 16 16; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_menu_radio1.png"; + } + } + } + part { + name: "item1"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 16 16; + max: 16 16; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_menu_radio2.png"; + } + } + description { + state: "active" 0.0; + min: 16 16; + max: 16 16; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_menu_radio2.png"; + } + } + } + } + programs { + program { + name: "turn_on1"; + signal: "toggle_on"; + source: ""; + action: STATE_SET "active" 0.0; + target: "item1"; + } + program { + name: "turn_off1"; + signal: "toggle_off"; + source: ""; + action: STATE_SET "default" 0.0; + target: "item1"; + } + } +} +group { + name: "widgets/menu/default/icon"; + parts { + part { + name: "item"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + } +} +group { + name: "widgets/menu/default/label"; + parts { + part { + name: "title_outline"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 14 14; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_titlebar_outline.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + description { + state: "active" 0.0; + min: 14 14; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "e17_titlebar_outline.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + } + part { + name: "title_shadow2"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + description { + state: "active" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow2.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + } + part { + name: "title_shadow1"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + description { + state: "active" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar_shadow1.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + } + part { + name: "title_bar"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar.png"; + border: 8 8 8 8; + } + color: 255 255 255 0; + } + description { + state: "active" 0.0; + visible: 1; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "title_outline"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "title_outline"; + } + image { + normal: "e17_titlebar.png"; + border: 8 8 8 8; + } + color: 255 255 255 255; + } + } + part { + name: "label"; + type: TEXT; + effect: SHADOW; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 8 6; + } + rel2 { + relative: 1.0 1.0; + offset: -8 -6; + } + color: 0 0 0 255; + color3: 255 255 255 128; + text { + text: "Item Label"; + font: "Edje Vera"; + size: 10; + min: 1 1; + align: 0.0 0.5; + } + } + } + part { + name: "title_glint_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + offset: 3 3; + to: "title_bar"; + } + rel2 { + offset: -4 -4; + to: "title_bar"; + } + color: 255 255 255 255; + } + } + part { + name: "title_glint_1"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + align: 0.0 0.0; + max: 34 13; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + to: "title_bar"; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + to: "title_bar"; + } + image { + normal: "e17_titlebar_glint1.png"; + border: 5 0 5 0; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { + name: "title_glint_2"; + mouse_events: 0; + clip_to: "title_glint_clip"; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + align: 1.0 0.5; + max: 0 0; + rel1 { + relative: 0.0 0.0; + offset: 3 3; + to: "title_bar"; + } + rel2 { + relative: 0.0 1.0; + offset: 3 -4; + to: "title_bar"; + } + image { + normal: "e17_titlebar_glint2.png"; + border: 0 0 5 5; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + max: 169 9999; + min: 169 8; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 3 3; + } + rel2 { + relative: 0.0 1.0; + offset: 3 -4; + } + } + description { + state: "active2" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 128; + max: 169 9999; + min: 169 8; + align: 0.5 0.5; + rel1 { + relative: 1.0 0.0; + offset: -4 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + } + } + description { + state: "active3" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + max: 169 9999; + min: 169 8; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + offset: -4 3; + } + rel2 { + relative: 1.0 1.0; + offset: -4 -4; + } + } + } + part { + name: "title_glint_3"; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + align: 1.0 1.0; + max: 34 13; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + to: "title_bar"; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + to: "title_bar"; + } + image { + normal: "e17_titlebar_glint3.png"; + border: 0 5 0 5; + } + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + } + programs { + program { + name: "go_active_pre"; + signal: "active"; + source: ""; + action: STATE_SET "default" 0.0; + target: "title_outline"; + target: "title_bar"; + target: "title_shadow1"; + target: "title_shadow2"; + after: "go_active"; + } + program { + name: "go_active"; + action: STATE_SET "active" 0.0; + target: "title_outline"; + target: "title_bar"; + transition: LINEAR 0.05; + after: "go_active2"; + } + program { + name: "go_active2"; + action: STATE_SET "active" 0.0; + target: "title_shadow1"; + transition: LINEAR 0.05; + after: "go_active3"; + after: "go_active3b"; + } + program { + name: "go_active3"; + action: STATE_SET "active" 0.0; + target: "title_shadow2"; + transition: LINEAR 0.05; + } + program { + name: "go_active3b"; + action: STATE_SET "active" 0.0; + target: "title_glint_1"; + target: "title_glint_2"; + transition: LINEAR 0.05; + after: "go_active4"; + after: "go_active4b"; + } + program { + name: "go_active4"; + action: STATE_SET "active2" 0.0; + target: "title_glint_2"; + transition: LINEAR 0.2; + after: "go_active5"; + after: "go_active5b"; + } + program { + name: "go_active4b"; + action: STATE_SET "active" 0.0; + target: "title_glint_3"; + transition: LINEAR 0.2; + } + program { + name: "go_active5"; + action: STATE_SET "active3" 0.0; + target: "title_glint_2"; + transition: LINEAR 0.05; + } + program { + name: "go_active5b"; + action: STATE_SET "default" 0.0; + target: "title_glint_3"; + transition: LINEAR 0.1; + after: "go_active6"; + } + program { + name: "go_active6"; + action: STATE_SET "default" 0.0; + target: "title_glint_1"; + target: "title_glint_2"; + target: "title_glint_3"; + } + + program { + name: "go_passive_pre"; + signal: "passive"; + source: ""; + action: STATE_SET "active" 0.0; + target: "title_outline"; + target: "title_bar"; + target: "title_shadow1"; + target: "title_shadow2"; + after: "go_passive"; + } + program { + name: "go_passive"; + action: STATE_SET "default" 0.0; + target: "title_shadow2"; + transition: LINEAR 0.1; + after: "go_passive2"; + } + program { + name: "go_passive2"; + action: STATE_SET "default" 0.0; + target: "title_shadow1"; + transition: LINEAR 0.1; + after: "go_passive3"; + } + program { + name: "go_passive3"; + action: STATE_SET "default" 0.0; + target: "title_outline"; + target: "title_bar"; + transition: LINEAR 0.1; + } + } +} +group { + name: "widgets/menu/default/submenu"; + parts { + part { + name: "background"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + min: 12 12; + max: 12 12; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "arrow"; + mouse_events: 0; + description { + state: "default" 0.0; + min: 6 12; + max: 6 12; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "background"; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + to: "background"; + } + image { + normal: "e17_menu_arrow.png"; + } + } + } + } +} \ No newline at end of file diff --git a/data/themes/default_pager.edc b/data/themes/default_pager.edc new file mode 100644 index 000000000..e4b6a5cd9 --- /dev/null +++ b/data/themes/default_pager.edc @@ -0,0 +1,133 @@ +images { + image: "e17_pager_screen.png" COMP; + image: "e17_pager_desk.png" COMP; + image: "e17_pager_window.png" COMP; +} +group { + name: "modules/pager/screen"; + parts { + part { + name: "background"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + min: 18 18; + max: 18 18; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "overlay"; + 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; + } + image { + normal: "e17_pager_screen.png"; + border: 7 7 7 7; + } + } + } + } +} +group { + name: "modules/pager/desk"; + parts { + part { + name: "background"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "overlay"; + 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; + } + image { + normal: "e17_pager_desk.png"; + border: 2 2 2 2; + } + } + } + } +} +group { + name: "modules/pager/window"; + parts { + part { + name: "background"; + mouse_events: 0; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + color: 0 0 0 0; + } + } + part { + name: "overlay"; + 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; + } + image { + normal: "e17_pager_window.png"; + border: 4 4 4 4; + } + } + } + } +} \ No newline at end of file diff --git a/data/themes/default_temperature.edc b/data/themes/default_temperature.edc new file mode 100644 index 000000000..9f2e2de1c --- /dev/null +++ b/data/themes/default_temperature.edc @@ -0,0 +1,176 @@ +images { + image: "e17_temperature_base.png" COMP; + image: "e17_temperature_mid.png" COMP; + image: "e17_temperature_overlay.png" COMP; +} +group { + name: "modules/temperature/main"; + max: 128 128; + script { + public message(Msg_Type:type, id, ...) { + if ((type == MSG_FLOAT) && (id == 1)) { + new Float:val; + val = getfarg(2); + set_drag(PART:"temp_top", 0.0, val); + } + } + } + parts { + part { + name: "base"; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + aspect: 0.387 0.387; + align: 0.0 0.5; + max: 48 124; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + image { + normal: "e17_temperature_base.png"; + } + } + } + part { + name: "temp"; + clip_to: "temp_clip"; + description { + state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + image { + normal: "e17_temperature_mid.png"; + } + } + } + part { + name: "overlay"; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + rel1 { + to: "base"; + } + rel2 { + to: "base"; + } + image { + normal: "e17_temperature_overlay.png"; + } + } + } + part { + name: "reading"; + type: TEXT; + effect: SOFT_SHADOW; + clip_to: "fade_clip"; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + to_x: "temp"; + } + rel2 { + relative: 1.0 0.0; + } + color: 255 255 255 255; + color3: 0 0 0 32; + text { + text: "99^C"; + font: "Edje Vera"; + size: 7; + min: 1 1; + align: 0.0 0.0; + } + } + } + part { + name: "fade_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + color: 255 255 255 255; + } + description { + state: "faded" 0.0; + color: 255 255 255 128; + } + } + part { + // +10 -46 / 124 + name: "temp_clip"; + type: RECT; + clip_to: "fade_clip"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to_x: "base"; + to_y: "temp_top"; + } + rel2 { + to: "base"; + } + } + } + part { + // +10 -46 / 124 + name: "temp_top"; + type: RECT; + dragable { + x: 0 0 0; + y: -1 1 0; + confine: "temp_limit"; + } + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + } + } + part { + // +10 -46 / 124 + name: "temp_limit"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.081; + to: "base"; + } + rel2 { + relative: 1.0 0.637; + to: "base"; + } + } + } + } + programs { + program { + name: "known"; + signal: "known"; + source: ""; + action: STATE_SET "default" 0.0; + target: "fade_clip"; + } + program { + name: "unknown"; + signal: "unknown"; + source: ""; + action: STATE_SET "faded" 0.0; + target: "fade_clip"; + } + } +} \ No newline at end of file