diff --git a/legacy/elementary/config/standard/base.src b/legacy/elementary/config/standard/base.src index 90f7f7fe44..33ee60cce9 100644 --- a/legacy/elementary/config/standard/base.src +++ b/legacy/elementary/config/standard/base.src @@ -19,7 +19,7 @@ group "Elm_Config" struct { value "font_cache" int: 512; value "finger_size" int: 5; value "fps" double: 60.0; - value "theme" string: "default"; + value "theme" string: "default-desktop"; value "modules" string: ""; value "tooltip_delay" double: 1.0; value "cursor_engine_only" int: 1; diff --git a/legacy/elementary/data/themes/Makefile.am b/legacy/elementary/data/themes/Makefile.am index 7f0d7ff78a..4333575866 100644 --- a/legacy/elementary/data/themes/Makefile.am +++ b/legacy/elementary/data/themes/Makefile.am @@ -5,10 +5,11 @@ EDJE_CC = @edje_cc@ EDJE_FLAGS = -v -id $(top_srcdir)/data/themes -fd $(top_srcdir)/data/themes filesdir = $(datadir)/elementary/themes -files_DATA = default.edj +files_DATA = default.edj default-desktop.edj EXTRA_DIST = \ default.edc \ +default-desktop.edc \ arrow_down.png \ arrow_up.png \ bar_shine.png \ @@ -221,5 +222,10 @@ default.edj: Makefile $(EXTRA_DIST) $(top_srcdir)/data/themes/default.edc \ $(top_builddir)/data/themes/default.edj +default-desktop.edj: Makefile $(EXTRA_DIST) + $(EDJE_CC) $(EDJE_FLAGS) \ + $(top_srcdir)/data/themes/default-desktop.edc \ + $(top_builddir)/data/themes/default-desktop.edj + clean-local: rm -f *.edj diff --git a/legacy/elementary/data/themes/default-desktop.edc b/legacy/elementary/data/themes/default-desktop.edc new file mode 100644 index 0000000000..029ca61aa0 --- /dev/null +++ b/legacy/elementary/data/themes/default-desktop.edc @@ -0,0 +1,1324 @@ +externals.external: "elm"; + +#define SCROLLBARS_ADD() \ + images { \ + image: "bt_sm_base2.png" COMP; \ + image: "bt_sm_shine.png" COMP; \ + image: "bt_sm_hilight.png" COMP; \ + image: "sb_runnerh.png" COMP; \ + image: "sb_runnerv.png" COMP; \ + image: "arrow_up.png" COMP; \ + image: "arrow_down.png" COMP; \ + image: "arrow_right.png" COMP; \ + image: "arrow_left.png" COMP; \ + } \ + script { \ + public sbvis_v, sbvis_h; \ + } \ + part { name: "elm.scrollbar.base"; \ + type: SWALLOW; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + min: 0 0; \ + fixed: 1 1; \ + align: 0.0 0.0; \ + rel1.relative: 1.0 1.0; \ + } \ + description { state: "vertical" 0.0; \ + inherit: "default" 0.0; \ + min: 17 0; \ + align: 1.0 0.0; \ + } \ + description { state: "horizontal" 0.0; \ + inherit: "default" 0.0; \ + min: 0 17; \ + align: 0.0 1.0; \ + } \ + description { state: "both" 0.0; \ + inherit: "default" 0.0; \ + min: 17 17; \ + align: 1.0 1.0; \ + } \ + } \ + part { name: "sb_vbar_clip_master"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + } \ + description { state: "hidden" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "sb_vbar_clip"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip_master"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_vbar_clip_master"; \ + rel2.to: "sb_vbar_clip_master"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + max: 0 99999; \ + } \ + } \ + part { name: "sb_vbar"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 0; \ + fixed: 1 1; \ + color: 0 0 0 0; \ + align: 0.5 0.5; \ + rel1 { \ + to_y: "sb_vbar_a1"; \ + to_x: "elm.scrollbar.base"; \ + relative: 0.0 1.0; \ + offset: 0 -1; \ + } \ + rel2 { \ + to_y: "sb_vbar_a2"; \ + relative: 1.0 0.0; \ + offset: -1 -2; \ + } \ + } \ + } \ + part { name: "sb_vbar_runner"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 3 0; \ + max: 3 99999; \ + fixed: 1 1; \ + align: 1.0 0.5; \ + rel1 { \ + to: "sb_vbar"; \ + relative: 0.5 0.0; \ + offset: 0 2; \ + } \ + rel2 { \ + to: "sb_vbar"; \ + relative: 0.5 1.0; \ + offset: 0 -2; \ + } \ + image { \ + normal: "sb_runnerv.png"; \ + border: 0 0 4 4; \ + } \ + fill.smooth: 0; \ + } \ + } \ + part { name: "sb_vbar_p1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "sb_vbar_a1"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "elm.dragable.vbar"; \ + relative: 1.0 0.0; \ + } \ + } \ + } \ + part { name: "sb_vbar_p2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "elm.dragable.vbar"; \ + relative: 0.0 1.0; \ + } \ + rel2 { \ + to: "sb_vbar_a2"; \ + relative: 1.0 0.0; \ + } \ + } \ + } \ + part { name: "sb_vbar_a1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + align: 0.5 0.0; \ + aspect: 1.0 1.0; \ + aspect_preference: HORIZONTAL; \ + color: 0 0 0 0; \ + rel1 { \ + to_y: "sb_vbar_clip"; \ + to_x: "elm.scrollbar.base"; \ + relative: 0.0 0.0; \ + offset: 0 1; \ + } \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + offset: -1 -2; \ + } \ + } \ + } \ + part { name: "sb_vbar_a1_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_vbar_a1"; \ + rel2.to: "sb_vbar_a1"; \ + image.normal: "arrow_up.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: 0 -1; \ + rel2.offset: -1 -2; \ + } \ + } \ + part { name: "sb_vbar_a2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + align: 0.5 1.0; \ + aspect: 1.0 1.0; \ + aspect_preference: HORIZONTAL; \ + color: 0 0 0 0; \ + rel1.to: "elm.scrollbar.base"; \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + } \ + } \ + } \ + part { name: "sb_vbar_a2_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_vbar_a2"; \ + rel2.to: "sb_vbar_a2"; \ + image.normal: "arrow_down.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: 0 1; \ + rel2.offset: -1 0; \ + } \ + } \ + part { name: "elm.dragable.vbar"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_vbar_clip"; \ + dragable { \ + x: 0 0 0; \ + y: 1 1 0; \ + confine: "sb_vbar"; \ + } \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + aspect: 1.0 0.5; \ + aspect_preference: VERTICAL; \ + align: 0.5 0.0; \ + color: 0 0 0 0; \ + rel1 { \ + to_y: "sb_vbar"; \ + to_x: "elm.scrollbar.base"; \ + relative: 0.0 0.0; \ + } \ + rel2.to_y: "sb_vbar"; \ + } \ + } \ + part { name: "elm.dragable.vbar.image"; \ + mouse_events: 0; \ + clip_to: "sb_vbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.vbar"; \ + rel2.to: "elm.dragable.vbar"; \ + image { \ + normal: "bt_sm_base2.png"; \ + border: 6 6 6 6; \ + } \ + } \ + } \ + part { name: "sb_vbar_over1"; \ + clip_to: "sb_vbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.vbar.image"; \ + rel2 { \ + to: "elm.dragable.vbar.image"; \ + relative: 1.0 0.5; \ + } \ + image { \ + normal: "bt_sm_hilight.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_vbar_over2"; \ + clip_to: "sb_vbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.vbar.image"; \ + rel2.to: "elm.dragable.vbar.image"; \ + image { \ + normal: "bt_sm_shine.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_hbar_clip_master"; \ + type: RECT; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + } \ + description { state: "hidden" 0.0; \ + visible: 0; \ + } \ + } \ + part { name: "sb_hbar_clip"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip_master"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_hbar_clip_master"; \ + rel2.to: "sb_hbar_clip_master"; \ + } \ + description { state: "hidden" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + max: 99999 0; \ + } \ + } \ + part { name: "sb_hbar"; \ + type: RECT; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 0 17; \ + fixed: 1 1; \ + color: 0 0 0 0; \ + align: 0.5 0.5; \ + rel1 { \ + to_x: "sb_hbar_a1"; \ + to_y: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + offset: -1 0; \ + } \ + rel2 { \ + to_x: "sb_hbar_a2"; \ + relative: 0.0 1.0; \ + offset: -2 -1; \ + } \ + } \ + } \ + part { name: "sb_hbar_runner"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 0 3; \ + max: 99999 3; \ + fixed: 1 1; \ + align: 0.5 0.5; \ + rel1 { \ + to: "sb_hbar"; \ + relative: 0.0 0.5; \ + offset: 2 0; \ + } \ + rel2 { \ + to: "sb_hbar"; \ + relative: 1.0 0.5; \ + offset: -2 0; \ + } \ + image { \ + normal: "sb_runnerh.png"; \ + border: 4 4 0 0; \ + } \ + fill.smooth: 0; \ + } \ + } \ + part { name: "elm.dragable.hbar"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + dragable { \ + x: 1 1 0; \ + y: 0 0 0; \ + confine: "sb_hbar"; \ + } \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + aspect_preference: HORIZONTAL; \ + align: 0.0 1.0; \ + color: 0 0 0 0; \ + rel1 { \ + to_x: "sb_hbar"; \ + relative: 0.0 1.0; \ + } \ + rel2.to_x: "sb_hbar"; \ + } \ + } \ + part { name: "elm.dragable.hbar.image"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.hbar"; \ + rel2.to: "elm.dragable.hbar"; \ + image { \ + normal: "bt_sm_base2.png"; \ + border: 6 6 6 6; \ + } \ + } \ + } \ + part { name: "sb_hbar_over1"; \ + clip_to: "sb_hbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.hbar.image"; \ + rel2 { \ + to: "elm.dragable.hbar.image"; \ + relative: 1.0 0.5; \ + } \ + image { \ + normal: "bt_sm_hilight.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_hbar_over2"; \ + clip_to: "sb_hbar_clip"; \ + mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: "elm.dragable.hbar.image"; \ + rel2.to: "elm.dragable.hbar.image"; \ + image { \ + normal: "bt_sm_shine.png"; \ + border: 6 6 6 0; \ + } \ + } \ + } \ + part { name: "sb_hbar_p1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "sb_hbar_a1"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "elm.dragable.hbar"; \ + relative: 0.0 1.0; \ + } \ + } \ + } \ + part { name: "sb_hbar_p2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + fixed: 1 1; \ + rel1 { \ + to: "elm.dragable.hbar"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "sb_hbar_a2"; \ + relative: 0.0 1.0; \ + } \ + } \ + } \ + part { name: "sb_hbar_a1"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + fixed: 1 1; \ + align: 0.0 1.0; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + color: 0 0 0 0; \ + rel1 { \ + to_x: "sb_hbar_clip"; \ + to_y: "elm.scrollbar.base"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 0.0 1.0; \ + offset: -1 -1; \ + } \ + } \ + } \ + part { name: "sb_hbar_a1_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_hbar_a1"; \ + rel2.to: "sb_hbar_a1"; \ + image.normal: "arrow_left.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: -1 0; \ + rel2.offset: -2 -1; \ + } \ + } \ + part { name: "sb_hbar_a2"; \ + type: RECT; \ + mouse_events: 1; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + min: 17 17; \ + align: 1.0 1.0; \ + aspect: 1.0 1.0; \ + aspect_preference: VERTICAL; \ + color: 0 0 0 0; \ + rel1 { \ + to: "elm.scrollbar.base"; \ + relative: 1.0 0.0; \ + } \ + rel2 { \ + to: "elm.scrollbar.base"; \ + relative: 0.0 1.0; \ + } \ + } \ + } \ + part { name: "sb_hbar_a2_arrow"; \ + mouse_events: 0; \ + clip_to: "sb_hbar_clip"; \ + description { state: "default" 0.0; \ + rel1.to: "sb_hbar_a2"; \ + rel2.to: "sb_hbar_a2"; \ + image.normal: "arrow_right.png"; \ + } \ + description { state: "clicked" 0.0; \ + inherit: "default" 0.0; \ + rel1.offset: 1 0; \ + rel2.offset: 0 -1; \ + } \ + } \ + programs { \ + program { name: "load"; \ + signal: "load"; \ + source: ""; \ + script { \ + set_state(PART:"sb_hbar_clip", "hidden", 0.0); \ + set_state(PART:"sb_vbar_clip", "hidden", 0.0); \ + set_int(sbvis_h, 0); \ + set_int(sbvis_v, 0); \ + } \ + } \ + program { name: "vbar_show"; \ + signal: "elm,action,show,vbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_vbar_clip_master", "default", 0.0); \ + set_int(sbvis_v, 1); \ + if (get_int(sbvis_h)) \ + set_state(PART:"elm.scrollbar.base", "both", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \ + emit("do-show-vbar", ""); \ + } \ + } \ + program { name: "vbar_hide"; \ + signal: "elm,action,hide,vbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_vbar_clip_master", "hidden", 0.0); \ + set_int(sbvis_v, 0); \ + if (get_int(sbvis_h)) \ + set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "default", 0.0); \ + emit("do-hide-vbar", ""); \ + } \ + } \ + program { name: "sb_vbar_down"; \ + signal: "mouse,down,1"; \ + source: "elm.dragable.vbar"; \ + action: STATE_SET "clicked" 0.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_up"; \ + signal: "mouse,up,1"; \ + source: "elm.dragable.vbar"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_show"; \ + signal: "do-show-vbar"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + transition: LINEAR 0.1; \ + target: "sb_vbar_clip"; \ + } \ + program { name: "sb_vbar_hide"; \ + signal: "do-hide-vbar"; \ + source: ""; \ + action: STATE_SET "hidden" 0.0; \ + transition: LINEAR 1.0; \ + target: "sb_vbar_clip"; \ + } \ + program { name: "sb_vbar_a1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a1"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_vbar_a1_arrow"; \ + } \ + program { name: "sb_vbar_a1_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a1"; \ + action: DRAG_VAL_STEP 0.0 -1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_a1_up"; \ + signal: "mouse,up,1"; \ + source: "sb_vbar_a1"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_vbar_a1_arrow"; \ + } \ + program { name: "sb_vbar_a2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a2"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_vbar_a2_arrow"; \ + } \ + program { name: "sb_vbar_a2_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_a2"; \ + action: DRAG_VAL_STEP 0.0 1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_a2_up"; \ + signal: "mouse,up,1"; \ + source: "sb_vbar_a2"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_vbar_a2_arrow"; \ + } \ + program { name: "sb_vbar_p1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_p1"; \ + action: DRAG_VAL_PAGE 0.0 -1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "sb_vbar_p2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_vbar_p2"; \ + action: DRAG_VAL_PAGE 0.0 1.0; \ + target: "elm.dragable.vbar"; \ + } \ + program { name: "hbar_show"; \ + signal: "elm,action,show,hbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_hbar_clip_master", "default", 0.0); \ + set_int(sbvis_h, 1); \ + if (get_int(sbvis_v)) \ + set_state(PART:"elm.scrollbar.base", "both", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "horizontal", 0.0); \ + emit("do-show-hbar", ""); \ + } \ + } \ + program { name: "hbar_hide"; \ + signal: "elm,action,hide,hbar"; \ + source: "elm"; \ + script { \ + set_state(PART:"sb_hbar_clip_master", "hidden", 0.0); \ + set_int(sbvis_h, 0); \ + if (get_int(sbvis_v)) \ + set_state(PART:"elm.scrollbar.base", "vertical", 0.0); \ + else \ + set_state(PART:"elm.scrollbar.base", "default", 0.0); \ + emit("do-hide-hbar", ""); \ + } \ + } \ + program { name: "sb_hbar_down"; \ + signal: "mouse,down,1"; \ + source: "elm.dragable.hbar"; \ + action: STATE_SET "clicked" 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_up"; \ + signal: "mouse,up,1"; \ + source: "elm.dragable.hbar"; \ + action: STATE_SET "default" 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_show"; \ + signal: "do-show-hbar"; \ + source: ""; \ + action: STATE_SET "default" 0.0; \ + transition: LINEAR 0.1; \ + target: "sb_hbar_clip"; \ + } \ + program { name: "sb_hbar_hide"; \ + signal: "do-hide-hbar"; \ + source: ""; \ + action: STATE_SET "hidden" 0.0; \ + transition: LINEAR 1.0; \ + target: "sb_hbar_clip"; \ + } \ + program { name: "sb_hbar_a1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a1"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_hbar_a1_arrow"; \ + } \ + program { name: "sb_hbar_a1_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a1"; \ + action: DRAG_VAL_STEP -1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_a1_up"; \ + signal: "mouse,up,1"; \ + source: "sb_hbar_a1"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_hbar_a1_arrow"; \ + } \ + program { name: "sb_hbar_a2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a2"; \ + action: STATE_SET "clicked" 0.0; \ + target: "sb_hbar_a2_arrow"; \ + } \ + program { name: "sb_hbar_a2_down2"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_a2"; \ + action: DRAG_VAL_STEP 1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_a2_up"; \ + signal: "mouse,up,1"; \ + source: "sb_hbar_a2"; \ + action: STATE_SET "default" 0.0; \ + target: "sb_hbar_a2_arrow"; \ + } \ + program { name: "sb_hbar_p1_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_p1"; \ + action: DRAG_VAL_PAGE -1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + program { name: "sb_hbar_p2_down"; \ + signal: "mouse,down,1"; \ + source: "sb_hbar_p2"; \ + action: DRAG_VAL_PAGE 1.0 0.0; \ + target: "elm.dragable.hbar"; \ + } \ + } \ + +collections { + + group { name: "elm/scroller/base/default"; + alias: "elm/list/base/default"; + alias: "elm/genlist/base/default"; + alias: "elm/carousel/base/default"; + alias: "elm/gengrid/base/default"; + + data { + item: "focus_highlight" "on"; + } + + images { + image: "shelf_inset.png" COMP; + image: "sl_bt2_2.png" COMP; + } + + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 255; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + rel2 { + to_x: "sb_vbar"; + to_y: "sb_hbar"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + SCROLLBARS_ADD() + } + } + + group { name: "elm/scroller/entry/default"; + + data { + item: "focus_highlight" "on"; + } + + images { + image: "shelf_inset.png" COMP; + image: "sl_bt2_2.png" COMP; + } + + parts { + part { name: "bg"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 255; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "content.clipper"; + type: RECT; + mouse_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "bg"; + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + to: "bg"; + relative: 0.0 1.0; + offset: -1 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + clip_to: "clipper"; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + rel1 { + to: "bg"; + relative: 1.0 0.0; + offset: 0 0; + } + rel2 { + to_x: "elm.dragable.vbar"; + to_y: "elm.dragable.hbar"; + relative: 0.0 0.0; + offset: -1 -1; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "content.clipper"; + description { state: "default" 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + offset: 4 4; + } + rel2 { + to: "elm.swallow.end"; + relative: 0.0 1.0; + offset: -5 -5; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth: 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "icon_show"; + signal: "elm,action,show,icon"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.icon"; + } + program { name: "icon_hide"; + signal: "elm,action,hide,icon"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.icon"; + } + program { name: "end_show"; + signal: "elm,action,show,end"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.end"; + } + program { name: "end_hide"; + signal: "elm,action,hide,end"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.end"; + } + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + target: "conf_over"; + } + } + } + + group { name: "elm/photocam/base/default"; + + images { + image: "shelf_inset.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } + } + + /////////////////////////////////////////////////////////////////////////////// + group { name: "elm/map/base/default"; + images { + image: "shelf_inset.png" COMP; + image: "busy-1.png" COMP; + image: "busy-2.png" COMP; + image: "busy-3.png" COMP; + image: "busy-4.png" COMP; + image: "busy-5.png" COMP; + image: "busy-6.png" COMP; + image: "busy-7.png" COMP; + image: "busy-8.png" COMP; + image: "busy-9.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + } + } + part { name: "busy_clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "busy"; + clip_to: "busy_clip"; + mouse_events: 0; + description { state: "default" 0.0; + fixed: 1 1; + min: 32 32; + aspect: 1.0 1.0; + align: 1.0 1.0; + aspect_preference: BOTH; + rel1 { + relative: 0.9 0.9; + offset: -9 -9; + } + rel2 { + relative: 0.9 0.9; + offset: -9 -9; + } + image { + normal: "busy-9.png"; + tween: "busy-1.png"; + tween: "busy-2.png"; + tween: "busy-3.png"; + tween: "busy-4.png"; + tween: "busy-5.png"; + tween: "busy-6.png"; + tween: "busy-7.png"; + tween: "busy-8.png"; + } + } + } + part { name: "conf_over"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.offset: -1 -1; + image { + normal: "shelf_inset.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "go1"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + } + program { name: "go2"; + signal: "elm,state,busy,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.5; + target: "busy"; + after: "go2"; + } + program { name: "stop1"; + signal: "elm,state,busy,stop"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: SINUSOIDAL 1.0; + target: "busy_clip"; + after: "stop2"; + } + program { name: "stop2"; + action: ACTION_STOP; + target: "go2"; + } + } + } + + group { name: "elm/list/base/hoverlist"; + data { + item: "focus_highlight" "on"; + } + images { + image: "sl_bt2_2.png" COMP; + } + parts { + part { name: "bg"; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 255 255 255 0; + } + } + part { name: "clipper"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to: "bg"; + offset: 2 2; + } + rel2 { + to: "bg"; + offset: -3 -3; + } + } + } + part { name: "elm.swallow.content"; + clip_to: "clipper"; + type: SWALLOW; + description { state: "default" 0.0; + rel1 { + to: "bg"; + offset: 2 2; + } + rel2 { + to: "bg"; + offset: -3 -3; + } + } + } + part { name: "focus_highlight"; + mouse_events: 0; + description { state: "default" 0.0; + rel1.offset: -1 -1; + rel2.offset: 0 0; + image { + normal: "sl_bt2_2.png"; + border: 7 7 7 7; + middle: 0; + } + fill.smooth : 0; + color: 200 155 0 0; + } + description { state: "enabled" 0.0; + inherit: "default" 0.0; + color: 200 155 0 255; + } + } + SCROLLBARS_ADD() + } + programs { + program { name: "highlight_show"; + signal: "elm,action,focus_highlight,show"; + source: "elm"; + action: STATE_SET "enabled" 0.0; + transition: ACCELERATE 0.3; + target: "focus_highlight"; + } + program { name: "highlight_hide"; + signal: "elm,action,focus_highlight,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.3; + target: "focus_highlight"; + } + } + } +}